MagicWandTool 类

Summary: The class for magic wand algorithm main logic.

Module: aspose.imaging.magicwand

Full Name: aspose.imaging.magicwand.MagicWandTool

Inheritance: IPartialArgb32PixelLoader

Methods

Name描述
process(pixels_rectangle, pixels, start, end)处理已加载的像素。
select(source, settings)基于 MagicWandSettings 和源 RasterImage,创建新的 ImageBitMask

Method: process(pixels_rectangle, pixels, start, end)

 process(pixels_rectangle, pixels, start, end) 

处理已加载的像素。

Parameters:

参数TypeDescription
pixels_rectangleRectangle像素矩形。
像素int[]32 位 ARGB 像素。
startPoint起始像素点。如果不等于 (left,top),则表示我们拥有的不是完整矩形。
endPoint结束像素点。如果不等于 (right,bottom),则表示我们拥有的不是完整矩形。

Method: select(source, settings) [static]

 select(source, settings) 

基于 MagicWandSettings 和源 RasterImage,创建新的 ImageBitMask

Parameters:

参数TypeDescription
sourceRasterImage用于算法处理的光栅图像。
settingsMagicWandSettings用于创建掩模的魔棒算法设置。

Returns

TypeDescription
ImageBitMask新建 ImageBitMask