C# 클래스 LitDev.LDImage

파일 보기 프로젝트 열기: litdev1/LitDev

Private Properties

프로퍼티 타입 설명
Color2ARGB string
DoEffect void
Shadow void
histogram Primitive
statistics Primitive

공개 메소드들

메소드 설명
Add ( Primitive image, Primitive red, Primitive green, Primitive blue ) : void

Add colour values to image. An image has pixels with R,G,B in the range 0 to 255.

AddImages ( Primitive image1, Primitive image2 ) : Primitive

Add 2 images together. An image has pixels with R,G,B in the range 0 to 255. Both images must be the same dimension.

AddText ( Primitive imageName, Primitive text, Primitive x, Primitive y, Primitive colour ) : void

Annotate an image with text, using current GraphicsWindow font.

CloseWorkingImage ( Primitive image ) : void

Close and reset the image from a temporary working image.

ColorMatrix ( Primitive image, Primitive matrix ) : void

Performs a colour matrix transformation on an image. This can be used for all sorts of colour transformations. See http://msdn.microsoft.com/en-us/library/a7xw19wh%28v=vs.110%29.aspx.

Copy ( Primitive image ) : Primitive

Copy an image from the ImageList.

Crop ( Primitive image, Primitive x, Primitive y, Primitive width, Primitive height ) : void

Crop an image from the ImageList. The crop region must be entirely within the target image.

DifferenceImages ( Primitive image1, Primitive image2 ) : Primitive

Difference 2 images. An image has pixels with R,G,B in the range 0 to 255. Both images must be the same dimension.

EffectAccent ( Primitive image, Primitive hue, Primitive range ) : void

Converts to colour accent effect.

EffectBlocks ( Primitive image, Primitive size ) : void

Converts to block effect.

EffectBlue ( Primitive image ) : void

Converts to blue colour.

EffectBulge ( Primitive image, Primitive factor ) : void

Converts to bulge effect (similar to FishEye).

EffectCartoon ( Primitive image, Primitive radius, Primitive levels, Primitive inverse ) : void

Converts to cartoon effect.

EffectCharcoal ( Primitive image ) : void

Converts to charcoal effect.

EffectContrast ( Primitive image, Primitive contrast ) : void

Converts to high contrast effect.

EffectCyan ( Primitive image ) : void

Converts to cyan colour.

EffectEdge ( Primitive image ) : void

Converts to Prewitt edge effect.

EffectFishEye ( Primitive image, Primitive factor ) : void

Converts to fisheye effect.

EffectFuzzy ( Primitive image, Primitive size ) : void

Converts to fuzzy effect.

EffectGamma ( Primitive image, Primitive gamma ) : void

Converts to gamma effect.

EffectGray ( Primitive image ) : void

Converts to gray scale.

EffectGreen ( Primitive image ) : void

Converts to green colour.

EffectHue ( Primitive image, Primitive hue ) : void

Converts to modify Hue.

EffectInverse ( Primitive image ) : void

Converts to inverse colour.

EffectJagged ( Primitive image, Primitive size ) : void

Converts to jagged effect.

EffectLightness ( Primitive image, Primitive lightness ) : void

Converts to modify Lightness.

EffectMagenta ( Primitive image ) : void

Converts to magenta colour.

EffectNoiseRemoval ( Primitive image ) : void

Converts to noise removal effect.

EffectOilPaint ( Primitive image, Primitive radius, Primitive levels ) : void

Converts to oil paint effect.

EffectPixelate ( Primitive image, Primitive size ) : void

Converts to pixelate effect.

EffectPosterise ( Primitive image, Primitive level ) : void

Converts to posterise effect.

EffectRed ( Primitive image ) : void

Converts to red colour.

EffectReflect ( Primitive image, Primitive flip ) : void

Converts to X or Y reflection effect.

EffectRotate ( Primitive image, Primitive rotation ) : void

Converts to 90 degree rotation effect.

EffectSaturation ( Primitive image, Primitive saturation ) : void

Converts to modify Saturation.

