edge, a C++ code which defines some test functions in 1D, 2D and 3D for the detection of edges, and uses gnuplot() to display images of the functions.

In particular, we look at some simple functional examples in 1D, 2D, and 3D, that is, situations in which a formula is supplied so that the value of a scalar quantity f() can be determined at any point in the region. We are interested in examples in which the quantity f() exhibits jumps. that is, sudden, sharp changes in value.


The computer code and data files made available on this web page are distributed under the MIT license


edge is available in a C version and a C++ version and a FORTRAN90 version and a MATLAB version.

Related Data and Programs:


gnuplot_test, C++ codes which illustrate how a program can write data and command files so that gnuplot can create plots of the program results.

IMAGE_EDGE, a C++ code which demonstrates a simple procedure for edge detection in images.


Source Code:

Last revised on 25 February 2020.