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
Post a Comment