当前位置:网站首页>Class of color image processing based on Halcon learning_ ndim_ norm. hdev
Class of color image processing based on Halcon learning_ ndim_ norm. hdev
2022-07-05 07:56:00 【BoomBiuBiu】
Classification based on multi-channel images
* Read the picture
read_image (Image, 'ic')
* Get the size of the picture
get_image_size (Image, Width, Height)
* close window
dev_close_window ()
* open windows
dev_open_window (0, 0, Width, Height, 'black', WindowID)
* display picture
dev_display (Image)
* Set the color to red
dev_set_color ('red')
* use ROI Make matting
gen_rectangle1 (Region, 360, 198, 369, 226)
* Create an empty area
gen_empty_region (EmptyRegion)
*learn_ndim_norm - by class_ndim_norm Construction class
*learn_ndim_norm( Classification area , background , Images , The way , distance , Minimum scale , radius , center , quality )
*learn_ndim_norm from Foreground Region generates classification clusters , And in multi-channel images Image Generate the corresponding gray value , Can be in class_ndim_norm Use in .
* The background is determined in class_ndim_norm A class of pixels not found in . This parameter may be empty ( An empty object )
learn_ndim_norm (Region, EmptyRegion, Image, 'euclid', 10, 0.01, Radius, Center, Quality)
* Set the color to blue
dev_set_color ('blue')
* Use hypersphere or hypercube to classify pixels
class_ndim_norm (Image, Regions, 'euclid', 'multiple', Radius, Center)
* display picture
dev_display (Image)
* Display area
dev_display (Regions)
Cutout area :
Recognition result :
边栏推荐
- Altium Designer 19.1.18 - 隐藏某一个网络的飞线
- Global and Chinese market of plastic recycling machines 2022-2028: Research Report on technology, participants, trends, market size and share
- Global and Chinese market of urban rail connectors 2022-2028: Research Report on technology, participants, trends, market size and share
- Extended application of single chip microcomputer-06 independent key
- Ads usage skills
- About yolov3, conduct map test directly
- Oracle triggers and packages
- RTOS in the development of STM32 single chip microcomputer
- The global and Chinese market of lithographic labels 2022-2028: Research Report on technology, participants, trends, market size and share
- Gradle composite construction
猜你喜欢
Ads learning record (lna_atf54143)
C#,数值计算(Numerical Recipes in C#),线性代数方程的求解,LU分解(LU Decomposition)源程序
Altium designer 19.1.18 - hide the fly line of a network
High end electronic chips help upgrade traditional oil particle monitoring
Altium Designer 19.1.18 - 清除测量距离产生的信息
Altium designer 19.1.18 - clear information generated by measuring distance
Nombre - 1. Création de tableaux
Software designer: 03 database system
Altium Designer 19.1.18 - 更改铺铜的透明度
Basic embedded concepts
随机推荐
Oracle triggers and packages
Temperature sensor DS18B20 principle, with STM32 routine code
C#,数值计算(Numerical Recipes in C#),线性代数方程的求解,LU分解(LU Decomposition)源程序
msys2
Global and Chinese market of quenching furnaces 2022-2028: Research Report on technology, participants, trends, market size and share
Function and usage of function pointer
About yolov3, conduct map test directly
MLPerf Training v2.0 榜单发布,在同等GPU配置下百度飞桨性能世界第一
Gradle composite construction
Altium designer 19.1.18 - hide the fly line of a network
PIL's image tool image reduction and splicing.
·Practical website·
MySQL - storage engine
Significance and requirements of semiconductor particle control
Ten thousand words detailed eight sorting must read (code + dynamic diagram demonstration)
A simple method to prove 1/t Fourier transform
Openxlsx field reading problem
Record the visual shock of the Winter Olympics and the introduction of the screen 2
Define in and define out
RF ride side door processing of prompt box