CogImageStitch MethodsCognex VisionPro 9.10

The CogImageStitch type exposes the following members.

Methods

  NameDescription
Public methodAllocateBlendingBuffer
Allocate the internal data structures that are needed for stitching images in Blending mode.
Public methodBlendImageIntoBuffer(CogImage8Grey, CogImage8Grey)
This method adds inputImage to the BlendingBuffer with inputImageWeights. inputImage pel�fs contribution to the result image is weighted with the contribution of inputImageWeights pels that corresponded to the same pel in the result image. inputImageWeights can be null. In this case, all input pels are weighted fully and equally.
Public methodBlendImageIntoBuffer(CogImage8Grey, CogImage8Grey, CogImage8Grey, Int32, Int32)
This method allows user to do both masking and weighting. inputImageMask must be non-null and allocated, but does not need to be the same size as the input image. VisionPro assumes that image pels not covered by the mask are care pixels (i.e.they are copied into the destination) inputImageMaskOffsetX/Y can be any integer value. These values specify how the mask is aligned on the image. (Same as other VPro tools with masking.).
Public methodDeallocateBlendingBuffer
Free the internal data structures.
Public methodDispose 
Protected methodDispose(Boolean)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodStatic memberFillDefaultWeightImage
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
Public methodFillDestinationImageFromBuffer(CogImage8Grey)
This method extracts the stitched image from the BlendingBuffer. Any destination pixels that were never written to are untouched.
Public methodFillDestinationImageFromBuffer(CogImage8Grey, Int32)
This method extracts the stitched image from the BlendingBuffer. This will write the unfilledPelValue into any destination pixels that were never written.
Public methodFillDestinationImageMaskFromBuffer
This method extracts the result mask indicating which pels in the stitched image are meaningful. This can be useful to tell user which pels were actually written during the stitch operation.
Protected methodFinalize (Overrides Object Finalize .)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStatic memberOverwriteImage(CogImage8Grey, CogImage8Grey, CogImage8Grey)
This method allows users to stitch images in overwrite mode. This will fill a destinationImageMask. The BlendingBuffer is not used. destinationImageMask must be either(1)null (i.e. no mask is desired),or (2) non-null, allocated, and the same size as the destinationImage.
Public methodStatic memberOverwriteImage(CogImage8Grey, CogImage8Grey, Int32, Int32, CogImage8Grey, CogImage8Grey)
This method allows users to stitch images in overwrite mode. This allow masking and will fill a destinationImageMask. The BlendingBuffer is not used. destinationImageMask must be either(1)null (i.e. no mask is desired),or (2) non-null, allocated, and the same size as the destinationImage. inputImageMaskOffsetX/Y can be any integer value. These values specify how the mask is aligned on the image. (Same as other VPro tools with masking.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Top
See Also