当前位置:网站首页>LabVIEW and VDM extract color and generate gray image

LabVIEW and VDM extract color and generate gray image

2022-06-10 23:47:00 LabVIEW development

LabVIEW and VDM Extract color and generate gray image

stay LabVIEW Using visual development module in (Vision Development Module). How to convert a color image to a grayscale image ?

LabVIEW Color image data is represented as unsigned 32 An integer (U32) Array for storage . These color images can be red, green and blue (RGB) Or color brightness saturation (HSL) Format . You need to convert the color image to HSL Format , Then extract the luminance plane . The brightness plane is completely corresponding to the gray image , also , It is the only color plane that can provide accurate expression of gray image . How to use LabVIEW and VDM Extract color and generate gray image IMAQ: Color images to grayscale images contain reusable code to demonstrate this concept .

edit

Add picture comments , No more than 140 word ( Optional )

the second VI Demonstrates how to transform an image from a color (RGB) Convert to grayscale image .

This simple program converts color images to grayscale in two ways :1) take RGB Image to HSL Image and extract the brightness plane 2) from RGB Extract the red plane from the image . The accompanying drawings may be saved and used to illustrate the VI The function of . The file path to save the image should be located in the “ File path ” Control .

More details , Participate in the introduction of the following annex .

LabVIEW、LabVIEW Development 、LabVIEW Programming 、LabVIEW Program

原网站

版权声明
本文为[LabVIEW development]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/161/202206102229543919.html