代码搜索:图像比对
找到约 10,000 项符合「图像比对」的源代码
代码结果 10,000
www.eeworm.com/read/462042/7211822
txt 代码17-6.txt
I = imread('test1.bmp');
BW1 = im2bw(I); %一般输入的图像是彩色的,需要转成黑白的
X = bwlabel(BW1,4);
RGB = label2rgb(X, @jet, 'k');
imshow(RGB,'notruesize')
www.eeworm.com/read/462042/7211878
txt 代码12-21.txt
I=imread('sample2.jpg');
BW = im2bw(I);
colormap(gray);
image(BW);
运行结果图像显示为全黑。正确的显示程序为:
I=imread('sample2.jpg');
BW = im2bw(I);
colormap(gray);
imshow(BW);
www.eeworm.com/read/458862/7288347
m sb3.m
%测试
clear all;
p(1:256,1)=1; %初始图像二值化像素
p1=ones(16,16);
load swjnet net; %加载训练好的网络
test=input('Please input a test image:','s');
x=imread(test,'bmp'); %特征提取
b
www.eeworm.com/read/455754/7366349
asv otosu.asv
%%初始部分,读取图像及计算相关信息
clear;
close all;
clc;
%format long;
t0=clock;
I=imread('Lenna.bmp');
%threshold_opt=graythresh(I);
I1=im2bw(I,98/25);
figure(1);
imshow(I);
title('源图');
www.eeworm.com/read/455754/7366351
m otosu.m
%%初始部分,读取图像及计算相关信息
clear;
close all;
clc;
%format long;
t0=clock;
I=imread('Lenna.bmp');
threshold_opt=graythresh(I);
I1=im2bw(I,96/256);
figure(1);
imshow(I);
title('源图');
www.eeworm.com/read/453637/7416252
txt 11.txt
%生成碎裂人脸图像
%二〇〇九年一月六日
clear
clc
tic
%模板大小
mMask=32;
nMask=32;
alphaMask=repmat(0,[mMask nMask]);
O=[mMask/2 nMask/2];
sigma=mMask/4;
for i=1:mMask
for j=1:nMask
P=[i j];
www.eeworm.com/read/449755/7497022
txt i.txt
函数名: imagesize
功 能: 返回保存位图像所需的字节数
用 法: unsigned far imagesize(int left, int top, int right, int bottom);
程序例:
#include
#include
#include
#include
www.eeworm.com/read/449477/7503812
m amss.m
function AMSS( image_name,t,out_filname )
% AMSS
% image_name 原图像文件名
% t 时间
% out_filname 输出文件名
if nargin
www.eeworm.com/read/449477/7503814
m mcm.m
function MCM(image_name,t,out_filname)
% AMSS
% image_name 原图像文件名
% t 时间
% out_filname 输出文件名
if nargin
www.eeworm.com/read/449458/7504763
m amss.m
function AMSS( image_name,t,out_filname )
% AMSS
% image_name 原图像文件名
% t 时间
% out_filname 输出文件名
if nargin