File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
src/Numerics/Statistics/HistogramCreationAndBinAccess Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ int main()
42
42
upperBound[0 ] = 7.1 ;
43
43
upperBound[1 ] = 8.6 ;
44
44
45
- histogram->Initialize (size, lowerBound, upperBound );
45
+ histogram->Initialize ( size, lowerBound, upperBound );
46
46
47
47
// Now the histogram is ready for storing frequency values. There
48
48
// are three ways of accessing data elements in the histogram:
Original file line number Diff line number Diff line change 23
23
histogram = itk .Histogram .New (MeasurementVectorSize = numberOfComponents )
24
24
25
25
# We initialize it as a 3x3 histogram with equal size intervals.
26
- size = itk .Size [ numberOfComponents ]( )
26
+ size = itk .Array . UL ( numberOfComponents )
27
27
size .Fill (3 )
28
28
29
29
lowerBound = 1.1 , 2.6
You can’t perform that action at this time.
0 commit comments