Segmentation, high intesities areas
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Deal all I am working on the attached image(named: orginal), and i want to segment the areas with high intensities. i want an image showing the areas of high intensities as illustrated in second attached image (named: image_with_matks). looking forward for any help thanks in advance
0 comentarios
Respuestas (2)
Image Analyst
el 27 de Nov. de 2017
See my Image Segmentation Tutorial https://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862&sort=downloads_desc
It will walk you through a number of basic steps such as thresholding to find bright regions and measuring their area and brightness.
0 comentarios
Sammit Jain
el 27 de Nov. de 2017
Here, I think this should get you started, for some preliminary results:
%Read the image file
originalImg = imread('Orginal.jpg');
%Turn image into intensity form (double)
doubImg = im2double(originalImg);
%Extract high intensity areas
imshowpair(originalImg,doubImg.*(doubImg>0.8),montage);
Here's what I got with a trial high intensity of 0.8:
You can see that you're somewhere close to what you want.
Some things you can try after this: Morphological Closing, Opening, dilation and largest blob detection, to further refine your results.
Explanation: doubImg>0.8 gives a logical matrix (of 1's and 0's) of all the pixels that are above the threshold you supplied (0.8 in this case) Now, we just multiply this logical matrix with our original matrix to suppress the pixels that aren't required.
Cheers. Tell me if you need more help, but this should get you started.
0 comentarios
Ver también
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!