JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
man pages section 3: Multimedia Library Functions     Oracle Solaris 11.1 Information Library
search filter icon
search icon

Document Information

Preface

Multimedia Library Functions - Part 1

Multimedia Library Functions - Part 2

Multimedia Library Functions - Part 3

mlib_ImageDivShift2_Inp(3MLIB)

mlib_ImageDivShift(3MLIB)

mlib_ImageErode4(3MLIB)

mlib_ImageErode4_Fp(3MLIB)

mlib_ImageErode8(3MLIB)

mlib_ImageErode8_Fp(3MLIB)

mlib_ImageExp(3MLIB)

mlib_ImageExp_Fp(3MLIB)

mlib_ImageExp_Fp_Inp(3MLIB)

mlib_ImageExp_Inp(3MLIB)

mlib_ImageExtrema2(3MLIB)

mlib_ImageExtrema2_Fp(3MLIB)

mlib_ImageExtremaLocations(3MLIB)

mlib_ImageExtremaLocations_Fp(3MLIB)

mlib_ImageFilteredSubsample(3MLIB)

mlib_ImageFilteredSubsample_Fp(3MLIB)

mlib_ImageFlipAntiDiag(3MLIB)

mlib_ImageFlipAntiDiag_Fp(3MLIB)

mlib_ImageFlipMainDiag(3MLIB)

mlib_ImageFlipMainDiag_Fp(3MLIB)

mlib_ImageFlipX(3MLIB)

mlib_ImageFlipX_Fp(3MLIB)

mlib_ImageFlipY(3MLIB)

mlib_ImageFlipY_Fp(3MLIB)

mlib_ImageFourierTransform(3MLIB)

mlib_ImageGetBitOffset(3MLIB)

mlib_ImageGetChannels(3MLIB)

mlib_ImageGetData(3MLIB)

mlib_ImageGetFlags(3MLIB)

mlib_ImageGetFormat(3MLIB)

mlib_ImageGetHeight(3MLIB)

mlib_ImageGetPaddings(3MLIB)

mlib_ImageGetStride(3MLIB)

mlib_ImageGetType(3MLIB)

mlib_ImageGetWidth(3MLIB)

mlib_ImageGradient3x3(3MLIB)

mlib_ImageGradient3x3_Fp(3MLIB)

mlib_ImageGradientMxN(3MLIB)

mlib_ImageGradientMxN_Fp(3MLIB)

mlib_ImageGridWarp(3MLIB)

mlib_ImageGridWarp_Fp(3MLIB)

mlib_ImageGridWarpTable(3MLIB)

mlib_ImageGridWarpTable_Fp(3MLIB)

mlib_ImageHistogram2(3MLIB)

mlib_ImageHistogram(3MLIB)

mlib_ImageInterpTableCreate(3MLIB)

mlib_ImageInterpTableDelete(3MLIB)

mlib_ImageInvert(3MLIB)

mlib_ImageInvert_Fp(3MLIB)

mlib_ImageInvert_Fp_Inp(3MLIB)

mlib_ImageInvert_Inp(3MLIB)

mlib_ImageIsNotAligned2(3MLIB)

mlib_ImageIsNotAligned4(3MLIB)

mlib_ImageIsNotAligned64(3MLIB)

mlib_ImageIsNotAligned8(3MLIB)

mlib_ImageIsNotHeight2X(3MLIB)

mlib_ImageIsNotHeight4X(3MLIB)

mlib_ImageIsNotHeight8X(3MLIB)

mlib_ImageIsNotOneDvector(3MLIB)

mlib_ImageIsNotStride8X(3MLIB)

mlib_ImageIsNotWidth2X(3MLIB)

mlib_ImageIsNotWidth4X(3MLIB)

mlib_ImageIsNotWidth8X(3MLIB)

mlib_ImageIsUserAllocated(3MLIB)

mlib_ImageLog(3MLIB)

mlib_ImageLog_Fp(3MLIB)

mlib_ImageLog_Fp_Inp(3MLIB)

mlib_ImageLog_Inp(3MLIB)

mlib_ImageLookUp2(3MLIB)

mlib_ImageLookUp(3MLIB)

mlib_ImageLookUp_Inp(3MLIB)

mlib_ImageLookUpMask(3MLIB)

mlib_ImageMax(3MLIB)

mlib_ImageMaxFilter3x3(3MLIB)

mlib_ImageMaxFilter3x3_Fp(3MLIB)

