The plugin OpenCV enable to manage image and video in Flowdesigner. You could perform different operations of treatment of images. After the installation, you could find a new menu in Flowdesigner called FDOpenCV where there is different sub menu.
You could download the OpenCV plugin with this command :
svn co https://flowdesigner.svn.sourceforge.net/svnroot/flowdesigner/trunk/FDOpenCV FDOpenCV
Then, you could install it with this command :
./autogen.sh make make install
This sub menu contains many function to manage an image.
This block loads an image from the specified file. It returns on output the image associate. The following file formats are supported:
ISCOLOR: Specifies colorness of the loaded image:
This block saves the image in input, to the specified file. The image format is chosen depending on the filename extension, see CvLoadImage.
This block display the image in input, in a window.
Create a black image (all the pixel are initialized to 0) with specified:
This sub menu contains many function to draw some figures on an image
This block draws the line segment between two points in the image. For non-antialiased lines with integer coordinates the 8-connected or 4-connected Bresenham algorithm is used. Thick lines are drawn with rounding endings. Antialiased lines are drawn using Gaussian filtering. LINE_TYPE :
The color, in input, specified for the line is in RGB.
Example with a black image of size 400x400, line [(50,50);(350,350)] and LINE_TYPE=8 :
This block draws simple, thick or filled rectangle two opposite corners.
The color, in input, specified for the rectangle is in RGB.
Example where the small rectangle is filled and the big no :
This sub menu contains many function to perform some arithmetic, logic and comparison operation between some images.
This block adds one array to another one:
dst(I)=src1(I)+src2(I)
The images must have the same type and the same size.
This block compares the corresponding elements of two images. Both image must have a single channel. The flag CMP_OP specifying the relation between the elements to be checked:
CV_CMP_NE - src1(I) "not equal to" src2(I)
dst(I)=src1(I) op src2(I),
where op is '=', '>', '>=', '
FlowDesigner-Wiki: FlowDesigner_0.9.1
FlowDesigner-Wiki: Main_Page