The metadata json for the RTE and Nav cameras has data in the camera_model_component_list and camera_position keys. Perhaps these help with processing:
CODE
{
"extended": {
"mastAz": "UNK",
"mastEl": "UNK",
"sclk": "UNK",
"scaleFactor": "1",
"xyz": "UNK",
"subframeRect": "UNK",
"dimension": "(4208,3120)"
},
"sol": 91,
"attitude": "UNK",
"image_files": {
"medium": "https://mars.nasa.gov/mars2020-raw-images/pub/ods/surface/sol/00091/ids/edr/browse/heli/HSF_0091_0675019225_665ECM_N0060001HELI00007_000085J01_800.jpg",
"small": "https://mars.nasa.gov/mars2020-raw-images/pub/ods/surface/sol/00091/ids/edr/browse/heli/HSF_0091_0675019225_665ECM_N0060001HELI00007_000085J01_320.jpg",
"full_res": "https://mars.nasa.gov/mars2020-raw-images/pub/ods/surface/sol/00091/ids/edr/browse/heli/HSF_0091_0675019225_665ECM_N0060001HELI00007_000085J01.png",
"large": "https://mars.nasa.gov/mars2020-raw-images/pub/ods/surface/sol/00091/ids/edr/browse/heli/HSF_0091_0675019225_665ECM_N0060001HELI00007_000085J01_1200.jpg"
},
"imageid": "HSF_0091_0675019225_665ECM_N0060001HELI00007_000085J",
"camera": {
"filter_name": "UNK",
"camera_vector": "UNK",
"camera_model_component_list": "(-0.000385336,0.0896009,0.117889);(0.0119194,0.72545,0.688172);(-1755.77,1629.89,1400.25);(-87.3827,-116.053,2334.34);(-0.000662614,0.723521,0.690302);(0.000144295,0.468504,-0.0528464);(-0.00068363,-0.00098111,-0.00156945);2.0;0.0",
"camera_position": "(-0.000385336,0.0896009,0.117889)",
"instrument": "HELI_RTE",
"camera_model_type": "CAHVORE"
},
"caption": "NASA's Ingenuity Mars Helicopter acquired this image using its high-resolution color camera. This camera is mounted in the helicopter's fuselage and pointed approximately 22 degree below the horizon. \n\nThis image was acquired on May 23, 2021 (Sol 91 of the Perseverance rover mission) at the local mean solar time of 12:35:30.",
"sample_type": "Full",
"date_taken_mars": "Sol-00091M12:35:30.31954",
"credit": "NASA/JPL-Caltech",
"date_taken_utc": "2021-05-23T05:22:59.516587",
"json_link": "https://mars.nasa.gov/rss/api/?feed=raw_images&category=mars2020,ingenuity&feedtype=json&id=HSF_0091_0675019225_665ECM_N0060001HELI00007_000085J",
"link": "https://mars.nasa.gov/mars2020/multimedia/raw-images/?id=HSF_0091_0675019225_665ECM_N0060001HELI00007_000085J",
"drive": "1",
"title": "Mars Helicopter Sol 91: Color Camera",
"site": 6,
"date_received": "2021-05-28T19:54:57Z"
}
CODE
{
"extended": {
"mastAz": "UNK",
"mastEl": "UNK",
"sclk": "675019262.719351",
"scaleFactor": "1",
"xyz": "UNK",
"subframeRect": "UNK",
"dimension": "(640,480)"
},
"sol": 91,
"attitude": "UNK",
"image_files": {
"medium": "https://mars.nasa.gov/mars2020-raw-images/pub/ods/surface/sol/00091/ids/edr/browse/heli/HNM_0091_0675019237_719ECM_N0060001HELI04696_0000A0J01_800.jpg",
"small": "https://mars.nasa.gov/mars2020-raw-images/pub/ods/surface/sol/00091/ids/edr/browse/heli/HNM_0091_0675019237_719ECM_N0060001HELI04696_0000A0J01_320.jpg",
"full_res": "https://mars.nasa.gov/mars2020-raw-images/pub/ods/surface/sol/00091/ids/edr/browse/heli/HNM_0091_0675019237_719ECM_N0060001HELI04696_0000A0J01.png",
"large": "https://mars.nasa.gov/mars2020-raw-images/pub/ods/surface/sol/00091/ids/edr/browse/heli/HNM_0091_0675019237_719ECM_N0060001HELI04696_0000A0J01_1200.jpg"
},
"imageid": "HNM_0091_0675019237_719ECM_N0060001HELI04696_0000A0J",
"camera": {
"filter_name": "UNK",
"camera_vector": "UNK",
"camera_model_component_list": "(0.0,0.0619,0.1374);(0.00256683,-0.0580188,0.998312);(-0.0176873,-293.879,310.679);(276.142,-15.3003,248.479);(0.00583129,-0.0520831,0.998626);(0.0,0.001066,-0.000398);(0.0,0.0,0.0);3.0;0.0",
"camera_position": "(0.0,0.0619,0.1374)",
"instrument": "HELI_NAV",
"camera_model_type": "CAHVORE"
},
"caption": "NASA's Ingenuity Mars Helicopter acquired this image using its navigation camera. This camera is mounted in the helicopter's fuselage and pointed directly downward to track the ground during flight. \n\nThis image was acquired on May 23, 2021 (Sol 91 of the Perseverance rover mission) at the local mean solar time of 12:35:42.",
"sample_type": "Full",
"date_taken_mars": "Sol-00091M12:35:42.05071",
"credit": "NASA/JPL-Caltech",
"date_taken_utc": "2021-05-23T05:23:36.570453",
"json_link": "https://mars.nasa.gov/rss/api/?feed=raw_images&category=mars2020,ingenuity&feedtype=json&id=HNM_0091_0675019237_719ECM_N0060001HELI04696_0000A0J",
"link": "https://mars.nasa.gov/mars2020/multimedia/raw-images/?id=HNM_0091_0675019237_719ECM_N0060001HELI04696_0000A0J",
"drive": "1",
"title": "Mars Helicopter Sol 91: Navigation Camera",
"site": 6,
"date_received": "2021-05-28T19:54:57Z"
}