Table of Contents

Interface IMaskingSession

Namespace
Aspose.Imaging.Masking
Assembly
Aspose.Imaging.dll

The masking session

public interface IMaskingSession : IDisposable
Inherited Members

Methods

Decompose()

Performs first rough decompose operation

MaskingResult Decompose()

Returns

MaskingResult

Result of masking operation as array of segment image providers.

See Also

DecomposeAsync()

Creates the asynchronous task which can perform first rough decompose operation

IMaskingAsyncTask DecomposeAsync()

Returns

IMaskingAsyncTask

The asynchronous decompose task

See Also

ImproveDecomposition(IMaskingArgs)

Performs retraining decompose operation

MaskingResult ImproveDecomposition(IMaskingArgs maskingArguments)

Parameters

maskingArguments IMaskingArgs

The masking arguments.

Returns

MaskingResult

Result of masking operation as array of segment image providers.

See Also

ImproveDecompositionAsync(IMaskingArgs)

Creates the asynchronous task which can perform retraining decompose operation

IMaskingAsyncTask ImproveDecompositionAsync(IMaskingArgs maskingArguments)

Parameters

maskingArguments IMaskingArgs

The masking arguments.

Returns

IMaskingAsyncTask

The asynchronous decompose task

See Also

Save(Stream)

Save the session state to the specified stream.

void Save(Stream stream)

Parameters

stream Stream

The stream.

See Also

Save(string)

Saves the session state to the specified file.

void Save(string filePath)

Parameters

filePath string

The file path.

See Also

See Also