C# 클래스 Accord.Imaging.Filters.YCbCrExtractChannel

Extract YCbCr channel from image.

The filter extracts specified YCbCr channel of color image and returns it in the form of grayscale image.

The filter accepts 24 and 32 bpp color images and produces 8 bpp grayscale images.

Sample usage:

// create filter YCbCrExtractChannel filter = new YCbCrExtractChannel( YCbCr.CrIndex ); // apply the filter Bitmap crChannel = filter.Apply( image );
상속: BaseFilter
파일 보기 프로젝트 열기: accord-net/framework 1 사용 예제들

공개 메소드들

메소드 설명
YCbCrExtractChannel ( ) : System

Initializes a new instance of the YCbCrExtractChannel class.

YCbCrExtractChannel ( short channel ) : System

Initializes a new instance of the YCbCrExtractChannel class.

보호된 메소드들

메소드 설명
ProcessFilter ( UnmanagedImage sourceData, UnmanagedImage destinationData ) : void

Process the filter on the specified image.

메소드 상세

ProcessFilter() 보호된 메소드

Process the filter on the specified image.
protected ProcessFilter ( UnmanagedImage sourceData, UnmanagedImage destinationData ) : void
sourceData UnmanagedImage Source image data.
destinationData UnmanagedImage Destination image data.
리턴 void

YCbCrExtractChannel() 공개 메소드

Initializes a new instance of the YCbCrExtractChannel class.
public YCbCrExtractChannel ( ) : System
리턴 System

YCbCrExtractChannel() 공개 메소드

Initializes a new instance of the YCbCrExtractChannel class.
public YCbCrExtractChannel ( short channel ) : System
channel short YCbCr channel to extract.
리턴 System