AW: [vtkusers] Using masks in vtk

Erbacher, Markus Markus.Erbacher at med.uni-heidelberg.de
Thu Jun 22 04:47:03 EDT 2006


Hi, 
 
I think you should take a look at vtkImageConvolve. This filter should do what you want.
 
Markus
 
-----Ursprüngliche Nachricht-----
Von: vtkusers-bounces+markus.erbacher=med.uni-heidelberg.de at vtk.org [mailto:vtkusers-bounces+markus.erbacher=med.uni-heidelberg.de at vtk.org] Im Auftrag von marium ahmed
Gesendet: Donnerstag, 22. Juni 2006 10:42
An: vtkusers at vtk.org
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,
	marium

	
________________________________

	Ring'em or ping'em. Make PC-to-phone calls as low as 1¢/min <http://us.rd.yahoo.com/mail_us/taglines/postman11/*http://us.rd.yahoo.com/evt=39666/*http://voice.yahoo.com>  with Yahoo! Messenger with Voice.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20060622/41add6cb/attachment.htm>


More information about the vtkusers mailing list