[Insight-users] FW: Connected Threshold Filter

Luis Ibanez luis.ibanez at kitware.com
Mon Jan 15 17:25:43 EST 2007



Hi Zach,

 From your limited description is very difficult
to identify what the problem is.

You may have to start eliminating suspects one at
a time.

1) Have you verified that the analyze files are
    read correctly ? For example, pass the output
    of the reader to a writer, save the image and
    open it with a viewer to see if it is the same
    as the original.

2) Have you verified that the seeds are located
    in pixels with values that are inside the range
    defined by the lower,upper thresholds ?

3) What pixel type did you used for instantiating
    the output of the ConnectedThreshold image filter.

4) When you say that "My output is all black and
    has been reduced from 16 bit to 8bit when i view
    in MRIcro. "  do you mean that MRIcro reduced
    the pixel type of the image ? or do you mean
    that you change the pixel type inside your code ?



It will help a lot if you post your source code to
the list.


   Thanks


      Luis



---------------------
Wu Zheying wrote:
> Hi all,
> 
> I am doing the connected threshold filter example using analyze datasets and
> 3d input seeds. My output is all black and has been reduced from 16 bit to
> 8bit when i view in MRIcro. What is the reason for this? and what is the
> proper way to get past this problem?
> 
> much thanks,
> Zach
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users


More information about the Insight-users mailing list