[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: CALCUATING FRACTION OF A REGION WITHIN AN IMAGE
- Subject: Re: CALCUATING FRACTION OF A REGION WITHIN AN IMAGE
- From: davidf(at)dfanning.com (David Fanning)
- Date: Wed, 20 Dec 2000 13:38:10 -0700
- Newsgroups: comp.lang.idl-pvwave
- Organization: Fanning Software Consulting
- References: <email@example.com>
- Xref: news.doit.wisc.edu comp.lang.idl-pvwave:22691
Mark Chan (firstname.lastname@example.org) 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
> The fraction of type 1 as a percentage of total image.
> 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.
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: email@example.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155