<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Mar 24, 2016 at 9:05 PM, Liu_tj <span dir="ltr"><<a href="mailto:tjlp@netease.com" target="_blank">tjlp@netease.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi, David,<br><br>Continue this thread. For the 3D model generation, we have a preview function. That means we need quick 3D model generation speed and don't need high model precision. Only when really generating, we need a good 3D model quality. So, for the preview, how to accelerate the generation speed?<br></blockquote><div><br></div><div>For high speed, you can generate the model from a low-resolution image.</div><div>The vtkImageResize filter can generate a low resolution image very fast,</div><div>for example resize.SetOutputDimensions(128,128,128) will cause it to</div><div>generate a 128x128x128 downsampled image.  It uses a windowed sinc</div><div>filter to smooth the image while it reduces the resolution.</div><div><br></div><div> - David </div></div></div></div>