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

Home » Public Forums » archive » Re: CALCUATING FRACTION OF A REGION WITHIN AN IMAGE
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: CALCUATING FRACTION OF A REGION WITHIN AN IMAGE [message #22973] Wed, 20 December 2000 12:38
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Mark Chan (chanm@cadvision.com) writes:

> An image consisting of two rock types. Rock type 1 is fragmented, dispersed
> irregularly and embedded within rock type 2. Type 1 is generally dark brown
> but not of unique color, type 2 color varies between black or dark brown in
> color.
>
> Want:
> The fraction of type 1 as a percentage of total image.
>
> Questions:
> 1) Any suggestion on the easiest way to do such computation?
> 2) Will some sort of image pre-processing help get the job done easier?
> 3) Any routine/program in existence I can utilize?

I've built a similar sort of "classifier" for a client.
We have had pretty good luck taking the 24-bit image
and converting it to hue, value, and saturation images.
Then I wrote a little interactive gizmo (based on my
XStretch program) that allows us to independently
select pixels based on hue and value. Pixels that
lie in both camps get selected as the "thing" we
are trying to classify.

We have found that we can get pretty good segmentation
with this approach, at least for the data we are interested
in. Your mileage may vary.

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: CALCUATING FRACTION OF A REGION WITHIN AN IMAGE
Next Topic: New

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

Current Time: Fri Oct 10 13:31:25 PDT 2025

Total time taken to generate the page: 0.56143 seconds