Which image filter to use
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
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
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/905030/image.jpeg)
img2
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/905035/image.jpeg)
2 Kommentare
yanqi liu
am 24 Feb. 2022
yes,sir,may be use adaptive_mediafilter、imadjust and so on to enhance target area
Antworten (1)
Image Analyst
am 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 Kommentare
Image Analyst
am 28 Feb. 2022
Bearbeitet: Image Analyst
am 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.
Siehe auch
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!