Results 1 to 20 of 48

Thread: OpenCV integration

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #15
    Join Date
    Jul 2009
    Posts
    6
    Qt products
    Qt4
    Platforms
    Unix/X11
    Thanks
    2
    Thanked 2 Times in 1 Post

    Default Re: OpenCV integration

    Sorry to re-awaken an old topic but i am having some difficulties converting an opencv Monochrome image into a Qimage. The image is a result of calling the opencv function
    void cvInRangeS( const CvArr* src, CvScalar lower, CvScalar upper, CvArr* dst );

    When i pass this image to the function IplImageToQImage it does convert the image into qimage however the image is 8 times smaller and duplicated. The results can be seen below

    Opencv Image


    Convertion to Qimage results



    Does anybody know why this has happened? And any ideas how to correct the error?

  2. The following 2 users say thank you to switch for this useful post:

    droetker (18th May 2012)

Similar Threads

  1. Replies: 8
    Last Post: 18th March 2011, 11:27
  2. Replies: 7
    Last Post: 22nd December 2010, 08:13
  3. Qt4 integration with VS2008 Express how-to interest?
    By thomaspu in forum Qt Programming
    Replies: 11
    Last Post: 21st May 2008, 12:53
  4. How to open two cameras with opencv?
    By alphaboy in forum General Programming
    Replies: 2
    Last Post: 21st December 2007, 10:58
  5. VS Integration plugins not visible
    By kemp in forum Qt Tools
    Replies: 1
    Last Post: 11th August 2006, 22:22

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
  •  
Qt is a trademark of The Qt Company.