943,840 Members | Top Members by Rank

Ad:
  • C# Discussion Thread
  • Unsolved
  • Views: 2002
  • C# RSS
May 3rd, 2009
0

openCV help

Expand Post »
Hi all,

I'm trying to display an image in C# using openCV library. I've installed the openCV 1.0 and have downloaded the opencv wrapper dll file for the c#.

I've tried the following code but it isn't showing any image. just an empty window, can anyone help

thanks

C# Syntax (Toggle Plain Text)
  1.  
  2. IplImage image1 = cvlib.CvLoadImage("image.jpg", cvlib.CV_LOAD_IMAGE_UNCHANGED);
  3. cvlib.CvNamedWindow("show Image", cvlib.CV_WINDOW_AUTOSIZE);
  4. cvlib.CvShowImage("image window", ref image1);
Similar Threads
Reputation Points: 10
Solved Threads: 0
Junior Poster in Training
gallian99 is offline Offline
77 posts
since Jan 2009

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C# Forum Timeline: Process Manager
Next Thread in C# Forum Timeline: database connection - need it to be left open





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC