I have to do Fourier descriptor in java, where I have edge coordinates of picture. So i must use fft and fft needs always the same size of points, but I have different pictures, that means different arrays of coordinates with different size. First I need to do to resample each array, that all arrays will have the same size and I have no idea how to do this in java. Probably with some interpolation?
I would be grateful if someone can help me.