package com.google.zxing.common

Common utilities and classes for ZXing barcode and QR code processing.

This package contains core utilities, data structures, and helper classes used throughout the ZXing library for barcode and QR code generation, detection, and processing.

Key Components:

  • BitArray - Efficient bit array implementation
  • BitMatrix - 2D bit matrix for image processing
  • BitSource - Bit-level data reading utilities
  • DecoderResult - Result of barcode decoding
  • DetectorResult - Result of barcode detection
  • GridSampler - Image sampling utilities
  • PerspectiveTransform - Geometric transformation utilities
  • DefaultGridSampler - Default sampling implementation
  • HybridBinarizer - Adaptive image binarization
  • GlobalHistogramBinarizer - Histogram-based binarization

Main Functionality:

  • Bit-level data manipulation and storage
  • Image processing and transformation
  • Barcode detection and decoding results
  • Image binarization and sampling
  • Geometric transformations for perspective correction

Usage Notes:

  • Core utilities used by all ZXing components
  • Optimized for performance and memory efficiency
  • Supports various barcode formats and image types