C++ implementation of the V-Net architecture for medical image segmentation inferencing
Known good build dependencies:
-
- Following the CMake installation wizard to install CMake binary
-
- Please compile from source code with following CMake configurations
-
- Please follow the CMake compilation instruction to build the C++ interface library. i.e.
tensorflow_BUILD_SHARED_LIB
options.
- Please follow the CMake compilation instruction to build the C++ interface library. i.e.
-
- The dependencies will be auto generated via Tensorflow C++ API superbuild.
- Standalone build from source is possible but not recommended.
Build pass on Windows 10 with MSVC 2015. Test on your own on other platforms and compilers.
- Specify C++ source folder and target build directory with CMake (GUI/CCMake recommended)
- Configure and provide necessary dependencies
- Generate and Build
In python side we store the checkpoint in metagraph style for simple checkpoint loading. In C++ Tensorflow need to load graph and weight separately and we are now providing the meta_to_pb.py for the checkpoint conversion.
- Currently the input and output only support absolute path in main.cxx
- We only illustrate one possible data type input with NIFTI format for convenience. It is possible to use JPG, TIFF or other image storage format.
- Only single batch inference is supported in present stage.
- Multi-threaded patch preparation is proposed for GPU utilization. This function is highly experimental and would like to request for development support.
m_patchSize
need to be same as the input placeholder size