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

MRG

parents 6babe730 55504a50
Branches
Tags
No related merge requests found
......@@ -100,6 +100,7 @@ public:
/** Set/Get the Default Unknown Value. */
itkSetObjectMacro(Transform, GenericRSTransformType);
itkGetObjectMacro(Transform, GenericRSTransformType);
itkGetConstObjectMacro(Transform, GenericRSTransformType);
/** Set the DEM directory. */
......
......@@ -254,7 +254,7 @@ int otbImageFunctionAdapter(int argc, char * argv[])
HMImageFunctionAdapterType::OutputType resultAdaptedHM = HMadaptedFunction->EvaluateAtIndex(index);
rsltIdx = 0;
for (unsigned int i=0; i<=7; i++)
for (unsigned int i=0; i<7; i++)
{
error += vcl_pow(vcl_abs(resultAdaptedHM[rsltIdx] - resultHM[i]), 2);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment