Hi i'm trying to convert a matlab code to opencv code. So I need something that does what graythesh
in matlab does and give me a proper threshold for my grayscale image. Has this been already implemented in opencv cause I couldn't find it.
Thank you