Topshiriq 4 Mavzu: Xara Bajardi: Anorboyev Ramazon Tekshirdi




Download 1,19 Mb.
Sana22.12.2023
Hajmi1,19 Mb.
#126384

O’ZBEKISTON RESPUBLIKASI AXBOROT TEXNOLOGIYALARI VA KOMMUNIKATSIYALARINI RIVOJLANTIRISH VAZIRLIGI
MUHAMMAD AL-XORAZMIY NOMIDAGI
TOSHKENT AXBOROT TEXNOLOGIYALARI UNIVERSITETI

TOPSHIRIQ - 4


Mavzu:Xara
Bajardi: Anorboyev Ramazon
Tekshirdi: Nurmurodov Javohir


Toshkent 2023


I = imread('C:\Users\Pictures\1111.jpg');


B = imresize(I,[128 128]);
rasm=rgb2gray(B);
[r, c]= size(rasm);
img1 = double(rasm);
[cA,cH,cV,cD]= dwt2(img1,'haar');
imgr= idwt2(cA,cH,cV,cD, 'haar');
imgr8 = uint8(imgr);
imwrite(imgr8,'Siqilganhadamard.jpg');
imwrite(rasm,'Siqilmaganhadamard.jpg');
subplot(2,3,1)
imshow(rasm); title('Kiruvchu tasvir')
subplot(2,3,2)
imshow(uint8(cA)); title("Aproksimatsiya koeffitsienti")
subplot(2,3,3)
imshow(uint8(cH)); title('Gorizantal spektr koeffitsientlari')
subplot(2,3,4)
imshow(uint8(cV)); title("Vertikal spektr koeffitsientlari")
subplot(2,3,5)
imshow(uint8(cD)); title('Dioganal spektr koeffitsientlari')
subplot(2,3,6)
imshow(uint8(imgr)); title('Qayta tiklangan tasvir')



I = imread('C:\User\Pictures\11111.jpg');
B=imresize(I,[256 256]);
rasm=rgb2gray(B);
[r, c]= size(rasm);
imgg = double(rasm);
yc=fwht(imgg);
yr=fwht(yc');
y= yr';
yo=y;
y(128:r,128:c)=0;
Teskari1 = ifwht(y);
Teskari2 = ifwht(Teskari1');
imgr = Teskari2';
imgr8 = uint8(imgr);
imwrite(imgr8,'Siqilganhadamard.jpg');
imwrite(rasm,'Siqilmaganhadamard.jpg');
subplot(221)
imshow(rasm); title('Kiruvchu tasvir')
subplot(222)
imshow(imadjust(yo)); title("Adamar ozgartirish koeffitsientlari")
subplot(223)
imshow(imadjust(y)); title("Transponerlangan adamar o'zgartirish kf")
subplot(224)
imshow(imgr8); title('Siqilgan tasvir')I = imread('C:\Users\Samanchik\Pictures\Bahodirov.jpg');
B=imresize(I,[256 256]);
rasm=rgb2gray(B);
[r, c]= size(rasm);
imgg = double(rasm);
yc=fwht(imgg);
yr=fwht(yc');
y= yr';
yo=y;
y(128:r,128:c)=0;
Teskari1 = ifwht(y);
Teskari2 = ifwht(Teskari1');
imgr = Teskari2';
imgr8 = uint8(imgr);
imwrite(imgr8,'Siqilganhadamard.jpg');
imwrite(rasm,'Siqilmaganhadamard.jpg');
subplot(221)
imshow(rasm); title('Kiruvchu tasvir')
subplot(222)
imshow(imadjust(yo)); title("Adamar ozgartirish koeffitsientlari")
subplot(223)
imshow(imadjust(y)); title("Transponerlangan adamar o'zgartirish kf")
subplot(224)
imshow(imgr8); title('Siqilgan tasvir')
Download 1,19 Mb.




Download 1,19 Mb.

Bosh sahifa
Aloqalar

    Bosh sahifa



Topshiriq 4 Mavzu: Xara Bajardi: Anorboyev Ramazon Tekshirdi

Download 1,19 Mb.