From 72d021284c0a7490a28da2946e6a90dd97b6e148 Mon Sep 17 00:00:00 2001 From: Andrews Sobral <andrewssobral@gmail.com> Date: Thu, 15 Aug 2019 12:06:17 +0200 Subject: [PATCH] discard unused variables --- src/algorithms/LBSP/BackgroundSubtractorSuBSENSE.cpp | 2 +- src/algorithms/MultiLayer/BlobExtraction.cpp | 4 ++-- src/algorithms/SigmaDelta/sdLaMa091.cpp | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/algorithms/LBSP/BackgroundSubtractorSuBSENSE.cpp b/src/algorithms/LBSP/BackgroundSubtractorSuBSENSE.cpp index 04a084a..9278354 100644 --- a/src/algorithms/LBSP/BackgroundSubtractorSuBSENSE.cpp +++ b/src/algorithms/LBSP/BackgroundSubtractorSuBSENSE.cpp @@ -46,7 +46,7 @@ namespace bgslibrary const int FRAMELEVEL_ANALYSIS_DOWNSAMPLE_RATIO = 8; // local define used to display debug information - const int DISPLAY_SUBSENSE_DEBUG_INFO = 0; + //const int DISPLAY_SUBSENSE_DEBUG_INFO = 0; // local define used to specify the default frame size (320x240 = QVGA) #define DEFAULT_FRAME_SIZE cv::Size(320,240) // local define used to specify the color dist threshold offset used for unstable regions diff --git a/src/algorithms/MultiLayer/BlobExtraction.cpp b/src/algorithms/MultiLayer/BlobExtraction.cpp index 8ef878a..ad6b053 100644 --- a/src/algorithms/MultiLayer/BlobExtraction.cpp +++ b/src/algorithms/MultiLayer/BlobExtraction.cpp @@ -15,10 +15,10 @@ namespace bgslibrary { //! si la imatge és cíclica verticalment (els blobs que toquen //! les vores superior i inferior no es consideren externs) - const int IMATGE_CICLICA_VERTICAL = 1; + //const int IMATGE_CICLICA_VERTICAL = 1; //! si la imatge és cíclica horitzontalment (els blobs que toquen //! les vores dreta i esquerra no es consideren externs) - const int IMATGE_CICLICA_HORITZONTAL = 0; + //const int IMATGE_CICLICA_HORITZONTAL = 0; const double SQRT2 = 1.41421356237310; const double PERIMETRE_DIAGONAL = (SQRT2 - 2); diff --git a/src/algorithms/SigmaDelta/sdLaMa091.cpp b/src/algorithms/SigmaDelta/sdLaMa091.cpp index feb8754..718bfa4 100644 --- a/src/algorithms/SigmaDelta/sdLaMa091.cpp +++ b/src/algorithms/SigmaDelta/sdLaMa091.cpp @@ -12,8 +12,8 @@ namespace bgslibrary const int DEFAULT_VMAX = 255; const char* LIB = "sdLaMa091 - "; - const int RED = 0; - const int GREEN = 1; + //const int RED = 0; + //const int GREEN = 1; const int BLUE = 2; const int CHANNELS = 3; -- GitLab