Made the project no longer have any errors
This commit is contained in:
parent
24b41531ae
commit
edcea3bd82
@ -12,7 +12,16 @@ public class FourSidedScanner extends SingleColorScanner {
|
|||||||
private SideScanner behindSideScanner;
|
private SideScanner behindSideScanner;
|
||||||
private SideScanner leftSideScanner;
|
private SideScanner leftSideScanner;
|
||||||
|
|
||||||
|
BufferedImage frontSideImages[];
|
||||||
|
BufferedImage rightSideImages[];
|
||||||
|
BufferedImage behindSideImages[];
|
||||||
|
BufferedImage leftSideImages[];
|
||||||
|
|
||||||
public FourSidedScanner(BufferedImage frontSideImages[], BufferedImage rightSideImages[], BufferedImage behindSideImages[], BufferedImage leftSideImages[]) {
|
public FourSidedScanner(BufferedImage frontSideImages[], BufferedImage rightSideImages[], BufferedImage behindSideImages[], BufferedImage leftSideImages[]) {
|
||||||
|
this.frontSideImages = frontSideImages;
|
||||||
|
this.rightSideImages = rightSideImages;
|
||||||
|
this.behindSideImages = behindSideImages;
|
||||||
|
this.leftSideImages = leftSideImages;
|
||||||
|
|
||||||
//TODO
|
//TODO
|
||||||
|
|
||||||
@ -22,8 +31,8 @@ public class FourSidedScanner extends SingleColorScanner {
|
|||||||
public Homograph scan() {
|
public Homograph scan() {
|
||||||
frontSideScanner = new SingleColoredSideScanner(frontSideImages, this.gammaDelta);
|
frontSideScanner = new SingleColoredSideScanner(frontSideImages, this.gammaDelta);
|
||||||
rightSideScanner = new SingleColoredSideScanner(rightSideImages, this.gammaDelta);
|
rightSideScanner = new SingleColoredSideScanner(rightSideImages, this.gammaDelta);
|
||||||
behindSideScanner = new SingleColoredSideScanner(behindSideScanner, this.gammaDelta);
|
behindSideScanner = new SingleColoredSideScanner(behindSideImages, this.gammaDelta);
|
||||||
leftSideScanner = new SingleColoredSideScanner(leftSideScanner, this.gammaDelta);
|
leftSideScanner = new SingleColoredSideScanner(leftSideImages, this.gammaDelta);
|
||||||
|
|
||||||
frontSideScanner.scan();
|
frontSideScanner.scan();
|
||||||
frontSideScanner.normalizePoints();
|
frontSideScanner.normalizePoints();
|
||||||
|
@ -65,4 +65,10 @@ public class Homograph2 implements Homograph{
|
|||||||
public Point3D[] getPoints() {
|
public Point3D[] getPoints() {
|
||||||
return Arrays.stream(homographs).map(i -> i.getPoint()).toArray(Point3D[]::new);
|
return Arrays.stream(homographs).map(i -> i.getPoint()).toArray(Point3D[]::new);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void normalize(Double baseline, Double minX, Double maxX) {
|
||||||
|
// TODO Auto-generated method stub
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -45,4 +45,10 @@ public class Homograph4 implements Homograph{
|
|||||||
public Point3D[] getPoints() {
|
public Point3D[] getPoints() {
|
||||||
return internalHomograph.getPoints();
|
return internalHomograph.getPoints();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void normalize(Double baseline, Double minX, Double maxX) {
|
||||||
|
// TODO Auto-generated method stub
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user