User Tools

Site Tools


plugin:filter:lab_nonlocal_mean_with_same_pixel_luminance_neighborhood:start

Lab non-local mean with same pixel luminance neighborhood

Description

Filter Lab stack image using a selective gaussian blur. It compute a ponderated mean of in the neighborhood pixel. For each neighborhood pixel 'q' of computed pixel 'p', the associated weight 'q' is computed with a gaussian function and the luminance difference between luminance 'p' and luminance 'q'. If difference is zero, weight is 1. If difference is bigger weight tend towards zero. Only chrominance slices are filtered ( slices a and b ).

Usage

  1. To use this filter, you must first (step 1) convert your RGB image to Lab space color with this plugin : Converting RGB to Lab
  2. Then, use this filter (step 2)
  3. Finally, convert back the Lab space color image to RGB (step 3) with this plugin : Converting Lab to RGB

NB:

Example

OriginalFiltered
Original Filtered
Original - saturated colorsFiltered
Original - saturated colors Filtered

Plugin download

Plugin installation

Copy the .jar file to your plugins directory and restart “ImageJ”.

You can use the script by menu “ImageJ / Plugins / Image/ Color / Lab non-local mean with same pixel luminance neighborhood (v1.00)”.

Source files

Author

Vincent Vansuyt.

Contact me for any questions or suggestions : vincent dot vansuyt at edf dot fr (preferred language : french)

License

GPL distribution (see licence ).

Changelog

Version v1.00 : first version

Version v1.01 :

  • adding timing
  • code improvement (40% faster)

Know bugs

None

See also

plugin/filter/lab_nonlocal_mean_with_same_pixel_luminance_neighborhood/start.txt · Last modified: 2019/04/12 13:13 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki