@@ -171,18 +171,24 @@ mitk::Surface::Pointer CemrgScar3D::Scar3D(std::string directory, mitk::Image::P
171171 if (maxSratio < sratio) maxSratio = sratio;
172172
173173 /* *
174- * @brief tickbox GUI for this
175- */
176- MITK_INFO (debugging) << " int _ONLY_POSITIVE_STDEVS = 1" ;
177- MITK_INFO (debugging) << " int _SCAR_AS_STANDARD_DEVIATION = 1" ;
178- MITK_INFO (debugging) << " int _SCAR_MIP = 1" ;
179- /* *
180- * @brief end
174+ * Placeholder variables for potential GUI options.
175+ * We removed them in favour of a simplified functionality
176+ *
177+ int _ONLY_POSITIVE_STDEVS = 1;
178+ int _SCAR_AS_STANDARD_DEVIATION = 1;
179+ int _SCAR_MIP = 1;
180+ *
181+ * Comments that refer to this are identified with the following:
182+ * [placeholder]
183+ *
181184 */
182185
183- // if (_ONLY_POSITIVE_STDEVS == 1 && sdev < 0) sdev = 0;
186+ // [placeholder] simplified functionality without placeholder variables
184187 if (sdev < 0 ) sdev = 0 ;
185188
189+ // [placeholder] comlete functionality with placeholder variables
190+ // if (_ONLY_POSITIVE_STDEVS == 1 && sdev < 0) sdev = 0;
191+
186192 scalarsOnlyStDev->InsertTuple1 (i, sdev);
187193 scalarsOnlyIntensity->InsertTuple1 (i, scalar);
188194 scalarsOnlyMultiplier->InsertTuple1 (i, sratio);
@@ -192,12 +198,17 @@ mitk::Surface::Pointer CemrgScar3D::Scar3D(std::string directory, mitk::Image::P
192198
193199 if (scalarToPlot <= 0 ) scalarToPlot = 0 ;
194200
195- // if (_SCAR_MIP == 1 && _SCAR_AS_STANDARD_DEVIATION == 1) {
201+ // [placeholder] simplified functionality without placeholder variables
196202 scalars->InsertTuple1 (i, scalarToPlot);
197203 allScalarsInShell.push_back (scalarToPlot);
204+
205+ // [placeholder] comlete functionality with placeholder variables
206+ // if (_SCAR_MIP == 1 && _SCAR_AS_STANDARD_DEVIATION == 1) {
207+ // scalars->InsertTuple1(i, scalarToPlot);
208+ // allScalarsInShell.push_back(scalarToPlot);
198209 // } else {
199- // scalars->InsertTuple1(i, scalar);
200- // allScalarsInShell.push_back(scalar); }
210+ // scalars->InsertTuple1(i, scalar);
211+ // allScalarsInShell.push_back(scalar); }
201212 }// _for
202213
203214 scarDebugLabel = visitedImage;
0 commit comments