Re:
- From: Jerry Avins <jya@xxxxxxxx>
- Date: Tue, 27 Nov 2007 23:17:17 -0500
SteveSmith wrote:
Hi Michel,
Let me suggest that you are thinking about this problem in a fundamentally
wrong way. You have image 1, and want to create image 2 that is a
different size. Further, you want image 2 to be similar to image 1 "in
some sense." In other words, the two images cannot be identical, so
you need to define a criterion for measuring the "correctness" of
image 2. The method you are trying (frequency band filtering with
decimation/interpolation) achieves this “in the sense” that the two
images have similar frequency spectra.
Here’s the catch. The information you are dealing with is encoded in
the spatial domain, not the frequency domain. That is, you are interested
in the spatial patterns, their edges, their positions, their amplitudes,
and so on. Accordingly, you want image 2 to be similar to image 1 in
“some sense” that is related to the spatial domain. This is in
contrast to, for example, an audio signal that is primarily encoded in the
frequency domain.
The problems you are seeing are a direct result of trying to manipulate
the data in the wrong domain. For instance, when you perform simple
filtering in the frequency domain, you create unpredictable artifacts in
the spatial domain. Instead, ask yourself this, "how should a pixel in
image 1 affect each pixel in image 2?" For instance, should an isolated
bright pixel in the original image be converted to a single bright pixel in
the new image?
Steve,
It's clear why you write the books. I was trying to formulate the words to get across just what you wrote above when I saw it. You got to the point directly and simply compared to what I was paring down. I would probably have gotten there eventually, but not as well as you did.
Jerry
--
Engineering is the art of making what you want from things you can get.
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
.
- Follow-Ups:
- Re: Re:
- From: SteveSmith
- Re: Re:
- References:
- "Good" FIRs with no negative parts
- From: Michel Rouzic
- Re:
- From: SteveSmith
- "Good" FIRs with no negative parts
- Prev by Date: Re: how C6722B boot from FLASH?
- Next by Date: Is it possible to reproduce a small bandwidth (~10 hz) audio signal using a sine wave of variable frequency and amplitude?
- Previous by thread: Re:
- Next by thread: Re: Re:
- Index(es):
Relevant Pages
|