IMAGE_EDGE is a FORTRAN90 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.
The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.
IMAGE_EDGE is available in a C version and a C++ version and a FORTRAN77 version and a FORTRAN90 version and a MATLAB version.
EDGE, a FORTRAN90 library which defines some test functions in 1D, 2D and 3D for the detection of edges or discontinuities. It uses GNUPLOT to display the jumps in curves and surfaces.
IMAGE_COMPONENTS, a FORTRAN90 library which seeks the connected "nonzero" or "nonblack" components of an image or integer vector, array or 3D block.
IMAGE_DENOISE, a FORTRAN90 library which applies simple filtering techniques to remove noise from an image.
PBMA_IO, a FORTRAN90 library which handles the ASCII Portable Bit Map (PBM) format.
PGMA_IO, a FORTRAN90 library which handles the ASCII Portable Gray Map (PGM) format.
COINS is a picture of coins.
PEPPER is a picture of peppers.
You can go up one level to the FORTRAN90 source codes.