Performs a sobel edge detection. The gradient vectors are represented by complex values.
#include <ost/io/load_map.hh>
#include <iplt/alg/sobel.hh>
int main()
{
ImageHandle img = ost::io::LoadImage("lena.tif");
img.ApplyIP( iplt::alg::Sobel() );
return 0;
}
from ost.io import *
from iplt import *
img = LoadImage("lena.tif")
img.ApplyIP( alg.Sobel() )