Get the intensity of an immage

1 view (last 30 days)
Hi I have a polarized immage and it is in gray scale, i want tu select a region in the immage en get the avrage of intensity. I know that exist a command "regionprops" that help for my problem.
I link the immage that I'm using, I would be very grateful if someone would help me

Accepted Answer

Walter Roberson
Walter Roberson on 5 Oct 2020
imcrop() to select a region and get backed the cropped image.
mean2() to get the average intensity of the cropped region.
regionprops() is not useful for this purpose.
  4 Comments
valerio auricchio
valerio auricchio on 5 Oct 2020
THXXX A LOTTTT, but after the execution of the code "cropped = imcrop(img);" i select the area of intrest" does not go ahead with the execution
Walter Roberson
Walter Roberson on 5 Oct 2020
imcrop() will display the image you pass in. You click on the image and drag to mark out a box. When you are satisfied, you right click and select "Crop image".

Sign in to comment.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!