Skip to main content

Module bad_pixel

Module bad_pixel 

Source
Expand description

NDPluginBadPixel: replaces bad pixels using one of three correction modes.

Bad pixel definitions are loaded from JSON. Each bad pixel specifies its (x, y) coordinate and a correction mode:

  • Set: replace with a fixed value.
  • Replace: copy from a neighbor at offset (dx, dy).
  • Median: compute the median of a rectangular kernel around the pixel.

Structs§

BadPixel
A single bad pixel definition.
BadPixelList
Container for deserializing a list of bad pixels from JSON.
BadPixelProcessor
Processor that corrects bad pixels in incoming arrays.

Enums§

BadPixelMode
The correction mode for a bad pixel.