EffectSepia ( Primitive image, Primitive threshold ) : void

Converts to sepia effect.

EffectSketch ( Primitive image ) : void

Converts to pen sketch effect.

EffectSnow ( Primitive image, Primitive level ) : void

Converts to snow effect.

EffectSolarise ( Primitive image, Primitive power ) : void

Converts to solarise effect.

EffectSwirl ( Primitive image, Primitive factor ) : void

Converts to swirl effect.

EffectYellow ( Primitive image ) : void

Converts to yellow colour.

GetEffects ( ) : Primitive

Get an array of the available image and webcam effects.

GetImagePixels ( Primitive image ) : Primitive

Get a 2D array filled with all the pixels in an image.

GetPixel ( Primitive image, Primitive x, Primitive y ) : Primitive

Get a pixel colour.

GetWorkingImagePixel ( Primitive image, Primitive x, Primitive y ) : Primitive

Get the colour of a pixel from a temporary working image.

GetWorkingImagePixelARGB ( Primitive image, Primitive x, Primitive y ) : Primitive

Get the colour of a pixel from a temporary working image.

HeightMap2NormalMap ( Primitive image, Primitive scale ) : Primitive

Create a normal map image from a height map. The height is given by the brightness of each pixel.

Histogram ( Primitive image ) : Primitive

Get histograms of colour pixel values.

LoadSVG ( Primitive fileName ) : Primitive

Load an SVG file as an ImageList image.

MakeTransparent ( Primitive image, Primitive colour ) : void

Modify an ImageList image to make a selected colour transparent.

MetaData ( Primitive imageFile ) : Primitive

Get an array of image metadata.

Multiply ( Primitive image, Primitive red, Primitive green, Primitive blue ) : void

Multiply colour values of image. An image has pixels with R,G,B in the range 0 to 255.

NewImage ( Primitive width, Primitive height, Primitive colour ) : Primitive

Create a new single colored 32bitARGB image in ImageList.

NormalMap ( Primitive shapeName, Primitive sourceX, Primitive sourceY, Primitive sourceZ, Primitive texture, Primitive ambient, Primitive intensity ) : void

Modify an image to show a gray scale (or modified image if texture is set) shadow effect based on a normal map image.

OpenWorkingImage ( Primitive image ) : void

Open a temporary working image for fast pixel level manipulation. After the temporary working image is finished with it should be set to the image using CloseWorkingImage.

Remove ( Primitive image ) : void

Remove an image from the ImageList.

ReplaceColour ( Primitive image, Primitive colourFrom, Primitive colourTo, Primitive tolerance ) : void

Replace one colour in an ImageList image with another.

Resize ( Primitive image, Primitive width, Primitive height ) : void

Resize an image from the ImageList.

Rotate ( Primitive image, Primitive angle ) : void

Rotate an image.

Save ( Primitive image, Primitive fileName ) : void

Save an image from the ImageList as a jpg.

SaveAs ( Primitive image, Primitive fileName ) : void

Save an image from the ImageList in different formats set by the file extension.

SetImagePixels ( Primitive pixels ) : Primitive

Create a new image from a 2D array of pixel colour values - see GetImagePixels for format of pixels.

SetPixel ( Primitive image, Primitive x, Primitive y, Primitive colour ) : void

Set a pixel colour.

SetWorkingImagePixel ( Primitive image, Primitive x, Primitive y, Primitive colour ) : void

Set the colour of a pixel in a temporary working image.

SplitImage ( Primitive imageName, Primitive countX, Primitive countY ) : Primitive

Creates an array of subdivided images from an input image.

Statistics ( Primitive image ) : Primitive

Get the minimum, maximum, mean and STD for colour pixel values.

To32bitARGB ( Primitive image ) : Primitive

Converts an ImageList image to Format ARGB (Alphachannel with 32bit/Pxl) if needed.

range ( double value ) : byte

비공개 메소드들

