home *** CD-ROM | disk | FTP | other *** search
-
-
-
- iiiillllCCCCoooonnnnvvvvIIIImmmmgggg((((3333)))) IIIImmmmaaaaggggeeeeVVVViiiissssiiiioooonnnn LLLLiiiibbbbrrrraaaarrrryyyy CCCC++++++++ RRRReeeeffffeeeerrrreeeennnncccceeee MMMMaaaannnnuuuuaaaallll iiiillllCCCCoooonnnnvvvvIIIImmmmgggg((((3333))))
-
-
-
- NNNNAAAAMMMMEEEE
- iiiillllCCCCoooonnnnvvvvIIIImmmmgggg - class to perform image convolution
-
- IIIINNNNHHHHEEEERRRRIIIITTTTSSSS FFFFRRRROOOOMMMM
- ilLink : ilImage : ilCacheImg : ilMemCacheImg : ilOpImg : ilSpatialImg
-
- HHHHEEEEAAAADDDDEEEERRRR FFFFIIIILLLLEEEE
- #include <il/ilConvImg.h>
-
- CCCCLLLLAAAASSSSSSSS DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- This class performs a general or separable image convolution with the
- kernel specified. In addition, an additive bias can be supplied. The
- additive bias is used as the initial value when accumulating the sum of
- the products (image data*kernel value) for each neighborhood. The edge
- mode can be specified as described for ilSpatialImg.
-
- The minimum and maximum pixel values, minValue and maxValue, are adjusted
- based on the input minimum and maximum pixel values and the kernel
- weights, if defined. If the adjusted minimum and maximum pixel values
- are outside the range of values supported by the current data type, then
- the data type is promoted to support the new range of values. This occurs
- only if the data type has not already been explicitly set.
-
- If the data type has not been explicitly set, the minimum and maximum
- pixel values are set to the new adjusted values. The minValue and
- maxValue values can be used, for example, when the results of the
- convolution need to be displayed on a monitor. The data must be scaled
- to fit the range of values allowed by the display.
-
- This operator can be used to perform sharpening and blurring by using a
- kernel of class ilSharpenKernel or ilSepSharpenKernel as the supplied
- kernel.
-
- DDDDeeeerrrriiiivvvviiiinnnngggg NNNNeeeewwww CCCCllllaaaasssssssseeeessss FFFFrrrroooommmm iiiillllCCCCoooonnnnvvvvIIIImmmmgggg
-
- Because ilConvImg is derived from ilSpatialImg, the member functions
- defined in ilSpatialImg can be used to set the edge mode, kernel and
- bias. Because ilConvImg implements the convolution, a derived class
- needs only to define a kernel and set the edge mode and bias. In
- addition, a derived class may want to define functions to adjust the size
- of the kernel and the weights of the elements.
-
- The rrrreeeesssseeeettttOOOOpppp(((()))) function can be defined to reset the kernel passed to
- ilConvImg. If defined, however, it hides the version inherited from
- ilConvImg. Therefore, it must explicitly call ilConvImg's rrrreeeesssseeeettttOOOOpppp(((())))
- function.
-
- CCCCLLLLAAAASSSSSSSS MMMMEEEEMMMMBBBBEEEERRRR FFFFUUUUNNNNCCCCTTTTIIIIOOOONNNN SSSSUUUUMMMMMMMMAAAARRRRYYYY
- CCCCoooonnnnssssttttrrrruuuuccccttttoooorrrr
-
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- iiiillllCCCCoooonnnnvvvvIIIImmmmgggg((((3333)))) IIIImmmmaaaaggggeeeeVVVViiiissssiiiioooonnnn LLLLiiiibbbbrrrraaaarrrryyyy CCCC++++++++ RRRReeeeffffeeeerrrreeeennnncccceeee MMMMaaaannnnuuuuaaaallll iiiillllCCCCoooonnnnvvvvIIIImmmmgggg((((3333))))
-
-
-
- ilConvImg(ilImage* inputImage = NULL, ilKernel* inputKernel = NULL,
- double biasValue = 0., ilEdgeMode edgeMode = ilPadSrc)
-
-
- FFFFUUUUNNNNCCCCTTTTIIIIOOOONNNN DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNNSSSS
- iiiillllCCCCoooonnnnvvvvIIIImmmmgggg(((())))
-
- ilConvImg(ilImage* inputImage, ilKernel* inputKernel = NULL,
- double biasValue = 0., ilEdgeMode edgeMode = ilPadSrc)
-
-
- The constructor specifies the source image, _i_n_p_u_t_I_m_a_g_e; the kernel
- weights, _i_n_p_u_t_K_e_r_n_e_l; the additive bias, _b_i_a_s_V_a_l_u_e; and the edge
- mode, _e_d_g_e_M_o_d_e. All of the parameters can be altered using the
- appropriate set function inherited from ilSpatialImg: sssseeeettttIIIInnnnppppuuuutttt(((()))),
- sssseeeettttKKKKeeeerrrrnnnneeeellll(((()))), sssseeeettttBBBBiiiiaaaassss(((()))), and sssseeeettttEEEEddddggggeeeeMMMMooooddddeeee(((()))).
-
- If _i_n_p_u_t_K_e_r_n_e_l has kernel type _i_l_K_e_r_n_S_e_p_a_r_a_b_l_e, then this operator
- will perform a separable convolution, otherwise a general
- convolution will be performed. If the kernel has the clamp
- attribute set, then the clamp attribute will be set on this image
- and the convolved result will be appropriately clamped.
-
- IIIINNNNHHHHEEEERRRRIIIITTTTEEEEDDDD MMMMEEEEMMMMBBBBEEEERRRR FFFFUUUUNNNNCCCCTTTTIIIIOOOONNNNSSSS
- IIIInnnnhhhheeeerrrriiiitttteeeedddd ffffrrrroooommmm iiiillllSSSSppppaaaattttiiiiaaaallllIIIImmmmgggg
- calcPage(), getEdgeMode(), getKernelSize(), getPage(), resetOp(),
- setEdgeMode(), setKernel(), setKernelSize(), setKernFlags()
-
- IIIInnnnhhhheeeerrrriiiitttteeeedddd ffffrrrroooommmm iiiillllOOOOppppIIIImmmmgggg
- checkMinMax(), clearClamp(), getBias(), getClamp(), getInputMax(),
- getInputMin(), getInputScaleMax(), getInputScaleMin(), getValidOrders(),
- getValidTypes(), isClamped(), isDiff(), isPrecisionKept(),
- keepPrecision(), resetOp(), setBias(), setClamp(), setMaxPageSize(),
- setMinPageSize(), setValidOrder(), setValidType(), setWorkingType()
-
- IIIInnnnhhhheeeerrrriiiitttteeeedddd ffffrrrroooommmm iiiillllMMMMeeeemmmmCCCCaaaacccchhhheeeeIIIImmmmgggg
- allocPage(), doUserPageAlloc(), enableMP(), executeRequest(),
- finishRequest(), freePage(), getGlobalThrashMode(), getMpRequest(),
- getPage(), getPageAllocTime(), getPageTime(), getRetainMode(),
- getRetainPath(), getThrashMode(), getThrashTime(), getTotalPageTime(),
- isMPenabled(), isUserPageAlloc(), prepareRequest(),
- setGlobalThrashMode(), setPage(), setPageAllocTime(), setRetainMode(),
- setRetainPath(), setThrashMode(),
-
- IIIInnnnhhhheeeerrrriiiitttteeeedddd ffffrrrroooommmm iiiillllCCCCaaaacccchhhheeeeIIIImmmmgggg
- enablePagingCallback(), flush(), getCacheSize(),
- isPagingCallbackEnabled(), listResident()
-
- IIIInnnnhhhheeeerrrriiiitttteeeedddd ffffrrrroooommmm iiiillllIIIImmmmaaaaggggeeee
- addInput(), allocFillData(), checkColorModel(), checkValidOrder(),
- checkValidType(), clipTile(), configureRetainedCache(), copy(),
- copyTile(), copyTile3D(), copyTileCfg(), fillTile(), fillTile3D(),
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-
-
-
- iiiillllCCCCoooonnnnvvvvIIIImmmmgggg((((3333)))) IIIImmmmaaaaggggeeeeVVVViiiissssiiiioooonnnn LLLLiiiibbbbrrrraaaarrrryyyy CCCC++++++++ RRRReeeeffffeeeerrrreeeennnncccceeee MMMMaaaannnnuuuuaaaallll iiiillllCCCCoooonnnnvvvvIIIImmmmgggg((((3333))))
-
-
-
- fillTileRGB(), freeFillData(), getColorImg(), getColorModel(),
- getColormap(), getCompression(), getConfig(), getCopyConverter(),
- getCsize(), getDataType(), getDimensions(), getDirectInput(),
- getDisplayCacheEnable(), getFill(), getFillData(), getFillValue(),
- getHeight(), getHwEnable(), getHwHint(), getHwIntHint(), getHwOp(),
- getHwPassTable(), getInput(), getInputTileRequirement(),
- getLockTileSet(), getMaxColormapLevels(), getMaxValue(), getMinValue(),
- getNumChans(), getNumInputs(), getOrder(), getOrientation(),
- getPageBorder(), getPageBorderX(), getPageBorderY(), getPageBorderZ(),
- getPageCounts(), getPageDelta(), getPageDimensions(), getPageIndices(),
- getPageOrigin(), getPageOriginC(), getPageOriginX(), getPageOriginY(),
- getPageOriginZ(), getPageSize(), getPageSizeC(), getPageSizePix(),
- getPageSizeVal(), getPageSizeX(), getPageSizeY(), getPageSizeZ(),
- getPixel(), getPixel3D(), getPriority(), getScaleMax(), getScaleMin(),
- getSize(), getStrides(), getSubTile(), getSubTile3D(), getTile(),
- getTile3D(), getWidth(), getXsize(), getYsize(), getZsize(),
- hasPageBorder(), hasPages(), hwDefine(), hwGetPass(), inherit(),
- initColorModel(), initHwEnable(), initMinMax(), initPageSize(),
- initScaleMinMax(), isColorImg(), isIntegral(), isMirrorOrientation(),
- isPartialPage(), isSigned(), isValidPage(), isWritable(), lockPage(),
- lockPageSet(), lockTile(), lockTile3D(), mapFlipTrans(), mapFromInput(),
- mapFromSource(), mapOrientation(), mapSize(), mapTile(), mapToInput(),
- mapToSource(), mapXY(), mapXYSign(), outOfBound(), qCopyTileCfg(),
- qFillTile3D(), qFillTileRGB(), qGetSubTile3D(), qGetTile3D(),
- qLockPageSet(), qSetSubTile3D(), qSetTile3D(), removeHwHint(),
- removeInput(), reset(), setColorModel(), setColormap(), setCompression(),
- setCsize(), setDataType(), setDisplayCacheEnable(), setFill(),
- setFillValue(), setHwEnable(), setHwHint(), setHwIntHint(), setInput(),
- setMaxColormapLevels(), setMaxValue(), setMinValue(), setNumChans(),
- setNumInputs(), setOrder(), setOrientation(), setPageBorder(),
- setPageSize(), setPageSizeC(), setPageSizeZ(), setPixel(), setPixel3D(),
- setPriority(), setScaleMinMax(), setScaleType(), setSize(), setSubTile(),
- setSubTile3D(), setTile(), setTile3D(), setTileRequirementFunction(),
- setWritable(), setXsize(), setYsize(), setZsize(), unlockPage(),
- unlockPageSet()
-
- IIIInnnnhhhheeeerrrriiiitttteeeedddd ffffrrrroooommmm iiiillllLLLLiiiinnnnkkkk
- addResetCallback(), alterAction(), anyAltered(), clearAllowed(),
- clearSet(), clearStatus(), deleteRelated(), disableAltered(),
- dumpChain(), getClassPropSet(), getDescription(), getDirectParent(),
- getDisabledIndex(), getFloatProp(), getGenerationID(), getIntProp(),
- getMaxIndex(), getMinIndex(), getNumChildren(), getNumParents(),
- getParent(), getProp(), getProp(), getPropSet(), getPtrProp(),
- getRelatedChild(), getRelatedDelete(), getRelatedType(), getStatus(),
- hasResetCallbacks(), ilGetClassPropSet(), inProgress(), isAllowed(),
- isAltered(), isEnabled(), isRelated(), isSet(), markSet(), mpUnlock(),
- neverReset(), newRelatedType(), removeParent(), removeProp(),
- removeResetCallback(), reset(), resetAltered(), resetCheck(),
- setAllowed(), setAltered(), setDescription(), setDisabledIndex(),
- setEnabled(), setParent(), setProp(), setPropAltered(),
- setRelatedDelete(), setRelatedType(), setStatus(), stopWatching(),
- unalterable(), watch(), watchNotify()
-
-
-
- PPPPaaaaggggeeee 3333
-
-
-
-
-
-
- iiiillllCCCCoooonnnnvvvvIIIImmmmgggg((((3333)))) IIIImmmmaaaaggggeeeeVVVViiiissssiiiioooonnnn LLLLiiiibbbbrrrraaaarrrryyyy CCCC++++++++ RRRReeeeffffeeeerrrreeeennnncccceeee MMMMaaaannnnuuuuaaaallll iiiillllCCCCoooonnnnvvvvIIIImmmmgggg((((3333))))
-
-
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- ilLink, ilImage, ilCacheImg, ilMemCacheImg, ilOpImg, ilSpatialImg, ilKer-
- nel, ilSepKernel, ilSharpenKernel, ilSepSharpenKernel
-
- NNNNOOOOTTTTEEEESSSS
- Note that an even-sized kernel causes a half-pixel shift away from the
- origin because the center of the kernel is between the center elements.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 4444
-
-
-
-