09-13-2008 05:18 AM
Hi, Bongchan,
The easiest way is to split the color image to separate color planes, process them individually as gray images (you can also apply different kernels to different channels), and the join channels back to the color image.
Andrey.
12-25-2009 10:31 AM
04-13-2011 02:31 AM
hi all,
i am santosh from coimbatore,india. I have a open cv iplimage(grabbed from my pointgrey camera). i want to send that image to labview and display it there in labview. I tried it using a dll call in labview. i am sending the pointer imagedata and i read it in labview. But i get some value in labview ,i am unable to get the original image. Is there any thing wrong in what i am doing. please suggest
01-11-2012 03:05 AM
excuse me ,where could I find the file "utility.h"? I am using labview2009, and I have installed VDM2009 and VAS2009.
02-01-2012 07:16 AM
Hi Andrey Dmitriev:
When I open Convolution Test DLL.c and Convolution Test DLL.h in Labview CVI , then creat DLL
and show error
"cxtypes.h"(205,12) syntax error; found 'int' expecting ';'.
"cxtypes.h"(232,12) syntax error; found 'int' expecting ';'. .....
how can I fix those bugs!
Thank you so much!!
02-01-2012 07:45 AM
@joseph.chen wrote:
Hi Andrey Dmitriev:
When I open Convolution Test DLL.c and Convolution Test DLL.h in Labview CVI , then creat DLL
and show error
"cxtypes.h"(205,12) syntax error; found 'int' expecting ';'.
"cxtypes.h"(232,12) syntax error; found 'int' expecting ';'. .....
how can I fix those bugs!
Thank you so much!!
It seems to be that CVI doesn't support inline statement. Try to remove CV_INLINE, or, better, see how its defined - you can redefine this definition to avoid inlining.
By the way - its not bug - its how CVI support C standard. As far as I remember inlining is a part of C99 standard, and CVI support pure ANSI C (may be I'm wrong).
Andrey.
02-01-2012 07:57 AM
In addition to previous post - you can also try to enable "Build with C99 extension" option in Build Options (can't check it because haven't CVI in my hands right now)
02-02-2012 08:02 PM
I'm using OpenCV with VC++. My question is, after installing opencv, how do u configure labview with opencv to start programming?
02-03-2012 02:31 AM
@Naveen Iyer wrote:
I'm using OpenCV with VC++. My question is, after installing opencv, how do u configure labview with opencv to start programming?
You don't need to "configure" LabVIEW for start programming. In VC++ you have to prepare DLL (something like Wrapper) where you will use OpenCV functions, then you can call this DLL from LabVIEW. Read Message 2 in this topic.
02-04-2012 03:00 AM
Dear Andrey
If you have a RGB image in LabView.
Then how can you use this RGB image in OpenCV codes?
I want to use this image as follow:
CVImageDst = cvCreateImageHeader(cvSize(LVWidth,LVHeight), IPL_DEPTH_8U, 3); //3 Channels