The Mu module, also known as the Contrast module, measures the mean intensity and contrast characteristics of fingerprint images. It evaluates both global image contrast (Mu) and local block-level contrast uniformity (MMB).Documentation Index
Fetch the complete documentation index at: https://mintlify.com/usnistgov/NFIQ2/llms.txt
Use this file to discover all available pages before exploring further.
Overview
The Mu module computes two key contrast-related features that are critical indicators of fingerprint image quality. Poor contrast can result from improper acquisition conditions, wet/dry fingers, or scanner limitations.The module name “Mu” (μ) refers to the statistical mean. The module calculates the image mean and the mean of block means to characterize contrast distribution.
Class Definition
Header:quality_modules/Mu.h
Constructor
Mu()
fingerprintImage- Input fingerprint image data at 500 dpi
NFIQ2::Exception- If the image resolution is not 500 dpi
Methods
getName()
"Contrast"
Returns: Module name as string
getSigma()
NFIQ2::Exception- If sigma has not yet been calculated
getNativeQualityMeasureIDs()
Mu- Image mean (global contrast)MMB- Mean of block means (local contrast uniformity)
Quality Features
The Mu module generates 2 quality measures:Mu (Image Mean)
Feature ID:Mu
The global mean intensity value of the entire fingerprint image. This measure indicates overall image brightness and contrast level.
Interpretation:
- Too low (< 100): Image may be too dark, poor contrast
- Optimal range (100-150): Good contrast characteristics
- Too high (> 150): Image may be too bright or washed out
Grayscale pixel values range from 0 (black) to 255 (white). An optimal fingerprint image typically has a mean around 127, indicating balanced ridge (dark) and valley (light) representation.
MMB (Mean of Block Means)
Feature ID:MMB
The mean of all block-level mean values. The image is divided into blocks, the mean intensity of each block is calculated, and then the average of these block means is computed.
Interpretation:
- Similar to Mu: Indicates consistent contrast distribution
- Significantly different from Mu: Suggests uneven illumination or contrast variations
- Divide image into blocks (typically 32x32 pixels)
- Calculate mean intensity for each block
- Compute the average of all block means
Configuration
The module uses local region blocks defined bySizes::LocalRegionSquare (typically 32x32 pixels) for computing the MMB feature.
Usage Example
Use Cases
Detecting Acquisition Problems
- Wet fingers: Often result in very low Mu values (dark image)
- Dry fingers: Often result in very high Mu values (light image, poor ridge definition)
- Dirty platen: May cause localized contrast variations (Mu vs MMB difference)
- Poor sensor calibration: Consistent deviation from optimal range
Quality Assessment
The Mu module features are used in the NFIQ 2.0 quality score computation as indicators of:- Overall image contrast suitability for matching
- Uniformity of contrast across the fingerprint area
- Potential acquisition or sensor issues
Related Modules
- LCS (Local Clarity Score) - Evaluates local sharpness and clarity
- FDA (Frequency Domain Analysis) - Analyzes frequency characteristics
- FJFX Minutiae Quality - Uses MMB for minutiae region analysis