AW: [vtkusers] Using masks in vtk
Markus.Erbacher at med.uni-heidelberg.de
Thu Jun 22 04:47:03 EDT 2006
I think you should take a look at vtkImageConvolve. This filter should do what you want.
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
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 <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...
More information about the vtkusers