I'm trying to make some performance tweak to a patch, but I got stuck in a (maybe stupid) resizing issue.
I have a 720x576 input and I want to extract the edges of a picture and translate them into coordinates to make further elaborations.
Since I don't need much precision and the rest of the patch is very CPU-stressing, I was trying to resize the input matrix to 320x240 and send it to the next stage, while keeping the original input matrix at its native size and sending it to a window.
And here comes the problem: when I pass the "resampled" matrix in jit.iter to extract the coordinates of the 'active' points what I get are the coords still in the 720x576 size.
I seem not to understand why this happens. Any hints?