IMAGE_EDGE
Edge Detection in Images
IMAGE_EDGE
is a FORTRAN77 library which
demonstrates the detection of edges in an image.
NEWS is a particularly simple edge detection scheme, which compares
the North, East, West, and South neighbors of a pixel to determine
if the pixel lies along an edge.
There are many sophisticated edge detection algorithms, and MATLAB
has many of them built into its image processing toolbox. The purpose
of these examples is simply to demonstrate how a simple version of
such edge detection schemes works.
Licensing:
The computer code and data files described and made available on this web page
are distributed under
the GNU LGPL license.
Languages:
IMAGE_EDGE is available in
a C version and
a C++ version and
a FORTRAN77 version and
a FORTRAN90 version and
a MATLAB version.
Related Data and Programs:
IMAGE_COMPONENTS,
a FORTRAN77 library which
seeks the connected "nonzero" or "nonblack" components or "segments"
of an image or integer vector, array or 3D block.
IMAGE_DENOISE,
a FORTRAN77 library which
applies simple filtering techniques to remove noise from an image.
PBMA_IO,
a FORTRAN77 library which
handles the ASCII Portable Bit Map (PBM) format.
PGMA_IO,
a FORTRAN77 library which
handles the ASCII Portable Gray Map (PGM) format.
Reference:
-
Jonas Gomes, Luiz Velho,
Image Processing for Computer Graphics,
Springer, 1997,
ISBN: 0387948546,
LC: T385.G65.
-
William Pratt,
Digital Image Processing,
Second Edition,
Wiley, 1991,
ISBN13: 978-0471857662,
LC: TA1632.P7.
-
Barry Wilkinson, Michael Allen,
Parallel Programming: Techniques and Applications using Networked
Workstations and Parallel Computers,
Pearson/Prentice Hall, 2005,
ISBN: 0-13-140563-2,
LC: QA76.642.W54.
Source Code:
Examples and Tests:
List of Routines:
-
CH_CAP capitalizes a single character.
-
GET_UNIT returns a free FORTRAN unit number.
-
GETINT reads an integer from a file.
-
I4MAT_HISTOGRAM computes a histogram of the elements of an I4MAT.
-
NEWS demonstrates the NEWS stencil for edge detection.
-
PBMA_WRITE writes an ASCII portable bit map file.
-
PBMA_WRITE_DATA writes the data of a PBMA file.
-
PBMA_WRITE_HEADER writes the header of a PBMA file.
-
PGMA_READ_DATA reads the data in an ASCII PGM file.
-
PGMA_READ_HEADER reads the header of an ASCII PGM file.
-
S_EQI is a case insensitive comparison of two strings for equality.
-
S_TO_I4 reads an I4 from a string.
-
TIMESTAMP prints the current YMDHMS date as a time stamp.
-
WORD_NEXT_RD "reads" words from a string, one at a time.
You can go up one level to
the FORTRAN77 source codes.
Last modified on 26 December 2010.