Hi @vkmNuller
Generally, the alignment script assumes that both frames are undistorted, so it will work better if they actually are. This is a problem on WFOV cameras since the distortion is higher.
I don't think the current HW is powerful enough to support 12MP warping.
vkmNuller How can I integrate the crop as well?
Crop refers to the alpha value of the undistortion. You can set it to 0, the frame will be cropped to ensure no black pixels are present. Alpha=1 will show all the pixels from the distorted image, but there will be a black edge around the frame (depends on the undistortion amount).
The issue is that by setting the getOptimalNewCameraMatrix()
, the image is zoomed in, thus the images are not aligned anymore. But you can use the same crop bbox for the depth image to fix that.
Thanks,
Jaka