Solving Image Processing Problem: Fourier Transform and Image Dimensions

Click For Summary

Discussion Overview

The discussion revolves around an image processing problem involving the Fourier transform of an image and its relationship to a larger image with different dimensions. Participants explore the mathematical representation of the larger image in terms of the original image, focusing on concepts like zero-padding and interpolation.

Discussion Character

  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • One participant proposes that the relationship between the images can be expressed as g(x,y) = 0.25f(x/2,y/2).
  • Another participant challenges this solution, suggesting that the larger image has additional interpolated points, indicating a need to consider zero-padding.
  • A different participant points out that the original functions f(x,y) are only defined for integer values of x and y, questioning the validity of using half-pixel values.
  • Participants discuss the implications of odd versus even values for x and y in the context of the proposed solutions.
  • There is a suggestion that the original formula could be interpreted correctly in descriptive terms, despite its mathematical inaccuracies.
  • One participant acknowledges that the initial answer is acceptable for even values of x and y but raises concerns about odd values.
  • Another participant confirms that the original answer is correct but emphasizes the need to mention interpolation for odd values.

Areas of Agreement / Disagreement

Participants express differing views on the correctness of the initial proposed solution, with some agreeing on the need for interpolation while others focus on the mathematical definitions involved. The discussion remains unresolved regarding the precise formulation of the relationship between the images.

Contextual Notes

Participants highlight limitations related to the definitions of the functions and the implications of using non-integer pixel values, which remain unresolved in the discussion.

mr_k
Messages
9
Reaction score
0
hi!
i need help with problem:
Let F(u,v) be the Fourier transform of an M x N image f(x,y). Let g(x,y) be an image of dimensions (2 M) x (2 N) whose Fourier transform G(u,v) is defined as follows:
quest2.gif

What does the image g(x,y) look like in terms of f(x,y)?

my solution : g(x,y)=0.25f(x/2,y/2).

Is that true?

thanks :)
 
Physics news on Phys.org
No, you're on the wrong track. You have an image that has looks basically the same but has twice (in this case) as many points. These extra points are interpolated between the points of the original f. This is known as zero-padding. See if you can work it out from the DFT expressions.
 
You are not completely on the wrong track, but your math solution is wrong, because the functions f(x,y) etc are only defined when x and y are integers. You can't talk about "half a pixel", so f(x/2, y/2) doesn't mean anything if x or y are odd numbers.

On the other hand if you say what your formula means "in words" rather than as a math formula, it does describe what the image "looks like".
 
mr_k said:
hi,my solution:

What's the problem with the answer?

thanks.

Your answer is fine for even x and y.
But what happens if x or y is odd?
 
ok,So what's the right answer?
 
Your answer is right, but you should add that if x or y is odd, that the value is effectively interpolated.
 
thanks!
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
5K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 19 ·
Replies
19
Views
5K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 3 ·
Replies
3
Views
2K