mlib_ImageMaxFilter5x5(3MLIB)

mlib_ImageMaxFilter5x5_Fp(3MLIB)

mlib_ImageMaxFilter7x7(3MLIB)

mlib_ImageMaxFilter7x7_Fp(3MLIB)

mlib_ImageMax_Fp(3MLIB)

mlib_ImageMax_Fp_Inp(3MLIB)

mlib_ImageMaximum(3MLIB)

mlib_ImageMaximum_Fp(3MLIB)

mlib_ImageMax_Inp(3MLIB)

mlib_ImageMean(3MLIB)

mlib_ImageMean_Fp(3MLIB)

mlib_ImageMedianFilter3x3(3MLIB)

mlib_ImageMedianFilter3x3_Fp(3MLIB)

mlib_ImageMedianFilter3x3_US(3MLIB)

mlib_ImageMedianFilter5x5(3MLIB)

mlib_ImageMedianFilter5x5_Fp(3MLIB)

mlib_ImageMedianFilter5x5_US(3MLIB)

mlib_ImageMedianFilter7x7(3MLIB)

mlib_ImageMedianFilter7x7_Fp(3MLIB)

mlib_ImageMedianFilter7x7_US(3MLIB)

mlib_ImageMedianFilterMxN(3MLIB)

mlib_ImageMedianFilterMxN_Fp(3MLIB)

mlib_ImageMedianFilterMxN_US(3MLIB)

mlib_ImageMin(3MLIB)

mlib_ImageMinFilter3x3(3MLIB)

mlib_ImageMinFilter3x3_Fp(3MLIB)

mlib_ImageMinFilter5x5(3MLIB)

mlib_ImageMinFilter5x5_Fp(3MLIB)

mlib_ImageMinFilter7x7(3MLIB)

mlib_ImageMinFilter7x7_Fp(3MLIB)

mlib_ImageMin_Fp(3MLIB)

mlib_ImageMin_Fp_Inp(3MLIB)

mlib_ImageMinimum(3MLIB)

mlib_ImageMinimum_Fp(3MLIB)

mlib_ImageMin_Inp(3MLIB)

mlib_ImageMoment2(3MLIB)

mlib_ImageMoment2_Fp(3MLIB)

mlib_ImageMulAlpha(3MLIB)

mlib_ImageMulAlpha_Fp(3MLIB)

mlib_ImageMulAlpha_Fp_Inp(3MLIB)

mlib_ImageMulAlpha_Inp(3MLIB)

mlib_ImageMul_Fp(3MLIB)

mlib_ImageMul_Fp_Inp(3MLIB)

mlib_ImageMulShift(3MLIB)

mlib_ImageMulShift_Inp(3MLIB)

mlib_ImageNormCrossCorrel(3MLIB)

mlib_ImageNormCrossCorrel_Fp(3MLIB)

mlib_ImageNot(3MLIB)

mlib_ImageNotAnd(3MLIB)

mlib_ImageNotAnd_Inp(3MLIB)

mlib_ImageNot_Inp(3MLIB)

mlib_ImageNotOr(3MLIB)

mlib_ImageNotOr_Inp(3MLIB)

mlib_ImageNotXor(3MLIB)

mlib_ImageNotXor_Inp(3MLIB)

mlib_ImageOr(3MLIB)

mlib_ImageOr_Inp(3MLIB)

mlib_ImageOrNot1_Inp(3MLIB)

mlib_ImageOrNot2_Inp(3MLIB)

mlib_ImageOrNot(3MLIB)

mlib_ImagePolynomialWarp(3MLIB)

mlib_ImagePolynomialWarp_Fp(3MLIB)

mlib_ImagePolynomialWarpTable(3MLIB)

mlib_ImagePolynomialWarpTable_Fp(3MLIB)

mlib_ImageRankFilter3x3(3MLIB)

mlib_ImageRankFilter3x3_Fp(3MLIB)

mlib_ImageRankFilter3x3_US(3MLIB)

mlib_ImageRankFilter5x5(3MLIB)

mlib_ImageRankFilter5x5_Fp(3MLIB)

mlib_ImageRankFilter5x5_US(3MLIB)

mlib_ImageRankFilter7x7(3MLIB)

mlib_ImageRankFilter7x7_Fp(3MLIB)

mlib_ImageRankFilter7x7_US(3MLIB)

mlib_ImageRankFilterMxN(3MLIB)

mlib_ImageRankFilterMxN_Fp(3MLIB)

