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
Illustration of script: For illustration, we will now generate a script known as script1.m which calculates area of the circle. It assigns a value for the radius, and then com


Operator Precedence Rules: A few operators have precedence over the others. For illustration, in the expression 4 + 5 * 3, the multiplication takes the precedence over additio

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

why after i crop part of a tiff image the cropped image is of different pixel resolution

i made graph using adjacent matrix i have to find the critical path on that graph in matlab work can you please give me that code.


The pressure radiated by a column of in-phase monopole sources may be expressed as: Create a model (spreadsheet / MATLAB etc) for a 6 element column, where d=0.2m . Figure

Illustration of Output statements: For illustration, >> disp('Hello') Hello >> disp(4^3)   64 The formatted output can be printed to the screen by using the fpr

Micro-mouse is an engineering design competition created by IEEE in the late 1970s. Small robotic "mice" solve a 16x16 cell maze. The mice are completely autonomous and must find t