iRoCS Toolbox  1.1.0
AssignLayersToCellSegmentationWorker.hh
Go to the documentation of this file.
1 /**************************************************************************
2  *
3  * Copyright (C) 2015 Thorsten Falk
4  *
5  * Image Analysis Lab, University of Freiburg, Germany
6  *
7  * This program is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation; either version 3 of the License, or
10  * (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program; if not, write to the Free Software Foundation,
19  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20  *
21  **************************************************************************/
22 
23 #ifndef ASSIGNLAYERSTOCELLSEGMENTATIONWORKER_HH
24 #define ASSIGNLAYERSTOCELLSEGMENTATIONWORKER_HH
25 
26 #ifdef HAVE_CONFIG_H
27 #include <config.hh>
28 #endif
29 
30 #include <libArrayToolbox/Array.hh>
32 
34 
35 namespace iRoCS
36 {
37 
39  std::vector<std::string> const &infiles,
40  std::string const &segmentationName, std::string const &sctName,
41  double volumeThresholdUm3, std::string const &modelFileName,
42  std::vector<std::string> const &featureFileNames,
43  std::string const &featureGroup, std::vector<std::string> &featureNames,
44  std::vector<std::string> const &labelFileNames,
45  std::string const &labelName, blitz::TinyVector<int,2> const &labelRange,
46  bool computeFeatures, int backgroundLabel = 1,
47  ProgressReporter *pr = NULL);
48 
50  atb::Array<int,3> const &L, ShellCoordinateTransform const &sct,
51  double volumeThresholdUm3, std::string const &modelFileName,
52  std::string const &featureFileName, std::string const &featureGroup,
53  std::vector<std::string> &featureNames,
54  std::string const &outFileName, std::string const &labelName,
55  int backgroundLabel = 1, ProgressReporter *pr = NULL);
56 
57 }
58 
59 #endif
Array class derived from blitz++ Arrays for handling microscopic datasets with associated element siz...
void assignLayersToSegmentation(atb::Array< int, 3 > const &L, ShellCoordinateTransform const &sct, double volumeThresholdUm3, std::string const &modelFileName, std::string const &featureFileName, std::string const &featureGroup, std::vector< std::string > &featureNames, std::string const &outFileName, std::string const &labelName, int backgroundLabel=1, ProgressReporter *pr=NULL)
void trainLayerAssignmentToSegmentation(std::vector< std::string > const &infiles, std::string const &segmentationName, std::string const &sctName, double volumeThresholdUm3, std::string const &modelFileName, std::vector< std::string > const &featureFileNames, std::string const &featureGroup, std::vector< std::string > &featureNames, std::vector< std::string > const &labelFileNames, std::string const &labelName, blitz::TinyVector< int, 2 > const &labelRange, bool computeFeatures, int backgroundLabel=1, ProgressReporter *pr=NULL)