mlib_ImageRankFilterMxN_US(3MLIB)

mlib_ImageReformat(3MLIB)

mlib_ImageReplaceColor(3MLIB)

mlib_ImageReplaceColor_Fp(3MLIB)

mlib_ImageReplaceColor_Fp_Inp(3MLIB)

mlib_ImageReplaceColor_Inp(3MLIB)

mlib_ImageResetStruct(3MLIB)

mlib_ImageResetSubimageStruct(3MLIB)

mlib_ImageRotate180(3MLIB)

mlib_ImageRotate180_Fp(3MLIB)

mlib_ImageRotate270(3MLIB)

mlib_ImageRotate270_Fp(3MLIB)

mlib_ImageRotate(3MLIB)

mlib_ImageRotate90(3MLIB)

mlib_ImageRotate90_Fp(3MLIB)

mlib_ImageRotate_Fp(3MLIB)

mlib_ImageRotateIndex(3MLIB)

mlib_ImageScalarBlend(3MLIB)

mlib_ImageScalarBlend_Fp(3MLIB)

mlib_ImageScalarBlend_Fp_Inp(3MLIB)

mlib_ImageScalarBlend_Inp(3MLIB)

mlib_ImageScale2(3MLIB)

mlib_ImageScale2_Inp(3MLIB)

mlib_ImageScale(3MLIB)

mlib_ImageScale_Fp(3MLIB)

mlib_ImageScale_Fp_Inp(3MLIB)

mlib_ImageScale_Inp(3MLIB)

mlib_ImageSConv3x3(3MLIB)

mlib_ImageSConv3x3_Fp(3MLIB)

mlib_ImageSConv5x5(3MLIB)

mlib_ImageSConv5x5_Fp(3MLIB)

mlib_ImageSConv7x7(3MLIB)

mlib_ImageSConv7x7_Fp(3MLIB)

mlib_ImageSConvKernelConvert(3MLIB)

mlib_ImageSetFormat(3MLIB)

mlib_ImageSetPaddings(3MLIB)

mlib_ImageSetStruct(3MLIB)

mlib_ImageSetSubimageStruct(3MLIB)

mlib_ImageSobel(3MLIB)

mlib_ImageSobel_Fp(3MLIB)

mlib_ImageSqr_Fp(3MLIB)

mlib_ImageSqr_Fp_Inp(3MLIB)

mlib_ImageSqrShift(3MLIB)

mlib_ImageSqrShift_Inp(3MLIB)

mlib_ImageStdDev(3MLIB)

mlib_ImageStdDev_Fp(3MLIB)

mlib_ImageSub1_Fp_Inp(3MLIB)

mlib_ImageSub1_Inp(3MLIB)

mlib_ImageSub2_Fp_Inp(3MLIB)

mlib_ImageSub2_Inp(3MLIB)

mlib_ImageSub(3MLIB)

mlib_ImageSub_Fp(3MLIB)

mlib_ImageSubsampleAverage(3MLIB)

mlib_ImageSubsampleAverage_Fp(3MLIB)

mlib_ImageSubsampleBinaryToGray(3MLIB)

mlib_ImageTestFlags(3MLIB)

mlib_ImageThresh1(3MLIB)

mlib_ImageThresh1_Fp(3MLIB)

mlib_ImageThresh1_Fp_Inp(3MLIB)

mlib_ImageThresh1_Inp(3MLIB)

mlib_ImageThresh2(3MLIB)

mlib_ImageThresh2_Fp(3MLIB)

mlib_ImageThresh2_Fp_Inp(3MLIB)

mlib_ImageThresh2_Inp(3MLIB)

mlib_ImageThresh3(3MLIB)

mlib_ImageThresh3_Fp(3MLIB)

mlib_ImageThresh3_Fp_Inp(3MLIB)

mlib_ImageThresh3_Inp(3MLIB)

mlib_ImageThresh4(3MLIB)

mlib_ImageThresh4_Fp(3MLIB)

mlib_ImageThresh4_Fp_Inp(3MLIB)

mlib_ImageThresh4_Inp(3MLIB)

mlib_ImageThresh5(3MLIB)

mlib_ImageThresh5_Fp(3MLIB)

mlib_ImageThresh5_Fp_Inp(3MLIB)

mlib_ImageThresh5_Inp(3MLIB)

mlib_ImageXor(3MLIB)

mlib_ImageXor_Inp(3MLIB)

mlib_ImageXProj(3MLIB)

