uci-uav-forge / uavf_2024

Flight software for Student Unmanned Aerial Systems 2024 competition
MIT License
2 stars 0 forks source link

Background subtraction with satellite images #118

Open EricPedley opened 6 months ago

EricPedley commented 6 months ago

Very experimental idea:

Since we know what the runway is supposed to look like, do a reverse image search or something to figure out what part of the runway we're above, and match it onto the camera image, adjust brightness/contrast/hue to fit as close as possible, then subtract to remove the background and leave only the shapes.

IDK if this'll work but it'll be fun to try.

EricPedley commented 6 months ago

Code is here rn: https://github.com/uci-uav-forge/uavf_2024/tree/image-lookup-stitching

bdoget commented 6 months ago

"""

find satellite image generate field image with targets subtract the two (fg, bg)

bg image is at uavf_2024\tests\imaging\imaging_data\image_lookup\image0.png fg is at targets

"""