# E:/DevIL/src-ILU/src/ilu_filter.c File Reference

`#include "ilu_internal.h"`
`#include "ilu_filter.h"`
`#include <math.h>`
`#include <limits.h>`

## Functions

ILboolean ILAPIENTRY | iluPixelize (ILuint PixSize)
| Pixelizes an image.
ILubyte * | Filter (ILimage *Image, const ILint *matrix, ILint scale, ILint bias)
ILboolean ILAPIENTRY | iluEdgeDetectP ()
ILboolean ILAPIENTRY | iluEdgeDetectS ()
ILboolean ILAPIENTRY | iluBlurAvg (ILuint Iter)
ILboolean ILAPIENTRY | iluBlurGaussian (ILuint Iter)
ILboolean ILAPIENTRY | iluEmboss ()
ILboolean ILAPIENTRY | iluEdgeDetectE ()
ILboolean ILAPIENTRY | iluScaleAlpha (ILfloat scale)
ILboolean ILAPIENTRY | iluScaleColours (ILfloat r, ILfloat g, ILfloat b)
| Scales image colours.
ILboolean ILAPIENTRY | iluGammaCorrect (ILfloat Gamma)
void | iApplyMatrix (ILimage *Image, ILfloat Mat[4][4])
void | iIdentity (ILfloat *Matrix)
ILboolean ILAPIENTRY | iluSaturate1f (ILfloat Saturation)
ILboolean ILAPIENTRY | iluSaturate4f (ILfloat r, ILfloat g, ILfloat b, ILfloat Saturation)
ILboolean ILAPIENTRY | iluAlienify (void)
| Funny as hell filter that I stumbled upon accidentally.
void | iIntExtImg (ILimage *Image1, ILimage *Image2, ILfloat a)
ILboolean ILAPIENTRY | iluContrast (ILfloat Contrast)
ILboolean ILAPIENTRY | iluSharpen (ILfloat Factor, ILuint Iter)
ILAPI ILboolean ILAPIENTRY | iluConvolution (ILint *matrix, ILint scale, ILint bias)

## Function Documentation

ILubyte* Filter | ( | ILimage * | Image,
|  | const ILint * | matrix,
|  | ILint | scale,
|  | ILint | bias |
| ) |  |  |

Referenced by iluBlurAvg(), iluBlurGaussian(), iluConvolution(), iluEdgeDetectE(), iluEdgeDetectP(), iluEdgeDetectS(), and iluEmboss().

void iApplyMatrix | ( | ILimage * | Image,
|  | ILfloat | Mat[4][4] |
| ) |  |  |

Referenced by iluSaturate4f().

void iIdentity | ( | ILfloat * | Matrix | ) |

Matrix++ = 0.0; // row 4 Matrix++ = 0.0; Matrix++ = 0.0; Matrix++ = 1.0;

Referenced by iluAlienify().

void iIntExtImg | ( | ILimage * | Image1,
|  | ILimage * | Image2,
|  | ILfloat | a |
| ) |  |  |

Referenced by iluContrast(), and iluSharpen().

ILboolean ILAPIENTRY iluAlienify | ( | void |  | ) |

Funny as hell filter that I stumbled upon accidentally.

Referenced by ilFilters::Alienify().

ILboolean ILAPIENTRY iluBlurAvg | ( | ILuint | Iter | ) |

Referenced by ilFilters::BlurAvg().

ILboolean ILAPIENTRY iluBlurGaussian | ( | ILuint | Iter | ) |

Referenced by ilFilters::BlurGaussian(), and iluSharpen().

ILboolean ILAPIENTRY iluContrast | ( | ILfloat | Contrast | ) |

Referenced by ilFilters::Contrast().

ILAPI ILboolean ILAPIENTRY iluConvolution | ( | ILint * | matrix,
|  | ILint | scale,
|  | ILint | bias |
| ) |  |  |

ILboolean ILAPIENTRY iluEdgeDetectE | ( | void |  | ) |

ILboolean ILAPIENTRY iluEdgeDetectP | ( | void |  | ) |

Referenced by ilFilters::EdgeDetectE(), and ilFilters::EdgeDetectP().

ILboolean ILAPIENTRY iluEdgeDetectS | ( | void |  | ) |

Referenced by ilFilters::EdgeDetectS().

ILboolean ILAPIENTRY iluEmboss | ( | void |  | ) |

Referenced by ilFilters::Emboss().

ILboolean ILAPIENTRY iluGammaCorrect | ( | ILfloat | Gamma | ) |

Referenced by ilFilters::Gamma().

ILboolean ILAPIENTRY iluPixelize | ( | ILuint | PixSize | ) |

Pixelizes an image.

Referenced by ilFilters::Pixelize().

ILboolean ILAPIENTRY iluSaturate1f | ( | ILfloat | Saturation | ) |

Referenced by ilFilters::Saturate().

ILboolean ILAPIENTRY iluSaturate4f | ( | ILfloat | r,
|  | ILfloat | g,
|  | ILfloat | b,
|  | ILfloat | Saturation |
| ) |  |  |

Referenced by iluSaturate1f(), and ilFilters::Saturate().

ILboolean ILAPIENTRY iluScaleAlpha | ( | ILfloat | scale | ) |

ILboolean ILAPIENTRY iluScaleColours | ( | ILfloat | r,
|  | ILfloat | g,
|  | ILfloat | b |
| ) |  |  |

Scales image colours.

Referenced by ilFilters::ScaleColours().

ILboolean ILAPIENTRY iluSharpen | ( | ILfloat | Factor,
|  | ILuint | Iter |
| ) |  |  |

Referenced by ilFilters::Sharpen().