mlib_ImageXProj_Fp(3MLIB)

mlib_ImageYProj(3MLIB)

mlib_ImageYProj_Fp(3MLIB)

mlib_ImageZoom(3MLIB)

mlib_ImageZoomBlend(3MLIB)

mlib_ImageZoom_Fp(3MLIB)

mlib_ImageZoomIn2X(3MLIB)

mlib_ImageZoomIn2X_Fp(3MLIB)

mlib_ImageZoomIn2XIndex(3MLIB)

mlib_ImageZoomIndex(3MLIB)

mlib_ImageZoomOut2X(3MLIB)

mlib_ImageZoomOut2X_Fp(3MLIB)

mlib_ImageZoomOut2XIndex(3MLIB)

mlib_ImageZoomTranslate(3MLIB)

mlib_ImageZoomTranslateBlend(3MLIB)

mlib_ImageZoomTranslate_Fp(3MLIB)

mlib_ImageZoomTranslateTable(3MLIB)

mlib_ImageZoomTranslateTableBlend(3MLIB)

mlib_ImageZoomTranslateTable_Fp(3MLIB)

mlib_ImageZoomTranslateToGray(3MLIB)

mlib_malloc(3MLIB)

mlib_MatrixAdd_S16C_Mod(3MLIB)

mlib_MatrixAdd_S16C_S16C_Mod(3MLIB)

mlib_MatrixAdd_S16C_S16C_Sat(3MLIB)

mlib_MatrixAdd_S16C_S8C_Mod(3MLIB)

mlib_MatrixAdd_S16C_S8C_Sat(3MLIB)

mlib_MatrixAdd_S16C_Sat(3MLIB)

mlib_MatrixAdd_S16C_U8C_Mod(3MLIB)

mlib_MatrixAdd_S16C_U8C_Sat(3MLIB)

mlib_MatrixAdd_S16_Mod(3MLIB)

mlib_MatrixAdd_S16_S16_Mod(3MLIB)

mlib_MatrixAdd_S16_S16_Sat(3MLIB)

mlib_MatrixAdd_S16_S8_Mod(3MLIB)

mlib_MatrixAdd_S16_S8_Sat(3MLIB)

mlib_MatrixAdd_S16_Sat(3MLIB)

mlib_MatrixAdd_S16_U8_Mod(3MLIB)

mlib_MatrixAdd_S16_U8_Sat(3MLIB)

mlib_MatrixAdd_S32C_Mod(3MLIB)

mlib_MatrixAdd_S32C_S16C_Mod(3MLIB)

mlib_MatrixAdd_S32C_S16C_Sat(3MLIB)

mlib_MatrixAdd_S32C_S32C_Mod(3MLIB)

mlib_MatrixAdd_S32C_S32C_Sat(3MLIB)

mlib_MatrixAdd_S32C_Sat(3MLIB)

mlib_MatrixAdd_S32_Mod(3MLIB)

mlib_MatrixAdd_S32_S16_Mod(3MLIB)

mlib_MatrixAdd_S32_S16_Sat(3MLIB)

mlib_MatrixAdd_S32_S32_Mod(3MLIB)

mlib_MatrixAdd_S32_S32_Sat(3MLIB)

mlib_MatrixAdd_S32_Sat(3MLIB)

mlib_MatrixAdd_S8C_Mod(3MLIB)

mlib_MatrixAdd_S8C_S8C_Mod(3MLIB)

mlib_MatrixAdd_S8C_S8C_Sat(3MLIB)

mlib_MatrixAdd_S8C_Sat(3MLIB)

mlib_MatrixAdd_S8_Mod(3MLIB)

mlib_MatrixAdd_S8_S8_Mod(3MLIB)

mlib_MatrixAdd_S8_S8_Sat(3MLIB)

mlib_MatrixAdd_S8_Sat(3MLIB)

mlib_MatrixAddS_S16C_Mod(3MLIB)

mlib_MatrixAddS_S16C_S16C_Mod(3MLIB)

mlib_MatrixAddS_S16C_S16C_Sat(3MLIB)

mlib_MatrixAddS_S16C_S8C_Mod(3MLIB)

mlib_MatrixAddS_S16C_S8C_Sat(3MLIB)

mlib_MatrixAddS_S16C_Sat(3MLIB)

mlib_MatrixAddS_S16C_U8C_Mod(3MLIB)

mlib_MatrixAddS_S16C_U8C_Sat(3MLIB)

mlib_MatrixAddS_S16_Mod(3MLIB)

