Exemplo n.º 1
0
 public StreamProfile()
 {
     imageInfo = new PXCMImage.ImageInfo();
     reserved = new Int32[5];
 }
Exemplo n.º 2
0
 /**
  *  @brief initialize PXCMContourExtractor instance for a specific image type (size)
  *  @param[in] imageInfo definition of the images that should be processed
  *  @see PXCMImage.ImageInfo
  */
 public void Init(PXCMImage.ImageInfo imageInfo)
 {
     PXCMContourExtractor_Init(instance, imageInfo);
 }
Exemplo n.º 3
0
 /**
  *  @brief initialize PXCMBlobExtractor instance for a specific image type (size)
  *  @param[in] imageInfo definition of the images that should be processed
  *  @see PXCMImage.ImageInfo
  */
 public void Init(PXCMImage.ImageInfo imageInfo)
 {
     PXCMBlobExtractor_Init(instance, imageInfo);
 }
Exemplo n.º 4
0
 /**
  *  @brief Create an instance of the PXCMImage interface.
  *  @param[in]  info	The format and resolution of the image.
  *  @return The PXCMImage instance.
  */
 public PXCMImage CreateImage(PXCMImage.ImageInfo info)
 {
     return(CreateImage(info, null));
 }
Exemplo n.º 5
0
    /**
     *  @brief Create an instance of the PXCMImage interface with data. The application must
     *  maintain the life cycle of the image data for the PXCMImage instance.
     *  @param[in]  info	The format and resolution of the image.
     *  @param[in]	data	Optional image data.
     *  @return The PXCMImage instance.
     */
    public PXCMImage CreateImage(PXCMImage.ImageInfo info, PXCMImage.ImageData data)
    {
        IntPtr image = PXCMSession_CreateImage(instance, info, data);

        return((image != IntPtr.Zero) ? new PXCMImage(image, true) : null);
    }
Exemplo n.º 6
0
 internal static extern void PXCMBlobExtractor_Init(IntPtr instsance, PXCMImage.ImageInfo imageInfo);
Exemplo n.º 7
0
 internal static extern IntPtr PXCMSession_CreateImage(IntPtr session, PXCMImage.ImageInfo info, PXCMImage.ImageData data);