mirror of
https://github.com/avinal/sixth-semester.git
synced 2026-01-11 15:48:34 +05:30
20 lines
313 B
Markdown
20 lines
313 B
Markdown
|
|
# 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>
|