mlib_MatrixAddS_S16_S16_Mod(3MLIB)

mlib_MatrixAddS_S16_S16_Sat(3MLIB)

mlib_MatrixAddS_S16_S8_Mod(3MLIB)

mlib_MatrixAddS_S16_S8_Sat(3MLIB)

mlib_MatrixAddS_S16_Sat(3MLIB)

mlib_MatrixAddS_S16_U8_Mod(3MLIB)

mlib_MatrixAddS_S16_U8_Sat(3MLIB)

mlib_MatrixAddS_S32C_Mod(3MLIB)

mlib_MatrixAddS_S32C_S16C_Mod(3MLIB)

mlib_MatrixAddS_S32C_S16C_Sat(3MLIB)

mlib_MatrixAddS_S32C_S32C_Mod(3MLIB)

mlib_MatrixAddS_S32C_S32C_Sat(3MLIB)

mlib_MatrixAddS_S32C_Sat(3MLIB)

mlib_MatrixAddS_S32_Mod(3MLIB)

mlib_MatrixAddS_S32_S16_Mod(3MLIB)

mlib_MatrixAddS_S32_S16_Sat(3MLIB)

mlib_MatrixAddS_S32_S32_Mod(3MLIB)

mlib_MatrixAddS_S32_S32_Sat(3MLIB)

mlib_MatrixAddS_S32_Sat(3MLIB)

mlib_MatrixAddS_S8C_Mod(3MLIB)

mlib_MatrixAddS_S8C_S8C_Mod(3MLIB)

mlib_MatrixAddS_S8C_S8C_Sat(3MLIB)

mlib_MatrixAddS_S8C_Sat(3MLIB)

mlib_MatrixAddS_S8_Mod(3MLIB)

mlib_MatrixAddS_S8_S8_Mod(3MLIB)

mlib_MatrixAddS_S8_S8_Sat(3MLIB)

mlib_MatrixAddS_S8_Sat(3MLIB)

mlib_MatrixAddS_U8C_Mod(3MLIB)

mlib_MatrixAddS_U8C_Sat(3MLIB)

mlib_MatrixAddS_U8C_U8C_Mod(3MLIB)

mlib_MatrixAddS_U8C_U8C_Sat(3MLIB)

mlib_MatrixAddS_U8_Mod(3MLIB)

mlib_MatrixAddS_U8_Sat(3MLIB)

mlib_MatrixAddS_U8_U8_Mod(3MLIB)

mlib_MatrixAddS_U8_U8_Sat(3MLIB)

mlib_MatrixAdd_U8C_Mod(3MLIB)

mlib_MatrixAdd_U8C_Sat(3MLIB)

mlib_MatrixAdd_U8C_U8C_Mod(3MLIB)

mlib_MatrixAdd_U8C_U8C_Sat(3MLIB)

mlib_MatrixAdd_U8_Mod(3MLIB)

mlib_MatrixAdd_U8_Sat(3MLIB)

mlib_MatrixAdd_U8_U8_Mod(3MLIB)

mlib_MatrixAdd_U8_U8_Sat(3MLIB)

mlib_MatrixAve_S16(3MLIB)

mlib_MatrixAve_S16C(3MLIB)

mlib_MatrixAve_S16C_S16C(3MLIB)

mlib_MatrixAve_S16C_S8C(3MLIB)

mlib_MatrixAve_S16C_U8C(3MLIB)

mlib_MatrixAve_S16_S16(3MLIB)

mlib_MatrixAve_S16_S8(3MLIB)

mlib_MatrixAve_S16_U8(3MLIB)

mlib_MatrixAve_S32(3MLIB)

mlib_MatrixAve_S32C(3MLIB)

mlib_MatrixAve_S32C_S16C(3MLIB)

mlib_MatrixAve_S32C_S32C(3MLIB)

mlib_MatrixAve_S32_S16(3MLIB)

mlib_MatrixAve_S32_S32(3MLIB)

mlib_MatrixAve_S8(3MLIB)

mlib_MatrixAve_S8C(3MLIB)

mlib_MatrixAve_S8C_S8C(3MLIB)

mlib_MatrixAve_S8_S8(3MLIB)

mlib_MatrixAve_U8(3MLIB)

mlib_MatrixAve_U8C(3MLIB)

mlib_MatrixAve_U8C_U8C(3MLIB)

mlib_MatrixAve_U8_U8(3MLIB)

mlib_MatrixMaximum_D64(3MLIB)

