[ITK] IKT ThresholdSegmentationLevelSetFilter does not give expected output with 3D data

riddhish bhalodia riddhishb at gmail.com
Fri Sep 16 19:53:21 EDT 2016


Hello

I have been trying to use ThresholdSegmentationLevelSetFilter.py with a
NIFTY volume, and I have modified the example code (which works perfectly
for 2D) to incorporate 3D data.
It gives a strange error

InputImage Origin: [0.0000000e+00, 0.0000000e+00, 0.0000000e+00],
InputImage_1 Origin: [9.8000000e+01, 1.3400000e+02, -7.2000000e+01]
Tolerance: 1.0000000e-06
InputImage Direction: 1.0000000e+00 0.0000000e+00 0.0000000e+00
0.0000000e+00 1.0000000e+00 0.0000000e+00
0.0000000e+00 0.0000000e+00 1.0000000e+00
, InputImage_1 Direction: -1.0000000e+00 0.0000000e+00 0.0000000e+00
0.0000000e+00 -1.0000000e+00 0.0000000e+00
0.0000000e+00 0.0000000e+00 1.0000000e+00

Tolerance: 1.0000000e-06

This is resulting as the writer does not have any output at all.
I cant seem to find anything wrong with the code I have written
https://gist.github.com/riddhishb/c12b70e25a7c2e727a3bc62ee27960d7
Any help in this aspect will be appreciated

Thank You
Regards

-- 
*Riddhish Bhalodia*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20160916/c0286ed3/attachment.html>


More information about the Community mailing list