客户端图像处理命令

的LEADTOOLS WebImageViewer支持的一组图像处理命令可以被应用到图像通过加载Leadtools.Web.Controls.WebImageViewer.ApplyCommand (Leadtools.ImageProcessing.RasterCommand)方法。

下表包含了服务器/客户端支持的命令,目前WebImageViewer控制,以及如何获取或设置客户端在客户端命令类属性。

服务器命令 客户端命令 通过访问命令属性:
AutoCropCommand AutoCropCommand (阈值)

getThreshold():整数

setThreshold (阈值:整数)

BalanceColorCommandFactor BalanceColorCommandFactor (探路者,toGreentoBlue)

getToRed():增加一倍

setToRed (探路者:双)

getToGreen():增加一倍

setToGreen (toGreen:双)

getToBlue():增加一倍

setToBlue (toBlue:双)

BalanceColorsCommand BalanceColorsCommand (redFactor,greenFactorblueFactor)

getRedFactor ():BalanceColorsCommand

setRedFactor (redFactor:BalanceColorCommandFactor)

getGreenFactor ():BalanceCommand

setGreenFactor (greenFactor:BalanceColorCommandFactor)

getBlueFactor ():BalanceCommand

setBlueFactor (blueFactor:BalanceColorCommandFactor)

BorderRemoveCommand BorderRemoveCommand (旗帜,边境,百分比,whiteNoiseLength,方差)

getFlags ():BorderRemoveCommandFlags

setFlags (旗帜:BorderRemoveCommandFlags)

getBorder ():BorderRemoveCommandFlags

setBorder (边境:BorderRemoveBorderFlags)

getPercent():整数

setPercent (百分比:整数)

getWhiteNoiseLength():整数

setWhiteNoiseLength (whiteNoiseLength:整数)

getVariance ():

setVariance (方差:整数)

ChangeContrastCommand ChangeContrastCommand (对比)

getContrast():整数

setContrast (对比:整数)

ChangeHueCommand ChangeHueCommand ()

getAngle():整数

setAngle (:整数)

ChangeIntensityCommand ChangeIntensityCommand (亮度)

getBrightness():整数

setBrightness (亮度:整数)

ChangeSaturationCommand ChangeSaturationCommand (改变)

getChange():整数

setChange (改变:整数)

ColorHalftoneCommand ColorHalftoneCommand (maximumRadius,cyanAngle,magentaAngle,yellowAngle,blackAngle)

getMaximumRadius():整数

setMaximumRadius (maximumRadius:整数)

getCyanAngle():整数

setCyanAngle (cyanAngle:整数)

getMagentaAngle():整数

setMagentaAngle (magentaAngle:整数)

getYellowAngle():整数

setYellowAngle (yellowAngle:整数)

getBlackAngle():整数

setBlackAngle (blackAngle:整数)

ConvertSignedToUnsignedCommand ConvertSignedToUnsignedCommand (类型)

方法():ConvertSignedToUnsignedCommandType

setType (类型:ConvertSignedToUnsignedCommandType)

ConvertUnsignedToSignedCommand ConvertUnsignedToSignedCommand (类型)

方法():ConvertSignedToUnsignedCommandType

setType (类型:ConvertUnsignedToSignedCommandType)

DeskewCommand DeskewCommand (fillColor,旗帜)

getFillColor (): string (CSS颜色)

setFillColor (fillColor:字符串(CSS颜色))

getFlags ():DeskewCommandFlags)