mlib_MatrixMaximum_F32(3MLIB)

mlib_MatrixMaximumMag_D64C(3MLIB)

mlib_MatrixMaximumMag_F32C(3MLIB)

mlib_MatrixMaximumMag_S16C(3MLIB)

mlib_MatrixMaximumMag_S32C(3MLIB)

mlib_MatrixMaximumMag_S8C(3MLIB)

mlib_MatrixMaximumMag_U8C(3MLIB)

mlib_MatrixMaximum_S16(3MLIB)

mlib_MatrixMaximum_S32(3MLIB)

mlib_MatrixMaximum_S8(3MLIB)

mlib_MatrixMaximum_U8(3MLIB)

mlib_MatrixMinimum_D64(3MLIB)

mlib_MatrixMinimum_F32(3MLIB)

mlib_MatrixMinimumMag_D64C(3MLIB)

mlib_MatrixMinimumMag_F32C(3MLIB)

mlib_MatrixMinimumMag_S16C(3MLIB)

mlib_MatrixMinimumMag_S32C(3MLIB)

mlib_MatrixMinimumMag_S8C(3MLIB)

mlib_MatrixMinimumMag_U8C(3MLIB)

mlib_MatrixMinimum_S16(3MLIB)

mlib_MatrixMinimum_S32(3MLIB)

mlib_MatrixMinimum_S8(3MLIB)

mlib_MatrixMinimum_U8(3MLIB)

mlib_MatrixMul_S16C_S16C_Mod(3MLIB)

mlib_MatrixMul_S16C_S16C_Sat(3MLIB)

mlib_MatrixMul_S16C_S8C_Mod(3MLIB)

mlib_MatrixMul_S16C_S8C_Sat(3MLIB)

mlib_MatrixMul_S16C_U8C_Mod(3MLIB)

mlib_MatrixMul_S16C_U8C_Sat(3MLIB)

mlib_MatrixMul_S16_S16_Mod(3MLIB)

mlib_MatrixMul_S16_S16_Sat(3MLIB)

mlib_MatrixMul_S16_S8_Mod(3MLIB)

mlib_MatrixMul_S16_S8_Sat(3MLIB)

mlib_MatrixMul_S16_U8_Mod(3MLIB)

mlib_MatrixMul_S16_U8_Sat(3MLIB)

mlib_MatrixMul_S32C_S16C_Mod(3MLIB)

mlib_MatrixMul_S32C_S16C_Sat(3MLIB)

mlib_MatrixMul_S32C_S32C_Mod(3MLIB)

mlib_MatrixMul_S32C_S32C_Sat(3MLIB)

mlib_MatrixMul_S32_S16_Mod(3MLIB)

mlib_MatrixMul_S32_S16_Sat(3MLIB)

mlib_MatrixMul_S32_S32_Mod(3MLIB)

mlib_MatrixMul_S32_S32_Sat(3MLIB)

mlib_MatrixMul_S8C_S8C_Mod(3MLIB)

mlib_MatrixMul_S8C_S8C_Sat(3MLIB)

mlib_MatrixMul_S8_S8_Mod(3MLIB)

mlib_MatrixMul_S8_S8_Sat(3MLIB)

mlib_MatrixMulShift_S16C_S16C_Mod(3MLIB)

mlib_MatrixMulShift_S16C_S16C_Sat(3MLIB)

mlib_MatrixMulShift_S16_S16_Mod(3MLIB)

mlib_MatrixMulShift_S16_S16_Sat(3MLIB)

mlib_MatrixMulS_S16C_Mod(3MLIB)

mlib_MatrixMulS_S16C_S16C_Mod(3MLIB)

mlib_MatrixMulS_S16C_S16C_Sat(3MLIB)

mlib_MatrixMulS_S16C_S8C_Mod(3MLIB)

mlib_MatrixMulS_S16C_S8C_Sat(3MLIB)

mlib_MatrixMulS_S16C_Sat(3MLIB)

mlib_MatrixMulS_S16C_U8C_Mod(3MLIB)

mlib_MatrixMulS_S16C_U8C_Sat(3MLIB)

mlib_MatrixMulS_S16_Mod(3MLIB)

mlib_MatrixMulS_S16_S16_Mod(3MLIB)

mlib_MatrixMulS_S16_S16_Sat(3MLIB)

mlib_MatrixMulS_S16_S8_Mod(3MLIB)

mlib_MatrixMulS_S16_S8_Sat(3MLIB)

