This method allows users to fill weightImage with weighting values.The resulting weightImage can be used for blending images togetherweightImage is filled in with the distance in pels from the nearest image boundary, to a maximum of 255. The result is concentric squares of pel values, increasing in weight toward the middle
Namespace: Cognex.VisionProAssembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 69.0.0.0
Syntax
Parameters
- weightImage
- Type: Cognex.VisionPro CogImage8Grey
n/a
Exceptions
| Exception | Condition |
|---|---|
| CogOperatorNoInputImageException | If weightImage is null. |
| CogImageNoPixelsException | If weightImage is not allocated. |
See Also