mirror of
https://github.com/peterbraden/node-opencv.git
synced 2025-12-08 19:45:55 +00:00
std::vector, explicitly
This commit is contained in:
parent
4f56834420
commit
f90cea5ffd
@ -90,7 +90,7 @@ void update_chann_image(TrackedObject* t, cv::Mat image){
|
|||||||
t->mask); //destination
|
t->mask); //destination
|
||||||
|
|
||||||
//extract the hue channel, split: src, dest channels
|
//extract the hue channel, split: src, dest channels
|
||||||
vector<cv::Mat> hsvplanes;
|
std::vector<cv::Mat> hsvplanes;
|
||||||
cv::split(t->hsv, hsvplanes);
|
cv::split(t->hsv, hsvplanes);
|
||||||
t->hue = hsvplanes[t->channel];
|
t->hue = hsvplanes[t->channel];
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user