메소드 설명
Color2ARGB ( Color c ) : string
DoEffect ( string image, eEffect effect, Primitive parameter ) : void
Shadow ( Primitive shapeName, Primitive sourceX, Primitive sourceY, Primitive sourceZ, Primitive texture, Primitive ambient, Primitive intensity ) : void
histogram ( string image ) : Primitive
statistics ( string image ) : Primitive

메소드 상세

Add() 공개 정적인 메소드

Add colour values to image. An image has pixels with R,G,B in the range 0 to 255.
public static Add ( Primitive image, Primitive red, Primitive green, Primitive blue ) : void
image Primitive The ImageList image to modify.
red Primitive Red value to add.
green Primitive Geen value to add.
blue Primitive Blue value to add.
리턴 void

AddImages() 공개 정적인 메소드

Add 2 images together. An image has pixels with R,G,B in the range 0 to 255. Both images must be the same dimension.
public static AddImages ( Primitive image1, Primitive image2 ) : Primitive
image1 Primitive The first ImageList image to add.
image2 Primitive The second ImageList image to add.
리턴 Primitive

AddText() 공개 정적인 메소드

Annotate an image with text, using current GraphicsWindow font.
public static AddText ( Primitive imageName, Primitive text, Primitive x, Primitive y, Primitive colour ) : void
imageName Primitive /// An existing ImageList image. ///
text Primitive The text to add
x Primitive The left position of the text.
y Primitive The Top position of the text.
colour Primitive /// The text colour. ///
리턴 void

CloseWorkingImage() 공개 정적인 메소드

Close and reset the image from a temporary working image.
public static CloseWorkingImage ( Primitive image ) : void
image Primitive The working image, previously opened with OpenWorkingImage.
리턴 void

ColorMatrix() 공개 정적인 메소드

Performs a colour matrix transformation on an image. This can be used for all sorts of colour transformations. See http://msdn.microsoft.com/en-us/library/a7xw19wh%28v=vs.110%29.aspx.
public static ColorMatrix ( Primitive image, Primitive matrix ) : void
image Primitive The ImageList image to modify.
matrix Primitive A 5*5 2D matrix. /// Sepia Example: /// matrix[1] = "1=0.393;2=0.349;3=0.272;4=0;5=0" /// matrix[2] = "1=0.769;2=0.686;3=0.534;4=0;5=0" /// matrix[3] = "1=0.189;2=0.168;3=0.131;4=0;5=0" /// matrix[4] = "1=0;2=0;3=0;4=1;5=0" /// matrix[5] = "1=0;2=0;3=0;4=0;5=1" ///
리턴 void

Copy() 공개 정적인 메소드

Copy an image from the ImageList.
public static Copy ( Primitive image ) : Primitive
image Primitive The ImageList image to copy.
리턴 Primitive

Crop() 공개 정적인 메소드

Crop an image from the ImageList. The crop region must be entirely within the target image.
public static Crop ( Primitive image, Primitive x, Primitive y, Primitive width, Primitive height ) : void
image Primitive The ImageList image to crop.
x Primitive The left position of the cropped image in pixels (indexed from 0).
y Primitive The top position of the cropped image in pixels (indexed from 0).
width Primitive The width of the cropped image in pixels.
height Primitive The height of the cropped image in pixels.
리턴 void

DifferenceImages() 공개 정적인 메소드

Difference 2 images. An image has pixels with R,G,B in the range 0 to 255. Both images must be the same dimension.
public static DifferenceImages ( Primitive image1, Primitive image2 ) : Primitive
image1 Primitive The first ImageList image to difference.
image2 Primitive The second ImageList image to difference.
리턴 Primitive

EffectAccent() 공개 정적인 메소드

Converts to colour accent effect.
public static EffectAccent ( Primitive image, Primitive hue, Primitive range ) : void
image Primitive The ImageList image to modify.
hue Primitive Accent Hue (0 o 360, default 0 (red)).
range Primitive Accent range (default 40).
리턴 void

EffectBlocks() 공개 정적인 메소드

Converts to block effect.
public static EffectBlocks ( Primitive image, Primitive size ) : void
image Primitive The ImageList image to modify.
size Primitive Blocking size factor (default 5).
리턴 void

