[Insight-users] Triangular Pixels
hanifa mohamed
hanifa_email at yahoo.com.sg
Tue Jun 28 03:11:55 EDT 2011
Hi,
Thanks for the reply.
"You may visualize it as triangles for some purpose, but then you would
have to fill the empty space somehow, using black color perhaps."
Sorry , I dont really understand the above statement.
typedef itk::Image<unsigned char,2> ImageType; //What would I have to change here ???
What do you mean by filling the empty space ?
Do you think support for SparseImages will increase in the near future ?
Regards
________________________________
From: Dženan Zukić <dzenanz at gmail.com>
To: hanifa mohamed <hanifa_email at yahoo.com.sg>
Cc: itk <insight-users at itk.org>
Sent: Tuesday, 28 June 2011 12:15 AM
Subject: Re: [Insight-users] Triangular Pixels
In ITK, pixels are defined to be rectangular. It is the only representation. You may visualize it as triangles for some purpose, but then you would have to fill the empty space somehow, using black color perhaps. It is dependent on what you want to achieve.
Sparse images are not currently supported (except maybe for a few isolated filters).
HTH,
Dženan
On Mon, Jun 27, 2011 at 10:18, hanifa mohamed <hanifa_email at yahoo.com.sg> wrote:
Hi all,
> I was going through itk, and was wondering whether it is possible to represent (triangular or any n-shaped polygons) as pixels in itk. The Image class has pixels in the default squarish pixel shape.
>
>
>Firstly, I would like know whether is possible in the first place .
>Secondly, are there any native classes in itk, which can accomplish this ?
>
>Can anyone guide me in the some sort of direction?
>
>
>It would be great if someone could also help in this other thread, I posted last week. http://www.itk.org/pipermail/insight-users/2011-June/041504.html
>
>
>
>Thanks in advance again, guys.
>
>
>Regards
>
>
>
>
>
>
>_____________________________________
>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/20110628/a5d10937/attachment.htm>
More information about the Insight-users
mailing list