| 1 |
This is the collection of algorithms that together do the job. |
| 2 |
Here is the quick list of them; |
| 3 |
they are listed in the order they are naturally used to compress. |
| 4 |
|
| 5 |
smooth - remove pixels that look bad |
| 6 |
split - split a bitmap into pieces (result is a mdjvu_image_t object) |
| 7 |
clean - remove small marks |
| 8 |
nosubst - determining what pieces are letters and what are not |
| 9 |
blitsort - sorting letters in approximate reading order |
| 10 |
patterns - compare letters (to find if one may be substituted for another) |
| 11 |
classify - classify letters; uses the pattern matcher (`patterns') |
| 12 |
average - producing an "average" bitmap to use as a representative |
| 13 |
delegate - pick up a representative from each class of equivalent letters |
| 14 |
adjust_y - adjust substitution positions (otherwise the text looks bumpy) |
| 15 |
erosion - determine what pixels may be eroded |