mlib_MatrixMulS_S16_Sat(3MLIB)

mlib_MatrixMulS_S16_U8_Mod(3MLIB)

mlib_MatrixMulS_S16_U8_Sat(3MLIB)

mlib_MatrixMulS_S32C_Mod(3MLIB)

mlib_MatrixMulS_S32C_S16C_Mod(3MLIB)

mlib_MatrixMulS_S32C_S16C_Sat(3MLIB)

mlib_MatrixMulS_S32C_S32C_Mod(3MLIB)

mlib_MatrixMulS_S32C_S32C_Sat(3MLIB)

mlib_MatrixMulS_S32C_Sat(3MLIB)

mlib_MatrixMulS_S32_Mod(3MLIB)

mlib_MatrixMulS_S32_S16_Mod(3MLIB)

mlib_MatrixMulS_S32_S16_Sat(3MLIB)

mlib_MatrixMulS_S32_S32_Mod(3MLIB)

mlib_MatrixMulS_S32_S32_Sat(3MLIB)

mlib_MatrixMulS_S32_Sat(3MLIB)

mlib_MatrixMulS_S8C_Mod(3MLIB)

mlib_MatrixMulS_S8C_S8C_Mod(3MLIB)

mlib_MatrixMulS_S8C_S8C_Sat(3MLIB)

mlib_MatrixMulS_S8C_Sat(3MLIB)

mlib_MatrixMulS_S8_Mod(3MLIB)

mlib_MatrixMulS_S8_S8_Mod(3MLIB)

mlib_MatrixMulS_S8_S8_Sat(3MLIB)

mlib_MatrixMulS_S8_Sat(3MLIB)

mlib_MatrixMulSShift_S16C_Mod(3MLIB)

mlib_MatrixMulSShift_S16C_S16C_Mod(3MLIB)

mlib_MatrixMulSShift_S16C_S16C_Sat(3MLIB)

mlib_MatrixMulSShift_S16C_Sat(3MLIB)

mlib_MatrixMulSShift_S16_Mod(3MLIB)

mlib_MatrixMulSShift_S16_S16_Mod(3MLIB)

mlib_MatrixMulSShift_S16_S16_Sat(3MLIB)

mlib_MatrixMulSShift_S16_Sat(3MLIB)

mlib_MatrixMulSShift_S32C_Mod(3MLIB)

mlib_MatrixMulSShift_S32C_S32C_Mod(3MLIB)

mlib_MatrixMulSShift_S32C_S32C_Sat(3MLIB)

mlib_MatrixMulSShift_S32C_Sat(3MLIB)

mlib_MatrixMulSShift_S32_Mod(3MLIB)

mlib_MatrixMulSShift_S32_S32_Mod(3MLIB)

mlib_MatrixMulSShift_S32_S32_Sat(3MLIB)

mlib_MatrixMulSShift_S32_Sat(3MLIB)

mlib_MatrixMulSShift_S8C_Mod(3MLIB)

mlib_MatrixMulSShift_S8C_S8C_Mod(3MLIB)

mlib_MatrixMulSShift_S8C_S8C_Sat(3MLIB)

mlib_MatrixMulSShift_S8C_Sat(3MLIB)

mlib_MatrixMulSShift_S8_Mod(3MLIB)

mlib_MatrixMulSShift_S8_S8_Mod(3MLIB)

mlib_MatrixMulSShift_S8_S8_Sat(3MLIB)

mlib_MatrixMulSShift_S8_Sat(3MLIB)

Multimedia Library Functions - Part 4

Multimedia Library Functions - Part 5

Multimedia Library Functions - Part 6

Multimedia Library Functions - Part 7

mlib_ImageGridWarp_Fp

- grid-based image warp

Synopsis

cc [ flag... ] file... -lmlib [ library... ]
#include <mlib.h>

mlib_status mlib_ImageGridWarp_Fp(mlib_image *dst, const mlib_image *src,
     const mlib_f32 *xWarpPos, const mlib_f32 *yWarpPos,
     mlib_d64 postShiftX, mlib_d64 postShiftY,
     mlib_s32 xStart, mlib_s32 xStep, mlib_s32 xNumCells,
     mlib_s32 yStart, mlib_s32 yStep, mlib_s32 yNumCells,
     mlib_filter filter, mlib_edge edge);

Description

