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

Home » Public Forums » archive » WHERE Function
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
WHERE Function [message #4152] Wed, 10 May 1995 00:00 Go to previous message
bjp8350 is currently offline  bjp8350
Messages: 4
Registered: February 1995
Junior Member
I am using the WHERE function to return the pixel locations of a single object
in a binary image. The WHERE function returns a LONGWORD VECTOR that can be
used to subscript the image array. I need to calculate the distance between
each combination of border pixels to find the object's major axis.

How can I seperate the LONGWORD VECTOR into its X and Y components? so I can
use the distance formula. Or is there an easier way to find the distance
between each pixel?

Thanks in advance,
Ben
--
**********************************
Ben Pryhoda
bjp8350@rit.edu
Rochester Institute of Technology
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: where function
Next Topic: Need help with map projection conversion in ENVI

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

Current Time: Wed Oct 08 15:23:10 PDT 2025

Total time taken to generate the page: 0.00475 seconds