]> Creatis software - clitk.git/blobdiff - common/clitkDicomRT_ROI.cxx
- display binary image as overlay
[clitk.git] / common / clitkDicomRT_ROI.cxx
index 7aca4be0ae911cb65d3d92c68b52dada4b0dc4ea..72f8273f507e167f6fe9850db1ad2235af3c9883 100644 (file)
@@ -69,7 +69,6 @@ const std::vector<double> & clitk::DicomRT_ROI::GetDisplayColor() const {
 }
 //--------------------------------------------------------------------
 
-
  
 //--------------------------------------------------------------------
 void clitk::DicomRT_ROI::Print(std::ostream & os) const {
@@ -80,6 +79,20 @@ void clitk::DicomRT_ROI::Print(std::ostream & os) const {
 //--------------------------------------------------------------------
 
 
+//--------------------------------------------------------------------
+void clitk::DicomRT_ROI::SetBackgroundValueLabelImage(double bg){
+  mBackgroundValue = bg;
+}
+//--------------------------------------------------------------------
+
+
+//--------------------------------------------------------------------
+double clitk::DicomRT_ROI::GetBackgroundValueLabelImage() const {
+  return mBackgroundValue;
+}
+//--------------------------------------------------------------------
+
+
 //--------------------------------------------------------------------
 void clitk::DicomRT_ROI::Read(std::map<int, std::string> & rois, gdcm::SQItem * item) {