Skip to content
Snippets Groups Projects
Commit 4e972594 authored by ariotte's avatar ariotte
Browse files

fixed naming problem

parent 6fdf5e2e
No related branches found
No related tags found
No related merge requests found
......@@ -120,13 +120,13 @@ void FilteringService::applyAlgorithm(Filtering* algo)
Image_t<int>* intResImg = Converter<Image_t<int> >::convert(*dblResImg);
if(_scaling && _offset ){
resImg = Converter<Image>::ConvertScaleAndOffset(*intResImg, &outputMessage);
resImg = Converter<Image>::convertScaleAndOffset(*intResImg, &outputMessage);
}
else if(_scaling){
resImg = Converter<Image>::ConvertAndScale(*intResImg, &outputMessage);
resImg = Converter<Image>::convertAndScale(*intResImg, &outputMessage);
}
else if(_offset){
resImg = Converter<Image>::ConvertAndOffset(*intResImg, &outputMessage);
resImg = Converter<Image>::convertAndOffset(*intResImg, &outputMessage);
}
else{
resImg = Converter<Image>::convertAndRound(*dblResImg);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment