Skip to content
Snippets Groups Projects
Commit 58ef4f0f authored by Angelos Tzotsos's avatar Angelos Tzotsos
Browse files

BUG: Formula error spotted and fixed.

parent 51fc0bd0
No related branches found
No related tags found
No related merge requests found
......@@ -138,7 +138,7 @@ private:
for(unsigned int i = 0; i < stdXsPixel.Size(); ++i)
{
output[i] = static_cast<typename TOutputImageType::InternalPixelType>(
(sharpPanchroPixel - (smoothPanchroPixel * stdXsPixel[i])));
((sharpPanchroPixel - smoothPanchroPixel) * stdXsPixel[i]));
}
// Returns the output pixel
return output;
......
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