The mlib_ImageGridWarp_Fp() function performs a regular grid-based image warp on a floating-point image. The images must have the same type, and the same number of channels. The images can have 1, 2, 3, or 4 channels. The data type of the images can be MLIB_FLOAT or MLIB_DOUBLE. The two images may have different sizes.

The image pixels are assumed to be centered at .5 coordinate points. For example, the upper-left corner pixel of an image is located at (0.5, 0.5).

For each pixel in the destination image, its center point D is, first, backward mapped to a point S in the source image; then the source pixels with their centers surrounding point S are selected to do one of the interpolations specified by the filter parameter to generate the pixel value for point D.

The mapping from destination pixels to source positions is described by bilinear interpolation between a rectilinear grid of points with known mappings.

Given a destination pixel coordinate (x, y) that lies within a cell having corners at (x0, y0), (x1, y0), (x0, y1) and (x1, y1), with source coordinates defined at each respective corner equal to (sx0, sy0), (sx1, sy1), (sx2, sy2) and (sx3, sy3), the source position (sx, sy) that maps onto (x, y) is given by the formulas:

  xfrac = (x - x0)/(x1 - x0)
  yfrac = (y - y0)/(y1 - y0)

  s = sx0 + (sx1 - sx0)*xfrac
  t = sy0 + (sy1 - sy0)*xfrac

  u = sx2 + (sx3 - sx2)*xfrac
  v = sy2 + (sy3 - sy2)*xfrac

  sx = s + (u - s)*yfrac - postShiftX
  sy = t + (v - t)*yfrac - postShiftY

In other words, the source x and y values are interpolated horizontally along the top and bottom edges of the grid cell, and the results are interpolated vertically:

         (x0, y0) ->            (x1, y0) ->
           (sx0, sy0)             (sx1, sy1)
            +------------+---------+
            |           /|         |
            |     (s, t) |         |
            |            |         |
            |            |         |
            |            |         |
            |            |         |
            | (x, y) ->  |         |
            |  (sx, sy)--+         |
            |            |         |
            |            |         |
            |            | (u, v)  |
            |            |/        |
            +------------+---------+
         (x0, y1) ->          (x1, y1) ->
           (sx2, sy2)           (sx3, sy3)

The results of above interpolation are shifted by (-postShiftX, -postShiftY) to produce the source pixel coordinates.

The destination pixels that lie outside of any grid cells are kept intact. The grid is defined by a set of equal-sized cells. The grid starts at (xStart, yStart). Each cell has width equal to xStep and height equal to yStep, and there are xNumCells cells horizontally and yNumCells cells vertically.

The degree of warping within each cell is defined by the values in xWarpPos and yWarpPos parameters. Each of these parameters must contain (xNumCells + 1)*(yNumCells + 1) values, which, respectively, contain the source X and source Y coordinates that map to the upper-left corner of each cell in the destination image. The cells are enumerated in row-major order. That is, all the grid points along a row are enumerated first, then the grid points for the next row are enumerated, and so on.

For example, suppose xNumCells is equal to 2 and yNumCells is equal to 1. Then the order of the data in the xWarpPos would be:

  x00, x10, x20, x01, x11, x21

and in the yWarpPos:

  y00, y10, y20, y01, y11, y21

for a total of (2 + 1)*(1 + 1) = 6 elements in each table.

Parameters

The function takes the following arguments:

dst

Pointer to destination image.

src

Pointer to source image.

xWarpPos

A float array of length (xNumCells + 1)*(yNumCells + 1) containing horizontal warp positions at the grid points, in row-major order.

yWarpPos

A float array of length (xNumCells + 1)*(yNumCells + 1) containing vertical warp positions at the grid points, in row-major order.

postShiftX

The displacement to apply to source X positions.

postShiftY

The displacement to apply to source Y positions.

xStart

The minimum X coordinate of the grid.

xStep

The horizontal spacing between grid cells.

xNumCells

The number of grid cell columns.

yStart

The minimum Y coordinate of the grid.

yStep

The vertical spacing between grid cells.

yNumCells

The number of grid cell rows.

filter

Type of resampling filter. It can be one of the following:

MLIB_NEAREST
MLIB_BILINEAR
MLIB_BICUBIC
MLIB_BICUBIC2
edge

Type of edge condition. It can be one of the following:

MLIB_EDGE_DST_NO_WRITE
MLIB_EDGE_SRC_PADDED

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_ImageGridWarp(3MLIB), mlib_ImageGridWarpTable(3MLIB), mlib_ImageGridWarpTable_Fp(3MLIB), attributes(5)