|
Ixtiyoriy tasvir variant deb tanlanib, olingan tasvir ustida quyidagi amallar bajariladi
|
tarix | 27.12.2023 | ölçüsü | 23,55 Kb. | | #200688 |
|
MUHAMMAD AL-XORAZMIY NOMIDAGI TOSHKENT AXBOROT TEXNOLOGIYALARI UNIVERSITETI
Radio va mobil aloqa fakulteti
5-Labaratoriya ishi
Signallar va tizimlar
Bajardi: Jamoliddinov Ravshan
Tekshirdi: Jurayev Dilshod
5-amaliy ish topshiriqlari: Matlab amaliy paketida tasvirlarga raqamli ishlov berishni o‘rganish
Ixtiyoriy tasvir variant deb tanlanib, olingan tasvir ustida quyidagi amallar bajariladi:
imread, rgb2gray
imcrop
imhist
imrotate
impyramid
imadjust
histeq
imnoise
imfilter
metfilt2
Variant
// O’qish, o’lcham kiritsh
I = imread('C:\Users\msii\Desktop\person.jpg');
rasm =rgb2gray(I);
% g= imresize(rasm,[2048 2048])
% imshow(rasm)
// Kesish
a= imcrop (rasm)
a1= imcrop(rasm,[10 20 420 490])
imshow(a1)
// Rasmni malum darajaga aylantirish
b = imrotate(rasm,-90);
imshow(b)
// Masshtablash
c = impyramid(rasm,'expand');
c1 = impyramid(c,'expand');
imshow(c1)
// Intensivligini oshirish
% e=histeq(rasm);
% imshowpair(rasm,e,'montage')
% e=histeq(rasm,[100 155]);
% imshowpair(rasm,e,'montage')
// Shovqin tozalsh
h1=fspecial('motion',40, 20);
f = imfilter(rasm, h1);
imshowpair(rasm,f,'montage')
%
%
g=imnoise(rasm, 'salt & paper',0.3);
K=medfilt2(g);
imshowpair(K,f,'montage')
Dostları ilə paylaş: |
|
|