diff --git a/digital_image_processing/practice/README.md b/digital_image_processing/practice/README.md new file mode 100644 index 0000000..0403594 --- /dev/null +++ b/digital_image_processing/practice/README.md @@ -0,0 +1,19 @@ + +# Digital Image Processing Practices + + +1. Simple image read and write operations + +```python + + image = imread("basic.png"); + imshow(image) + imwrite(image, "copy.jpeg") + + img2 = imread("copy.jpeg"); + imshow(img2) +``` + +## Output + +A planet with twilight rings diff --git a/digital_image_processing/practice/README.rst b/digital_image_processing/practice/README.rst deleted file mode 100644 index b6c784c..0000000 --- a/digital_image_processing/practice/README.rst +++ /dev/null @@ -1,21 +0,0 @@ -********************************** -Digital Image Processing Practices -********************************** - -1. Simple image read and write operations - -.. code-block:: python - - image = imread("basic.png"); - imshow(image) - imwrite(image, "copy.jpeg") - - img2 = imread("copy.jpeg"); - imshow(img2) - -Output ------- - -.. figure:: basic.png - :alt: A planet with twilight rings - :align: center