convert pixels to object coordinates

7 views (last 30 days)
vasili
vasili on 17 Dec 2024
Commented: Matt J on 18 Dec 2024
I have a satellite with known coordinates as a function of time.
A sensor is installed on a gimbal attached to a satellite.
Gimbal is pointed to (pointAt) specific coordinates of a point of interest (POI). So, I can read azimuth and elevation angle of the Gimbal (gimbalAngles).
The sensor is CMOS, with known pixel size, number of pixels and focal distance of a lens.
When sensor observes a POI, the sensor surface is normal to the vector between the sesnor center and the POI.
I have another object X in the vicinity of the POI (at the same altitude).
My sensor has pixel coordinates of this object X.
How to transform these pixel coordinates to the coordinates of the object X in the same coordinate frame as the POI (e.g. ECEF, LLA etc)?
… and vice-versa: if I know the coordinates of the object X (ECEF, LLA), how to transform these coordinates to pixels of my sensor.
Can somebody please point me towards useful Matlab help page on this subject?
Image2world2d? But what is the world coordinates?

Answers (1)

Matt J
Matt J on 17 Dec 2024
Edited: Matt J on 17 Dec 2024
Gimbal is pointed to (pointAt) specific coordinates of a point of interest (POI). So, I can read azimuth and elevation angle of the Gimbal (gimbalAngles).
It doesn't sound like you have enough information. You would need to know the distance of POI from the sensor, i.e. the full 3D set of spherical coordinates of POI relative to the gimbal.
Additionally, you need to know the orientation of the x,y,z coordinate axes of the gimbal in 3D world (ECEF, LLA) coordinates. You would probably need to have gimbal coordinates of not one, but three POIs to determine that.
  4 Comments
vasili
vasili on 18 Dec 2024
ok, thanks Matt. Will think more about that
Matt J
Matt J on 18 Dec 2024
OK. Maybe there is some station with known ECEF coordinates on the ground that is communicating with the satellite? Maybe that could be your 3rd point?

Sign in to comment.

Categories

Find more on Reference Applications in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!