comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Printing Graphic or saving graphic
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Printing Graphic or saving graphic [message #53175] Fri, 23 March 2007 08:51
Maarten[1] is currently offline  Maarten[1]
Messages: 176
Registered: November 2005
Senior Member
On Mar 23, 3:03 pm, David Fanning <n...@dfanning.com> wrote:
> rpert...@gmail.com writes:
>> I wrote a program that does some processing to an image, and then
>> makes a histogram. Except I have 20 images to look at and compare
>> their histograms. I can run the program 20 times, however, how do I
>> save or print the histogram so I can compare them?
>
> Well, let me count the ways....

In addition to those: save the arrays with the histograms (by string
them in a higher dimension array, or giving a new name), and plot
those in a single graph, or subtract the images, and look at the
histograms of the differences, or apply some other statistics to the
differrences, or both images (correlation comes to mind). A comparison
of the Fourier transform of the images can be entertaining as well.

Of course all 190 possible pairs of images gives quite a lot of
options, but you have to start somewhere.

Maarten
Re: Printing Graphic or saving graphic [message #53179 is a reply to message #53175] Fri, 23 March 2007 08:03 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
rpertaub@gmail.com writes:

> I wrote a program that does some processing to an image, and then
> makes a histogram. Except I have 20 images to look at and compare
> their histograms. I can run the program 20 times, however, how do I
> save or print the histogram so I can compare them?

Well, let me count the ways....

PRINTER device:

IDL> ? PRINTER device

PostScript output:

http://www.dfanning.com/documents/tips.html#PostScript

JPEG, TIFF, PNG, etc., etc.

http://www.dfanning.com/tips/jpeg.html
http://www.dfanning.com/programs/tvread.pro

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: gaussian convolution
Next Topic: beginner's help

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 19:51:55 PDT 2025

Total time taken to generate the page: 0.00507 seconds