c++ - How to convert a labview image type to opencv image type (or Mat)? -



c++ - How to convert a labview image type to opencv image type (or Mat)? -

i'm using labview acquire image usb photographic camera , want process image using opencv functions through dll file (which used in phone call function vi). want convert image format labview produce process opencv. how can so?

you can utilize "imaq getimagepixelptr" pointer on image in labview.

in dll, should able :

int function(unsigned __int8 *lvimagepointer, int linewidth, int height, int width) { mat image(height, width, cv_8uc1, lvimagepointer, linewidth); ... }

c++ opencv labview

Comments

Popular posts from this blog

java - How to set log4j.defaultInitOverride property to false in jboss server 6 -

c - GStreamer 1.0 1.4.5 RTSP Example Server sends 503 Service unavailable -

Using ajax with sonata admin list view pagination -