OmrSettings

public final class OmrSettings

Settings for Omr. Values fall back through three levels: document → SDK → built-in default. Writes target the document only when set on a document's settings, otherwise the SDK globally when set on SdkSettings.

Functions

Link copied to clipboard
public final float getAdaptiveCharacterLevel()
Fraction of the paper level below which ink is as dark as the printed character.
Link copied to clipboard
Portion of the bubble holding character-dark ink above which the printed character counts as still visible — the signature of an erased mark rather than a deliberate one.
Link copied to clipboard
public final float getAdaptiveDeepShadeLevel()
Fraction of the paper level below which ink counts as deliberate shading.
Link copied to clipboard
public final float getAdaptiveDiscRadius()
Radius of the analyzed bubble interior, as a fraction of the field size, chosen to sit inside the printed ring.
Link copied to clipboard
public final float getAdaptiveFieldPaperSanity()
A field whose own paper reads darker than this fraction of the page's paper is overfilled past its margins; its paper estimate is untrustworthy, so the page's is used instead.
Link copied to clipboard
public final float getAdaptiveInkMargin()
Fraction below a field's paper level at which ink starts counting as a mark.
Link copied to clipboard
public final float getAdaptiveMarkDeepCoverage()
Portion of the bubble that deliberate shading must cover for the field to be a mark.
Link copied to clipboard
public final float getAdaptiveMarkShadeCoverage()
Portion of the bubble that light shading must cover for the field to be a mark, provided the printed character is also covered.
Link copied to clipboard
public final int getAdaptiveMinimumPaper()
Paper darker than this absolute level is not believed to be paper; the page-wide level is used for that field instead.
Link copied to clipboard
public final int getAdaptivePaperPercentile()
Percentile of a field's pixels taken to represent its paper level.
Link copied to clipboard
public final boolean getEnableAdaptiveBinarization()
Indicates whether the black and white reduction threshold applied before mark detection is derived from the image, rather than using a fixed value.
Link copied to clipboard
public final void setAdaptiveCharacterLevel(float value)
Fraction of the paper level below which ink is as dark as the printed character.
Link copied to clipboard
public final void setAdaptiveCharacterVisibleCoverage(float value)
Portion of the bubble holding character-dark ink above which the printed character counts as still visible — the signature of an erased mark rather than a deliberate one.
Link copied to clipboard
public final void setAdaptiveDeepShadeLevel(float value)
Fraction of the paper level below which ink counts as deliberate shading.
Link copied to clipboard
public final void setAdaptiveDiscRadius(float value)
Radius of the analyzed bubble interior, as a fraction of the field size, chosen to sit inside the printed ring.
Link copied to clipboard
public final void setAdaptiveFieldPaperSanity(float value)
A field whose own paper reads darker than this fraction of the page's paper is overfilled past its margins; its paper estimate is untrustworthy, so the page's is used instead.
Link copied to clipboard
public final void setAdaptiveInkMargin(float value)
Fraction below a field's paper level at which ink starts counting as a mark.
Link copied to clipboard
public final void setAdaptiveMarkDeepCoverage(float value)
Portion of the bubble that deliberate shading must cover for the field to be a mark.
Link copied to clipboard
public final void setAdaptiveMarkShadeCoverage(float value)
Portion of the bubble that light shading must cover for the field to be a mark, provided the printed character is also covered.
Link copied to clipboard
public final void setAdaptiveMinimumPaper(int value)
Paper darker than this absolute level is not believed to be paper; the page-wide level is used for that field instead.
Link copied to clipboard
public final void setAdaptivePaperPercentile(int value)
Percentile of a field's pixels taken to represent its paper level.
Link copied to clipboard
public final void setEnableAdaptiveBinarization(boolean value)
Indicates whether the black and white reduction threshold applied before mark detection is derived from the image, rather than using a fixed value.