Skip to content
Advertisement

Tag: image-processing

MATLAB freqz2 equivalent in Python

I’m trying to find a Python library that works equivalently to MATLAB’s freqz2 for image processing, since scipy.signal.freqz only seems to work for 1-D arrays. Answer Found an amazing library for plotting the 3D surface of the 2-D FFT called plotly. I leave here the lines of code I used to emulate the same behaviour of freqz2 in Python: The

How can I report the outcome of the typical spatial frequency Butterworth filter in cycles / degree of visual angle?

I’m working on spatial frequency filtering using code from this site. https://www.djmannion.net/psych_programming/vision/sf_filt/sf_filt.html There is similar code here on stack exchange. What I was wondering though is how to convert the cutoff used in the Butterworth filter, which is a number from 0 to 1, to cycles / degree in the image when I report it. I feel like I’m missing

opencv align two images by keypoints with stretching

I have two images image1 (object): ]3 Original image without marked keypoints: image2 is a white picture (500×500) In image1 and in image2 I have marked keypoints. I want to align image1 on image2 by keypoints. So the goal that both keypoints overlaps with stretching, scaling and transforming image2. This are my keypoints (csv file). The coordinates are x and

Advertisement