AW: [vtkusers] Using masks in vtk

Erbacher, Markus Markus.Erbacher at
Thu Jun 22 04:47:03 EDT 2006

I think you should take a look at vtkImageConvolve. This filter should do what you want.
-----Ursprüngliche Nachricht-----
Von: at [ at] Im Auftrag von marium ahmed
Gesendet: Donnerstag, 22. Juni 2006 10:42
An: vtkusers at
Betreff: [vtkusers] Using masks in vtk

	Dear all,
	            I want to make a mask, say 5*5, and apply it to an image (vtkImageData). The thing is that I don't know how to make such a mask and put in it for example some zeros and ones (just like what I do in matlab by constructing a matrix and filling it with whatever I want). I tried to use vtkImageMask and vtkImageMaskBits, but I didn't know how to use it correctly, i.e. I didn't know how to construct my mask of interest.
	Can anyone help??
	thanks in advance,


	Ring'em or ping'em. Make PC-to-phone calls as low as 1¢/min <**>  with Yahoo! Messenger with Voice.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the vtkusers mailing list