Hello,
I'm currently using StereoDepth.setDepthAlign to set the alignment while building the pipeline. I'm trying to make the alignment configurable at runtime, so I tried using StereoDepthConfig.AlgorithmControl.depthAlign only.
I realized that StereoDepth.setDepthAlign ensures that the depth map and the aligning frame are of the same size. StereoDepthConfig.AlgorithmControl.depthAlign doesn't seem to do this. I can see a "shift" in the depth map view, confirming a change in alignment, but the size stays the size as the mono cam (which is 1280x800). And when I have Decimation filter enabled with factor 2, the depth map's size is 640x400.
I'm working with OAK-FFC-4P, and I want to be able to switch alignment between color cam and mono cam pair. Is it possible to change alignment at runtime and also get the depth map with same size as that of the aligning frame?
I appreciate any help.
Regards,
Rohan