Results 1 to 4 of 4

Thread: Snapping images

  1. #1
    Join Date
    Sep 2008
    Posts
    12

    Snapping images

    I want at exact moments to snap image and process it; for example when user clicks a button
    I started modifying project that wizard creates (that inverts the image) and I changed

    setSnapMode ( true )
    and I try calling snapImages function from the button but nothing happens, no image is displayed
    Where am I wrong?

  2. #2
    Join Date
    Jan 2003
    Location
    Bremen, Germany
    Posts
    4,853

    Re: Snapping images

    Hi,

    The created project that inverts the images displays the snapped image.

    I think, you kept the CListener object attached to the grabber object.
    I think, you set the m_pSink->snapmode to "true"

    Then the CListener::frameReady should be called, if you have called m_pSink->snapImages().
    Best regards
    Stefan
    IC Imaging Control Support

  3. #3
    Join Date
    Sep 2008
    Posts
    12

    Re: Snapping images

    Thanks! It works now!

  4. #4
    Join Date
    Jan 2003
    Location
    Bremen, Germany
    Posts
    4,853

    Re: Snapping images

    Thank you for the feedback!
    Best regards
    Stefan
    IC Imaging Control Support

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •