Page 1 of 1

Levelset, threshold, and any other functions seems not work on my computer

Posted: Wed Apr 24, 2019 5:56 am
by rhwodms
Hi, I'm new in SimVascular.

I started from tutorial with demo project file, but I stucked at segmentation step.

Levelset neither Threshold method works for me, and give me a error message "Contour not created and added since it's invalid" with console error message like bellow:
"450.56 core.mod.core.loggingadapter ERROR: ERROR: In S:\vtk-8.1.1\IO\Image\vtkImageImport.cxx, line 455
vtkImageImport (0000024A5FB00430): Calling UpdateDataCallback: c:\cygwin64\home\nwilson\gitwork\simvascular\releases\2019-03-09\buildwithmake\ext\bin\itk-4.13.0\include\itk-4.13\itkRescaleIntensityImageFilter.hxx:58:
itk::ERROR: RescaleIntensityImageFilter(0000024A5F230F30): Minimum output value cannot be greater than Maximum output value."

Manual segmentation methods works, but it takes to many times for my further study.

Also I tried out with my own CT data image from canine patient, but I got same error message too.

Can anybody give me a help?

Re: Levelset, threshold, and any other functions seems not work on my computer

Posted: Wed Apr 24, 2019 5:59 am
by rhwodms
** I can offer any data for resolve this problem(ex: hardware information, CT data, etc.).

Re: Levelset, threshold, and any other functions seems not work on my computer

Posted: Fri Apr 26, 2019 8:29 pm
by davep
Hi Jaeeun,

I recently discovered a bug in the level set computation on Windows OS (see https://github.com/SimVascular/SimVascular/issues/456). I haven't had a chance to look into this yet.

What version of Windows are you using?

Cheers,
Dave

Re: Levelset, threshold, and any other functions seems not work on my computer

Posted: Sat Apr 27, 2019 5:48 am
by rhwodms
To David.

Configuration of my OS is:
Edition: Windows 10 Home
Version: 1809
Installation date: 2018 02 08
OS build: 17763.437

Re: Levelset, threshold, and any other functions seems not work on my computer

Posted: Sat Apr 27, 2019 6:03 am
by rhwodms
Below is my console situation when I click the Levelset button.

vtkImageImport (000002C6385B0200): Calling UpdateDataCallback: c:\cygwin64\home\nwilson\gitwork\simvascular\releases\2019-01-27\buildwithmake\ext\bin\itk-4.13.0\include\itk-4.13\itkRescaleIntensityImageFilter.hxx:58:
itk::ERROR: RescaleIntensityImageFilter(000002C638E42500): Minimum output value cannot be greater than Maximum output value.
LevelSet Completed in: 1 iterations with 0.00RMS Change at end

Re: Levelset, threshold, and any other functions seems not work on my computer

Posted: Sun Apr 28, 2019 10:51 am
by davep
I'm note sure what the problem is here. I'll take a look this week.

Cheers,
Dave

Re: Levelset, threshold, and any other functions seems not work on my computer

Posted: Sun Apr 28, 2019 7:24 pm
by rhwodms
To David.

Thanks. I will offer my image date if you want.

Re: Levelset, threshold, and any other functions seems not work on my computer

Posted: Mon Jun 03, 2019 11:00 am
by aditid
Hi there,

Did anyone figure out a solution to this? I am using it on my Windows 10 computer and having the same issue.. I have loaded a series of dicoms and marked the paths just like its shown in the tutorial but when I try to do the contour segmentation, I get the same error saying ''Contour not created or added as its not valid''.

I am trying to run a simulation but can't get past the segmentation phase because of this problem. I tried changing all the segmentation parameters, I tried different sets of images, nothing works! Any help would be really appreciated

Re: Levelset, threshold, and any other functions seems not work on my computer

Posted: Mon Jun 03, 2019 11:16 am
by davep
Hi Aditi,

I have not yet tracked down the cause of the level set failure for Windows. You will need to use the threshold segmentation method until this is fixed.

Cheers,
Dave