File: smooth.h

package info (click to toggle)
minidjvu 0.8.svn.2010.05.06+dfsg-5
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch
  • size: 2,372 kB
  • ctags: 1,082
  • sloc: sh: 9,230; ansic: 5,788; cpp: 2,400; makefile: 259; python: 42
file content (13 lines) | stat: -rw-r--r-- 306 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
/*
 * smooth.h - pre-filtering bitmap before splitting
 */


/*
 * `smooth' is applied to a bitmap even before it is split.
 * 
 * Right now, the algorithm flips pixels which are surrounded
 * by at least 3 of 4 neighboring pixels of another color.
 */

MDJVU_FUNCTION void mdjvu_smooth(mdjvu_bitmap_t b);