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

Home » Public Forums » archive » Re: how many array elements with a certain value in a row
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: how many array elements with a certain value in a row [message #70273 is a reply to message #70272] Thu, 01 April 2010 06:40 Go to previous messageGo to previous message
Jeremy Bailin is currently offline  Jeremy Bailin
Messages: 618
Registered: April 2008
Senior Member
> That sounds right.  I recall HISTOGRAM scans left to right along rows.
> So a histogram of the labeled image coupled with the reverse indices
> and a row look-up function to convert from index to row should provide
> enough info.

Hmmm, yeah that would probably work. I'm not sure it's any less
convoluted than the TOTAL(/CUMULATIVE)-based solution I was thinking
of.

> Is this like a run-length-encoding you're looking for?

I suppose that someone implementing run-length-encoding would need
similar information, but all I care about are the locations where one
particular value occurs so I can look at the properties of the image
relative to those locations.

-Jeremy.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: IDL: problem on reading ncdf file with short type data
Next Topic: Re: Image error calculation

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

Current Time: Wed Oct 08 18:12:49 PDT 2025

Total time taken to generate the page: 0.00178 seconds