[vtkusers] How to only display pixels within a threshold interval
Bill Lorensen
bill.lorensen at gmail.com
Sun Feb 19 11:28:47 EST 2012
I fixed it. Here is the working version:
http://www.vtk.org/Wiki/VTK/Examples/Cxx/Images/ImageThreshold
On Sun, Feb 19, 2012 at 8:56 AM, David Doria <daviddoria at gmail.com> wrote:
> On Sun, Feb 19, 2012 at 8:07 AM, Xiaopeng Yang <yxp233 at postech.ac.kr> wrote:
>> Hello All,
>>
>>
>>
>> How are you doing?
>>
>> I have a grayscale CT image. And I would like to display pixels within a
>> threshold interval of the CT image. That means only pixels within that
>> threshold interval are shown on the screen, while the remaining pixels that
>> are out of that threshold interval are not shown on the screen. May I ask
>> whether there is such a class in VTK that fulfills this task?
>
> I think you'll want vtkImageThreshold:
> http://www.vtk.org/doc/nightly/html/classvtkImageThreshold.html#details
>
> Here is an example (it doesn't work actually, but it should get you
> started. If you can fix it that would be a huge help):
> http://www.vtk.org/Wiki/VTK/Examples/Cxx/Images/ImageThreshold
>
> David
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
--
Unpaid intern in BillsBasement at noware dot com
More information about the vtkusers
mailing list