当前位置:网站首页>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 - 清除测量距离产生的信息
- Batch modify the txt file code to UTF-8 (notepad++)
- Extended application of single chip microcomputer-06 independent key
- Day01 markdown log entry tips
- Global and Chinese market of peeled bourdon tubes 2022-2028: Research Report on technology, participants, trends, market size and share
- Record the visual shock of the Winter Olympics and the introduction of the screen 2
- Extern keyword function
- Function and usage of function pointer
- A series of problems in offline installation of automated test environment (ride)
- Application of ultra pure water particle counter in electronic semiconductors
猜你喜欢

UEFI development learning 6 - creation of protocol

Can't find real-time chat software? Recommend to you what e-commerce enterprises are using!

A complete set of indicators for the 10000 class clean room of electronic semiconductors

Could NOT find XXX (missing: XXX_LIBRARY XXX_DIR)

Makefile application

Shell脚本基本语法

The research found that the cross-border e-commerce customer service system has these five functions!

研究发现,跨境电商客服系统都有这五点功能!

Altium designer 19.1.18 - Import frame

Create inf module in AMI code
随机推荐
Development tools -- gcc compiler usage
Record the torch encountered by win10 cuda. is_ False problem in available()
How to migrate the device data accessed by the RTSP of the easycvr platform to easynvr?
Altium designer 19.1.18 - Import frame
Process communication mode between different hosts -- socket
Shell script basic syntax
Mlperf training v2.0 list released, with the same GPU configuration, the performance of Baidu PaddlePaddle ranks first in the world
RTOS in the development of STM32 single chip microcomputer
Record the visual shock of the Winter Olympics and the introduction of the screen 2
Altium designer 19.1.18 - change the transparency of copper laying
GPIO circuit principle of stm32
软件设计师:03-数据库系统
Use of orbbec Astra depth camera of OBI Zhongguang in ROS melody
Summary of STM32 serial port sending and receiving data methods
UEFI development learning 4 - getting to know variable services
Cadence learning records
如何将EasyCVR平台RTSP接入的设备数据迁移到EasyNVR中?
solver. Learning notes of prototxt file parameters
msys2
Create inf module in AMI code