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

Home » Public Forums » archive » Re: Getting Histogram in a Text Format
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Getting Histogram in a Text Format [message #40873] Mon, 13 September 2004 11:58
btt is currently offline  btt
Messages: 345
Registered: December 2000
Senior Member
Pravesh wrote:
> Hello Group:
> I was wondering if there is any way to get histogram of an image in a
> textual rather than a graphic format. i want to get the number of
> pixels vs intensity columnwise.
>

Hi,


How about this?

h = HISTOGRAM(image)
Print, 'Pixels', 'Intensity', format = '(a0, tr5, a0)'
For i = 0L, n_elements(H)-1 Do Print, h[i],i, format = '(i6, tr5, i6)'


Ben
[Message index]
 
Read Message
Previous Topic: Re: Major Query in Image Processing
Next Topic: find rotation between two images

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

Current Time: Thu Oct 09 10:17:35 PDT 2025

Total time taken to generate the page: 1.04073 seconds