android - OpenCV4Android - Blank Image After Using MorphologyEX -


so i'm attempting blackhat morph of image after applying morph operation i'm getting blank image , i'm not sure why.

private coid converttoblackhat( mat passedimage )     {         // create structuring element (se)     int morph_size = 2;     mat element = imgproc.getstructuringelement( imgproc.morph_rect, new size( 2*morph_size + 1, 2*morph_size+1 ), new point( morph_size, morph_size ) );      mat dst = new mat(); // result matrix     // apply specified morphology operation     imgproc.morphologyex( passedimage, dst, morph_tophat, element, point(-1,-1));          mblackhatoutput = dst.clone(); } 

the image 24-bit jpeg @ 1920x1080 100px circles on it.


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -

How to provide Authorization & Authentication using Asp.net, C#? -