How to covert cartesian or polar to pixel coordinates?

2 views (last 30 days)
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)?

Answers (1)

drummer
drummer on 30 Oct 2020
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 Comment
Sharif Khalil
Sharif Khalil on 30 Oct 2020
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

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!