How to covert cartesian or polar to pixel coordinates?

조회 수: 4 (최근 30일)
Sharif Khalil
Sharif Khalil 2020년 10월 29일
댓글: Walter Roberson 2020년 10월 30일
Is there a way to convert cartesian or polar to pixel coordinates? like (x,y,z) to (RGB) or (x,y) to (RGB) or (r,theta) to (RGB)?

답변 (1개)

drummer
drummer 2020년 10월 30일
I wonder there's a misunderstanding...
cartesian and pixel coordinates are related to the FOV (field-of-view) of the image in the whatever system coordinates, and pixel sizes.
RGB is related to the color scale, or color specification of the image. See this doc.
Could you better explain your question?
  댓글 수: 1
Sharif Khalil
Sharif Khalil 2020년 10월 30일
I have a complex array (x+iy) and I wand to create an image out of it, So from a pair of point (x,y) to pixels that represents an Image

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Modify Image Colors에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by