DevIL Documentation Home | Previous | Next

iluEdgeDetectS

The iluEdgeDetectS function detects the edges of the current image.


ILboolean iluEdgeDetectS(
  ILvoid
);

Parameters

None

Remarks

iluEdgeDetectS detects the edges in the current image by combining two convolution filters. The filters used are Sobel filters. The two filters are:

 1,  2,  1,

 0,  0,  0,

-1, -2, -1,

     1

1, 0, -1,

2, 0, -2,

1, 0, -1,

   1

Error Codes

ILU_ILLEGAL_OPERATION - There is currently no image bound. Use ilGenImages and ilBindImage before calling this function.

See Also

ilGenImages, ilBindImage, iluEdgeDetectP