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

Home » Public Forums » archive » Re: Still getting trouble with ROI's
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: Still getting trouble with ROI's [message #37885 is a reply to message #37884] Tue, 03 February 2004 03:17 Go to previous messageGo to previous message
Nuno Oliveira is currently offline  Nuno Oliveira
Messages: 75
Registered: October 2003
Member
Thanks, Bruce. I was looking in the tutorials and it was not clear the
working procedure of the where function (it is now?). It works on a mask
right? So if have result = where(xy) it would mean that xy is a matrix (in
the case 2-D) where de elements of the roi have value 1 and the others have
value 0.

So maybe the solution is seeking for i,j such that xy(i,j) eq 1. If true
then adding these (i,j) to a pointer and returning this two-dimensional
array? What do you say? I'm going to try.



Cheers,



Nuno.



"Bruce Bowler" <bbowler@bigelow.org> wrote in message
news:pan.2004.02.02.17.47.37.709701@bigelow.org...
> On Mon, 02 Feb 2004 16:40:14 +0000, Nuno Oliveira put fingers to keyboard
> and said:
>
> Based on the fact that xy is the result of a "where", I'd assume that the
> single number returned is the "1 dimensional index that would result if
> the 2 dimensional array were addressed at X,Y".
>
> --
> +-------------------+--------------------------------------- ------------+
> Bruce Bowler | To be great is to be misunderstood. - Ralph Waldo
> 1.207.633.9600 | Emerson
> bbowler@bigelow.org |
> +-------------------+--------------------------------------- ------------+
>
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Using CALL_EXTERNAL with C++ Code
Next Topic: Virtual Machine Crashes :-(

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

Current Time: Fri Oct 10 12:57:10 PDT 2025

Total time taken to generate the page: 0.96338 seconds