How can I convert an image to cartesian coordinates?

조회 수: 4 (최근 30일)
Ian Replinger
Ian Replinger 2019년 12월 5일
답변: Mahesh Taparia 2019년 12월 9일
Hello,
If I read in an image using I = double(imread('logo.png'));
Is there any way to get a that image as cartesian (x,y) coordinates?
I want to be able to plot the image, and then move it around

답변 (1개)

Mahesh Taparia
Mahesh Taparia 2019년 12월 9일
Hi Ian,
You can use imshow function to display the image. Then select the the datatips and hover over the image and anywhere on image. It will display the coordinates of image along with the pixel values.
For more information on imshow, refer to the documentation link here.

Community Treasure Hunt

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

Start Hunting!

Translated by