|
659 | 659 | "These methods can also simulate real-world variability, helping models generalize better. \n",
|
660 | 660 | "\n",
|
661 | 661 | "In this notebook, we explore three categories of image transformations: **geometric transformations**, **image filtering**, and **photometric transformations**.\n",
|
662 |
| - "The following cells contain a series of exercicies designed to help you explore the OpenCV-Python library.\n", |
663 |
| - "If you are unfamiliar with a particular method, refer to the [Image Processing in OpenCV](https://docs.opencv.org/4.x/d2/d96/tutorial_py_table_of_contents_imgproc.html) documentation." |
| 662 | + "The following cells contain a series of exercicies designed to help you explore the OpenCV-Python library. \n", |
| 663 | + "\n", |
| 664 | + "If you are unfamiliar with a particular method, refer to the [Image Processing in OpenCV](https://docs.opencv.org/4.x/d2/d96/tutorial_py_table_of_contents_imgproc.html) documentation.\n", |
| 665 | + "There you can find the description of the functions needed for [Geometric transformations](https://docs.opencv.org/4.x/da/d6e/tutorial_py_geometric_transformations.html) and [image filtering](https://docs.opencv.org/4.x/d4/d13/tutorial_py_filtering.html).\n", |
| 666 | + "Regarding photometric transformations, openCV documentation does not have a specific page for that.\n", |
| 667 | + "To adjust brightness and contrast, you can read [Changing the contrast and brightness of an image!](https://docs.opencv.org/4.x/d3/dc1/tutorial_basic_linear_transform.html).\n", |
| 668 | + "To adjust saturation, first convert the image to the HSV color space using [`cv2.cvtColor`](https://docs.opencv.org/4.x/d8/d01/group__imgproc__color__conversions.html#gaf86c09fe702ed037c03c2bc603ceab14).\n", |
| 669 | + "Then, split the image into Hue, Saturation, and Value channels with [`cv2.split`](https://docs.opencv.org/4.x/df/df2/group__core__hal__interface__split.html).\n", |
| 670 | + "Modify the Saturation channel as needed, merge the channels back together using [`cv2.merge`](https://docs.opencv.org/4.x/df/d2e/group__core__hal__interface__merge.html), and finally convert the image back to the RGB color space." |
664 | 671 | ]
|
665 | 672 | },
|
666 | 673 | {
|
|
0 commit comments