代码搜索:Nearest
找到约 1,596 项符合「Nearest」的源代码
代码结果 1,596
www.eeworm.com/read/462042/7211892
txt 代码13-17.txt
I = imread('sample2.jpg'); % 读入图像
J = imresize(I, 0.1); % 图像缩小
tic % 求图像运算时间
J2 = imresize(J, 10, 'nearest');
toc
tic
www.eeworm.com/read/462042/7211900
txt 代码13-16.txt
I = imread('sample2.jpg'); % 读入图像
J = imresize(I, 0.1); % 图像缩小
J2 = imresize(J, 10, 'nearest'); % 图像放大,最近邻法
J3 = imresize(J, 10, 'bilinear'); % 图像放大,双线性插值法
J4=
www.eeworm.com/read/460435/7250467
m knnc.m
%KNNC K-Nearest Neighbor Classifier
%
% [W,K,E] = KNNC(A,K)
% [W,K,E] = KNNC(A)
%
% INPUT
% A Dataset
% K Number of the nearest neighbors (optional; default: K is
% optimized with resp
www.eeworm.com/read/460435/7250485
m nmc.m
%NMC Nearest Mean Classifier
%
% W = NMC(A)
% W = A*NMC
%
% INPUT
% A Dataset
%
% OUTPUT
% W Nearest Mean Classifier
%
% DESCRIPTION
% Computation of the nearest mean classifier betw
www.eeworm.com/read/460435/7251166
m resizem.m
%RESIZEM Mapping for resizing object images in datasets and datafiles
%(outdated, rplaced by im_resize)
%
% B = RESIZEM(A,SIZE,METHOD)
% B = A*RESIZEM([],SIZE,METHOD)
%
% INPUT
% A Dat
www.eeworm.com/read/452050/7450764
cc 3020097_tle.cc
#include
int n;
int mtr[201][201];
int ans[201][201];
int abs(int num)
{
if(num < 0)
return -num;
else
return num;
}
int find_nearest(int a,int b)
{
int i, j, dis,
www.eeworm.com/read/449504/7502882
m find_neighborsd2.m
% PURPOSE: An example of using find_neighbors()
% finds an index to the nearest neighbors
% demo for a large data set
%-------------------------------------------
www.eeworm.com/read/449504/7502888
m find_neighborsd.m
% PURPOSE: An example of using find_neighbors()
% finds an index to the nearest neighbors
% demo for a small data set
%-------------------------------------------
www.eeworm.com/read/449504/7502895
m find_nnd2.m
% PURPOSE: An example of using find_nn()
% finds an index to the nearest neighbors
% demo for a large data set
%--------------------------------------------------
www.eeworm.com/read/449504/7502903
m find_nnd.m
% PURPOSE: An example of using find_nn()
% finds an index to the nearest neighbors
% demo for a small data set
%--------------------------------------------------