the code write C++. it is in image processing field. this code Read TIFF Image then it segment images. after that it Write TIFFU nsigned Char.