get_system_time (MSecond, Second, Minute, Hour, Day, YDay, Month, Year) DateTime := Year+'-'+Month$'.2'+'-'+Day$'.2'+' '+Hour$'.2'+':'+Minute$'.2'+':'+Second$'.2'+':'+MSecond$'.3' DirPathFirst := 'D:\\HalconException\\' file_exists (DirPathFirst, bFileExists...
1 get_grayval() 获取一个图像目标的灰度值。 2 get_image_pointer1() 获取一个通道的指针。 3 get_image_pointer1_rect() 获取图像数据指针和输入图像区域内最小矩形内部的图像数据。 4 get_image_pointer3() 获取一个彩色图像的指针。 5 get_image_time() 查找图像被创建的时间。 7.2 获取(Acquisition)...
功能:关闭一个插口(接口)。 get_next_socket_data_type 功能:决定下一个插口(接口)数据的HALCON数据类型。 get_socket_timeout 功能:获取一个插口(接口)的超时。 open_socket_accept 功能:打开一个接受连接请求的插口(接口)。 open_socket_connect 功能:打开一个插口到一个已存在的插口。 receive_image 功能:通...
'system_time_base': Determines how the system time is read. The system time can be read using get_system_time. Value: 'UTC' (Coordinated Universal Time), 'localtime' (local time configured on the used system) Default: 'localtime' 'max_connection': Determines the maximum number of regio...
即没有加速并行处理23set_system ('parallelize_operators','false')24get_system ('parallelize_operators', AOP)25count_seconds(T0)26edges_sub_pix (ImageGray, Edges1,'canny', alpha, low, high)27count_seconds(T1)28Time0:=(T1-T0)*100029stop()3031*测试2:AOP自动加速并行处理32*Halcon的默认值是...
'system_time_base', 'temp_mem', 'temporary_mem_cache', 'temporary_mem_reservoir', 'temporary_mem_reservoir_size', 'thread_num', 'thread_pool', 'timer_mode', 'tsp_cancel_draw_result', 'tsp_clip_region', 'tsp_current_runlength_number', 'tsp_empty_region_result', 'tsp_height', 'ts...
(Image, ImageGray)endifalpha:=5low:=10high:=20*测试1:去掉AOP,即没有加速并行处理set_system ('parallelize_operators', 'false')get_system ('parallelize_operators', AOP)count_seconds(T0)edges_sub_pix (ImageGray, Edges1, 'canny', alpha, low, high)count_seconds(T1)Time0:=(T1-T0)*1000...
The access to the system time, e.g., via get_system_time, can now be switched between local time and Coordinated Universal Time (UTC) using the new argument 'system_time_base' for set_system. system_call has been improved. Now, it uses the POSIX Spawn API for Linux and macOS, whic...
9 get_system ('reentrant', Reentrant)10 *故意关掉测试性能 11 *set_system('parallelize_operators','false')并⾏HALCON在多核计算机上会⾃动将数据,⽐如图像数据分配给多个线程,每⼀个线程对应⼀个内核。⽤户甚⾄不需要改动已有的HALCON程序来就能使⽤⾃动划分功能,从⽽⽴即获得显著的速度...
get_system ('parallelize_operators', AOP) *这个修饰符用于把函数定义为可重入函数,默认值是true;所谓可重入函数就是允许被递归调用的函数 get_system ('reentrant', Reentrant) *故意关掉测试性能 *set_system('parallelize_operators','false') 1.