Cognex.VisionPro.SurfaceFX NamespaceCognex VisionPro 9.8
 
Classes

  ClassDescription
Public classCogSurfaceFX
Class that holds the SurfaceFX run parameters. These parameters are used by the Execute() method and control how SurfaceFX algorithm will generate the output image that shows the surface curvature.
Public classCogSurfaceFXTool
Class that represents the top-level SurfaceFX tool. The SurfaceFX tool accepts four two-dimensional images as input. Each image must show the same physical scene. But each image must be acquired under a different illumination condition :
  • The first image must be lit from the right.
  • The second image must be lit from the bottom.
  • The third image must be lit from the left.
  • The fourth image must be lit from the top.
The SurfaceFX tool uses these images to estimate the three - dimensional shape of the physical scene. The generated 3D surface cannot be "seen" by our customers – it is entirely internal – but, it is the(only) data used to generate the tool's final output image. The output image is a single 8-bit grey-level image which shows the flat portions of the 3D surface as uniform grey and highlights the highly-curved sections of the surface as either white (if the surface curvature is concave-down) or black (if the surface curvature is concave-up). This image can be used to visualize 3D surface features such as bumps, dents, scratches, engraving and etchings. T this image can also be passed to other VisionPro tools, like Blob, to analyze the location and size of these highly-curved 3D surface features.
Enumerations

  EnumerationDescription
Public enumerationCogSurfaceFXCurrentRecordConstants
Enumeration of data that can be provided in the Tool's CurrentRecord.
Public enumerationCogSurfaceFXLastRunRecordConstants
Enumeration of non-diagnostic data that can be provided in the Tool's LastRunRecord.
Public enumerationCogSurfaceFXLastRunRecordDiagConstants
Enumeration of diagnostic data that can be provided in the Tool's LastRunRecord.
Public enumerationCogSurfaceFXSpaceTreeModeConstants
Enumeration to select how to construct the space tree of the output image.