发表期刊:IEEE TRANSACTIONS ON AEROSPACE AND ELECTRONIC SYSTEMS VOL. 52, NO. 1 FEBRUARY 2016
Impact factor:1.975 Not SCI
文章引用:Deng H, Sun X, Liu M, et al. Infrared small-target detection using multiscale gray difference weighted image entropy[J]. IEEE Transactions on Aerospace & Electronic Systems, 2016, 52(1):60-72.
clear all;
close all;
clc;
img=imread('E:\A 研究生学习\我的论文~\image\6.jpg');
n=size(size(img));
if n(1,2)==2;
im_gray=img;
else im_gray=rgb2gray(img);
end
imtool(im_gray);
[M,N]=size(im_gray);
f=im_gray;
Lmax=9;
kmax=(Lmax+1)/2;
%% 自己写的程序计算D(x,y) 不对 不知道为啥啊
% for k=1:kmax-1
% for i=kmax:M-kmax
% for j=kmax:N-*kmax
% OMGkmax=f(i-km