EffectBlue() 공개 정적인 메소드

Converts to blue colour.
public static EffectBlue ( Primitive image ) : void
image Primitive The ImageList image to modify.
리턴 void

EffectBulge() 공개 정적인 메소드

Converts to bulge effect (similar to FishEye).
public static EffectBulge ( Primitive image, Primitive factor ) : void
image Primitive The ImageList image to modify.
factor Primitive Bulge factor, may be less than 1 for pinch effect (default 2).
리턴 void

EffectCartoon() 공개 정적인 메소드

Converts to cartoon effect.
public static EffectCartoon ( Primitive image, Primitive radius, Primitive levels, Primitive inverse ) : void
image Primitive The ImageList image to modify.
radius Primitive Cartoon radius (odd number, default 7).
levels Primitive Cartoon levels (default 10).
inverse Primitive Cartoon inverse threshold (default 40).
리턴 void

EffectCharcoal() 공개 정적인 메소드

Converts to charcoal effect.
public static EffectCharcoal ( Primitive image ) : void
image Primitive The ImageList image to modify.
리턴 void

EffectContrast() 공개 정적인 메소드

Converts to high contrast effect.
public static EffectContrast ( Primitive image, Primitive contrast ) : void
image Primitive The ImageList image to modify.
contrast Primitive Contrast factor (default 2), less than 1 reduces contrast.
리턴 void

EffectCyan() 공개 정적인 메소드

Converts to cyan colour.
public static EffectCyan ( Primitive image ) : void
image Primitive The ImageList image to modify.
리턴 void

EffectEdge() 공개 정적인 메소드

Converts to Prewitt edge effect.
public static EffectEdge ( Primitive image ) : void
image Primitive The ImageList image to modify.
리턴 void

EffectFishEye() 공개 정적인 메소드

Converts to fisheye effect.
public static EffectFishEye ( Primitive image, Primitive factor ) : void
image Primitive The ImageList image to modify.
factor Primitive FishEye factor, should be greater than 1 (default 2).
리턴 void

EffectFuzzy() 공개 정적인 메소드

Converts to fuzzy effect.
public static EffectFuzzy ( Primitive image, Primitive size ) : void
image Primitive The ImageList image to modify.
size Primitive Pixel region to make fuzzy (default 4).
리턴 void

EffectGamma() 공개 정적인 메소드

Converts to gamma effect.
public static EffectGamma ( Primitive image, Primitive gamma ) : void
image Primitive The ImageList image to modify.
gamma Primitive Gamma factor, values less than 1 lighten and greater than 1 darken (default 2).
리턴 void

EffectGray() 공개 정적인 메소드

Converts to gray scale.
public static EffectGray ( Primitive image ) : void
image Primitive The ImageList image to modify.
리턴 void

EffectGreen() 공개 정적인 메소드

Converts to green colour.
public static EffectGreen ( Primitive image ) : void
image Primitive The ImageList image to modify.
리턴 void

EffectHue() 공개 정적인 메소드

Converts to modify Hue.
public static EffectHue ( Primitive image, Primitive hue ) : void
image Primitive The ImageList image to modify.
hue Primitive Hue shift (0 to 360, default 180).
리턴 void

EffectInverse() 공개 정적인 메소드

Converts to inverse colour.
public static EffectInverse ( Primitive image ) : void
image Primitive The ImageList image to modify.
리턴 void

EffectJagged() 공개 정적인 메소드

Converts to jagged effect.
public static EffectJagged ( Primitive image, Primitive size ) : void
image Primitive The ImageList image to modify.
size Primitive Pixel region size to make jagged (default 4).
리턴 void

EffectLightness() 공개 정적인 메소드

Converts to modify Lightness.
public static EffectLightness ( Primitive image, Primitive lightness ) : void
image Primitive The ImageList image to modify.
lightness Primitive Lightness multiplier (default 2).
리턴 void

EffectMagenta() 공개 정적인 메소드

Converts to magenta colour.
public static EffectMagenta ( Primitive image ) : void
image Primitive The ImageList image to modify.
리턴 void

