Function to threshold images - peakiness detection algorithm, MATLAB Programming

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.

Posted Date: 3/14/2013 2:31:43 AM | Location : United States







Related Discussions:- Function to threshold images - peakiness detection algorithm, Assignment Help, Ask Question on Function to threshold images - peakiness detection algorithm, Get Answer, Expert's Help, Function to threshold images - peakiness detection algorithm Discussions

Write discussion on Function to threshold images - peakiness detection algorithm
Your posts are moderated
Related Questions
Write a function rid_multiple_blanks that will receive a string as an input argument. The string contains a sentence that may have multiple blank spaces in between some of the word

how can i model this eqn: solve n plot x vs v x^3-2x^2+x=v^2(.532*10^-3) by putting v=0 to 20 and find the change in x

a) Develop and submit a power-based MC "SNR" simulator (derived from the voltage-based SNR program provided in MS Powerpoint file) that: i) Uses the following Input: Time period

how to find absolute value of a number

Write a function called threshold2 (in a file called 'threshold2.m'). The function takes an arbitrary number of input variables. The first input variable, t, is required and is the

Design a controller which regulates flow and compensate pressure to my desire value in simscape.

Functions with Local Variables: The functions we have seen faraway have been very easy. Though, in many situations the computations in a function are more complex, and may nee

The MATLAB system having of five main parts: * Handle Graphics. * The MATLAB working environment. * The MATLAB language. * The MATLAB mathematical function library.

I would like to ask if its possible to get help programing in matlab. If yes - how can I get help ?

Write a MATLAB program that calculates the arithmetic mean, and the root-mean-square average for a given set of values. The output should be formatted as follows: Y