Connectivity in Digital Pictures
Journal of the ACM (JACM)
Theoretical Computer Science
Towards in-place geometric algorithms and data structures
SCG '04 Proceedings of the twentieth annual symposium on Computational geometry
Finding Nearest Larger Neighbors
Efficient Algorithms
In-place algorithm for image rotation
ISAAC'07 Proceedings of the 18th international conference on Algorithms and computation
Hi-index | 0.00 |
Removing noises in a given binary image is one of common operations. A generalization of the operation is to erase arbitrarily specified component by reversing pixels values in the component. This paper shows that this operation is done without using any data structure like a stack or queue, or without using any extra work space in O(n log n) time for a component consisting of n pixels. This is an in-place algorithm, but the image matrix cannot be used as work space since it has a single bit for each pixel. Whenever we flip pixel value in an objective component, the component shape also changes, which causes some difficulty. An idea for our constant work space algorithm is a conversion keeping its topology.