Английская Википедия:Chain code
A chain code is a lossless compression based image segmentation method for binary images based upon tracing image contours. The basic principle of chain coding, like other contour codings, is to separately encode each connected component, or "blob", in the image.
For each such region, a point on the boundary is selected and its coordinates are transmitted. The encoder then moves along the boundary of the region and, at each step, transmits a symbol representing the direction of this movement.
This continues until the encoder returns to the starting position, at which point the blob has been completely described, and encoding continues with the next blob in the image.
This encoding method is particularly effective for images consisting of a reasonably small number of large connected components.
Variations
Some popular chain codes include:
- the Freeman Chain Code of Eight Directions[1] (FCCE)
- Directional Freeman Chain Code of Eight Directions[2] (DFCCE)
- Vertex Chain Code[3] (VCC)
- Three OrThogonal symbol chain code[4] (3OT)
- Unsigned Manhattan Chain Code[5] (UMCC)
- Ant Colonies Chain Code[6] (ACCC)
- Predator-Prey System Chain Code[7][8] (PPSCC)
- Beaver Territories Chain Code[9] (BTCC)
- Biological Reproduction Chain Code[10] (BRCC)
- Agent-Based Modeling Chain Code[11] (ABMCC)
In particular, FCCE, VCC, 3OT and DFCCE can be transformed from one to another[12]
A related blob encoding method is crack code.[13] Algorithms exist to convert between chain code, crack code, and run-length encoding.
A new trend of chain codes involve the utilization of biological behaviors. This started by the work of Mouring et al.[6] who developed an algorithm that takes advantage of the pheromone of ants to track image information. An ant releases a pheromone when they find a piece of food. Other ants use the pheromone to track the food. In their algorithm, an image is transferred into a virtual environment that consists of food and paths according to the distribution of the pixels in the original image. Then, ants are distributed and their job is to move around while releasing pheromone when they encounter food items. This helps other ants identify information, and therefore, encode information.
In use
Recently, the combination of move-to-front transform and adaptive run-length encoding accomplished efficient compression of the popular chain codes.[14] Chain codes also can be used to obtain high levels of compression for image documents, outperforming standards such as DjVu and JBIG2.[11][10][9][8][7][6][15]
See also
References
- ↑ Шаблон:Cite journal
- ↑ Шаблон:Cite journal
- ↑ Шаблон:Cite journal
- ↑ Шаблон:Cite journal
- ↑ Шаблон:Cite journal
- ↑ 6,0 6,1 6,2 Шаблон:Cite conference
- ↑ 7,0 7,1 Шаблон:Cite journal
- ↑ 8,0 8,1 Шаблон:Cite conference
- ↑ 9,0 9,1 Шаблон:Cite journal
- ↑ 10,0 10,1 Шаблон:Cite journal
- ↑ 11,0 11,1 Шаблон:Cite journal
- ↑ Шаблон:Cite journal
- ↑ Шаблон:Cite book Шаблон:ISBN
- ↑ Шаблон:Cite journal
- ↑ Шаблон:Cite journal
Шаблон:- Шаблон:Compression methods