mlib_ImageMaxFilter5x5 man page on OpenIndiana
[printable version]
mlib_ImageMaxFilter5x5(3MLmediaLib Library Functimlib_ImageMaxFilter5x5(3MLIB)
NAME
mlib_ImageMaxFilter5x5 - 5x5 Max Filter
SYNOPSIS
cc [ flag... ] file... -lmlib [ library... ]
#include <mlib.h>
mlib_status mlib_ImageMaxFilter5x5(mlib_image *dst, const mlib_image *src);
DESCRIPTION
The mlib_ImageMaxFilter5x5() function replaces the center pixel in a
neighborhood with the maximum value in that neighborhood for each 5x5
neighborhood in the image.
The source and destination images must be single-channel images.
It uses the following equation:
dst[x][y][0] = MAX{ src[p][q][0],
x-2 ≤ p ≤ x+2; y-2 ≤ q ≤ y+2 }
where x = 2, ..., w - 3; y = 2, ..., h - 3.
PARAMETERS
The function takes the following arguments:
dst Pointer to destination image.
src Pointer to source image.
RETURN VALUES
The function returns MLIB_SUCCESS if successful. Otherwise it returns
MLIB_FAILURE.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
┌─────────────────────────────┬─────────────────────────────┐
│ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
├─────────────────────────────┼─────────────────────────────┤
│Interface Stability │Committed │
├─────────────────────────────┼─────────────────────────────┤
│MT-Level │MT-Safe │
└─────────────────────────────┴─────────────────────────────┘
SEE ALSO
mlib_ImageMaxFilter3x3(3MLIB), mlib_ImageMaxFilter3x3_Fp(3MLIB),
mlib_ImageMaxFilter5x5_Fp(3MLIB), mlib_ImageMaxFilter7x7(3MLIB),
mlib_ImageMaxFilter7x7_Fp(3MLIB), mlib_ImageMedianFilter3x3(3MLIB),
mlib_ImageMedianFilter3x3_Fp(3MLIB), mlib_ImageMedianFil‐
ter3x3_US(3MLIB), mlib_ImageMedianFilter5x5(3MLIB), mlib_ImageMedian‐
Filter5x5_Fp(3MLIB), mlib_ImageMedianFilter5x5_US(3MLIB), mlib_ImageMe‐
dianFilter7x7(3MLIB), mlib_ImageMedianFilter7x7_Fp(3MLIB), mlib_Image‐
MedianFilter7x7_US(3MLIB), mlib_ImageMedianFilterMxN(3MLIB),
mlib_ImageMedianFilterMxN_Fp(3MLIB), mlib_ImageMedianFilter‐
MxN_US(3MLIB), mlib_ImageMinFilter3x3(3MLIB), mlib_ImageMinFil‐
ter3x3_Fp(3MLIB), mlib_ImageMinFilter5x5(3MLIB), mlib_ImageMinFil‐
ter5x5_Fp(3MLIB), mlib_ImageMinFilter7x7(3MLIB), mlib_ImageMinFil‐
ter7x7_Fp(3MLIB), mlib_ImageRankFilter3x3(3MLIB), mlib_ImageRankFil‐
ter3x3_Fp(3MLIB), mlib_ImageRankFilter3x3_US(3MLIB), mlib_ImageRankFil‐
ter5x5(3MLIB), mlib_ImageRankFilter5x5_Fp(3MLIB), mlib_ImageRankFil‐
ter5x5_US(3MLIB), mlib_ImageRankFilter7x7(3MLIB), mlib_ImageRankFil‐
ter7x7_Fp(3MLIB), mlib_ImageRankFilter7x7_US(3MLIB), mlib_ImageRankFil‐
terMxN(3MLIB), mlib_ImageRankFilterMxN_Fp(3MLIB), mlib_ImageRankFilter‐
MxN_US(3MLIB), attributes(5)
SunOS 5.11 2 Mar 2007 mlib_ImageMaxFilter5x5(3MLIB)
[top]
List of man pages available for OpenIndiana
Copyright (c) for man pages and the logo by the respective OS vendor.
For those who want to learn more, the polarhome community provides shell access and support.
[legal]
[privacy]
[GNU]
[policy]
[cookies]
[netiquette]
[sponsors]
[FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
|
Vote for polarhome
|