compare pixel values to each other? Is ther afunction in Matlab that can analyze the composition of an image as a function of distance?

4 views (last 30 days)
I am interested in looking at how the image changes over a distance within the image, any recommendations?
Thanks!
  8 Comments
Neo
Neo on 21 Dec 2022
Moved: Rena Berman on 22 Dec 2022
It’s not a cell it’s just an example because I’m still trying to identify the image but yes if it’s a cell I want to know the size area and density of the cells in one region and how they change over the length of the image.
Image Analyst
Image Analyst on 22 Dec 2022
If you have any more questions, then attach your image and code to read it in with the paperclip icon after you read this:
And somehow indicate, in a separate image, the things in the image you'd like to use in computations.

Sign in to comment.

Accepted Answer

Image Analyst
Image Analyst on 22 Dec 2022
That pretty much explains the basics. You can probably adapt it to your particular image.
  10 Comments
Image Analyst
Image Analyst on 6 Jan 2023
No, drawpoints is for situations where you need to indicate single points/pixels on an image. drawrectangle and drawpolygon are for when you need to draw 2-D regions.

Sign in to comment.

More Answers (1)

Walter Roberson
Walter Roberson on 21 Dec 2022
The answer to your question is NO, there is no MATLAB function to analyze the composition of an image as a function of distance.
  14 Comments
Neo
Neo on 29 Dec 2022
Yes I think that would be helpful. Just to be safe how would I perform background substraction and also masking to get rid of other specs in the image that I might not be interested in for the future.

Sign in to comment.

Categories

Find more on Images in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!