From: David Sarrut Date: Thu, 14 Jun 2012 13:35:44 +0000 (+0200) Subject: Add CheckImage X-Git-Tag: v1.3.0~27^2~8 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=24be4480ca7738378085686dcf9206454c2ad8ab;p=clitk.git Add CheckImage --- 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