Function to threshold images - peakiness detection algorithm, MATLAB Programming

Assignment Help:

1. Write a function to threshold your images separating the background from the foreground:

Implement the "peakiness" detection algorithm described in class. The output of your function should be a binary image with 0 for all background pixels, and 1 for all foreground pixels.

Apply this function to can.jpg and turn in the output image. 

1209_function to threshold your images.png

Note: Take a look at the list function in Matlab to compute the histogram. In case you have an RGB color image, the rgb2gray function can be used to convert it to gray scale.


Related Discussions:- Function to threshold images - peakiness detection algorithm

Panorama Stitching (MATLAB), I have an assignment to do by MATLAB : the ass...

I have an assignment to do by MATLAB : the assignment is to design Script that makes (Panorama Stitching) for multiple pictures .. for more information see the link : tobw.net/inde

Decision feedback equiliser, i want matlab code for DFB Equiliser and the o...

i want matlab code for DFB Equiliser and the output between tha number of iterations vs MSE

Compute the moments, Show (turn in) similar output images as in part 2 for ...

Show (turn in) similar output images as in part 2 for each of your new images (there is only 1 connected component in this case). Write three functions which compute the moments, c

Determine two sided confidence intervals of the mean speed, The average spe...

The average speed of vehicles on a freeway is being studied. Assume that the standard deviation of vehicle speed is known to be 8 km/h. (a) Suppose observations on 120 vehicles

Reading from a file, Reading from a File: A file has been once created...

Reading from a File: A file has been once created; it can be read into a matrix variable. When the file is a data file, the load function will read from the file filename.ext

Electricity market clearing price, how to obtain matlab coding for the mark...

how to obtain matlab coding for the market clearing price

Scripts to produce and customize the simple plots, Scripts to Produce and C...

Scripts to Produce and Customize the Simple Plots: The MATLAB has many graphing capabilities. In most cases, customizing plots are desired and this is the simplest to accompli

Matlab scripts, Matlab Scripts: Once a problem has been examined, and ...

Matlab Scripts: Once a problem has been examined, and the algorithm for its answer has been refined and written, the algorithm then is translated into the specific programming

Produce a random real number, Produce a random real number: To produce...

Produce a random real number: To produce a random real number in the range from low to high, at first create the variables low and high. And then, use the expression rand*(hig

Draw a calculated y vector on the graph, Create a GUI that has A button to ...

Create a GUI that has A button to bring up a dialog to select a text file and read it in. Plot the x,y values on the GUI Have text entry values, one for each parameter, in which

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd