Previously: Step 1. Digitizing
Previously: Step 2. Visualization
Previously: Step 3. SumMatrix is defined
Previously: Step 4. Video pause
To better recognize the pattern I draw SumMatrix Level1 for cow chromosome 1:
SumMatrix Level1 has only 0 and 1 values. I took this file and put it into Excel spreadsheet.
It was fairly easy to analyze.
Here is a picture of the resulted pattern as I was able to extract from the SumMatrix.
Definitely the pattern has 4 well distinguished objects inside (again four! Number 4 is everywhere!):
3 "square-shape" and one "fence". Square-shapes have border thickness 16, 4, and 1. The fence-shape has thickness 1. Than is why I decided to called them S16, S4, S1, and F1.
Let's describe parameters of each of them. HEX numbers are prefixed with "0x"
Pattern S16
There are 4 squares separated by 16-number "borders".
There are 0x80 x 0x80 squares offset 0 with border width 0x10
There are 0x80 x 0x80 squares offset 0 with border width 0x10
1 stripe (width=16): 0x70 - 0x7F
Formula:
(0x70 <= X < 0x80) OR (0x70 <= Y < 0x80)
Pattern S4
There are 4 in a row 0x40 x 0x40 squares, offset 0x20 with border width 4
4 stripes (width=4): 0x1C-0x1F, 0x5C-0x5F, 0x9C-0x9F, 0xDC-0xDF
Pattern S1
There are 16 in a row 0x10 x 0x10 squares, offset 0x8 with border width 1
16 stripes (width=1):
0x07, 0x17, 0x27, 0x37, 0x47, 0x57, 0x67, 0x77, 0x87, 0x97, 0xA7, 0xB7, 0xC7, 0xD7, 0xE7, 0xF7
Pattern F1
There are 64 only vertical stripes started from 0xC0 down to 0xFF offset 0x2 with border width 1.
I notices that 0xC0 is 1/4 from the edge.
Maybe I'm wrong but for symmetry keepsake I would add the same 1/4 from the edge to the horizontal side:
Now everything is perfect and a multiple of 4!
I put pattern parameters in the table:
Pattern | Stripe width | Num of stripes per dimension | Offset | Gap | Stripe range |
S16 | 16 | 1 | 0=128 | 128 | 0 - 255 |
S4 | 4 | 4 | 32 | 64 | 0 - 255 |
S1 | 1 | 16 | 8 | 16 | 0 - 255 |
F1 | 1 | 64 | 2 | 4 | 192 - 255 |
or, in HEX:
Pattern | Stripe width | Num of stripes per dimension | Offset | Gap | Stripe range |
S16 | 0x10 | 0x1 | 0=0x80 | 0x80 | 0x0 - 0xFF |
S4 | 0x4 | 0x4 | 0x20 | 0x40 | 0x0 - 0xFF |
S1 | 0x1 | 0x10 | 0x8 | 0x10 | 0x0 - 0xFF |
F1 | 0x1 | 0x40 | 0x2 | 0x4 | 0xC0 - 0xFF |
Now I need to come up with explanation of the patterns in the real world.
No comments:
Post a Comment