如果运行不通,可尝试不直接点击“运行”,而是点击“运行并前进”按钮。 这个MATLAB函数将灰度图像I中的强度值映射到J中的新值,使得1%的数据在I的低强度和高强度下饱和。对图像f中任意像素的灰度值x进行变换,得到图像f 中对应像素的灰度值XF。 具体的算法步骤如下: i. Set adjustment linearity value; ii. Read in the image to be processed and assign it to I; iii. Assign image data to R. Change the original image into a monochrome image and keep the red color. Use the function imadjust to adjust the gray level of R, and the result returns R1; iv. Assign image data to G. Change the original image into a monochrome image and keep the green color. Use the function imadjust to adjust the gray level of R, and the result returns G1; v. Assign image data to B. Change the original image into a monochrome image and keep the blue color. Use the function imadjust to adjust the gray level of R, and the result returns B1; vi. Get RGB image after transformation; vii. Draw R, R1, G, G1, B, B1 images and observe the results of linear gray-scale transformation. 结果一般。 版权声明:本文为CSDN博主「灵泉matlab」的原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接及本声明。 原文链接:https://blog.csdn.net/qq_31434537/article/details/104562388
2023-03-09 10:30:28 2.65MB matlab 图像分割 RGB线性变换 车辆分离
1
行业资料-交通装置-一种基于红外的单侧车辆分离方法及其分离装置.zip
提出了一种基于骨架拐角检测的分离方法,以解决视频监控中合并车辆的问题。 首先,通过“射击法”提取融合区域的骨架,并通过角点检测得到骨架的角点。 其次,利用K-means聚类方法对角点进行聚类,从聚类结果中获取合并车辆的分割线。 来自监视视频的五十幅图像被用作实验数据。 实验结果表明,该算法不仅可以有效缓解合并车辆分离中的过度分割问题,而且可以减少所需的分离时间。
2021-03-02 19:06:06 854KB separation of vehicles; skeleton;
1