Line Segment Experiment. Instructor: Professor Henderson, Thomas. Student: Chun-Kai Wang. Outline. The line-segment program Prototype The architecture Meaning of each option Examples How to read a pixel region picture in examples Examples of binary image Examples of gray-tone image
Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.
Instructor: Professor Henderson, Thomas.
Student: Chun-Kai Wang
% input: img - The input image. It is a binary image or a gray-tone image. Here we assume the foreground color is black and background color is white.
mag_thres - The threshold value that determines the foregrounds and the backgrounds.
zero_thres - The threshold value that determines how many variances from the zero degree can be tolerated.
len - The len value for mark-seeds algorithm.
varargin - Options. Those are strings.
% output: segments - List of begin and end points of line segments.
segs = lineSegs(im00, 0.49, 0.01, 9, ‘thin’, ‘sobel’);