DilationRectangle1(ho_Region,&ho_RegionDilation,11,11);//矩形膨胀//参数1:膨胀区域//输出区域//参数3和参数4:结构元的宽和高-->决定哪个方向膨胀GetImageSize(ho_Image1,&hv_Width, &hv_Height); SetWindowAttr("background_color","black"); OpenWindow(10,10,hv_Width,hv_Height,0,"visible",""...
dilation_rectangle1 (Region, RegionDilation, 11, 11) *矩形膨胀 *参数1:膨胀区域 *输出区域 *参数3和参数4:结构元的宽和高-->决定哪个方向膨胀 get_image_size (Image1, Width, Height) dev_open_window(10,10,Width, Height,'black',WindowHandle) dev_display(Region) dev_open_window(10,100,Width...
defined(USE_IOSTREAM_H) using namespace std; #endif #include "HalconCpp.h" main() { cout << "Reproduction of 'dilation_rectangle ()'" << endl; cout << "First = original image " << endl; cout << "Blue = after dilation " << endl; cout << "Red = after segmentation " << ...
Example (C++ (HALCON 5.0-10.0)) #include "HIOStream.h" #if !defined(USE_IOSTREAM_H) using namespace std; #endif #include "HalconCpp.h" main() { cout << "Reproduction of 'dilation_rectangle ()'" << endl; cout << "First = original image " << endl; cout << "Blue = after ...
Example (C++ (HALCON 5.0-10.0)) #include "HIOStream.h" #if !defined(USE_IOSTREAM_H) using namespace std; #endif #include "HalconCpp.h" main() { cout << "Reproduction of 'dilation_rectangle ()'" << endl; cout << "First = original image " << endl; cout << "Blue = after dil...