Ask Your Question

Revision history [back]

In case anyone has similar issues, the problem was in the depth conversion of the image used in the cornerSubPix function. It seem to be fine when a single channel image is used.