Skip to content

Commit 83383f2

Browse files
committed
review hist equalization
1 parent 288d818 commit 83383f2

File tree

8 files changed

+3
-3
lines changed

8 files changed

+3
-3
lines changed
-12.6 KB
Loading
-28.1 KB
Loading
-480 Bytes
Loading
14.2 KB
Loading
-63.2 KB
Binary file not shown.
29 KB
Loading
-106 KB
Binary file not shown.

source/py_tutorials/py_imgproc/py_histograms/py_histogram_equalization/py_histogram_equalization.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ I would recommend you to read the wikipedia page on `Histogram Equalization <htt
3939
plt.legend(('cdf','histogram'), loc = 'upper left')
4040
plt.show()
4141
42-
.. image:: images/histeq_numpy1.png
42+
.. image:: images/histeq_numpy1.jpg
4343
:alt: Histograms Equalization
4444
:align: center
4545

@@ -59,7 +59,7 @@ Now we have the look-up table that gives us the information on what is the outpu
5959
6060
Now we calculate its histogram and cdf as before ( you do it) and result looks like below :
6161

62-
.. image:: images/histeq_numpy2.png
62+
.. image:: images/histeq_numpy2.jpg
6363
:alt: Histograms Equalization
6464
:align: center
6565

@@ -68,7 +68,7 @@ Another important feature is that, even if the image was a darker image (instead
6868
Histograms Equalization in OpenCV
6969
===================================
7070

71-
OpenCV has a function to do this, **cv2.calcHist()**. Its input is just grayscale image and output is our histogram equalized image.
71+
OpenCV has a function to do this, **cv2.equalizeHist()**. Its input is just grayscale image and output is our histogram equalized image.
7272

7373
Below is a simple code snippet showing its usage for same image we used :
7474
::

0 commit comments

Comments
 (0)