Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

quickly solution pls Write a matlab code that performs the following operations in order. 1. Read the image in the file named test.tif from the

quickly solution pls

Write a matlab code that performs the following operations in order. 1. Read the image in the file named test.tif from the disk and assign it to the array A. 2. Apply the 3x3 Laplacian filter to image A, assign the result to array B. 3. Calculate the gradient magnitude of image A using Sobel operators and assign it to array C. 4. Apply 3x3 averaging filter to image C, assign the result to array D. 5. Add image A to it, after multiplying images B and D, assign the result to array E. 6. Apply the intensity transformation given by the function s = 12 r0.5 to array E and assign the result to array F. 7. With a suitable mask to detect 1-pixel thick lines in the horizontal direction in the F image filter, assign result to array G 8. Threshold the G image by selecting a T threshold value of 0.95 times its maximum value and display the result on the screen. What could be the purpose of the preprocessing applied in steps 2-6 above? What problems with the image and what effect does this have on the result of segmenting the lines?image text in transcribed
5.(20 p.) Aadaki ilemleri srasyla uygulayan bir matlab kodu yazn. 1. test.tif isimli dosya iindeki grnty diskten okuyup A dizisine atayn. 2. A grntsne 3 x 3 Laplacian filtresini uygulayn, sonucu B dizisine atayin. 3. Sobel operatrlerini kullanarak A grntsnn gradyan bykln hesaplayn ve C dizisine atayin. 4. C grntsne 3 x 3 ortalama alma filtresini uygulayn, sonucu D dizisine atayn. 5. B ve D grntlerini arptktan sonra buna A grntsn ekleyin, sonucu E dizisine atayin. 6. E dizisine s = 12 70.5 fonksiyonu ile verilen intensite dnmn uygulayn ve sonucu F dizisine atayin. 7. F grntsnde bulunan yatay yndeki 1-piksel kalnlnda izgileri tespit etmek iin uygun bir maske ile filtreleyin, sonucu G dizisine atayn 8. G grntsn, maksimum deerinin 0.95 katn T eik deeri seerek eikleyin ve sonucu ekranda gsterin. Yukarda verilen 2-6 admlar ile uygulanan n ilemenin amac ne olabilir? Grntdeki hangi problemleri zmtr ve bunun izgileri bltleme sonucu zerindeki etkisi nedir

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

DATABASE Administrator Make A Difference

Authors: Mohciine Elmourabit

1st Edition

B0CGM7XG75, 978-1722657802

More Books

Students also viewed these Databases questions