当前位置:网站首页>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 :
边栏推荐
- Screen record of the opening ceremony of the Beijing winter olympics 2
- UEFI development learning 3 - create UEFI program
- 2021-10-28
- Nombre - 1. Création de tableaux
- MySQL blind note common functions
- A series of problems in offline installation of automated test environment (ride)
- Improve lighting C program
- C#,数值计算(Numerical Recipes in C#),线性代数方程的求解,LU分解(LU Decomposition)源程序
- Win10 shortcut key
- UEFI development learning 4 - getting to know variable services
猜你喜欢
Can't find real-time chat software? Recommend to you what e-commerce enterprises are using!
Markdown tips
Application of ultra pure water particle counter in electronic semiconductors
Process communication mode between different hosts -- socket
The research found that the cross-border e-commerce customer service system has these five functions!
研究发现,跨境电商客服系统都有这五点功能!
[untitled] record the visual shock of the Winter Olympics and the introduction of the display screen
Development tools -- gcc compiler usage
C WinForm [exit application] - practice 3
Could NOT find XXX (missing: XXX_LIBRARY XXX_DIR)
随机推荐
Scm-05 basis of independent keyboard
Communication standard -- communication protocol
Summary of STM32 serial port sending and receiving data methods
Global and Chinese market of rammers 2022-2028: Research Report on technology, participants, trends, market size and share
通过sql语句统计特定字段出现次数并排序
Improve lighting C program
How to realize audit trail in particle counter software
Shell脚本基本语法
Embedded composition and route
Can't find real-time chat software? Recommend to you what e-commerce enterprises are using!
QT excellent articles
Ads learning record (lna_atf54143)
Global and Chinese markets of large aperture scintillators 2022-2028: Research Report on technology, participants, trends, market size and share
Realization of binary relation of discrete mathematics with C language and its properties
Global and Chinese market for blood typing 2022-2028: Research Report on technology, participants, trends, market size and share
A complete set of indicators for the 10000 class clean room of electronic semiconductors
Train your dataset with yolov4
Create inf module in AMI code
MySQL blind note common functions
Shell script basic syntax