Skip to content

Commit

Permalink
Update 07 - Image Segmentation.rst
Browse files Browse the repository at this point in the history
Some corrections
  • Loading branch information
SebasOcampoo committed Sep 2, 2015
1 parent e808627 commit 172ceb0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/source/07 - Image Segmentation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ Canny Result

Using the Background Removal
----------------------------
If we seletced the background removal checkbox we can perform the method ``doBackgroundRemoval``
If we selected the background removal checkbox we can perform the method ``doBackgroundRemoval``

.. code-block:: java
Expand Down Expand Up @@ -162,7 +162,7 @@ Calculate the Hue component mean value:
average = average / hsvImg.size().height / hsvImg.size().width;
If the background is uniform and fills most of the frame, its value should be close to mean just calculated.
Then we can use the mean as the threshold to separate the background from the foreground, depending on the invert chackbox we need to perform a back(fore)ground removal:
Then we can use the mean as the threshold to separate the background from the foreground, depending on the invert checkbox we need to perform a back(fore)ground removal:
.. code-block:: java
Expand Down

0 comments on commit 172ceb0

Please sign in to comment.