C# Class ImageMosaic.ImageProcessing

Exibir arquivo Open project: karthik20522/ImageMosaic Class Usage Examples

Public Methods

Method Description
CreateMap ( Bitmap img ) : ].Color[
GetAverageColor ( Bitmap bmp, string filePath ) : ImageInfo
Render ( Bitmap img, Color colorMap, List imageInfos ) : Mosaic
Resize ( string srcFile ) : Bitmap

Private Methods

Method Description
GetBestImageIndex ( Color c, int x, int y ) : int
getAverageColor ( Rectangle area, Bitmap bmp, int quality ) : Color

Method Details

CreateMap() public method

public CreateMap ( Bitmap img ) : ].Color[
img System.Drawing.Bitmap
return ].Color[

GetAverageColor() public method

public GetAverageColor ( Bitmap bmp, string filePath ) : ImageInfo
bmp System.Drawing.Bitmap
filePath string
return ImageInfo

Render() public method

public Render ( Bitmap img, Color colorMap, List imageInfos ) : Mosaic
img System.Drawing.Bitmap
colorMap Color
imageInfos List
return Mosaic

Resize() public method

public Resize ( string srcFile ) : Bitmap
srcFile string
return System.Drawing.Bitmap