.mat image shape
Opened this issue · 1 comments
moon5ye commented
I use python h5py to read .mat files. But why the image shape is not the same as the correspoinding rgb image?
Also, I checked the python demo. Is there any python implementation of ISP that can convert these .mat files to rgb images?
AbdoKamel commented
The difference in image shape could be due to the sensor cropping area. This feature is not currently in the python version of the pipeline. Here is the equivalent in matlab:
The python pipeline works with DNGs for now. You can modify the code a little to read the image from the .mat file and the metadata from the corresponding metadata file, instead for reading both from a DNG file.
I will try to include those feature in the python pipeline in the future.