<div dir="ltr">Dear all,<div><br></div><div>by using vtk I displayed vtkimagedata and I use the mouse to select rectangle part to apply vtkmarchingcube filter  , how to get or cut the part of vtkimagedata by knowing xmin, xmax, ymin, ymax, zmin, zmax boundry of the disered region </div>
<div><br></div><div><br></div><div>for exampple</div><div><br></div><div>the vtkimage data dimension 213,213,36</div><div><br></div><div>and the boundry of the selection: </div><div><br></div><div>xmin = 309, xmax = 432, ymin= 161 , ymax = 239 , zmin= -99 , zmax = 50 </div>
<div><br></div><div><br></div><div>any suggestion please </div><div><br></div><div>Best regards </div></div>