get_image_pointer1是Halcon中的一个重要算子,其基本功能是返回一个指向图像第一个通道的指针。通过这个指针,开发者可以直接访问和操作图像数据,从而实现对图像的高效处理。这个算子在需要直接操作图像内存的场景下非常有用,比如在图像处理算法中实现自定义操作或优化性能时。 3. get_image_pointer1算子的参数说明及其...
get_image_pointer1(Image,(Hlong*)&ptr,typ,&width,&height); 结果 如果只有一个图像被传递,那么算子get_image_pointer1返回值2(H_MSG_TRUE)。 空输入(无可用输入图像)时的行为通过算子set_system('no_object_result',<Result>)设置。 如有必要,会引发异常。 Possible Predecessors read_image Alternatives ...
get_image_pointer1_rect(imagereduced,(Hlong*)&ptr,&width,&height,&vert_pitch,&hori_bit_pitch,&bits_per_pix); 结果 算子get_image_pointer1_rect返回值2(H_MSG_TRUE),如果只有一个图像被传递。 空输入(无可用输入图像)时的行为通过算子set_system('no_object_result',<Result>)设置。 如有必要,会...
get_image_pointer1— Access the pointer of a channel. Signature Description The operatorget_image_pointer1returns a pointer to the first channel of the imageImage. Additionally, the image type (Type= 'byte', 'int2', 'uint2', etc.) and the image size (width and height) are returned. ...
get_image_pointer1_rect— Access to the image data pointer and the image data inside the smallest rectangle of the domain of the input image.Signatureget_image_pointer1_rect(Image : : : PixelPointer, Width, Height, VerticalPitch, HorizontalBitPitch, BitsPerPixel)...
Halcon算子翻译——get_image_pointer1 2017-12-05 08:33 −... 水行 0 2275 Unsupervised Image-to-Image Translation Networks 2019-12-19 19:21 −Abstract: 无监督图像到图像的翻译目的是学习不同域图像的一个联合分布,通过使用来自单独域图像的边缘分布。给定一个边缘分布,可以得到很多种联合分布。如果...
get_image_pointer3(ImageRGB : : : PointerRed, PointerGreen, PointerBlue, Type, Width, Height) 函数获取一个三通道图像的三个通道的数据指针,图像的类型与长宽也可以额外获取。 因此,可以通过指针直接访问HALCON数据库中的图像数据。 在HALCON中,图像按行顺序线性化储存,即一行一行地储存。 'complex' 和'vec...
get_image_pointer1— Access the pointer of a channel. Signature Description The operatorget_image_pointer1returns a pointer to the first channel of the imageImage. Additionally, the image type (Type= 'byte', 'int2', 'uint2', etc.) and the image size (width and height) are returned. ...
get_image_pointer1— Access the pointer of a channel. Signature Description The operatorget_image_pointer1returns a pointer to the first channel of the imageImage. Additionally, the image type (Type= 'byte', 'int2', 'uint2', etc.) and the image size (width and height) are returned. ...