Return to Snippet

Revision: 71923
at March 27, 2017 23:46 by markt22


Initial Code
Image<Hsv, byte> myImage = new Image<Hsv, byte>(100, 100);

VectorOfUMat hsvChannels = new VectorOfUMat();
CvInvoke.Split(myImage, hsvChannels);

UMat hChannel = hsvChannels[0];

Initial URL

                                

Initial Description
Given an image in HSV format, this code extracts the hue channel as a UMat

Initial Title
EMGU Extract hue channel from HSV image

Initial Tags

                                

Initial Language
C#