setFlags (旗帜:

DespeckleCommand DespeckleCommand () - - - - - -
DotRemoveCommand DotRemoveCommand (旗帜,minimumDotWidth,minimumDotHeight,maximumDotWidth,maximumDotHeight)

getFlags ():DotRemoveCommandFlags

setFlags (旗帜:DotRemoveCommandFlags)

getMinimumDotWidth():整数

setMinimumDotWidth (minimumDotWidth:整数)

getMinimumDotHeight():整数

setMinimumDotHeight (minimumDotHeight:整数)

getMaximumDotWidth():整数

setMaximumDotWidth (maximumDotWidth:整数)

getMaximumDotHeight():整数

setMaximumDotHeight (maximumDotHeight:整数)

EmbossCommand EmbossCommand (方向,深度)

getDirection ():EmbossCommandDirection

setDirection (方向:EmbossCommandDirection)

getDepth():整数

setDepth (深度:整数)

FlipCommand FlipCommand (水平)

getHorizontal():布尔

setHorizontal (水平:布尔)

FreeHandWaveCommand FreeHandWaveCommand (振幅,规模,波长,,fillColor,旗帜)

getAmplitudes():整数的数组

setAmplitudes (振幅:数组的整数)

getScale():整数

setScale (规模:整数)

getWaveLength():整数

setWaveLength (波长:整数)

getAngle():整数

setAngle (:整数)

getFillColor (): string (CSS颜色)

setFillColor (fillColor:字符串(CSS颜色))

getFlags ():FreeHandWaveCommandFlags

setFlags (旗帜:FreeHandWaveCommandFlags)

GammaCorrectCommand GammaCorrectCommand (γ)

getGamma():整数

setGamma (γ:整数)

GaussianCommand GaussianCommand (半径)

getRadius():整数

setRadius (半径:整数)

GrayscaleCommand GrayscaleCommand () - - - - - -
GrayScaleExtendedCommand GrayScaleExtendedCommand (redFactor,greenFactorblueFactor)

getRedFactor():整数

setRedFactor (redFactor:整数)

getGreenFactor():整数

setGreenFactor (greenFactor:整数)

getBlueFactor():整数

setBlueFactor (blueFactor:整数)

HalfToneCommand HalfToneCommand (类型,,)

方法():HalfToneCommandType

setType (类型:HalfToneCommandType)

getAngle():整数

setAngle (:整数)

getDimension():整数

setDimension (:整数)

HalfTonePatternCommand HalfTonePatternCommand (对比,涟漪,angleContrast,angleRipple,angleOffset,foreGroundColor,写成backGroundColor,类型)

getContrast():整数

setContrast (对比:整数)

getRipple():整数

setRipple (涟漪:整数)

getAngleContrast():整数

setAngleContrast (angleContrast:整数)

getAngleRipple():整数

setAngleRipple (angleRipple:整数)

getAngleOffset():整数

setAngleOffset (angleOffset:整数)

getForeGroundColor (): string (CSS颜色)

setForeGroundColor(字体颜色:字符串(CSS颜色))

getBackGroundColor (): string (CSS颜色)

setBackGroundColor(背景色:字符串(CSS颜色))

方法():HalfTonePatternCommandType

setType (类型:HalfTonePatternCommandType)

HistogramContrastCommand HistogramContrastCommand (对比)

getContrast():整数

setContrast (对比:整数)

HistogramEqualizeCommand HistogramEqualizeCommand (类型)

方法():HistogramEqualizeType

setType (类型:HistogramEqualizeType)

HolePunchRemoveCommand HolePunchRemoveCommand (旗帜,位置,minimumHoleCount,maximumHoleCount,minimumHoleWidth,minimumHoleHeight,maximumHoleWidth,maximumHoleHeight)

getFlags ():HolePunchRemoveCommandFlags

setFlags (旗帜:HolePunchRemoveCommandFlags)

getLocation ():HolePunchRemoveCommandLocation

setLocation (位置:HolePunchRemoveCommandLocation)

getMinimumHoleCount():整数

setMinimumHoleCount (minimumHoleCount:整数)

getMaximumHoleCount():整数

setMaximumHoleCount (maximumHoleCount:整数)

getMinimumHoleWidth():整数

setMinimumHoleWidth (minimumHoleWidth:整数)

getMinimumHoleHeight():整数

setMinimumHoleHeight (minimumHoleHeight:整数)

getMaximumHoleWidth():整数

setMaximumHoleWidth (maximumHoleWidth:整数)

getMaximumHoleHeight():整数

setMaximumHoleHeight (maximumHoleHeight:整数)

IntensityDetectCommand IntensityDetectCommand (lowThreshold,highThreshold,inColor,outColor通道)

getLowThreshold ():

setLowThreshold (lowThreshold:整数)

getHighThreshold():整数

setHighThreshold (highThreshold:整数)

getInColor (): string (CSS颜色)

setInColor (inColor:字符串(CSS颜色))

getOutColor (): string (CSS颜色)

setOutColor (outColor:字符串(CSS颜色))

getChannel ():IntensityDetectCommandFlags

setChannel (通道:IntensityDetectCommandFlags)

InvertCommand InvertCommand () - - - - - -
InvertedTextCommand" / > InvertedTextCommand (旗帜,minimumInvertWidth,minimumInvertHeight,minimumBlackPercent,maximumBlackPercent)

getFlags ():InvertedTextCommandFlags

setFlags (旗帜:InvertedTextCommandFlags)

getMinimumInvertWidth():整数

setMinimumInvertWidth (minimumInvertWidth:整数)

getMinimumInvertHeight():整数

setMinimumInvertHeight (minimumInvertHeight:整数)

getMinimumBlackPercent():整数

setMinimumBlackPercent (minimumBlackPercent:整数)

getMaximumBlackPercent():整数

setMaximumBlackPercent (maximumBlackPercent:整数)

LineRemoveCommand LineRemoveCommand (旗帜,minimumLineLength,maximumLineWidth,,maximumWallPercent,gapLength,方差,类型)

getFlags ():LineRemoveCommandFlags

setFlags (旗帜:LineRemoveCommandFlags)

getMinimumLineLength():整数

setMinimumLineLength (minimumLineLength:整数)

getMaximumLineWidth():整数

setMaximumLineWidth (maximumLineWidth:整数)

getWall():整数

setWall (:整数)

getMaximumWallPercent():整数

setMaximumWallPercent (maximumWallPercent:整数)

getGapLength():整数

setGapLength (gapLength:整数)

getVariance():整数

setVariance (方差:整数)

方法():LineRemoveCommandType

setType (类型:LineRemoveCommandType)

MaximumCommand MaximumCommand ()

getDimension():整数

setDimension (:整数)

MedianCommand MedianCommand ()

getDimension():整数

setDimension (:整数)

MinimumCommand MinimumCommand ()

getDimension():整数

setDimension (:整数)

OffsetCommand OffsetCommand (horizontalShift,verticalShift,背景色,类型)

getHorizontalShift():整数

setHorizontalShift (horizontalShift:整数)

getVerticalShift():整数

setVerticalShift (verticalShift:整数)

getBackColor (): string (CSS颜色)

setBackColor(背景色:字符串(CSS颜色))

方法():OffsetCommandType

setType (类型:OffsetCommandType)

RemapHueCommand RemapHueCommand (面具,hueTable,saturationTable,valueTablelookUpTableLength)

getMask():整数的数组

setMask (面具:数组的整数)

getHueTable():整数的数组

setHueTable (hueTable:数组的整数)

getSaturationTable():整数的数组

setSaturationTable (saturationTable:数组的整数)

getValueTable():整数的数组

setValueTable (valueTable:数组的整数)

getLookUpTableLength():整数

setLookUpTableLength (lookUpTableLength:整数)

RemapIntensityCommand RemapIntensityCommand (旗帜,lookupTable)

getFlags ():RemapIntensityCommandFlags

setFlags (旗帜:RemapIntensityCommandFlags)

getLookupTable():整数的数组

setLookupTable (lookupTable:数组的整数)

RemoveRedEyeCommand RemoveRedEyeCommand (newColor,阈值明度)

getNewColor (): string (CSS颜色)

setNewColor (newColor:字符串(CSS颜色))

getThreshold():整数

setThreshold (阈值:整数)

getLightness():整数

setLightness (明度:整数)

SharpenCommand SharpenCommand (锐度)

getSharpness():整数

setSharpness (锐度:整数)

SmoothCommand SmoothCommand (旗帜,长度)

getFlags ():SmoothCommandFlags

setFlags (旗帜:SmoothCommandFlags)

getLength():整数

setLength (长度:整数)

SpatialFilterCommand SpatialFilterCommand (predefinedFilter)

getPredefinedFilter ():SpatialFilterCommandPredefined

setPredefinedFilter (predefinedFilter:SpatialFilterCommandPredefined)

StretchIntensityCommand StretchIntensityCommand () - - - - - -
UnsharpMaskCommand UnsharpMaskCommand (,半径,阈值,colorType)

getAmount():整数

setAmount (:整数)

getRadius():整数

setRadius (半径:整数)

getThreshold():整数

setThreshold (阈值:整数)

getColorType ():UnsharpMaskCommandColorType

setColorType (colorType:UnsharpMaskCommandColorType)

RotateCommand RotateCommand (,旗帜,fillColor)

getAngle():整数

setAngle (:整数)

getFlags ():RotateCommandFlags

setFlags (旗帜:RotateCommandFlags)

getFillColor (): string (CSS颜色)

setFillColor (fillColor:字符串(CSS颜色))

一个以上的命令应用于图像从客户端类似如下:

/ /这段代码WebImageViewer1的图像旋转45度。RotateImage()函数{varcmd =RotateCommandFlags.Bicubic RotateCommand(4500年,“#就”);WebImageViewer1.WebImageViewer.ApplyCommand (cmd);}

WebImageViewer客户端类
WebImageViewer ApplyCommand方法

LEADTOOLS成像、医学和文档
188金宝搏的网址客服|支持|联系我们|知识产权的通知
©1991 - 2021领先的技术公司。保留所有权利。