How to crop large .tiff images?

Hello, So I have .tiff images and I need to make some processing. The problem is that image1.tif has different dimensions than image2.tif although they depict the same area. For instance image1.tif can have some extra information (depicting more area) than image2.tif while both represent the same bean plant area. I need to crop the images based on their coordinates, so that I have both the same area depicted and not more information… I need to match both of them. How can I achieve that?

you probably need to find a homography between the 2 images

1 Like

show your data. show your code.

your question makes it sound as if you don’t know how to do a basic crop, which is a trivial operation in both C++ and Python.