I read the image using vmtkImageReader() and did the following code:
vmtklevelset = vmtkscripts.vmtkLevelSetSegmentation()
vmtklevelset.Image = imageReader.Image
vmtklevelset.LevelSetsInput = imageReader_ca.Image
vmtklevelset.IsoSurfaceValue = 570
vmtklevelset.UpperThreshold = 2510.0
vmtklevelset.LowerThreshold = 550.0
vmtklevelset.Execute()
However, I already set the value for the isosurface and threshold; I still see the display and need to do that again.
I want to get results not using display but the number I already give. Can I execute and get results without using a display?
I have two other problem.
- If I add
vmtklevelset.NumberOfIterations = 2000 , I see no output when i run vmtklevelset.Execute().
- If I add
vmtklevelset.LevelSetsType = 'threshold', it keeps asking me(infinite loop) to put a lower threshold.
Anyone know what to do?
I read the image using vmtkImageReader() and did the following code:
However, I already set the value for the isosurface and threshold; I still see the display and need to do that again.
I want to get results not using display but the number I already give. Can I execute and get results without using a display?
I have two other problem.
vmtklevelset.NumberOfIterations = 2000, I see no output when i run vmtklevelset.Execute().vmtklevelset.LevelSetsType = 'threshold', it keeps asking me(infinite loop) to put a lower threshold.Anyone know what to do?