openCV help

Please support our C# advertiser: Intel Parallel Studio Home
Reply

Join Date: Jan 2009
Posts: 68
Reputation: gallian99 is an unknown quantity at this point 
Solved Threads: 0
gallian99 gallian99 is offline Offline
Junior Poster in Training

openCV help

 
0
  #1
May 3rd, 2009
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

  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);
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:




Views: 875 | Replies: 0
Thread Tools Search this Thread



Tag cloud for C#
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC