Posted By

markt22 on 03/27/17


hsv hue opencv emgu

Versions (?)

EMGU Extract hue channel from HSV image

 / Published in: C#

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

  1. Image<Hsv, byte> myImage = new Image<Hsv, byte>(100, 100);
  3. VectorOfUMat hsvChannels = new VectorOfUMat();
  4. CvInvoke.Split(myImage, hsvChannels);
  6. UMat hChannel = hsvChannels[0];

Report this snippet  

You need to login to post a comment.