Skip to content
Snippets Groups Projects
Commit 7f3c0520 authored by Julien Michel's avatar Julien Michel
Browse files

Supression des élément de normalisation de l'angle spectral.

parent 17c734cc
No related branches found
No related tags found
No related merge requests found
......@@ -89,10 +89,11 @@ SpectralAngleDistanceImageFilter<TInputImage,TOutputImage>
{
dist = vcl_acos(scalarProd/vcl_sqrt(normProd));
}
//------ This part was supressed since the filter must perform only the spectral angle computation ---
// Spectral angle normalisation
dist = dist/(M_PI/2);
//square ponderation
dist = vcl_sqrt(dist);
// dist = dist/(M_PI/2);
//square ponderation
// dist = vcl_sqrt(dist);
outputIt.Set(static_cast<OutputPixelType>(dist));
++inputIt;
++outputIt;
......
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