C# 클래스 SingleImageSuperResolution.Utils

파일 보기 프로젝트 열기: KvanTTT/Single-Image-Super-Resolution

공개 메소드들

메소드 설명
ARGBtoY ( Bitmap bitmap ) : byte[]
ARGBtoY ( byte argb ) : byte[]
BitmapToBytesArray ( Bitmap bitmap ) : byte[]
BytesArrayToBitmap ( byte array, int width, int height ) : Bitmap
ChangeSize ( Bitmap bitmap, int newWidth, int newHeight, InterpolationMode interpolationMode = InterpolationMode.High ) : Bitmap
GaussKernel2D ( int size, double sigma ) : double[]
GaussianBlur ( Bitmap bitmap, int size, double sigma ) : Bitmap
GaussianBlur ( byte grayscaled, int width, int height, int size, double sigma ) : byte[]

메소드 상세

ARGBtoY() 공개 정적인 메소드

public static ARGBtoY ( Bitmap bitmap ) : byte[]
bitmap System.Drawing.Bitmap
리턴 byte[]

ARGBtoY() 공개 정적인 메소드

public static ARGBtoY ( byte argb ) : byte[]
argb byte
리턴 byte[]

BitmapToBytesArray() 공개 정적인 메소드

public static BitmapToBytesArray ( Bitmap bitmap ) : byte[]
bitmap System.Drawing.Bitmap
리턴 byte[]

BytesArrayToBitmap() 공개 정적인 메소드

public static BytesArrayToBitmap ( byte array, int width, int height ) : Bitmap
array byte
width int
height int
리턴 System.Drawing.Bitmap

ChangeSize() 공개 정적인 메소드

public static ChangeSize ( Bitmap bitmap, int newWidth, int newHeight, InterpolationMode interpolationMode = InterpolationMode.High ) : Bitmap
bitmap System.Drawing.Bitmap
newWidth int
newHeight int
interpolationMode InterpolationMode
리턴 System.Drawing.Bitmap

GaussKernel2D() 공개 정적인 메소드

public static GaussKernel2D ( int size, double sigma ) : double[]
size int
sigma double
리턴 double[]

GaussianBlur() 공개 정적인 메소드

public static GaussianBlur ( Bitmap bitmap, int size, double sigma ) : Bitmap
bitmap System.Drawing.Bitmap
size int
sigma double
리턴 System.Drawing.Bitmap

GaussianBlur() 공개 정적인 메소드

public static GaussianBlur ( byte grayscaled, int width, int height, int size, double sigma ) : byte[]
grayscaled byte
width int
height int
size int
sigma double
리턴 byte[]