We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aed93f4 commit a2dcfbeCopy full SHA for a2dcfbe
include/itkSingleImageCostFunction.hxx
@@ -88,7 +88,7 @@ SingleImageCostFunction<TImage>
88
{
89
// Convert parameters to point
90
PointType point;
91
- for (int i=0; i<ImageDimension; i++)
+ for (unsigned int i=0; i<ImageDimension; i++)
92
93
point[i] = static_cast<typename PointType::ValueType>( parameters[i] );
94
}
@@ -137,7 +137,7 @@ SingleImageCostFunction<TImage>
137
138
// Convert the image function output to the cost function derivative
139
const typename DerivativeType::ValueType DerivativeThreshold = 15.0;
140
141
142
derivative[i] = static_cast<typename DerivativeType::ValueType>( output[i] );
143
0 commit comments