Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

QUESTION 1: You are asked to write a program file that will be named as 'Q1.m'. This main '.m' file will contain all your work

image text in transcribedimage text in transcribed

QUESTION 1: You are asked to write a program file that will be named as 'Q1.m'. This main '.m' file will contain all your work and a template (Q1_Empty.m) will be given to you beforehand to guide you for the asked tasks. In Q1, a function (named as "createSmoothedImage"), which returns you a smoothed randomly generated matrix (this matrix can be interpreted as an image when proper visualization built-in Matlab functions are used), will be given to you. A seed value is passed to "createSmoothedImage" to be able to guarantee the creation of the same image in every call of this function. You will be asked to write a Matlab code which applies intensity-based thresholding to this image. The elements of the matrix have already been normalized by using the mean and standard deviation of the convolved matrix elements. Please write the code file which realizes the asked tasks and creates the correct plots. An exemplary case outputs, in which the seed value is chosen as 4 , are given to you to be able compare validate your code. - You should run your code for the seed values 4,5 and 6 . You should put your obtained results and other required information to your report (a report template has already been given to you). Your report should include your results (images, graphs, text, etc.), as well as your comments about your code and your results. Separately you should add your code files to your final ZIP file. - You should write the code segment which show the Histogram of your image. - You should write the code segment which detects the peaks exceeding 2 and obtain the location information of these segmented blobs. - You should write the required code snippets for visualizing the segmented peaks (blobs) and their boundaries (on the original image as a contour-line). - The required figures for the seed value =4 case are given below for validation of your findings. - You should write the required code snippets to summarize the findings of your segmentation approach by printing the number of segmented peaks (also can be named as clusters), the area of the smallest and largest clusters. An exemplary command window output is also given below: There are 5 clusters in the image - Written by Gorkem The area of the largest cluster is 2348 pixels - Written by Gorkem The area of the smallest cluster is 3 pixels - Written by Gorkem

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_2

Step: 3

blur-text-image_3

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

Machine Learning And Knowledge Discovery In Databases European Conference Ecml Pkdd 2015 Porto Portugal September 7 11 2015 Proceedings Part 2 Lnai 9285

Authors: Annalisa Appice ,Pedro Pereira Rodrigues ,Vitor Santos Costa ,Joao Gama ,Alipio Jorge ,Carlos Soares

1st Edition

3319235249, 978-3319235240

More Books

Students also viewed these Databases questions