Ignore:
Timestamp:
11/17/07 16:02:54 (6 years ago)
Author:
sam
Message:
  • Slightly reworked the 4×4 Bayer matrix so that it respects the recurrence relation.
  • Added a (yet unused) 8×8 Bayer matrix to study.py.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • www/study/study.py

    r2010 r2011  
    180180# Output 2.3.3: 5x3 line dithering 
    181181DITHER_BAYER44 = \ 
    182     [[  0,  8,  3, 11], 
    183      [ 15,  4, 12,  7], 
    184      [  2, 10,  1,  9], 
    185      [ 13,  6, 14,  5]] 
     182    [[  0, 12,  3, 15], 
     183     [  8,  4, 11,  7], 
     184     [  2, 14,  1, 13], 
     185     [ 10,  6,  9,  5]] 
     186DITHER_BAYER88 = \ 
     187    [[  0, 48, 12, 60,  3, 51, 15, 63], 
     188     [ 32, 16, 44, 28, 35, 19, 47, 31], 
     189     [  8, 56,  4, 52, 11, 59,  7, 55], 
     190     [ 40, 24, 36, 20, 43, 27, 39, 23], 
     191     [  2, 50, 14, 62,  1, 49, 13, 61], 
     192     [ 34, 18, 46, 30, 33, 17, 45, 29], 
     193     [ 10, 58,  6, 54,  9, 57,  5, 53], 
     194     [ 42, 26, 38, 22, 41, 25, 37, 21]] 
    186195DITHER_CLUSTER44 = \ 
    187196    [[ 12,  5,  6, 13], 
Note: See TracChangeset for help on using the changeset viewer.