mirror of
https://github.com/Laex/Delphi-OpenCV.git
synced 2024-11-15 07:45:53 +01:00
commit
d478288288
@ -437,7 +437,7 @@ begin
|
||||
ulNrExcess := 0; pulBinPointer := pulHistogram;
|
||||
for i := 0 to uiNrGreylevels-1 do
|
||||
begin (* calculate total number of excess pixels *)
|
||||
lBinExcess := pulBinPointer[i] - ulClipLimit;
|
||||
lBinExcess := Integer(Int64(pulBinPointer[i]) - Int64(ulClipLimit));
|
||||
if (lBinExcess > 0) then ulNrExcess :=ulNrExcess+lBinExcess; (* excess in current bin *)
|
||||
end;;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user