Lecture 4
Lecture 4
Detect the three basic types of gray-level discontinuities: points, lines, edges.
1.1 . Point Detection
The simple algorithm and mask based on the fact that the pixel itself is
distinguishable from surrounding pixels and that the surrounding pixels are
homogeneous متجانس, or nearly homogeneous, in intensity.
A pixel of this type is usually described as isolated. a point has been detected at
the location on which the mask is centered if
|𝑅| ≥ 𝑇 Where: T is a nonnegative threshold, R is the sum of products of the
coefficients.
Point detection mask
2. Edge Detection
An edge is a set of connected pixels that lie on the boundary between two
regions.
Edges are significant local changes of intensity in an image.
Edge detection is by far the most common approach for detecting meaningful
discontinuities in intensity values.
Goals of Edge Detection
◼ Important features can be extracted from the edges of an image (e.g.,
corners, lines, curves).
◼ These features are used by higher-level computer vision algorithms (e.g.,
segmentation and recognition).
Edge Detection Methods : There are three edge detection methods:
1. Roberts Operator. 2. Sobel Operator . 3. Prewitt Operator
1. Roberts Operator: The Roberts edge detector uses the masks in below to
approximate digitally Gx, and Gy.
2. Sobel Operator : Looks for edges in both horizontal and vertical directions, then
combine the information into a single metric. The masks are as follows :
Example: find the edge detection for the following image by using Sobel operator
3. Prewitt Operator
Similar to the Sobel, with different mask coefficients
Region Growing
Region growing is a simple region-based image segmentation method. It is also
classified as a pixel-based image segmentation method since it involves the selection
of initial seed points.
This approach to segmentation examines neighboring pixels of initial seed points and
determines whether the pixel neighbors should be added to the region. The process is
iterated on, in the same manner as general data clustering algorithms.
The basic approach is to start with a set of “seed ” بذرةpoints and from these grow
regions by appending إلحاقto each seed those neighboring pixels that have properties
similar to the seed (such as specific ranges of gray level or color).
The selection of similarity criteria depends not only on the problem under
consideration, but also on the type of image data available. اختيار معايير التشابه ال يتوقف
ولكن يتوقف على نوع بيانات الصورة المتاحة، على مشكلة قيد النظر فقط.