Question
1) Read the image in the file named test.tif from the disk and assign it to the array A. 2) 5 x to image A
1) Read the image in the file named test.tif from the disk and assign it to the array A.
2) 5 x to image A Apply 5 median filters, assign result to array B
3) Take the Fourier transform by padding the B image with zero and assign it to the F array.
4) Using a Gaussian high-pass filter (YGF) with a cutoff frequency of 50, selecting k1=0.3 and k2=1.5, a high frequency get the transfer function of the highlight filter, assign it to array H. (Get YGF with 1-lpfilter(P,Q,'gauss',50) please)
5) Filter the B image with the H filter in the frequency domain, obtain the filtered image and assign it to the G1 array.
6) Threshold the G1 image by selecting T=90, assigning the result to the G2 array.
7) Multiply image A by G2 and display the result on the screen.
2. 15 p.) Aadaki ilemleri srasyla uygulayan bir matlab kodu yazn. 1. test.tif isimli dosya iindeki grnty diskten okuyup A dizisine atayn. A grntsne 5 x 5 medyan filter uygulayn, sonucu B dizisine atayn. 3. B grntsn sifirla dolgulayarak Fourier dnmn aln ve F dizisine atayn. 4. Cutoff frekans 50 olan Gauss yksek geiren filtreyi (YGF) kullanarak, k=0.3 ve kz=1.5 seerek bir yksek frekans vurgulama filtresinin transfer fonksiyonunu elde edin, bunu H dizisine atayn. (YGF'yi 1-Ipfilter(P,Q,'gauss',50) ile elde edin) 5. B grntsn frekans ortamnda H filtresi ile filtreleyip, filtrelenmi grntsy elde edin ve Gl dizisine atayn. 6. Gl grntsn T=90 seerek eikleyin, sonucu G2 dizisine atayn. 7. A grnts ile G2'yi arpn ve sonucu ekranda gsterinStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started