You are on page 1of 4

dezmed.

com
.
. PDF
) )
:
.

.
:
. imread 1-
;)' '(A=imread

)(c:/flower.jpeg
.. A

: ) (gray ) (rgb -
:
;)F=rgb2gray(A

: ) ( . 3-
:
;)subplot(2,2,1
;)imshow(A
;)subplot(2,2,2
;)imshow(F
..
.
.

.

. ) (
X . ) (255 -0
) ) Y

) (
.
! . .
8
.
: 1 2 )1
:
;)' '(A=imread
;)F=rgb2gray(A

: )2
:
;)F=im2uint(F
;)subplot(2,2,1
;)imshow(F
: )3
:
;)subplot(2,2,2
;)imhist(F

)4

:
;)eq=histeq(F
;)subplot(2,2,3
;)imshow(eq

:
;)subplot(2,2,4
;)imhist(eq

.
..
) (
! ..
:
:

.

.

. ) (imsubtract
:
:
;)' a=imread(' 1
;)' b=imread(' 2
;)c=imsubtra(a,b
;)subplot(2,2,1
;)imshow(a
;)subplot(2,2,2
;)imshow(b
;)subplot(2,2,3
;)imshow(c
!
:

: subtract
: imadd
: immultiply
: imdivide


:
:
;) b=imadd(a,

You might also like