|
@@ -102,6 +102,17 @@ class SemanticSegmentation : public NICE::Persistent
|
|
|
NICE::Image & segresult,
|
|
|
NICE::MultiChannelImageT<double> & probabilities );
|
|
|
|
|
|
+ /**
|
|
|
+ * Classify each voxel of a 3D image (image stack)
|
|
|
+ * @author Sven Sickert
|
|
|
+ * @param filelist filename list of images that represent slices of a stack
|
|
|
+ * @param segresult segmentation results (output)
|
|
|
+ * @param probabilities probabilities for each pixel (output)
|
|
|
+ */
|
|
|
+ void classify ( const std::vector<std::string> & filelist,
|
|
|
+ NICE::MultiChannelImageT<double> & segresult,
|
|
|
+ NICE::MultiChannelImage3DT<double> & probabilities );
|
|
|
+
|
|
|
/** this function has to be overloaded by all subclasses
|
|
|
@param ce image data
|
|
|
@param segresult result of the semantic segmentation with a label for each
|
|
@@ -113,19 +124,6 @@ class SemanticSegmentation : public NICE::Persistent
|
|
|
NICE::Image & segresult,
|
|
|
NICE::MultiChannelImageT<double> & probabilities ) = 0;
|
|
|
|
|
|
- /**
|
|
|
- * @brief Classification function (has to be overloaded by all subclasses)
|
|
|
- * @author Sven Sickert
|
|
|
- * @param imgData image data
|
|
|
- * @param segresult result of the semantic segmentation with a label for each pixel
|
|
|
- * @param probabilities multi-channel image with one channel for each class and
|
|
|
- * corresponding probabilities for each pixel
|
|
|
- * @param filelist filename list of images that represent slices of a stack
|
|
|
- */
|
|
|
- virtual void classify ( NICE::MultiChannelImage3DT<double> & imgData,
|
|
|
- NICE::MultiChannelImageT<double> & segresult,
|
|
|
- NICE::MultiChannelImage3DT<double> & probabilities,
|
|
|
- const std::vector<std::string> & filelist ) = 0;
|
|
|
|
|
|
/** training function (has to be overloaded by all subclasses)
|
|
|
* @param md the data set
|