Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

OfficeScanPerspectiveMap

OfficeIMO.Drawing

Namespace
OfficeIMO.Drawing
Assembly
OfficeIMO.Core
Source revision
ba882f6b0d07 with working tree changes
Modifiers
sealed

Reversible projective mapping between original and corrected image pixel-edge coordinates.

Inheritance

  • object
  • OfficeScanPerspectiveMap

Usage

Explore 1 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by 1

Methods

public OfficePoint MapProcessedToSource(OfficePoint point) #

Maps corrected pixel-edge coordinates back to the original image.

Parameters

point OfficeIMO.Drawing.OfficePoint required
public OfficePoint MapSourceToProcessed(OfficePoint point) #

Maps original pixel-edge coordinates into the corrected image. Points on a projective pole are rejected.

Parameters

point OfficeIMO.Drawing.OfficePoint required

Properties

public int SourceWidth { get; } #

Original image width in pixels.

public int SourceHeight { get; } #

Original image height in pixels.

public int Width { get; } #

Corrected image width in pixels.

public int Height { get; } #

Corrected image height in pixels.