mirror of
https://github.com/avinal/sixth-semester.git
synced 2026-01-09 22:58:35 +05:30
markdown works 🥱
This commit is contained in:
19
digital_image_processing/practice/README.md
Normal file
19
digital_image_processing/practice/README.md
Normal file
@@ -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
|
||||
|
||||
<img src="basic.png" alt="A planet with twilight rings" align=center>
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user