@Test
public void testThreshold() {

  opencv_core.Mat src = LaneManager.readImage(getResourcePath(TEST_IMAGE));
  opencv_core.Mat saturationChannel = LaneManager.getSaturationChannel(src);
  opencv_core.Mat thresholdBinary = LaneManager.threshold(saturationChannel, 150);
  assertTrue(LaneManager.writeImage("/tmp/robocar_threshold.jpg", thresholdBinary));
}