My new branch for Phase 2
IG now exports its own JPanel (IGPanel) to use anywhere else in the
program such as the GUI. That stops the resizing from changing the shape
inside the image.
IG creates random-colored shapes. Re-organized some of the methods
inside of IG. I think it is final until extension to more shapes.
update commit to switch computers.
Draw shapes directly into the Bufferedimage rather than on the JPanel.
This takes out the separation between the two layers in order for the IR
to properly read the pixels.
Join the two layers in the IGPanel by directly drawing the shape onto
the BufferedImage so the IR can read the correct pixels.
FloodMap uses flood fill lines to comb across an image from left to
right then right to left, stopping at shape borders and creating a list
of points that represent the outline of the shape.
Initial run of the IR that recognizes... something. Way too many shapes
- looking to make it more accurate. Still in a very beginning process
but it is fleshing out. Takes advantage of too many given factors from
the IG.
Commit this branch status before I branch to apporach the "corner
theory"
Successfully maps triangles and quadrilaterals but returns 3 sides for
any other shapes... Commiting semi-successful stable.
Committing latest of Rectangle Theory that gets the slope between each
corner pixels. Still not successful mappings.
Commit before merge to master.
Merge remote-tracking branch 'IITOrigin/Phase2_Jason'
Jason's committ for the weekend with the JPanel and side number
available to John.