I have a TIFF image (actually a satellite image) which is consisting of 5 channels (R G B IR NIR) for a specific region and I have a KMZ file which defines a polygon within that specific region.
I want to extract/map that area from TIFF file and want to read channels pixel-by-pixel.
For example imagine that satellite image encapsulates the Germany and KMZ file has the coordinate information of Munich. What I have been trying is to mask/or cut the region defined by KMZ and then be able to read channels separately only for specified region (Munich).
I have read on a library called GDAL however I couldn't find any appropriate solution.