title: Call C++ inRange function in OpenCV 2.3
body: <p>In OpenCV 2.1, I applied color filtering on cv::Mat with cv::inRange in this way:</p>
  
  <pre><code>cv::CvScalar* scalar_low = new cv::CvScalar(10,20,30,0);
  cv::CvScalar* scalar_up = new cv::CvScalar(20,30,40,0)
  cv::Mat* in = new cv::Mat(cv::Size(10,10), CV_8UC3);
  cv::Mat* out = new cv::Mat(cv::Size(10,10), CV_8UC1);
  
  cv::inRange(*in, *scalar_low, *scalar_up, *out); // &lt;-----
  </code></pre>
  
  <p>In OpenCV 2.3 (current), cv::inRange with cv::CvScalar as parameter is no longer supported.</p>
  
  <pre><code>void inRange(Mat src, Mat lowerb, Mat upperb, Mat dst);
  </code></pre>
  
  <p>How can I use this function in C++ with the current definition?</p>