I get a bus error from this section of the code. Perhaps there is nothing at the pointer address.
void VisionPipeline::hslThreshold(cv::Mat &input, double hue[], double sat[], double lum[], cv::Mat &out) { cv::cvtColor(input, out, cv::COLOR_BGR2HLS); cv::inRange(out, cv::Scalar(hue[0], lum[0], sat[0]), cv::Scalar(hue[1], lum[1], sat[1]), out); }
It is being run by
hslThreshold(hslThresholdInput, hslThresholdHue, hslThresholdSaturation, hslThresholdLuminance, this->hslThresholdOutput);