Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Resampling by changing the size of sampling grid

How can I perform resampling with opencv, I have tried using the resize function by setting interpolstion as INTER_AREA. Is this the right way to do this. I am trying to implemement a system by taking as guideline a research paper and I am stuck in this step. They have used matlab to implement this but i'm pretty sure that there must be a way to implement this in opencv as well. If any of you knows how to do this please help me.

Resampling chain code: Chain code is sensitive to noise. This problem is solved by resembling the boundary by selecting larger grid spacing. Scale invariance obtains by changing the size of sampling grid. image description

Link to the research papper: http://airccse.org/journal/ijcga/papers/4214ijcga02.pdf