Changes between Version 11 and Version 12 of libpipi/research/filters
- Timestamp:
- 08/22/2008 09:56:08 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
libpipi/research/filters
v11 v12 31 31 The third way to optimise a median filter is by accounting for the size of neighbourhood changes in raster scan order: usually only a few values are removed from and added to the list of neighbours. This becomes promising with large kernel sizes, and efficient algorithms exist that handle this case in 1D at least ![2]. 32 32 33 Today, median filtering methods use O(r) techniques, but O(log(r)) ones exist, too [4].33 Today, median filtering methods use O(r) techniques, but O(log(r)) ones exist, too ![4]. 34 34 35 35 There is even a method in O(1) [3]. However, like many others, it relies on histograms, which only works well when the input data consists of 8-bit integers. Since libpipi does most of its computations using 32-bit floats, such techniques are of limited usefulness (but should be proposed anyway, because we have ways to tell whether an image has fewer than 8 bits per component). … … 59 59 Erosion and dilation already work, but only for nearest pixels. 60 60 61 There are techniques to make dilate by X O(1) in infinite distance ![1]. Other distances are easily made O(r) with possible optimisations based on kernel symmetry. 62 61 63 {{{ 62 64 #!html … … 71 73 {{{ 72 74 #!html 73 <p><span style="background: red; color: yellow; padding: 0 3px; font-weight: bold;">TODO</span> implement "dilate by X" (Euclidian distance). 75 <p><span style="background: red; color: yellow; padding: 0 3px; font-weight: bold;">TODO</span> implement "dilate by X" (euclidian distance). 76 }}} 77 78 {{{ 79 #!html 80 <p><span style="background: red; color: yellow; padding: 0 3px; font-weight: bold;">TODO</span> implement "dilate by X" (infinite distance). 74 81 }}} 75 82 … … 79 86 === Links === 80 87 * [http://ostermiller.org/dilate_and_erode.html Efficiently Implementing Dilate and Erode Image Functions] 88 89 === References === 90 * ![1] Gil, J. Werman, M., [http://ieeexplore.ieee.org/xpl/freeabs_all.jsp?arnumber=211471 Computing 2-D min, median, and max filters], IEEE Transactions on Pattern Analysis and Machine Intelligence, 15, 504-507, 1993