FPGA Central - World's 1st FPGA / CPLD Portal

FPGA Central

World's 1st FPGA Portal

 

Go Back   FPGA Groups > NewsGroup > DSP

DSP comp.dsp newsgroup, mailing list

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-27-2003, 04:50 PM
walala
Guest
 
Posts: n/a
Default JPEG compression only retains magnitude information? How about phase information?

I guess phase information is not useful at all, so JPEG just ignore them...

But is there any application that phase information can be useful?

And if we want to get the phase information,

1) How to get at the encoder side along with DCT coefficients magnitude
information? and then it can be transmitted to the decoder side...

2) How to get at the decoder side by inferencing from DCT coefficient
magnitude information, if they are not obtained at the encoder side and
transmitted to the decoder side...

Thanks a lot,

-Walalla


Reply With Quote
  #2 (permalink)  
Old 11-27-2003, 10:18 PM
glen herrmannsfeldt
Guest
 
Posts: n/a
Default Re: JPEG compression only retains magnitude information? How aboutphase information?

walala wrote:

> I guess phase information is not useful at all, so JPEG just ignore them...
>
> But is there any application that phase information can be useful?
>
> And if we want to get the phase information,


Holograms record phase information, all other photographic methods
record only intensity.

-- glen

Reply With Quote
  #3 (permalink)  
Old 11-28-2003, 09:14 AM
Martin Brown
Guest
 
Posts: n/a
Default Re: JPEG compression only retains magnitude information? How about phase information?

In message <[email protected]>, walala <[email protected]>
writes
>I guess phase information is not useful at all, so JPEG just ignore them...


It doesn't ignore them.
The phases are identically zero by construction in the DCT.

Hint: 2cos(x) = exp(ix) + exp(-ix)

>
>But is there any application that phase information can be useful?


Phases are essential in the classical DFT. Where if memory serves
64 reals in image space transform to 4 reals and 30 complex numbers.

It is convenient to think about the Fourier transform of an image as
working between real and complex number representations.
>
>And if we want to get the phase information,


There is no phase information to be had in the DCT.

64 reals in and 64 reals out through an orthogonal transform.

Regards,
--
Martin Brown
Reply With Quote
  #4 (permalink)  
Old 11-28-2003, 09:43 AM
Thomas Richter
Guest
 
Posts: n/a
Default Re: JPEG compression only retains magnitude information? How about phase information?

Hi,

> I guess phase information is not useful at all, so JPEG just ignore them...


Not quite. A transform I would "ignore" information in case some information
is definitely lost. Lost in the sense that for a transform "I" there is
no inverse transformation "I^{-1}". Since DCT is completely reversible, not
a single bit of information is lost, and thus no kind of "phase" is lost
either. Information gets lots only because a) you quantize and b) DCT is
implemented with limited precision. If a system had infinite computing
accuracy, DCT would be reversible.

> But is there any application that phase information can be useful?


Phase information of what? The relative phases of the light signal captured
as an image? That information is already lost at the time you take a photo,
unless it's a hologram.

> 1) How to get at the encoder side along with DCT coefficients magnitude
> information? and then it can be transmitted to the decoder side...


Make a hologram, digitialize it, then transmit this information. Classical
image compression algorithms might be unsuitable here because they might be
not precise enough/might be lossy for the wrong kind of the hologram.
(Kinna like: Image compression with gzip is possible, though not smart).

> 2) How to get at the decoder side by inferencing from DCT coefficient
> magnitude information, if they are not obtained at the encoder side and
> transmitted to the decoder side...


Again, there is no definite answer because there is no definite
question. (-; Like in "The Hitchhiker's Guide Thru Galaxy", you first need
to find the proper question before getting the answer 42. (-;

So long,
Thomas
Reply With Quote
  #5 (permalink)  
Old 11-28-2003, 07:04 PM
Jonathan G Campbell
Guest
 
Posts: n/a
Default Re: JPEG compression only retains magnitude information? How about phase information?

Thomas Richter <[email protected]> wrote in message news:<[email protected]>...
> Hi,
>
> > I guess phase information is not useful at all, so JPEG just ignore them...

>
> Not quite. A transform I would "ignore" information in case some information
> is definitely lost. Lost in the sense that for a transform "I" there is
> no inverse transformation "I^{-1}". Since DCT is completely reversible, not
> a single bit of information is lost, and thus no kind of "phase" is lost
> either. Information gets lots only because a) you quantize and b) DCT is

^^^^^^
Hence the two categories of compression method: lotsy and lossy ;-)

Jon C.
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Information Muruku Verilog 1 10-24-2007 03:30 PM
Information Muruku VHDL 1 10-24-2007 02:03 PM
Looking for more information. [email protected] FPGA 0 12-14-2004 06:09 AM
Design of nonlinear phase FIR filters on magnitude only criteria Robert Rozman DSP 0 08-20-2003 06:45 PM


All times are GMT +1. The time now is 12:13 PM.


Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Copyright 2008 @ FPGA Central. All rights reserved