当前位置: 首页 > news >正文

【图像评价】基于Gabor特征的屏幕内容图像质量评估模型matlab代码

1 简介

本文公开了一种基于Gabor特征互信息的全参考图像质量评价方法,属于图像处理领域.本发明方法具体实施包括如下步骤:(一)输入参考图像和失真图像;(二)对参考图像和失真图像,分别利用二维Gabor滤波器进行滤波以提取Gabor特征;(三)分别建立概率分布函数,求出滤波后图像每一个像素点的概率分布及联合概率分布;(四)求出参考图像和失真图像Gabor特征的互信息;(五)建立图像质量评价函数MIGF评价图像质量.本文利用二维Gabor滤波器提取视觉特征,并通过参考图像和失真图像的互信息来建立图像质量评价函数,评价结果符合人类视觉主观认识.

2 部分代码

%% Demo

%----------------------------------------------------------------------

%

% This is an implementation of the algorithm for calculating the

% Gabor features-basedmodel (GFM) index between two images.

%

% Please refer to the following paper

%

% Z. Ni, H. Zeng, L. Ma, J. Hou, J. Chen, and K.-K. Ma, “A Gabor

% Feature-based Quality Assessment Model for the Screen Content Images,”

% IEEE Transactions on Image Processing, 2018.

%----------------------------------------------------------------------

clc

clear

close

origImg = imread('.\SCI07.bmp');

distImg = imread('.\SCI07_2_4.bmp');

fprintf('Image load finished. \n')

[gfm, gfm_map] = GFM(origImg, distImg);

fprintf('The score of the distorted image is %.4f \n', gfm)

function [score, SimMatrix] = GFM(Im1,Im2)

% ========================================================================

% GFM Index for SCI, Version 1.0

% Copyright(c) 2017 Zhangkai Ni, Huanqiang Zeng, Lin Ma, Junhui Hou,

% Jing Chen, and Kai-Kuang Ma

% All Rights Reserved.

%

% ----------------------------------------------------------------------

% Permission to use, copy, or modify this software and its documentation

% for educational and research purposes only and without fee is here

% granted, provided that this copyright notice and the original authors'

% names appear on all copies and supporting documentation. This program

% shall not be used, rewritten, or adapted as the basis of a commercial

% software or hardware product without first obtaining permission of the

% authors. The authors make no representations about the suitability of

% this software for any purpose. It is provided "as is" without express

% or implied warranty.

%----------------------------------------------------------------------

%

% This is an implementation of the algorithm for calculating the

% Gabor features-basedmodel (GFM) index between two images.

%

% Please refer to the following paper

%

% Z. Ni, H. Zeng, L. Ma, J. Hou, J. Chen, and K.-K. Ma, “A Gabor

% Feature-based Quality Assessment Model for the Screen Content Images,”

% IEEE Transactions on Image Processing, 2018.

%

%----------------------------------------------------------------------

%

%Input : (1) Im1: the first image being compared, which is a RGB image

% (2) Im2: the second image being compared, which is a RGB image

%

%Output: (1) score: is the similarty score calculated using GFM algorithm.

% GFM considers the luminance component and chrominance component of images.

%

% (2) SimMatrix: is the local quality map of the distorted image

%

%-----------------------------------------------------------------------

%

%Usage:

%Given 2 test images img1 and img2. For gray-scale images, their dynamic range should be 0-255.

%For colorful images, the dynamic range of each color channel should be 0-255.

%

%[score, SimMatrix] = GFM(img1, img2);

%-----------------------------------------------------------------------

%%%%% Transform into an opponent color space

L1 = 0.06 * double(Im1(:,:,1)) + 0.63 * double(Im1(:,:,2)) + 0.27 * double(Im1(:,:,3));

L2 = 0.06 * double(Im2(:,:,1)) + 0.63 * double(Im2(:,:,2)) + 0.27 * double(Im2(:,:,3));

M1 = 0.30 * double(Im1(:,:,1)) + 0.04 * double(Im1(:,:,2)) - 0.35 * double(Im1(:,:,3));

M2 = 0.30 * double(Im2(:,:,1)) + 0.04 * double(Im2(:,:,2)) - 0.35 * double(Im2(:,:,3));

N1 = 0.34 * double(Im1(:,:,1)) - 0.60 * double(Im1(:,:,2)) + 0.17 * double(Im1(:,:,3));

N2 = 0.34 * double(Im2(:,:,1)) - 0.60 * double(Im2(:,:,2)) + 0.17 * double(Im2(:,:,3));

%%%%%%%%%%%%%%%%

To = 330;

Tc = 100;

lambda = 0.04;

3 仿真结果

4 参考文献

[1]丁勇等. "基于Gabor特征互信息的全参考图像质量评价方法." CN, CN102497576 B.

http://www.jsqmd.com/news/1271482/

相关文章:

  • RAG系统优化:从知识库构建到智能检索的完整链路
  • 嵌入式DSP中基于XDAIS DMA规范的JPEG编解码算法性能优化实践
  • OpenClaw多代理框架在项目管理中的实战应用
  • Linux文件描述符原理与性能优化实践
  • 2025届计算机专业就业指南:薪资、技能与趋势
  • OpenCode:本地化AI开发环境的高效实践
  • CentOS安装FFmpeg完整指南:从静态编译到源码部署
  • 开源硬件开发板DragonBallZ_E225-1设计与应用
  • Base64编解码 —— 鸿蒙AI智能助手开发全流程解析
  • 学术论文AI检测应对与人工写作技巧
  • 人工势场法在移动机器人路径规划中的Matlab实现
  • 2026年京津冀矿山机械弹簧定制厂家推荐,支吊架弹簧/破碎机弹簧/转向架弹簧/安全阀弹簧,矿山机械弹簧生产厂家哪家强 - 品牌推荐师
  • 解决Windows安装Anaconda符号链接错误的6种方法
  • AI Agent核心原理与实践应用解析
  • URP中Kawase模糊实现:高性能后处理模糊算法详解
  • 2026年芝罘区铝塑门窗安装:如何甄选可靠的本地实力厂商 - 装修教育财税推荐2026
  • STM32智能风扇控制:PWM调速与旋转动画实现
  • 如何免费突破百度网盘限速:5分钟掌握直链解析完整教程
  • 抖音批量下载神器:轻松保存无水印视频的终极指南
  • Ubuntu生产环境初始化SOP与Shell脚本实战
  • 主动配电网故障定位算法设计与Matlab仿真实现
  • Kubernetes中Calico实现Pod静态IP配置指南
  • LeetCode 1541:平衡括号字符串的最少插入次数解析
  • 2026年新疆天然石材制造厂精选:口碑企业深度解析与推荐 - 装修教育财税推荐2026
  • Codex GPT 5.4 API免费额度使用指南
  • 论文降AI率实战指南:工具组合与改写技巧
  • 手机AI智能体:从被动问答到主动执行的技术演进与落地挑战
  • AI大模型轻量化Web翻译工具Poixe Translate解析
  • Python脉冲神经网络模拟器:毫秒级响应与能耗优化实践
  • 2026 年更新:平阴有实力的整车包车公司有哪些,坐一辆车,体验人生新高度的秘密-臻行汽车服务 - 企业推荐官【认证】