OpenCV4Android - Blank Image After Using MorphologyEX
问题 So I'm attempting to get a BlackHat Morph of an image but after applying the Morph operation I'm getting a Blank image and I'm not sure why. private coid convertToBlackHat( Mat passedImage ) { // Create a 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 the specified morphology operation Imgproc