 An open-source encoder is jbig2enc.Typically, a bi-level image consists mainly of a large amount of textual and halftone data, in which the same shapes appear repeatedly.The bi-level image is segmented into three regions