Dear all,<div><br></div><div>I would like to assign a sub-region of an vector image (deformation field) to its mean value, where I get this region from a manual segmentation mask. I can see this is not hard to implement, adding all vectors up and take the mean value. Is there any existing filter can do this?</div>
<div><br></div><div>I have a brief read on the software guide and searching, and found VectorMeanImageFunction could be related, but it only calculate the mean value for each pixel from its neighbour. </div><div> <a href="http://www.itk.org/Doxygen/html/classitk_1_1VectorMeanImageFunction.html">http://www.itk.org/Doxygen/html/classitk_1_1VectorMeanImageFunction.html</a></div>
<div><br></div><div>Kind regards,</div><div><br></div><div>Xi</div>