title: What is the range of HSV values for BROWN color in openCV?
body: <p>I am new to openCV. I am already able to count green and yellow pixels of an image with a mask. I would like to know what is the HSV range of Brown in openCV.</p>
  
  <pre><code>    private void testBrownPixelCount(Mat originalMat) {
      if(isMatEmpty(originalMat)){
          Log.i(TAG, "Empty Original Mat at testBrownPixCoutn()");
      }else{
          //Perform:
          Mat maskMat = Imgcodecs.imread(testFilePath);
          Mat bgr = new Mat();
          Imgproc.cvtColor(maskMat, bgr, Imgproc.COLOR_BGR2RGB);
          Mat maskMatHsv = new Mat();
          Imgproc.cvtColor(bgr, maskMatHsv , Imgproc.COLOR_RGB2HSV);
  
          //iF NOt; use RGB2HSV:
          Mat brownMat = new Mat();
          Scalar min_brown = new Scalar(20,100,100);
          Scalar max_brown = new Scalar(30,255,255);
          Core.inRange(maskMatHsv, min_brown, max_brown, brownMat);
          Log.i(TAG, "Brown Mat Non-zeros:" + Core.countNonZero(brownMat));
  
          Bitmap bitmapMat = Bitmap.createBitmap(brownMat.cols(), brownMat.rows(), Bitmap.Config.ARGB_8888);
          Utils.matToBitmap(brownMat, bitmapMat);
          imgView_testView.setImageBitmap(bitmapMat);
  
      }
  </code></pre>
  
  <p>Which results to black imageView, it can't even detect the yellow ones.</p>