Which image filter to use
2 views (last 30 days)
Show older comments
Hello, could you indicate me some criteria (or any filter) that allow me to say that image 1 has a bigger brighter region than any bright region in image 2?
thanks in advance.
img1
img2
2 Comments
yanqi liu
on 24 Feb 2022
yes,sir,may be use adaptive_mediafilter、imadjust and so on to enhance target area
Answers (1)
Image Analyst
on 24 Feb 2022
There is no hope of identifying regions that have any relation to the actual physical bubbles. Like I've said before you need to just concentrate on builk properties than trying to do particle sizing. For example, you can say that the mean gray level of the bottom image is greater than that of the top image.
3 Comments
Image Analyst
on 28 Feb 2022
Edited: Image Analyst
on 28 Feb 2022
You can get the brightness profile like this:
verticalProfile = mean(grayImage, 2);
plot(verticalProfile, 'b-', 'LineWidth', 2);
You can then examine the vertical profile to learn where the bubbles are. A variance filter won't be any better than the original image, in fact it might be worse. A histogram doesn't have any information on where the pixels with those gray levels are.
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!