[vtkusers] How to set default scalar value when using vtkImageReslice

David Gobbi david.gobbi at gmail.com
Fri Apr 13 12:08:44 EDT 2018


The CT number for air is -1000, so for CT with real-world (i.e. Hounsfield)
data values, it's best to set the background to <= -1000.

On Fri, Apr 13, 2018 at 6:59 AM, Cory Quammen <cory.quammen at kitware.com>
wrote:

> Ah, good point - there are a good many values for which 0 is a large
> number! I'm glad it was an easy fix.
>
> On Fri, Apr 13, 2018 at 4:45 AM, Jounly <lihouxing0710 at gmail.com> wrote:
>
>> Hi, thanks for your reply! I figured out that the default scalar value is
>> 0.
>> The reason that I thought the value was large is that it appeared to be
>> much
>> brighter than other pixels inside the volume. and it turned out to be the
>> problem of indirectly set window/ level because most of the scalar value
>> of
>> the pixels inside the volume is much smaller than 0. Again, thanks for
>> your
>> reply~
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://vtk.org/pipermail/vtkusers/attachments/20180413/76c65f3a/attachment.html>


More information about the vtkusers mailing list