monailabel::MonaiLabelUtils
Public Functions
Name | |
---|---|
bool | createDir(const QString & dirPath) |
bool | copySegmentation(const QString & sourcePath, const QString & destinationPath) |
bool | deleteTempFile(const QString & filePath) |
std::string | getFeatureName(QSharedPointer< shapeworks::Session > session) |
ImageType::Pointer | loadNRRD(const std::string & filePath) |
ImageType::Pointer | extractOrganSegmentation(ImageType::Pointer inputImage, int label) |
void | saveNRRD(ImageType::Pointer image, const std::string & outputPath) |
bool | isOrganPresent(ImageType::Pointer image) |
void | processSegmentation(const std::string & segmentationPath, const std::map< int, std::string > & organLabels, const std::string & outputDir, const std::string & sampleId, std::vector< std::string > & organSegmentationPaths) |
Public Functions Documentation
function createDir
static bool createDir(
const QString & dirPath
)
function copySegmentation
static bool copySegmentation(
const QString & sourcePath,
const QString & destinationPath
)
function deleteTempFile
static bool deleteTempFile(
const QString & filePath
)
function getFeatureName
static std::string getFeatureName(
QSharedPointer< shapeworks::Session > session
)
function loadNRRD
static ImageType::Pointer loadNRRD(
const std::string & filePath
)
function extractOrganSegmentation
static ImageType::Pointer extractOrganSegmentation(
ImageType::Pointer inputImage,
int label
)
function saveNRRD
static void saveNRRD(
ImageType::Pointer image,
const std::string & outputPath
)
function isOrganPresent
static bool isOrganPresent(
ImageType::Pointer image
)
function processSegmentation
static void processSegmentation(
const std::string & segmentationPath,
const std::map< int, std::string > & organLabels,
const std::string & outputDir,
const std::string & sampleId,
std::vector< std::string > & organSegmentationPaths
)
Updated on 2025-04-23 at 22:52:43 +0000