Fourier analysis of tiff images using openCV
问题 Image Loading To start I tried loading in .tif images using openCV but got the following error: Invalid bitsperpixel value read from TIFF header! Must be 1, 8, 16, 32 or 64. in function 'cv::TiffDecoder::readHeader' Checked using a hex editor to determine the bit depth of the image and it seems to be 16bit. After some trail and error I managed to find a solution using the code below. First loaded the image with the specialized tifffile library. Then saved it to a temporary file and finally