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.
Link to the research papper: http://airccse.org/journal/ijcga/pape...
honestly, i think, that this is not a good paper.
"I have tried using the resize function" -- did you try to resize the image ? imho, this will rather increase the influence of noise