Skip to content
Snippets Groups Projects
Commit e1043afb authored by Manuel Grizonnet's avatar Manuel Grizonnet
Browse files

ENH:normalize histogram in otbScalarImageToAdvancedTexturesFilter

parent 69175012
No related branches found
No related tags found
No related merge requests found
......@@ -15,8 +15,8 @@
PURPOSE. See the above copyright notices for more information.
=========================================================================*/
#ifndef __otb_ScalarImageToPanTexTextureFilter_h
#define __otb_ScalarImageToPanTexTextureFilter_h
#ifndef __otbScalarImageToPanTexTextureFilter_h
#define __otbScalarImageToPanTexTextureFilter_h
#include "itkImageToImageFilter.h"
......
......@@ -294,6 +294,7 @@ ScalarImageToTexturesFilter<TInputImage,TOutputImage>
// Compute the co-occurence matrix
coOccurenceMatrixGenerator->SetRegion(currentRegion);
coOccurenceMatrixGenerator->SetNormalize(true);
coOccurenceMatrixGenerator->Compute();
// Compute textures indices
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment