Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How detect very small blobs

I need to find differences on the following two images. The first one has very small blobs (please look at the middle of first image) that I would like to detect image description. image description I converted images to GRAYSCALE (I also have color images) and I tried

Core.absdiff(imgWithBlobs, imgRef, diff);
Mat threshold = new Mat();
Imgproc.threshold(diff, threshold, 45, 255, Imgproc.THRESH_BINARY);

Then I tried some erotion and dilation, but results are poor. Any suggestion? Maybe I should explore a different colorspace ?

How detect very small blobs

I need to find differences on the following two images. The first one has very small blobs (please look at the middle of first image) that I would like to detect image description. image description

I converted images to GRAYSCALE (I also have color images) and I tried

Core.absdiff(imgWithBlobs, imgRef, diff);
Mat threshold = new Mat();
Imgproc.threshold(diff, threshold, 45, 255, Imgproc.THRESH_BINARY);

Then I tried some erotion and dilation, but results are poor. Any suggestion? Maybe I should explore a different colorspace ?

How detect very small blobs

I need to find differences on the following two images. The first one has very small blobs (please look at the middle of first image) that I would like to detect image description. image descriptionimage description

image description

I converted images to GRAYSCALE (I also have color images) grayscale

image description. image description

and I tried

Core.absdiff(imgWithBlobs, imgRef, diff);
Mat threshold = new Mat();
Imgproc.threshold(diff, threshold, 45, 255, Imgproc.THRESH_BINARY);

Then I tried some erotion and dilation, but results are poor. Any suggestion? Maybe I should explore a different colorspace ?

How detect very small blobs

I need to find differences on the following two images. The first one has very small blobs (please look at the middle of first image) that I would like to detect detect. Also, the first one has been cropped from the second.

image description

image description

I converted images to grayscalegrayscale and added a border to the first, to align them to same size.

image description. image description

and I tried

Core.absdiff(imgWithBlobs, imgRef, diff);
Mat threshold = new Mat();
Imgproc.threshold(diff, threshold, 45, 255, Imgproc.THRESH_BINARY);

Then I tried some erotion and dilation, but results are poor. Any suggestion? Maybe I should explore a different colorspace ?