当前位置:网站首页>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 :
边栏推荐
- Function and usage of function pointer
- Global and Chinese market of urban rail connectors 2022-2028: Research Report on technology, participants, trends, market size and share
- UEFI development learning 4 - getting to know variable services
- C WinForm [change the position of the form after running] - Practical Exercise 4
- C WinForm [display real-time time in the status bar] - practical exercise 1
- Win10 shortcut key
- Pointnet++ classification practice
- Define in and define out
- About yolov3, conduct map test directly
- Beijing Winter Olympics opening ceremony display equipment record 3
猜你喜欢
MySQL blind note common functions
MySQL - storage engine
Factors affecting the quality of slip rings in production
Altium designer learning (I)
Numpy——1.數組的創建
C WinForm [display real-time time in the status bar] - practical exercise 1
Use of orbbec Astra depth camera of OBI Zhongguang in ROS melody
万字详解八大排序 必读(代码+动图演示)
软件设计师:03-数据库系统
Network communication process
随机推荐
Day01 markdown log entry tips
Day09 how to create packages import package naming conventions Alibaba Development Manual
QT's excellent articles
Fundamentals of C language
UEFI development learning 3 - create UEFI program
The research found that the cross-border e-commerce customer service system has these five functions!
Shell script basic syntax
Record the opening ceremony of Beijing Winter Olympics with display equipment
C WinForm [realize the previous and next selection pictures] - practice 7
Ten thousand words detailed eight sorting must read (code + dynamic diagram demonstration)
IEEE access personal contribution experience record
About yolov3, conduct map test directly
Altium Designer 19.1.18 - 清除测量距离产生的信息
How to excavate and research ideas from the paper
Scm-05 basis of independent keyboard
Global and Chinese market of resistivity meter 2022-2028: Research Report on technology, participants, trends, market size and share
Query the table name used by kettle in Oracle
A simple method to prove 1/t Fourier transform
Temperature sensor DS18B20 principle, with STM32 routine code
Development tools -- gcc compiler usage