<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><div>hello,<br>I want to extract all voxels which are inside a volume bounded by a given surface. I modelised the surface by a vtkPolyData and I want to use vtkImageStencil to do this job. Thus, i'm obliged to initialize an image with white color for all voxels and clip the given volume and make the voxel inside this volume with black color, so i will have the required result.<br>The problem is how to create an empty image and initialize all his voxels with a given color?<br>Thanks a lot for ur help.<br>Abdallah<br></div></div><br>


        
                <hr size=1></hr> 
Here¢s a new way to find what you're looking for - <a href="http://us.rd.yahoo.com/mail/in/yanswers/*http://in.answers.yahoo.com/">Yahoo! Answers</a> </body></html>