i have the following picture and i want to calculate the periodicity of the light drafts in the picture, i was suggested to use fourier transform. I got as far as calculating the power spectrum but then I can't continue. i am working in halcon this is the image that I have to analyze
this is the code used
get_image_size (img, Width, Height)
median_rect (img, ImageMedian, 5, Height -1)
sub_image (img,ImageMedian,ImageSub, 1.0, 128)
fft_generic (ImageSub, ImageFFT, 'to_freq', -1, 'sqrt', 'dc_center', 'complex')
power_real(ImageFFT, ImageResult)
i need advice on how to continue not only code but also ideas are fine.