File tree Expand file tree Collapse file tree 1 file changed +9
-10
lines changed
Expand file tree Collapse file tree 1 file changed +9
-10
lines changed Original file line number Diff line number Diff line change @@ -139,19 +139,18 @@ inline bool APRConverter<ImageType>::get_apr_method_from_file(APR<ImageType> &aA
139139 for (size_t i = 0 ; i < inputImage.mesh .size (); ++i) {
140140 inputImage.mesh [i] = (inputImage.mesh [i] - mm.min ) * maxValue / (mm.max - mm.min );
141141 }
142- }
143142
144- // normalize the input parameters if required
145- if (par.Ip_th !=-1 ){
146- std::cout << " Scaled input intensity threshold" << std::endl;
147- par.Ip_th = (par.Ip_th - mm.min )* maxValue / (mm.max - mm.min );
148- }
143+ // normalize the input parameters if required
144+ if (par.Ip_th !=-1 ){
145+ std::cout << " Scaled input intensity threshold" << std::endl;
146+ par.Ip_th = (par.Ip_th - mm.min )* maxValue / (mm.max - mm.min );
147+ }
149148
150- if (par.min_signal !=-1 ){
151- std::cout << " Scaled input min signal threshold" << std::endl;
152- par.min_signal = (par.min_signal )* maxValue / (mm.max - mm.min );
149+ if (par.min_signal !=-1 ){
150+ std::cout << " Scaled input min signal threshold" << std::endl;
151+ par.min_signal = (par.min_signal )* maxValue / (mm.max - mm.min );
152+ }
153153 }
154-
155154 }
156155
157156
You can’t perform that action at this time.
0 commit comments