[Insight-users] itkEucledianDistance
kumar
MaKumartr@netscape.net
Wed, 22 Jan 2003 19:48:24 -0100
Hi Luis
Thanks for the immediate response
I would like to share what I refer by the term vector for me
I am using it as a container with float values and it is having
variable size
Hence I am unable to use itk::Vector class and since it is having float
values I cannot use
itk::Point
So I think that I cannot use the class EucledianDistance
I would be happy to know if possible what are the variables , methods
expected of that TVector class
and what they mean as that makes it easy to write an extended class of
the class vnl_vector
and still get the work done
Thanks once again for the reply
Warm Regards
Kumar
Luis Ibanez wrote:
>
> Hi Kumar,
>
>
> Unfortunately the term "vector" is used to
> indicate too many different things...
>
> Depending on what you are doing there are
> different ITK classes that could be apropriate.
>
> Some questions may help to figure out
> the best option for your case:
>
> 1) What are you representing with this vector ?
> Is this used for representing positions in space ?
> or are you using it as a container with float
> values...
>
> 2) How many elements are you placing in this vector?
>
> 3) Do you need it to have variable size ?
>
>
> If you are representing coordinates in space,
> you may want to look at the itk::Point and
> itk::Vector classes. They have built-in methods
> for computing distances.
>
> Please let us know
>
>
> Luis
>
>