read_image (Image1, '1.png')
*read_image (Image1, 'C:/Users/86173/Desktop/HalconLen/1.png')
get_image_size(Image1, Width, Height)
dev_close_window()
dev_open_window(0, 0, Width, Height, 'black', WindowHandle)
dev_display(Image1)
get_image_time(Image1, MSecond, Second, Minute, Hour, Day, YDay, Month, Year)
get_image_type(Image1, Type)
get_image_pointer1(Image1, Pointer, Type1, Width1, Height1)
*操作员将 3 通道图像转换为 三个具有相同定义域的单通道图像。 不会为输出图像分配新的存储空间。 相反,创建的图像包含对现有图像的引用 输入图像通道。decompose3
decompose3(Image1, Image11, Image2, Image3)
compose3(Image11, Image11, Image11, MultiChannelImage)
*将 RGB 图像转换为灰度 图像。RGB图像的三个通道作为三个通道传递 单独的图像
rgb1_to_gray(MultiChannelImage, GrayImage)
rgb3_to_gray(GrayImage, GrayImage, GrayImage, ImageGray)
*将图像从 RGB 颜色转换 space 转换为任意颜色空间 (ColorSpace).这 图像的三个通道作为三个单独的图像传递 输入和输出
trans_from_rgb(ImageGray, ImageGray, ImageGray, ImageResult1, ImageResult2, ImageResult3, 'hsv')
