Skip to content

Python Code to generate Bayer Matrices.

License

Notifications You must be signed in to change notification settings

Klohger/BayerMatrix

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BayerMatrix

A simple algorithm to generate bayer matrices. Can output to PNG using PIL. The PNG files in releases should be enough for most use cases.

Examples

Bayer 256-Scale 1-Tile 1-Mode I-Norm 256x256 matrix

Bayer 128-Scale 2-Tile 1-Mode I-Norm 128x128 matrix (scaled 2x)

Bayer 064-Scale 4-Tile 1-Mode I-Norm 64x64 matrix (scaled 4x)

Bayer 032-Scale 8-Tile 1-Mode I-Norm 32x32 matrix (scaled 8x)

Bayer 016-Scale 16-Tile 1-Mode L-Norm 16x16 matrix (scaled 16x)

Bayer 008-Scale 32-Tile 1-Mode L-Norm 8x8 matrix (scaled 32x)

Bayer 004-Scale 64-Tile 1-Mode L-Norm 4x4 matrix (scaled 64x)

Bayer 002-Scale 128-Tile 1-Mode L-Norm 2x2 matrix (scaled 128x)