Borrar filtros
Borrar filtros

Flipping image coordinates to cartesian coordinates

1 visualización (últimos 30 días)
Jane
Jane el 19 de Nov. de 2013
Respondida: Image Analyst el 19 de Nov. de 2013
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!

Respuestas (1)

Image Analyst
Image Analyst el 19 de Nov. de 2013
Try
set(gca,'YDir','reverse')
or
set(gca,'YDir','normal')
until things work the way you want.

Categorías

Más información sobre Geometric Transformation and Image Registration en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by