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

Home » Public Forums » archive » Re: Cell boundary program?
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: Cell boundary program? [message #21116 is a reply to message #21096] Mon, 07 August 2000 00:00 Go to previous message
Ben Tupper is currently offline  Ben Tupper
Messages: 186
Registered: August 1999
Senior Member
Hello,

There are two methods you can use, convolution or contouring.

Each has its advantages. The contouring method is quick, but it doesn't return
the location of every pixel that makes up the cell boundary. You're best bet to
contour a binarized version of the image.

The other method, convolution is also quick, but the returned indices are in
scan-line order. In this case, all the boundary pixels are included. This
method was suggested by ... uhoh, I forgotten who it was right now, sorry.
Here's the steps as described on the newsgroup by the unknown author.

bb = convol(Image, replicate(1,3,3),9,/center)
Edges = Where(bb gt 0 AND bb LT 255)
bb[*] = 0
bb[edges] = 255 ; make this new image just edges
bb = Image AND BB ; now keep just those edges inside your object
perimeter = where(bb eq 255); these are indices to final outline

Ben

Alexandros Pertsinidis wrote:

> I am looking for an IDL program that determines the boundary of a cell. I
> have a lot of video of cells (neurons). Ideally, I would like track the
> change in their shape/size as time progresses. Does anyone know of anything
> like this? Thank you very much!
>
> Rachel

--
Ben Tupper
Pemaquid River Company
248 Lower Round Pond Road
POB 106
Bristol, ME 04539

Tel: (207) 563-1048
Email: PemaquidRiver@tidewater.net
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: VMS FORTRAN/GKS Graphics to PV-WAVE conversion
Next Topic: Splitting JPEG files into RGB components

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

Current Time: Wed Oct 08 16:00:20 PDT 2025

Total time taken to generate the page: 0.00194 seconds