代码搜索:Nearest
找到约 1,596 项符合「Nearest」的源代码
代码结果 1,596
www.eeworm.com/read/390457/8464694
m transformimage.m
function [r,g,b] = transformImage(A,Ar,Ac,Nrho,Ntheta,Method,Center,Shape)
% Inputs: A the input image
% Nrho the desired number of rows of transformed image
% Ntheta
www.eeworm.com/read/390194/8478255
txt 10-10.txt
%例10-10 switch - case - otherwise - end分支语句的使用。
function lower1(method)
switch method
case {'linear','bilinear'}
disp('Method is linear')
case 'cubic'
www.eeworm.com/read/388076/8637252
m transformimage.m
function [r,g,b] = transformImage(A,Ar,Ac,Nrho,Ntheta,Method,Center,Shape)
> Inputs: A the input image
> Nrho the desired number of rows of transformed image
> Ntheta the desired number of colum
www.eeworm.com/read/288303/8644314
m odd.m
function y=odd(x);
%ODD Round towards nearest odd value.
% Y=ODD(X) rounds each element of X towards the nearest odd
% integer value. If an element of X is even, ODD adds +1 to
% this value. X can b
www.eeworm.com/read/431671/8662620
m odd.m
function y=odd(x);
%ODD Round towards nearest odd value.
% Y=ODD(X) rounds each element of X towards the nearest odd
% integer value. If an element of X is even, ODD adds +1 to
% this value. X can b
www.eeworm.com/read/386050/8767430
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/386050/8767496
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/386050/8769460
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/429840/8786081
m examp8_1.m
x=0:.12:1;
y=(x.^2-3*x+5).*exp(-5*x).*sin(x); plot(x,y,x,y,'o')
x1=0:.02:1; y0=(x1.^2-3*x1+5).*exp(-5*x1).*sin(x1);
y1=interp1(x,y,x1); y2=interp1(x,y,x1,'cubic');
y3=interp1(x,y,x1,'spline'); y
www.eeworm.com/read/186737/8913154
m gobad.m
close all; clear; clc;
%J=imread('cmanJ.tif');
J=imread('b.tif');
se = translate(strel(1), [30 20]);
J = imdilate(I,se);
J = imrotate(J,45,'nearest','crop');
%imwrite(J,'cmanJother.tif');
ims