mirror of
https://github.com/avinal/sixth-semester.git
synced 2026-01-09 22:58:35 +05:30
codes added
This commit is contained in:
14
digital_image_processing/practice/README.rst
Normal file
14
digital_image_processing/practice/README.rst
Normal file
@@ -0,0 +1,14 @@
|
||||
**********************************
|
||||
Digital Image Processing Practices
|
||||
**********************************
|
||||
|
||||
1. Simple image read and write operations
|
||||
|
||||
.. literalinclude:: basic.m
|
||||
:language: matlab
|
||||
|
||||
**Output**
|
||||
|
||||
.. image:: basic.png
|
||||
:alt: A planet with twilight rings
|
||||
:align: center
|
||||
6
digital_image_processing/practice/basic.m
Normal file
6
digital_image_processing/practice/basic.m
Normal file
@@ -0,0 +1,6 @@
|
||||
image = imread("basic.png");
|
||||
imshow(image)
|
||||
imwrite(image, "copy.jpeg")
|
||||
|
||||
img2 = imread("copy.jpeg");
|
||||
imshow(img2)
|
||||
Reference in New Issue
Block a user