will change in resolution of an image affect the detection of its centroids?

1 view (last 30 days)
Hello! When I try to display an image at 1024x768 , I get a warning message saying "Image is too big to fit on screen; displaying at 67%" and I get an image whose resolution is 804x566 pixels. Now when I am trying to detect the centroid of the image, it will not be accurate as the image resolution has changed from 1024x768 to 804x566 right?

Accepted Answer

Image Analyst
Image Analyst on 19 Jun 2014
That is not correct. You will get the same centroid from regionprops() or whatever method you used to measure it regardless of the size of the displayed image. It is measured from the actual array variable in memory, not from what is displayed on screen. Feel comfortable - don't worry.
  2 Comments
Emmanuel
Emmanuel on 20 Jun 2014
Thank you! I am new to image processing and matlab..how do I get started? I want to learn more about imgproc and matlab . How can I go about it?
Image Analyst
Image Analyst on 20 Jun 2014
Then look over the demos in the online documentation for the toolbox. Thanks for accepting the answer.

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!