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 java.awt.image.BufferedImage;
import com.cringe_studios.christmastreescanning.scanning.image_scanning.ImageScanner;
public class Scanner { public class Scanner {
BufferedImage frontSideImages[]; BufferedImage frontSideImages[];
BufferedImage frontSideImagesRed[]; BufferedImage frontSideImagesRed[];
@ -23,7 +25,7 @@ public class Scanner {
BufferedImage leftSideImagesGreen[]; BufferedImage leftSideImagesGreen[];
BufferedImage leftSideImagesBlue[]; 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 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 Boolean sideCount = null; // use the non-primitive datatype, so the user has to set the state