Ask Your Question

Revision history [back]

How to get the non-integer coordinate pixels.

Hallo Everyone,

I am very beginner to OpenCv as well as coding. I am using affine transformation to get the warped image and I am trying to implement the bilinear Interpolation function to remove distortion after image transformation. I have Idea on implementing the algorithm, but I do not know how to get the location of newly created pixels (non-integer coordinate pixels) or subpixels . Is there any function in opencv that detects this kind of pixels and give us location.

Thanks in advance.

How to get the non-integer coordinate pixels.

Hallo Everyone,

I am very beginner to OpenCv as well as coding. I am using affine transformation to get the warped image and I am trying to implement the bilinear Interpolation function to remove distortion after image transformation. I have Idea on implementing the algorithm, but I do not know how to get the location of newly created pixels (non-integer coordinate pixels) or subpixels . Is there any function in opencv that detects this kind of pixels and give us location.location or any method that you could suggest.

Thanks in advance.