[Insight-users] Filter plans

Prename Surname bsd.diverse at gmail.com
Tue Oct 17 13:56:04 EDT 2006


Hello.
I am beginning to feel a bit more at home in itk/vtk now. There are still a
zillion things to learn about it, but its getting a bit better. So now i
have decided that i want to try and make my own filter to get more
acquainted with the whole pipeline approach.

I have read chapter 13 in the itksoftwareguide, and i have thought about a
approach to make my filter. I was hoping some of you experts would tell me
if i am completely off, or if my idea is okay.
My situation is this:
I have a greyscale volume consisting of 182 slices that are 182x218 pixels
of a brain.
I have a mask of corresponding size with values 0 and 255 for the positions
of greymatter
I have a mask of corresponding size with values 0 and 255 for the positions
of whitematter
I have a mask of corresponding size with values 0 and 255 for the positions
of CSF(brainfluid)

Basically i want my filter to combine the 3 masks to a single image, so that
i can visualize this image in vtk with different colors for greymatter,
whitematter and CSF.


Making a filter (lets call it masking)that subclasses ImageToImageFilter,
and then takes 2 input images and somehow combining them to a single image
by just adding them together.

I then want to make a compositefilter that actually makes a pipeline of 2
masking filters, taking first 2 masks, combining them in the masking filter,
takes the output of this and combine it with the third mask using again the
masking filter, and then outputting the final masked image.

Does this sound  feasible, and more important is this a good approach?
I hope for some feedback.

Many regards and thank you
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/insight-users/attachments/20061017/62f77662/attachment.html


More information about the Insight-users mailing list