EffectNoiseRemoval() 공개 정적인 메소드

Converts to noise removal effect.
public static EffectNoiseRemoval ( Primitive image ) : void
image Primitive The ImageList image to modify.
리턴 void

EffectOilPaint() 공개 정적인 메소드

Converts to oil paint effect.
public static EffectOilPaint ( Primitive image, Primitive radius, Primitive levels ) : void
image Primitive The ImageList image to modify.
radius Primitive Oil paint radius (odd number, default 7).
levels Primitive Oil paint levels (default 20).
리턴 void

EffectPixelate() 공개 정적인 메소드

Converts to pixelate effect.
public static EffectPixelate ( Primitive image, Primitive size ) : void
image Primitive The ImageList image to modify.
size Primitive Pixelating size factor (default 16).
리턴 void

EffectPosterise() 공개 정적인 메소드

Converts to posterise effect.
public static EffectPosterise ( Primitive image, Primitive level ) : void
image Primitive The ImageList image to modify.
level Primitive Posterise level (default 50).
리턴 void

EffectRed() 공개 정적인 메소드

Converts to red colour.
public static EffectRed ( Primitive image ) : void
image Primitive The ImageList image to modify.
리턴 void

EffectReflect() 공개 정적인 메소드

Converts to X or Y reflection effect.
public static EffectReflect ( Primitive image, Primitive flip ) : void
image Primitive The ImageList image to modify.
flip Primitive 0 to flip X and 1 to flip Y (default 0).
리턴 void

EffectRotate() 공개 정적인 메소드

Converts to 90 degree rotation effect.
public static EffectRotate ( Primitive image, Primitive rotation ) : void
image Primitive The ImageList image to modify.
rotation Primitive 0 for +90, 1 for 180 and 2 for 270(-90) degree rotation (default 0).
리턴 void

EffectSaturation() 공개 정적인 메소드

Converts to modify Saturation.
public static EffectSaturation ( Primitive image, Primitive saturation ) : void
image Primitive The ImageList image to modify.
saturation Primitive Saturation multiplier (default 2).
리턴 void

EffectSepia() 공개 정적인 메소드

Converts to sepia effect.
public static EffectSepia ( Primitive image, Primitive threshold ) : void
image Primitive The ImageList image to modify.
threshold Primitive Sepia threshold (default 30).
리턴 void

EffectSketch() 공개 정적인 메소드

Converts to pen sketch effect.
public static EffectSketch ( Primitive image ) : void
image Primitive The ImageList image to modify.
리턴 void

EffectSnow() 공개 정적인 메소드

Converts to snow effect.
public static EffectSnow ( Primitive image, Primitive level ) : void
image Primitive The ImageList image to modify.
level Primitive 1 in level pixels are randomly snow (default 25).
리턴 void

EffectSolarise() 공개 정적인 메소드

Converts to solarise effect.
public static EffectSolarise ( Primitive image, Primitive power ) : void
image Primitive The ImageList image to modify.
power Primitive Solarise power (default 2, quadratic).
리턴 void

EffectSwirl() 공개 정적인 메소드

Converts to swirl effect.
public static EffectSwirl ( Primitive image, Primitive factor ) : void
image Primitive The ImageList image to modify.
factor Primitive Swirl factor (default 1).
리턴 void

EffectYellow() 공개 정적인 메소드

Converts to yellow colour.
public static EffectYellow ( Primitive image ) : void
image Primitive The ImageList image to modify.
리턴 void

GetEffects() 공개 정적인 메소드

Get an array of the available image and webcam effects.
public static GetEffects ( ) : Primitive
리턴 Primitive

GetImagePixels() 공개 정적인 메소드

Get a 2D array filled with all the pixels in an image.
public static GetImagePixels ( Primitive image ) : Primitive
image Primitive The ImageList image.
리턴 Primitive

GetPixel() 공개 정적인 메소드

Get a pixel colour.
public static GetPixel ( Primitive image, Primitive x, Primitive y ) : Primitive
image Primitive The ImageList image.
x Primitive The x pixel (indexed from 1).
y Primitive The y pixel (indexed from 1).
리턴 Primitive

