日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 人工智能 > ChatGpt >内容正文

ChatGpt

Halcon知识 : 乘法图像融合

發布時間:2025/3/21 ChatGpt 34 豆豆
生活随笔 收集整理的這篇文章主要介紹了 Halcon知识 : 乘法图像融合 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

1 算子mult_image

halcon提供的關于融合圖像的問題mult_image算子是圖像融合的工具;

?其中:g1是圖像omage1的像素,g2是圖像omage2的像素,Mult是一個系數,Add是偏移,一般是0,即無偏移。

2? 代碼

* This example demonstrates how to multiply two images using * the operator 'mult_image'. * * dev_close_window () dev_update_off () * * Read an input image and generate a second input image * by creating a gray value ramp read_image (Scene00, 'autobahn/scene_00') gen_image_gray_ramp (ImageGrayRamp, 0.5, 0.5, 128, 256, 256, 512, 512) * * Display the input images for the multiplication dev_open_window_fit_image (Scene00, 0, 0, -1, -1, WindowHandle) set_display_font (WindowHandle, 16, 'mono', 'true', 'false') dev_display (Scene00) disp_message (WindowHandle, 'Multiply the image with a gray value ramp', 'window', 12, 12, 'black', 'true') disp_continue_message (WindowHandle, 'black', 'true') stop () dev_display (ImageGrayRamp) disp_message (WindowHandle, 'Created gray value ramp', 'window', 12, 12, 'black', 'true') disp_continue_message (WindowHandle, 'black', 'true') stop () * * Multiply the images with factor 0.005 for the gray value * adaption and display the resulting image mult_image (Scene00, ImageGrayRamp, ImageResult, 0.005, 0) dev_display (ImageResult) disp_message (WindowHandle, 'Resulting image of the product', 'window', 12, 12, 'black', 'true')

三、融合效果

輸入圖像image1和image2

?輸出融合圖像

?

總結

以上是生活随笔為你收集整理的Halcon知识 : 乘法图像融合的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。