DevIL Documentation Home | Previous | Next

iluEdgeDetectP

The iluEdgeDetectP function detects the edges of the current image.

ILboolean iluEdgeDetectP(
  ILvoid
);


Parameters

None

Remarks

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

-1, -1, -1,

 0,  0,  0,

 1,  1,  1,

     1
1, 0, -1,

1, 0, -1,

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, iluEdgeDetectS