[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

*Subject*: Re: perimeter of a blob*From*: davidf(at)dfanning.com (David Fanning)*Date*: Thu, 27 Jan 2000 10:15:33 -0700*Newsgroups*: comp.lang.idl-pvwave*Organization*: Fanning Software Consulting*References*: <388F629B.B9146BB5@seadas.bigelow.org> <B4B61BC3.3172%r.j.adams@bath.ac.uk>*Xref*: news.doit.wisc.edu comp.lang.idl-pvwave:18154

Richard Adams (r.j.adams@bath.ac.uk) writes: > Dear Ben, if you just need the indices and not the indices in order around > the perimeter then you could use an imaging method like this: You know, I think this whole thing has to be a lot easier than this. Ben is getting the data from Label_Region, which returns regions labeled with a single value (or "color", as I prefer to think of them). Why not just use the CONTOUR command to draw a contour around the region, then use the information in all those PATH_**** keywords to find the perimeter? With clever programming (I'll leave this part to Ben) you can find all the holes in the data, etc. I think I might even have a piece of code around here where I did this once. If I get some time (unlikely today) I'll have a look around. 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

**References**:**perimeter of a blob***From:*Ben Tupper

**Re: perimeter of a blob***From:*Richard Adams

- Prev by Date:
**Re: Help wanted with log-normal distribution.** - Next by Date:
**linux XF86 X visuals, IDL 16-bit blues** - Prev by thread:
**Re: perimeter of a blob** - Next by thread:
**Re: perimeter of a blob** - Index(es):