|
Ixtiyoriy tasvir variant deb tanlanib, olingan tasvir ustida quyidagi amallar bajariladi
|
Sana | 15.12.2023 | Hajmi | 6,4 Mb. | | #119393 |
MUHAMMAD AL-XORAZMIY NOMIDAGI TOSHKENT AXBOROT TEXNOLOGIYALARI UNIVERSITETI
Radio va mobil aloqa fakulteti
5-Labaratoriya ishi
Signallar va tizimlar
Bajardi: Ergashev Sherzod
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\cat.jpg');
rasm =rgb2gray(I);
% g= imresize(rasm,[2048 2048])
% imshow(g)
// Gistogrammasini ko’rsatish
% imhist(rasm)
// Rasmni malum darajaga aylantirish
% b=imrotate(rasm,45);
% imshow(b)
// Intensivligini oshirish
% e=histeq(rasm);
% imshowpair(rasm,e,'montage')
% e=histeq(rasm,[100 155]);
% imshowpair(rasm,e,'montage')
// Shovqin qo’shish
g=imnoise(rasm,'salt & pepper', 0.5);
imshowpair(rasm, g, 'montage')
// Filterlash
% h1=fspecial('motion',40, 20);
% f = imfilter(rasm, h1);
% f1=gpuArray(imread('papers.png'));
% imshowpair(rasm,f,'montage')
|
| |