The following examples demonstrate the use of the most popular image processing function. These are merely examples for demonstrating the use of the functions, and do not represent actual production examples. In a production application the specific sequence of functions should be selected based on specific application needs. The ClearImage Demo application offers scripting specifically to support the experimentation and selection process with real life images:

Use the Repair menu to try particular functions and parameters

Use the Script menu to build a sequence of functions for easy testing with multiple image files

Use the File menu -> "Open Sample Script and Image …" to see how some of the most popular functions work

Repair image page

C#

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31

32

33

34

usingInlite.ClearImageNet;

// . . .

voidRepairPage(ImageEditor editor)

{

editor.AutoDeskew();

editor.AutoRotate();

editor.AutoCrop(10,10,10,10);// Crop to 10 pixels on each side to bitonal