PreprocessingStrategy constructor

const PreprocessingStrategy({
  1. bool enableContrastEnhancement = false,
  2. bool enableBinarization = false,
  3. BinarizationType binarizationType = BinarizationType.otsu,
  4. bool enableNoiseReduction = false,
  5. double noiseReductionStrength = 0.5,
  6. bool enableEdgeDetection = false,
  7. bool enableSharpening = false,
  8. double sharpeningAmount = 1.0,
  9. bool enableGammaCorrection = false,
  10. double gamma = 0.6,
})

Implementation

const PreprocessingStrategy({
  this.enableContrastEnhancement = false,
  this.enableBinarization = false,
  this.binarizationType = BinarizationType.otsu,
  this.enableNoiseReduction = false,
  this.noiseReductionStrength = 0.5,
  this.enableEdgeDetection = false,
  this.enableSharpening = false,
  this.sharpeningAmount = 1.0,
  this.enableGammaCorrection = false,
  this.gamma = 0.6,
});