<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi everyone,<div class=""><br class=""></div><div class="">I’m trying to use the <span style="font-family: Roboto, sans-serif; line-height: 28px; background-color: rgb(249, 250, 252);" class="">BSplineScatteredDataPointSetToImageFilter. No problem when applying it on 2D images (using </span><font face="Roboto, sans-serif" class=""><span style="line-height: 28px;" class="">itkBSplineScatteredDataPointSetToImageFilterTest.cxx</span></font><span style="font-family: Roboto, sans-serif; line-height: 28px; background-color: rgb(249, 250, 252);" class="">).</span></div><div class=""><span style="font-family: Roboto, sans-serif; line-height: 28px; background-color: rgb(249, 250, 252);" class="">However, after setting </span><span style="color: rgb(192, 192, 192);" class="">  </span><span style="color: rgb(128, 128, 0);" class="">const</span><span style="color: rgb(192, 192, 192);" class=""> </span><span style="color: rgb(128, 128, 0);" class="">unsigned</span><span style="color: rgb(192, 192, 192);" class=""> </span><span style="color: rgb(128, 128, 0);" class="">int</span><span style="color: rgb(192, 192, 192);" class=""> </span>ParametricDimension<span style="color: rgb(192, 192, 192);" class=""> </span>=<span style="color: rgb(192, 192, 192);" class=""> </span><span style="color: rgb(0, 0, 128);" class="">3</span>; <span style="font-family: Roboto, sans-serif; line-height: 28px; background-color: rgb(249, 250, 252);" class="">it crashes when I try to apply it on 3D image (segmentation fault). Can this code be used for 3D images? </span></div><div class=""><div apple-content-edited="true" class=""><br class="">
</div><div apple-content-edited="true" class="">Thank you</div><div apple-content-edited="true" class="">François</div>
<br class=""></div></body></html>