EMGU Extract hue channel from HSV image
Given an image in HSV format, this code extracts the hue channel as a UMat
Copy this code and paste it in your HTML
Image
<Hsv,
byte> myImage
= new Image
<Hsv,
byte>(100,
100);
VectorOfUMat hsvChannels
= new VectorOfUMat
();CvInvoke.Split(myImage, hsvChannels);
UMat hChannel = hsvChannels[0];
Report this snippet
Comments
Subscribe to comments