From f0634fc1977ec912cfe73b5e80a6568c54a9a115 Mon Sep 17 00:00:00 2001 From: Avinal Kumar <185067@nith.ac.in> Date: Wed, 20 Jan 2021 23:43:26 +0530 Subject: [PATCH] =?UTF-8?q?markdown=20works=20=F0=9F=A5=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- digital_image_processing/practice/README.md | 19 ++++++++++++++++++ digital_image_processing/practice/README.rst | 21 -------------------- 2 files changed, 19 insertions(+), 21 deletions(-) create mode 100644 digital_image_processing/practice/README.md delete mode 100644 digital_image_processing/practice/README.rst 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