From 24be4480ca7738378085686dcf9206454c2ad8ab Mon Sep 17 00:00:00 2001 From: David Sarrut Date: Thu, 14 Jun 2012 15:35:44 +0200 Subject: [PATCH] Add CheckImage --- segmentation/clitkAnatomicalFeatureDatabase.h | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/segmentation/clitkAnatomicalFeatureDatabase.h b/segmentation/clitkAnatomicalFeatureDatabase.h index 59e8dec..c1ed4fd 100644 --- a/segmentation/clitkAnatomicalFeatureDatabase.h +++ b/segmentation/clitkAnatomicalFeatureDatabase.h @@ -65,11 +65,17 @@ namespace clitk { // Set Get image void SetImageFilename(TagType tag, std::string f); - template + + template typename ImageType::Pointer GetImage(TagType tag, bool reload=false); - template + + template + bool CheckImage(TagType tag); + + template void SetImage(TagType tag, std::string f, typename ImageType::Pointer image, bool write=false); - template + + template void ReleaseImage(TagType tag); // Set Get Double -- 2.47.1