2021 James B. Wilson, Colorado State University
- - - - -
* * * * * - + + + + + -
* * * * * * * - + + -
* * * * * * * * * - + + -
* * * * * * * * * - + + -
* * * * * * * * * - + + -
* * * * * * * * * - + + -
* * * * * * * * * - + + -
* * * * * * * - + + -
* * * * * - + + + + + -
- - - - -
Original Goals:
In the past it was for "photo-shop" (trade mark?).
Today its image feature extraction to give to machine learning.
1 1 1
0 _ 0 --> 3
0 0 0
0 0 0
0 _ 0 --> -3
1 1 1
0 0 1
0 _ 0 --> 0
1 0 0
1 1 1
1 _ 0 --> 2
1 0 0
0 0 1
0 _ 1 --> -2
1 1 1
1 0 1
1 _ 1 --> 0
1 0 1
1 1 1
1 _ 1 --> 0
1 1 1
1 0 0
0 _ 0 --> 1
0 0 0
0 0 0
0 _ 0 --> -1
0 1 0
0 0 0 1 0 0 0 0 0 1
0 0 0 1 --> 0 _ 0 0 _ 1 --> [ -3, -2 ]
1 1 1 1 1 1 1 1 1 1
1 1 0 0 1 1 0 1 0 0
0 0 0 0 --> 0 _ 0 0 _ 0 --> [ 1, -1 ]
0 0 1 1 0 0 1 0 1 1
+ + + + + + +
* * * * * + + + + + + + + +
* * * * * * * + + + + + + + +
* * * * * * * * * + + + + + +
* * * * * * * * *
* * * * * * * * *
* * * * * * * * *
* * * * * * * * * - - - - - -
* * * * * * * - - - - - - - -
* * * * * - - - - - - - - -
- - - - - - -
Now working on the interior we can step through all the points and record if the answer is + or -.
Here are the results on a octagon.
+ + - -
* * * * * + + + - - -
* * * * * * * + + + + - - - -
* * * * * * * * * + + + - - -
* * * * * * * * * + + - -
* * * * * * * * * + + - -
* * * * * * * * * + + - -
* * * * * * * * * + + + - - -
* * * * * * * + + + + - - - -
* * * * * + + + - - -
+ + - -
Use a different mask, notice it detect something different, similar to the mask...
- - - - -
* * * * * - + + + + + -
* * * * * * * - + + -
* * * * * * * * * - + + -
* * * * * * * * * - + + -
* * * * * * * * * - + + -
* * * * * * * * * - + + -
* * * * * * * * * - + + -
* * * * * * * - + + -
* * * * * - + + + + + -
- - - - -
Only near the edges do we find nonzeros.
Inert Axis
Linear Axis