This commit is contained in:
smiley
2023-03-11 04:11:37 +01:00
parent 0e16cc7bf5
commit c24f0c9fd5
4 changed files with 5 additions and 1 deletions
+1
View File
@@ -206,6 +206,7 @@ final class Binarizer{
private function calculateBlackPoints(int $subWidth, int $subHeight, int $width, int $height):array{
$blackPoints = array_fill(0, $subHeight, 0);
/** @SuppressWarnings(PHPMD.UnusedLocalVariable) */
foreach($blackPoints as $key => $point){
$blackPoints[$key] = array_fill(0, $subWidth, 0);
}