- For 2D median filtering, you can use the "medfilt2" function. Refer to the documentation here: https://www.mathworks.com/help/images/ref/medfilt2.html
- For segmentation using K-means clustering, you can use the "imsegkmeans" function. You can tune the number of clusters according to your use case. Refer to the documentation here: https://in.mathworks.com/help/images/ref/imsegkmeans.html
- Next, the tumor can be detected by applying binary thresholding. This can be achieved using the "imbinarize" function. Refer to the link here: https://www.mathworks.com/help/images/ref/imbinarize.html
How to detect objects in images using ROI
8 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I want to detect physical changes in the image and display the changes using the ROI method.
1. Picture 1 shows the original image
2. Picture 2 shows the physical changes
And I hope the result is like the following image
0 comentarios
Respuestas (1)
Shreeya
el 20 de Feb. de 2024
From the given image, I'm assuimg that you want to apply a median filter on your image for noise removal, followed by segmentation using K-means clustering algorithm and thresholding.
0 comentarios
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!