mirror of
https://github.com/avinal/sixth-semester.git
synced 2026-01-10 07:08:34 +05:30
21 lines
398 B
ReStructuredText
21 lines
398 B
ReStructuredText
**********************************
|
|
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**
|
|
|
|
.. image:: basic.png
|
|
:alt: A planet with twilight rings
|
|
:align: center
|