title: Thresholding an image with a low and high threshold in Python
body: <p>I want to threshold an image with a low and high threshold. I already performed thresholding on a hue channel of a HSV picture, but I want to threshold it between two numbers.
  Is there a way to do two thresholding operations in one?</p>
  <pre><code>rgb = io.imread(&quot;image.jpg&quot;)
  hsv = rgb2hsv(rgb)
  hue = hsv[:, :, 0] &gt; 0.5
  </code></pre>