[Insight-users] reading a vector/matrix in ITK
Luis Ibanez
luis.ibanez at kitware.com
Sun Oct 17 07:28:54 EDT 2010
Hi Sarah,
1) How many elements do you have in that 1D vector ?
2) The multiplication that you want to do:
2.1) is it between the vector and the image ?
2.2) is it between the matrix and the image ?
3) Are you managing the image as if it was a matrix ?
Please note that although such operations are
common in matrix-limited systems like MATLAB,
you are not subject to those restrictions when you
are using ITK.
Maybe it will be useful if you describe what kind
of processing do you really want to do in the
image.
It is likely that there are better ways to do this in
ITK, without assimilating an image to a matrix.
Please let us know,
Thanks
Luis
--------------------------------------------------------------------------------
On Fri, Oct 8, 2010 at 5:37 PM, Sarah Waldron <sarah.waldron11 at yahoo.com>wrote:
> I have a 1D vector and a 3x10 matrix that are both in text files and I
> would like to read them in ITK and then multiply them to a 3D image that I
> was able to read in ITK. Does anyone have a sample program as to how to do
> this?
>
>
>
>
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.html
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20101017/21840188/attachment.htm>
More information about the Insight-users
mailing list