consistent API use

This commit is contained in:
Paul Schaller 2023-11-21 18:15:51 +01:00
parent a253490145
commit 2ea8096200

View File

@ -2,6 +2,8 @@ package com.cringe_studios.christmastreescanning;
import java.awt.image.BufferedImage;
import com.cringe_studios.christmastreescanning.scanning.image_scanning.ImageScanner;
public class Scanner {
BufferedImage frontSideImages[];
BufferedImage frontSideImagesRed[];
@ -23,7 +25,7 @@ public class Scanner {
BufferedImage leftSideImagesGreen[];
BufferedImage leftSideImagesBlue[];
byte gammaDelta = 0;
byte gammaDelta = ImageScanner.GAMMA_DELTA_DEFAULT;
Boolean distinctColorChannels = null; // use the non-primitive datatype, so the user has to set the state
Boolean sideCount = null; // use the non-primitive datatype, so the user has to set the state