www.GetXFactor.com

Leading Technology, Science,
Agriculture News and information


Part of the Identityscape.com network...

getxfactor.com jmoodmusic.com smartbusinesschoices.com mintdepot.com lowfaresalways.com evangelicalview.com shoppingpodder.com soproudlywehail.com webnews.ws currenthumor.com

 

 

image without correlation
   Science and Technology news... Forum Index -> Image Processing Forum  
View previous topic :: View next topic  
Author Message
Dev
Guest






PostPosted: Sat Jul 26, 2008 12:34 am    Post subject: image without correlation Reply with quote

Hi All,

I want to create an image with no or less correlation. I can use a
random value matrix, but I would like to get a histogram similar to a
normal image. For exmple, if I take the 'lena' image, is there a
simple way in Matlab, which I can make this image matrix to a less or
no correlated matrix? Any help is greatly appreciated.

Thanks,

Dev
Back to top
Martin Leese
Guest






PostPosted: Sat Jul 26, 2008 7:04 am    Post subject: Re: image without correlation Reply with quote

Dev wrote:
[quote]Hi All,

I want to create an image with no or less correlation. I can use a
random value matrix, but I would like to get a histogram similar to a
normal image. For exmple, if I take the 'lena' image, is there a
simple way in Matlab, which I can make this image matrix to a less or
no correlated matrix? Any help is greatly appreciated.
[/quote]
Not sure I understand what you want. If you
want an image where the R, G, B channels are
less correlated then you could try the
"Decorrelation Stretch". There are many
links for this including:
http://eospso.gsfc.nasa.gov/eos_homepage/for_scientists/atbd/docs/ASTER/atbd-ast-06.pdf

However, this will change the channel
histograms, but whatever you do will do
that.

--
Regards,
Martin Leese
E-mail: please@see.Web.for.e-mail.INVALID
Web: http://members.tripod.com/martin_leese/
Back to top
Marco Al
Guest






PostPosted: Sun Jul 27, 2008 6:32 am    Post subject: Re: image without correlation Reply with quote

Dev wrote:

[quote]I want to create an image with no or less correlation. I can use a
random value matrix, but I would like to get a histogram similar to a
normal image. For exmple, if I take the 'lena' image, is there a
simple way in Matlab, which I can make this image matrix to a less or
no correlated matrix? Any help is greatly appreciated.
[/quote]
Two simple ways immediately evident, generate samples with the same
approximate distribution or perform a random permutation of the original
sequence of pixels.

For the former you simply divide up the range of numbers from 0 to N (N
= number of pixels) in sections with lengths depending on bincounts of
the histogram. Use a white noise rand function with a range from 0 to N
and shade the pixel according to the section the result falls in.

For the second you google for "random permutation".

Regards,
Marco
Back to top
Bob
Guest






PostPosted: Sun Jul 27, 2008 7:32 pm    Post subject: Re: image without correlation Reply with quote

I think you are confused about correlation. By definition, if the
values of adjacent pixels are correlated, then the power spectrum will
not be flat.

If want the histogram of an image, i.e. the probability density
function of the pixel values, to be flat, then google on histogram
equalization. But this is not the same thing as having adjacent pixel
values uncorrelated.
Back to top
Dev
Guest






PostPosted: Mon Jul 28, 2008 3:14 am    Post subject: Re: image without correlation Reply with quote

On Jul 27, 11:32 am, Marco Al <m.f...@student.utwente.nl> wrote:
[quote]Dev wrote:
I want to create an image with no or less correlation. I can use a
random value matrix, but I would like to get a histogram similar to a
normal image. For exmple, if I take the 'lena' image, is there a
simple way in Matlab, which I can make this image matrix to a less or
no correlated matrix? Any help is greatly appreciated.

Two simple ways immediately evident, generate samples with the same
approximate distribution or perform a random permutation of the original
sequence of pixels.

For the former you simply divide up the range of numbers from 0 to N (N
= number of pixels) in sections with lengths depending on bincounts of
the histogram. Use a white noise rand function with a range from 0 to N
and shade the pixel according to the section the result falls in.

For the second you google for "random permutation".

Regards,
Marco
[/quote]
Hi All,

Thanks for all the replys. I got it working based on Marco>s idea. I
used the block interleaving methods in Matlab (method of algintrlv)
and got the 'lena' image with less correlation and still with the same
histogram.

Thanks again.

Dev
Back to top
Display posts from previous:   
   Science and Technology news... Forum Index -> Image Processing Forum  
Page 1 of 1
All times are GMT

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum