some very simple and rudimentary code for Image Scanning
This commit is contained in:
parent
92bbfac256
commit
e81e3ea17d
@ -1,5 +1,18 @@
|
||||
package com.cringe_studios.christmastreescanning;
|
||||
|
||||
public class ChristmasTreeScanning {
|
||||
import java.awt.Point;
|
||||
import java.awt.image.BufferedImage;
|
||||
|
||||
public class ChristmasTreeScanning {
|
||||
Point getBrightestSpot(BufferedImage image) {
|
||||
int[] imageColors = image.getRGB(0, 0, image.getWidth(), image.getHeight(), null, 0, 0);
|
||||
|
||||
for(int i = 0; i < imageColors.length; i++) {
|
||||
|
||||
}
|
||||
|
||||
Point brightestSpot = new Point(0, 0);
|
||||
|
||||
return brightestSpot;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user