First time here? Check out the FAQ!
answered 2014-03-24 05:54:24 -0600
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.