필터 지우기
필터 지우기

Flipping image coordinates to cartesian coordinates

조회 수: 1 (최근 30일)
Jane
Jane 2013년 11월 19일
답변: Image Analyst 2013년 11월 19일
I am new to mablab. I have an image (the size is mxnx3) with a few human-selected points on the image. For example:
p1 = [267,79];
p2 = [96,372];
These points are image coordinates with (1,1) at the top left. I'm trying to convert this to cartesian coordinates with (0,0) on the bottom left. How can I do this? Thanks in advance!

답변 (1개)

Image Analyst
Image Analyst 2013년 11월 19일
Try
set(gca,'YDir','reverse')
or
set(gca,'YDir','normal')
until things work the way you want.

카테고리

Help CenterFile Exchange에서 Geometric Transformation and Image Registration에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by