Computing rank-convolutions with a mask
Author(s) -
László Babai,
Pedro F. Felzenszwalb
Publication year - 2009
Publication title -
acm transactions on algorithms
Language(s) - English
Resource type - Journals
SCImago Journal Rank - 1.093
H-Index - 57
eISSN - 1549-6333
pISSN - 1549-6325
DOI - 10.1145/1644015.1644035
Subject(s) - rank (graph theory) , convolution (computer science) , computer science , function (biology) , speedup , algorithm , image processing , signal processing , image (mathematics) , interval (graph theory) , infinity , mathematics , combinatorics , artificial intelligence , digital signal processing , parallel computing , mathematical analysis , evolutionary biology , artificial neural network , computer hardware , biology
Rank-convolutions have important applications in a variety of areas such as signal processing and computer vision. We define a mask as a function taking only values zero and infinity. Rank-convolutions with masks are of special interest to image processing. We show how to compute the rank-k convolution of a function over an interval of length n with an arbitrary mask of length m in O(n&sqrt;m log m) time. The result generalizes to the d-dimensional case. Previously no algorithm performing significantly better than the brute-force O(nm) bound was known. Our algorithm seems to perform well in practice. We describe an implementation, illustrating its application to a problem in image processing. Already on relatively small images, our experiments show a signficant speedup compared to brute force.
Accelerating Research
Robert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom
Address
John Eccles HouseRobert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom