Changes between Version 11 and Version 12 of libpipi/research/filters


Ignore:
Timestamp:
08/22/2008 09:56:08 PM (16 years ago)
Author:
Sam Hocevar
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • libpipi/research/filters

    v11 v12  
    3131The 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].
    3232
    33 Today, median filtering methods use O(r) techniques, but O(log(r)) ones exist, too [4].
     33Today, median filtering methods use O(r) techniques, but O(log(r)) ones exist, too ![4].
    3434
    3535There 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).
     
    5959Erosion and dilation already work, but only for nearest pixels.
    6060
     61There 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
    6163{{{
    6264#!html
     
    7173{{{
    7274#!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).
    7481}}}
    7582
     
    7986=== Links ===
    8087 * [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