[Insight-users] rescale 3D volume and slice extract

Dženan Zukić dzenanz at gmail.com
Thu Jun 9 07:07:08 EDT 2011


It is more logical (and correct, if you will) that you apply rescaling
before slice extraction.

HTH

On Thu, Jun 9, 2011 at 11:39, john smith <mkitkinsightuser at gmail.com> wrote:

> Hello to all,
>
> I have a 3D volume image with pixel value [0,269] and I want to display a
> slice of it. But I want to rescale it from [0,255], so except from the image
> extract filter I am using a rescale image filter. My pipeline is:
>
>    filter_rescale->SetInput( reader->GetOutput() );
>    filter_extract->SetInput( filter_rescale->GetOutput() );
>    writer->SetInput( filter_extract->GetOutput() );
>
> As it seems I am using the rescale image filter after the reader. If I used
> the rescale_filter after the filter_extract, then my results would be
> different than using rescale_filter after reader?What is the correct in
> processing raw data? To rescale the hole 3D volume, or just the extracted
> slice?
>
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.html
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20110609/c67e50ac/attachment.htm>


More information about the Insight-users mailing list