Why is there difference between the data cursor value and array value
Show older comments
Hi,
I want to know why is there a difference between the cursor value obtained of an image and array value of a channel of an image.


Pls guide me.
Thanks
7 Comments
Ghulam
on 15 Oct 2019
darova
on 15 Oct 2019
Can you please attach entire script so i could analyze it?
Ghulam
on 16 Oct 2019
darova
on 16 Oct 2019
This result looks like exactly on your picture
BUt your picture is gray so actual (RGB) color of it is (0.7724 0.7724 0.7724)

Ghulam
on 18 Oct 2019
darova
on 18 Oct 2019
Because position of your cursor is XY data but data of the image is (row,column)
X is column (changes in horizontal direction)
Y is row (changes in vertical direction)
Turlough Hughes
on 18 Oct 2019
You should read the following documenation:
In particular, the first paragarph under the heading Intrinsic Coordinates refers to your question.
Answers (0)
Categories
Find more on Image Arithmetic 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!