GetWorkingImagePixel() 공개 정적인 메소드

Get the colour of a pixel from a temporary working image.
public static GetWorkingImagePixel ( Primitive image, Primitive x, Primitive y ) : Primitive
image Primitive The working image, previously opened with OpenWorkingImage.
x Primitive The x pixel coordinate (indexed from 1).
y Primitive The y pixel coordinate (indexed from 1).
리턴 Primitive

GetWorkingImagePixelARGB() 공개 정적인 메소드

Get the colour of a pixel from a temporary working image.
public static GetWorkingImagePixelARGB ( Primitive image, Primitive x, Primitive y ) : Primitive
image Primitive The working image, previously opened with OpenWorkingImage.
x Primitive The x pixel coordinate (indexed from 1).
y Primitive The y pixel coordinate (indexed from 1).
리턴 Primitive

HeightMap2NormalMap() 공개 정적인 메소드

Create a normal map image from a height map. The height is given by the brightness of each pixel.
public static HeightMap2NormalMap ( Primitive image, Primitive scale ) : Primitive
image Primitive The height map ImageList image.
scale Primitive A scale factor for the elevation (default 1).
리턴 Primitive

Histogram() 공개 정적인 메소드

Get histograms of colour pixel values.
public static Histogram ( Primitive image ) : Primitive
image Primitive The ImageList image.
리턴 Primitive

LoadSVG() 공개 정적인 메소드

Load an SVG file as an ImageList image.
public static LoadSVG ( Primitive fileName ) : Primitive
fileName Primitive The SVG file.
리턴 Primitive

MakeTransparent() 공개 정적인 메소드

Modify an ImageList image to make a selected colour transparent.
public static MakeTransparent ( Primitive image, Primitive colour ) : void
image Primitive The ImageList image.
colour Primitive The colour to make transparent.
리턴 void

MetaData() 공개 정적인 메소드

Get an array of image metadata.
public static MetaData ( Primitive imageFile ) : Primitive
imageFile Primitive The image file (not an ImageList image).
리턴 Primitive

Multiply() 공개 정적인 메소드

Multiply colour values of image. An image has pixels with R,G,B in the range 0 to 255.
public static Multiply ( Primitive image, Primitive red, Primitive green, Primitive blue ) : void
image Primitive The ImageList image to modify.
red Primitive Red value to multiply by.
green Primitive Geen value to multiply by.
blue Primitive Blue value to multiply by.
리턴 void

NewImage() 공개 정적인 메소드

Create a new single colored 32bitARGB image in ImageList.
public static NewImage ( Primitive width, Primitive height, Primitive colour ) : Primitive
width Primitive The width of the new image.
height Primitive The height of the new image.
colour Primitive The colour of the new image.
리턴 Primitive

NormalMap() 공개 정적인 메소드

Modify an image to show a gray scale (or modified image if texture is set) shadow effect based on a normal map image.
public static NormalMap ( Primitive shapeName, Primitive sourceX, Primitive sourceY, Primitive sourceZ, Primitive texture, Primitive ambient, Primitive intensity ) : void
shapeName Primitive An image shape normal map (R,G,B colours represent normal vecors of a 3D image). /// This is an image shape created using Shapes.AddImage containing the normal map image.
sourceX Primitive The x position of a light source relative to the image.
sourceY Primitive The y position of a light source relative to the image.
sourceZ Primitive The z position of a light source relative to the image, this is the height abouve the image. /// This can be used to alter the effective contrast of the shadow effect.
texture Primitive An optional ImageList image or "" with texture (colour) to modify, it should be the same dimensions as the normal map image. /// The texture image may be changed on subsequent calls.
ambient Primitive Optional ambient light intensity if texture is set (default 0.3).
intensity Primitive Optional light intensity if texture is set (default 2).
리턴 void

OpenWorkingImage() 공개 정적인 메소드

