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
why after i crop part of a tiff image the cropped image is of different pixel resolution

Write a program that reads in numbers (of type double) from a file, stores them in an array, and then calculates the mean, variance, and standard deviation.   Your program shoul

Calculating and Visualizing Sequence Statistics Follow the instructions in this demo file to download a sequence and calculate and visualize its statistics. Save all the command

Calling an User-Defined Function from Script: Now, we will change our script which prompts the user for the radius and computes the area of a circle, to call our function cal

Error-Checking user input in the While Loop: In many applications, whenever the user is prompted to enter anything, there is a valid range of values. When the user enters a wr

Example: Load from File and Plot Data: As illustration, a file known as timetemp.dat stores two lines of data. The first line is the time of the day, and the next line is the

Introduction to Matlab: The MATLAB is a graphical and mathematical software package; it has graphical, numerical and programming capabilities. It has built-in functions to do

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

i am doing my project on matlab and the topic of my project is invisible watermarking.How we can extract all pixel values of image in binary form.

Solve the optimality condition for each P equation against M according to the following relation: Condition for Optimality:         ∇ M = λ ∇ P      with respect to C and T.