Introduction - If you have any usage issues, please Google them yourself
Large law (OTSU) threshold grayscale image extraction algorithm (C language). File has been compiled executable file, you can bulk of the gray image is converted to binary binary image file that can be used for the LCD display video animation development (for example Badapple).
Image binarization threshold is a very important process parameters, means: If the pixel color values gray image is larger than the threshold to put the point as a black, less than the threshold put the change point as white. The easiest way is to take the threshold of 127 (255 in half), but this approach is unscientific, binary image post-processing effects also far ideal. Select on the threshold of a very deep knowledge, there are many classical algorithms for selecting the threshold theory I do not do too much description, and search for relevant information of interest to their own interest on the network, I used here It is more classic big law (OTSU).