Open a temporary working image for fast pixel level manipulation. After the temporary working image is finished with it should be set to the image using CloseWorkingImage.
public static OpenWorkingImage ( Primitive image ) : void
image Primitive The ImageList image to open as a temporary working image.
리턴 void

Remove() 공개 정적인 메소드

Remove an image from the ImageList.
public static Remove ( Primitive image ) : void
image Primitive The ImageList image to delete.
리턴 void

ReplaceColour() 공개 정적인 메소드

Replace one colour in an ImageList image with another.
public static ReplaceColour ( Primitive image, Primitive colourFrom, Primitive colourTo, Primitive tolerance ) : void
image Primitive The ImageList image.
colourFrom Primitive The colour to replace.
colourTo Primitive The replacement colour to apply.
tolerance Primitive A tolerance for the colour to match (default 0 - exact match). /// ARGB pixel values all within the tolerance will be replaced.
리턴 void

Resize() 공개 정적인 메소드

Resize an image from the ImageList.
public static Resize ( Primitive image, Primitive width, Primitive height ) : void
image Primitive The ImageList image to resize.
width Primitive The width in pixels.
height Primitive The height in pixels.
리턴 void

Rotate() 공개 정적인 메소드

Rotate an image.
public static Rotate ( Primitive image, Primitive angle ) : void
image Primitive The ImageList image to modify.
angle Primitive The angle to rotate the image clockwise by in degrees.
리턴 void

Save() 공개 정적인 메소드

Save an image from the ImageList as a jpg.
public static Save ( Primitive image, Primitive fileName ) : void
image Primitive The ImageList image to save.
fileName Primitive The file to save the image as.
리턴 void

SaveAs() 공개 정적인 메소드

Save an image from the ImageList in different formats set by the file extension.
public static SaveAs ( Primitive image, Primitive fileName ) : void
image Primitive The ImageList image to save.
fileName Primitive The file to save the image as. /// Accepted file type extensions include *.bmp, *.gif, *.jpg, *.png, *.tiff or *.ico.
리턴 void

SetImagePixels() 공개 정적인 메소드

Create a new image from a 2D array of pixel colour values - see GetImagePixels for format of pixels.
public static SetImagePixels ( Primitive pixels ) : Primitive
pixels Primitive An array of hex based image pixel colours indexed by [x][y].
리턴 Primitive

SetPixel() 공개 정적인 메소드

Set a pixel colour.
public static SetPixel ( Primitive image, Primitive x, Primitive y, Primitive colour ) : void
image Primitive The ImageList image.
x Primitive The x pixel (indexed from 1).
y Primitive The y pixel (indexed from 1).
colour Primitive The colour to set the pixel.
리턴 void

SetWorkingImagePixel() 공개 정적인 메소드

Set the colour of a pixel in a temporary working image.
public static SetWorkingImagePixel ( Primitive image, Primitive x, Primitive y, Primitive colour ) : void
image Primitive The working image, previously opened with OpenWorkingImage.
x Primitive The x pixel coordinate (indexed from 1).
y Primitive The y pixel coordinate (indexed from 1).
colour Primitive The colour to set the pixel to.
리턴 void

SplitImage() 공개 정적인 메소드

Creates an array of subdivided images from an input image.
public static SplitImage ( Primitive imageName, Primitive countX, Primitive countY ) : Primitive
imageName Primitive /// The image file (local or network) to load. /// Can also be an ImageList image. ///
countX Primitive /// The number of sub-images in the X direction. ///
countY Primitive /// The number of sub-images in the Y direction. ///
리턴 Primitive

Statistics() 공개 정적인 메소드

Get the minimum, maximum, mean and STD for colour pixel values.
public static Statistics ( Primitive image ) : Primitive
image Primitive The ImageList image.
리턴 Primitive

To32bitARGB() 공개 정적인 메소드

Converts an ImageList image to Format ARGB (Alphachannel with 32bit/Pxl) if needed.
public static To32bitARGB ( Primitive image ) : Primitive
image Primitive The ImageList image.
리턴 Primitive

range() 공개 정적인 메소드

public static range ( double value ) : byte
value double
리턴 byte