Nyquist frequency from image
조회 수: 10 (최근 30일)
이전 댓글 표시
Hi..
Is it possible to calculate nyquist frequency or the sampling frequency from image.
댓글 수: 0
채택된 답변
Walter Roberson
2012년 4월 13일
floor(size(YourImage) ./ 2)
댓글 수: 2
Walter Roberson
2012년 4월 13일
Nyquist frequency for N samples is N/2. size() returns the number of samples in each direction, so divide the size by 2 to get the frequency. This corresponds to the maximum frequency reliably expressible, which is the case where alternating pixels are off and on.
Perhaps you don't need the floor(): it depends on how you want to handle the possibility of odd number of pixels in a direction.
Note that the nyquist frequency can be different between horizontal and vertical, which is why multiple values must be returned.
추가 답변 (0개)
참고 항목
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!