plateform
stringclasses
1 value
repo_name
stringlengths
13
113
name
stringlengths
3
74
ext
stringclasses
1 value
path
stringlengths
12
229
size
int64
23
843k
source_encoding
stringclasses
9 values
md5
stringlengths
32
32
text
stringlengths
23
843k
github
SMASHtoolbox/release-master
set.m
.m
release-master/+SMASH/+MUI/@Line/set.m
370
utf_8
c41aa4932c42b7dae388116918c22757
% This method sets custom line properties. % % >> set(object,name,value,...) % % function set(object,varargin) Narg=numel(varargin); if rem(Narg,2)==1 error('ERROR: unmatched name/value pair'); end for n=1:2:Narg name=varargin{n}; value=varargin{n+1}; switch lower(name) otherwise ...
github
SMASHtoolbox/release-master
appearance.m
.m
release-master/+SMASH/+MUI/@Line/private/appearance.m
3,947
utf_8
2a677f61e8724424e8f8e5ec2f5060fe
%% function appearance(~,~,target) % create dialog box h=findall(0,'Tag','CustomLineAppearance'); delete(h); object=SMASH.MUI.Dialog(); set(object.Handle,'Tag','CustomLineAppearance'); object.Name='Line settings'; object.Hidden=true; % line property settings h=addblock(object,'text','Line properties'); set(h,'FontWe...
github
SMASHtoolbox/release-master
line_function.m
.m
release-master/+SMASH/+MUI/@Line/old/line_function.m
4,563
utf_8
2f71ef7a147c6d43ca9c8b860bb308ed
% mui.line : create smart line object function varargout=line(varargin) % create line hline=line(varargin{:}); haxes=ancestor(hline,'axes'); % use default color if user did not specify colorset=false; for n=1:nargin value=varargin{n}; if isnumeric(value) continue end if any(regexpi(value,'colo...
github
SMASHtoolbox/release-master
enable.m
.m
release-master/+SMASH/+MUI/@Line/old/enable.m
153
utf_8
7c33cb9130d9230051af04abef5b7c44
% enable : enable custom line features function enable(object,feature) if (nargin<2) || isempty(feature) feature={'appearance','export'}; end end
github
SMASHtoolbox/release-master
Colorbar.m
.m
release-master/+SMASH/+MUI/@Colorbar/Colorbar.m
3,505
utf_8
e890ebc28f39dd1bb68320c544089a47
% This class provides a basic colorbar for scaled images. It works similar % to the builtin "colorbar" function, but a simpler and more stable context % menu is provided. % >> object=Colorbar(...); % % See also MUI % % % created January 23, 2014 by Daniel Dolan (Sandia National Laboratories) % classdef Colorbar < ...
github
SMASHtoolbox/release-master
addButton.m
.m
release-master/+SMASH/+MUI/@BasicGUI/addButton.m
901
utf_8
181a9af735baa733fd0b848d9e43f8fe
% addButton Add button to the interface % % This method adds a new button to the graphical interface. % addButton(object,label); % Specifying an output returns the handle of the new button. % ha=addButton(...); % % Buttons are placed from left to right in the order they are created. % % See also BasicGUI, addAxe...
github
SMASHtoolbox/release-master
addAxes.m
.m
release-master/+SMASH/+MUI/@BasicGUI/addAxes.m
862
utf_8
f3eb6976a684d6522e1651f1d2bbcc08
% addAxes Add axes to the interface % % This method adds a new axes to the graphical interface. % addAxes(object); % competely fill panel % addAxes(object,position); % partially fill panel (normalized units) % Specifying an output returns the handle of the new axes object. % ha=addAxes(...); % % See also Basic...
github
SMASHtoolbox/release-master
refresh.m
.m
release-master/+SMASH/+MUI/@BasicGUI/refresh.m
2,954
utf_8
cd52d2d7894a53abfcc4eb7f21ff3d39
% refresh Refresh interface % % This method refreshes an interface, updating the object and display as % necesary. Calling the method: % refresh(object); % does several things. % -Axes and button handles are verified. % -Buttons are positioned on the screen % -Graphic and button panels are resized to match...
github
SMASHtoolbox/release-master
addblock.m
.m
release-master/+SMASH/+MUI/@DialogPlot/addblock.m
6,048
utf_8
1706144ee3d77c5245e280218f22cf58
% addblock Add control block % % This method adds control blocks to a dialog plot. Each block is a % set of controls (uicontrols) that are added to the dialog box % sequentially, with the first block at the top and the last block at the % bottom. The dialog box is automatically resized to accomodate all % control blo...
github
SMASHtoolbox/release-master
finish.m
.m
release-master/+SMASH/+MUI/@DialogPlot/finish.m
378
utf_8
fe12f68a06f00ba7cc02cb619f65242e
% finish Finish dialog plot % % This method finalizes the controls in a dilaog plot. % finish(object) % The "addblock" method will *not* work after the object has been % finalized. % % See also DialogPlot, addblock % % % created April 2, 2017 by Daniel Dolan (Sandia National Laboratories) % function object=finish(o...
github
SMASHtoolbox/release-master
coolwarm.m
.m
release-master/+SMASH/+MUI/+Colormap/coolwarm.m
1,354
utf_8
393858c4ac8e2e8940a6792f3bfedbcc
% coolwarm Generate cool/warm colormap % % This function generates the cool/warm colormap, described by Kenneth % Moreland [1], for perceptual clarity. % map=coolwarm(); % 64 color levels % map=coolwarm(N); % N color levels % The output "map" is a three-column table that can be used with MATLAB's % colormap funct...
github
SMASHtoolbox/release-master
addblock.m
.m
release-master/+SMASH/+MUI/@Dialog/addblock.m
7,229
utf_8
20b5d7b8ba96e5598b385d2d5dd670af
% ADDBLOCK Add control block to a Dialog % % This method adds control blocks to a custom dialog box. Each block is a % set of controls (uicontrols) that are added to the dialog box % sequentially, with the first block at the top and the last block at the % bottom. The dialog box is automatically resized to accomodate...
github
SMASHtoolbox/release-master
frame.m
.m
release-master/+SMASH/+MUI/@Dialog/frame.m
1,534
utf_8
171562ae521946814a638f78a066591a
% frame Visually group controls with a frame % % This method creates a frame uicontrol inside a Dialog box, visually % grouping a set of existing controls (created with the addblock method). % The target controls are specified as an array of graphic handles. % >> h=frame(object,target); % % See also Dialog, addblock...
github
SMASHtoolbox/release-master
probe.m
.m
release-master/+SMASH/+MUI/@Dialog/probe.m
1,178
utf_8
2c52aebb7f9140c32b9df28e2a9cd1da
% PROBE Probe control values in a Dialog % % This method probes all controls in a custom dialog box whose state can be % altered: edit boxes, check boxes, radio buttons, popup menus, and list % boxes. % >> value=probe(object); % Value are returned as cell array in the order that the objects were % created. % % See a...
github
SMASHtoolbox/release-master
ComplexQuestion.m
.m
release-master/+SMASH/+MUI/@Dialog/ComplexQuestion.m
3,697
utf_8
fabe1c8ea53e2402a2cf4e69baf8e330
% ComplexQuestion Simple question dialog % % This static method generates a simple question dialog. % choice=Dialog.ComplexQuestion(question,title,list); % The input "question" is the text shown in the dialog box; the input % "title" in a short message at the top of that box. The input "list" % defines the permitted...
github
SMASHtoolbox/release-master
locate.m
.m
release-master/+SMASH/+MUI/@Dialog/locate.m
3,436
utf_8
ec9914e936c52dcd071dc0ab90f6a216
% LOCATE Adjust Dialog location % % This method adjusts the location of a custom dialog box. The position of % the dialog box can be specified with respect to the entire screen: % >> locate(object,location); % or a reference figure. % >> locate(object,location,reference); % reference is a figure handle % Valid l...
github
SMASHtoolbox/release-master
Message.m
.m
release-master/+SMASH/+MUI/@Dialog/Message.m
1,683
utf_8
a755abea329f49717270ea8cf224aba1
% Message Basic message dialog % % This static method generates a basic message dialog. % Dialog.Message(message,title,width); % The "message" input is required and may be text or a cell array of text % arrays. The "title" input is an optional string shown at the top of % dialog. The optional "width" input defines ...
github
SMASHtoolbox/release-master
squeeze.m
.m
release-master/+SMASH/+MUI/@Dialog/squeeze.m
1,106
utf_8
e0a5d61380d91bd7dbe1c448ffffb343
% squeeze Remove white space % % This method removes extraneous white space from a dialog box % squeeze(object) % % See also Dialog % % % % function squeeze(object) h=get(object.Handle,'Children'); % determine control shift x0=inf; y0=inf; for n=1:numel(h) switch get(h(n),'Type') case 'uimenu' ...
github
SMASHtoolbox/release-master
copy.m
.m
release-master/+SMASH/+MUI/@Dialog/copy.m
2,148
utf_8
a234df8096d416ce6dae2b82e9799294
% copy Copy dialog items % % This method copies controls, tables, and other items from from a dialog % box to another parent object. % new=copy(object,parent); % The input "parent" can be a figure, uipanel, or uitable object. The % output "new" is an array of copied object handles. % % NOTE: new parent objects are ...
github
SMASHtoolbox/release-master
SimpleQuestion.m
.m
release-master/+SMASH/+MUI/@Dialog/SimpleQuestion.m
2,482
utf_8
0d15d70ca9a90513c3158e0844702379
% SimpleQuestion Simple question dialog % % This static method generates a simple question dialog. % choice=Dialog.SimpleQuestion(question,title,list); % The input "question" is the text shown in the dialog box; the input % "title" in a short message at the top of that box. The input "list" % defines the permitted a...
github
SMASHtoolbox/release-master
trim.m
.m
release-master/+SMASH/+MUI/@Dialog/trim.m
1,200
utf_8
3431fc02bfc9f5d9287d1baebfdaf3a6
% trim Trim excess dialog width % % This method trims excess width from a dialog box. % trim(object); % Trimmed dialogs are fit all existing blocks with horizontal margin in % either side. % % Excess space arises from the automatic sizing of text entries. Sizing % assumes a fixed width font, but text is often sho...
github
SMASHtoolbox/release-master
browseDrive.m
.m
release-master/+SMASH/+MUI/@Dialog/browseDrive.m
6,206
utf_8
63a8a0c93657ba7bf1add5281182c0e6
% browseDrive Browse drive content % % This *static* method provides interactive dialog for browsing a system % drive. % selection=Dialog.browseDrive; % The output "selection" is a cell array of files/folders that are selected % when the "OK" button is pressed. The value 0 is returned when the % "Cancel" button is ...
github
SMASHtoolbox/release-master
box.m
.m
release-master/+SMASH/+MUI/@Dialog/box.m
1,428
utf_8
f1355cc495bb952d361ae6d7223508a5
% box Draw a box around specified items % % This method draws box around items in a dialog box. The box size is % determined by the outermost boundaries of the specified items. % ha=box(object,target); % The input "target" is an array of graphic handles: uicontrols, tables, % and axes objects. % % See also Dialog,...
github
SMASHtoolbox/release-master
local_uicontrol.m
.m
release-master/+SMASH/+MUI/@Dialog/private/local_uicontrol.m
1,474
utf_8
e988f5b9305cd0e8c88239fc43161398
%% local uicontrol (could be pushed out to separate classes function varargout=local_uicontrol(object,varargin) % create uicontrol h=uicontrol('Parent',object.Handle,'Units','pixels'); set(h,varargin{:}); extent=get(h,'Extent'); position=[object.HorizontalMargin object.VerticalMargin extent(3:4)]; set(h,'Position',po...
github
SMASHtoolbox/release-master
popup_button.m
.m
release-master/+SMASH/+MUI/@Dialog/private/popup_button.m
1,956
utf_8
bbf0ad915e4db91c3a803ea1e14b897f
% dialog.popup_button : add popup/button block to dialog % Usage: % >> h=object.popup_button(label,choices,minwidth); % label is a cell array ({'Choices' 'action'} by default) % choices should be a cell array of strings % minwidth defines the minimum block width in characters (optional) function varargout=popup_butto...
github
SMASHtoolbox/release-master
check.m
.m
release-master/+SMASH/+MUI/@Dialog/private/check.m
1,184
utf_8
de5e4dcd561afe5919393c7912600355
% dialog.check : add check block to dialog % Usage: % >> h=object.check(label,minwidth); % label is a character array ('Label' by default) % minwidth defines the minimum block width in characters (optional) function varargout=check(object,label,minwidth) % handle input if (nargin<2) || isempty(label) label='Lab...
github
SMASHtoolbox/release-master
cedit_check.m
.m
release-master/+SMASH/+MUI/@Dialog/private/cedit_check.m
1,935
utf_8
19619f8da213aef0c94f4910583e6578
% dialog.cedit_check : add edit/check block to dialog % Usage: % >> h=object.cedit_check(label,minwidth) % 'label' is a cell array of strings (label + check box) % minwidth defines the minimum block width in characters (optional) function varargout=cedit_check(object,label,minwidth,SkipLabel) % handle input if (nar...
github
SMASHtoolbox/release-master
listbox.m
.m
release-master/+SMASH/+MUI/@Dialog/private/listbox.m
1,351
utf_8
2117bace220198ecd2f7a6541d749c50
% dialog.popup : add popup block to dialog % Usage: % >> h=object.listbox(label,choices,minwidth); % label is a character array ('Choices' by default) % choices should be a cell array of strings % minwidth defines the minimum block width in characters (optional) function varargout=listbox(object,label,choices,minwid...
github
SMASHtoolbox/release-master
close.m
.m
release-master/+SMASH/+MUI/@Dialog/private/close.m
117
utf_8
7a6ac1d7db8dde3d688cd50226e82795
%% function close(obj) % dialog.close : close the dialog % >> object.close; delete(obj.Handle); obj.Handle=[]; end
github
SMASHtoolbox/release-master
edit_button.m
.m
release-master/+SMASH/+MUI/@Dialog/private/edit_button.m
1,633
utf_8
e04d4790b017e689243c5c6f9dcf3828
% Usage: % >> h=object.edit_check(label,minwidth) % label is a cell array of strings (label + button) % minwidth defines the minimum button width in characters (optional). function varargout=edit_button(object,label,minwidth,SkipLabel) % handle input if (nargin<2) || isempty(label) label={'Label: ',' button '};...
github
SMASHtoolbox/release-master
cedit_button.m
.m
release-master/+SMASH/+MUI/@Dialog/private/cedit_button.m
1,881
utf_8
b1c8d35397d8273071971be8e8e233cd
% Usage: % >> h=object.cedit_check(label,minwidth) % label is a cell array of strings (label + button) % minwidth defines the minimum button width in characters (optional). function varargout=cedit_button(object,label,minwidth,SkipLabel) % handle input if (nargin<2) || isempty(label) label={'Label: ',' button '...
github
SMASHtoolbox/release-master
custom.m
.m
release-master/+SMASH/+MUI/@Dialog/private/custom.m
8,315
utf_8
73e7ecfadec14950cf8da7364bcb3478
% dialog.custom : add a line of custom uicontrols % % Usage: % % >> h=object.custom(object,{Control},{labels},[minwidth], height,{Choices},Rows); % % This function allows for the generation of a series of arbitrary controls % aligned horizontally. It is designed to provide more flexibility for % situations where the...
github
SMASHtoolbox/release-master
destroy.m
.m
release-master/+SMASH/+MUI/@Dialog/private/destroy.m
391
utf_8
2d1d62bf74c517c916d3f16442961830
% note: this function may be obsolete (12/7/2015) function destroy(object,~) try if isa(object,'handle') && ishandle(object.Handle) % delete dialog when object is deleted delete(object.Handle); elseif ishandle(object) % delete object when dialog is closed/deleted target=get(object,'UserData'); ...
github
SMASHtoolbox/release-master
button.m
.m
release-master/+SMASH/+MUI/@Dialog/private/button.m
1,238
utf_8
b1831cd07331f306c050c9d19b3a998f
% dialog.button : add button block to dialog % Usage: % >> h=object.button(label,minwidth); % label is a character array (single button) or a cell array of strings (multiple buttons) % minwidth defines the minimum button width in characters (optional) function varargout=button(object,label,minwidth) % handle input ...
github
SMASHtoolbox/release-master
toggle.m
.m
release-master/+SMASH/+MUI/@Dialog/private/toggle.m
1,238
utf_8
cfeb6aeb8224fdc850ec3b02cdd692c9
% dialog.toggle : add toggle block to dialog % Usage: % >> h=object.toggle(label,minwidth); % label is a character array (single button) or a cell array of strings (multiple buttons) % minwidth defines the minimum button width in characters (optional) function varargout=toggle(object,label,minwidth) % handle input ...
github
SMASHtoolbox/release-master
slider.m
.m
release-master/+SMASH/+MUI/@Dialog/private/slider.m
1,307
utf_8
206be09f7a8c25dcb33699489ffdfca3
function varargout=slider(object,label,minwidth,SkipLabel) % handle input if (nargin<2) || isempty(label) label='Label: '; end if (nargin<3) || isempty(minwidth) minwidth=0; end if isscalar(minwidth) minwidth(2)=5; end if nargin<4 SkipLabel=''; end if strcmpi(SkipLabel,'SkipLabel') SkipLabel=t...
github
SMASHtoolbox/release-master
edit_check.m
.m
release-master/+SMASH/+MUI/@Dialog/private/edit_check.m
1,466
utf_8
22e598d3b7c46d68005063b06804894f
% dialog.edit_check : add edit/check block to dialog % Usage: % >> h=object.edit_check(label,minwidth) % 'label' is a cell array of strings (label + check box) % minwidth defines the minimum block width in characters (optional) function varargout=edit_check(object,label,minwidth,SkipLabel) % handle input if (nargin...
github
SMASHtoolbox/release-master
listbox_button.m
.m
release-master/+SMASH/+MUI/@Dialog/private/listbox_button.m
2,049
utf_8
efea11e9112afa83690bd3639d40252a
% dialog.listbox_button : add listbox with button(s) block to dialog % Usage: % >> h=object.listbox_button(label,choices,minwidth); % label is a character array ('Choices' by default) % choices should be a cell array of strings % minwidth defines the minimum block width in characters (optional) function varargout=li...
github
SMASHtoolbox/release-master
radio.m
.m
release-master/+SMASH/+MUI/@Dialog/private/radio.m
1,187
utf_8
9e5a08f30f5775b5c23eb625f653f5f6
% dialog.radio : add radio block to dialog % Usage: % >> h=object.radio(label,minwidth); % label is a character array ('Label' by default) % minwidth defines the minimum block width in characters (optional) function varargout=radio(object,label,minwidth) % handle input if (nargin<2) || isempty(label) label='Lab...
github
SMASHtoolbox/release-master
popup.m
.m
release-master/+SMASH/+MUI/@Dialog/private/popup.m
1,373
utf_8
ca1800a1fe1183ac6b94a564c4ef0006
% dialog.popup : add popup block to dialog % Usage: % >> h=object.popup(label,choices,minwidth); % label is a character array ('Choices' by default) % choices should be a cell array of strings % minwidth defines the minimum block width in characters (optional) function varargout=popup(object,label,choices,minwidth,Sk...
github
SMASHtoolbox/release-master
verify.m
.m
release-master/+SMASH/+MUI/@Dialog/private/verify.m
151
utf_8
c8ab1a915801d8c27c59ef367c130238
function verify(object) if ~isvalid(object) || ~ishandle(object.Handle) delete(object); error('ERROR: dialog box no longer exists'); end end
github
SMASHtoolbox/release-master
finalize.m
.m
release-master/+SMASH/+MUI/@Dialog/old/finalize.m
391
utf_8
32b6fe51559755a4d58a74885684d567
% FINALIZE Complete Dialog object % % >> finalize(object); % function finalize(object) figpos=get(object.Handle,'Position'); width=0; h=findall(object.Handle,'Type','uicontrol'); for n=1:numel(h) pos=get(h(n),'Position'); extent=get(h(n),'Extent'); width=max([width pos(1)+extent(3)+object.HorizontalMar...
github
SMASHtoolbox/release-master
launch.m
.m
release-master/+SMASH/+MUI/@SelectFile/launch.m
12,325
utf_8
ced3e7b609f9cbf432fc563fae01bed5
% launch Launch graphical interface % % This method launches a graphical interface for selecting files and % directories. % file=launch(object); % This interface is a modal dialog that stops execution until the user % clicks on the "OK" or "Cancel" buttons. In single selection mode, the % output "file" is the name ...
github
antipa/lensless-master
soft_wave_detail.m
.m
lensless-master/soft_wave_detail.m
2,427
utf_8
9d235de1d1474f54a5dde6974a4be646
function c_out = soft_wave_detail(o,c,s,n,tau) %DETCOEF2 Extract 2-D detail coefficients. % D = DETCOEF2(O,C,S,N) extracts from the wavelet % decomposition structure [C,S], the horizontal, vertical % or diagonal detail coefficients for O = 'h' % (or 'v' or 'd',respectively), at level N. N must % be an inte...
github
yankagan/VARD-for-CT-master
surrogate_VARD.m
.m
VARD-for-CT-master/Algorithms/VARD/surrogate_VARD.m
394
utf_8
52d0c7e79a0e740bedfa9ed10fc31459
% Code written by Y. Kaganovsky, Dec. 2014 % This function computes the 1D surrogate for the variance S_{v_j} used by VARD % as well as its 1st and 2nd derivatives function [fun der1 der2] = surrogate(v,v_prev,sbp_E,C,Z) fun = sbp_E.*exp(Z.*(v-v_prev))./Z./2-log(v)./2+C.*v./2; der1 = sbp_E.*exp(Z.*(v-v_prev))./...
github
ryosuzuki/CSCI-5722-master
warp.m
.m
CSCI-5722-master/hw2/warp.m
1,167
utf_8
c5cab385510b15db30e809fb77e1dd21
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % Ryo Suzuki % rysu7393 % 105790212 % ryo.suzuki@colorado.edu % % CSCI-5722 Computer Vision % Ioana Fleming % Homework Assignment 2 % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% function warped_img = warp(img_2, homography) [X, Y, C] = size(img_2); % Set the bounding box bb = [1 Y 1 X]; ...
github
ryosuzuki/CSCI-5722-master
homography.m
.m
CSCI-5722-master/hw2/homography.m
650
utf_8
1fd47f0cf7b97811d62fdd03243db173
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % Ryo Suzuki % rysu7393 % 105790212 % ryo.suzuki@colorado.edu % % CSCI-5722 Computer Vision % Ioana Fleming % Homework Assignment 2 % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% function H = homography(num, x_1, y_1, x_2, y_2) A = zeros(2*num, 8); % Solve linear equation for i = 1 : num ...
github
ryosuzuki/CSCI-5722-master
ransac.m
.m
CSCI-5722-master/hw2/ransac.m
444
utf_8
80db065d46e0d4e683f225f6d6dabefd
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % Ryo Suzuki % rysu7393 % 105790212 % ryo.suzuki@colorado.edu % % CSCI-5722 Computer Vision % Ioana Fleming % Homework Assignment 2 % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% function [best_H, max_inl] = ransac(num, x_1, y_1, x_2, y_2) A = zeros(2 * num, 8); b = zeros(2 * num, 1); best_...
github
ryosuzuki/CSCI-5722-master
mosaic.m
.m
CSCI-5722-master/hw2/mosaic.m
1,093
utf_8
fd4692d2c35b315f8bf8f61deb8ac679
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % Ryo Suzuki % rysu7393 % 105790212 % ryo.suzuki@colorado.edu % % CSCI-5722 Computer Vision % Ioana Fleming % Homework Assignment 2 % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% function mosaic_img = mosaic(img_1, img_2, homography) mosaic_img = img_1; % Add offsets for a larger image mos...
github
ryosuzuki/CSCI-5722-master
ssd.m
.m
CSCI-5722-master/hw3/ssd.m
1,212
utf_8
117a1ab5ea67915b7e1796ba0875047a
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % Ryo Suzuki % rysu7393 % 105790212 % ryo.suzuki@colorado.edu % % CSCI-5722 Computer Vision % Ioana Fleming % Homework Assignment 3 % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% function [disparityMap] = ssd(frameLeftGray, frameRightGray, windowSize, disparityRange) frameLeftGray = im2double(fr...
github
ryosuzuki/CSCI-5722-master
check.m
.m
CSCI-5722-master/hw3/check.m
697
utf_8
5190978af88498a5c0f3a54c42c2a632
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % Ryo Suzuki % rysu7393 % 105790212 % ryo.suzuki@colorado.edu % % CSCI-5722 Computer Vision % Ioana Fleming % Homework Assignment 3 % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% function [binaryMap] = ssd(disparityLR, disparityRL, threshold) [row, col] = size(disparityLR); binaryMap = zeros(r...
github
ryosuzuki/CSCI-5722-master
ncc.m
.m
CSCI-5722-master/hw3/ncc.m
1,556
utf_8
2d38781fcc3ee5f7b653abdf5143565b
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % Ryo Suzuki % rysu7393 % 105790212 % ryo.suzuki@colorado.edu % % CSCI-5722 Computer Vision % Ioana Fleming % Homework Assignment 3 % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% function [disparityMap] = ncc(frameLeftGray, frameRightGray, windowSize, disparityRange) frameLeftGray = double(frame...
github
ryosuzuki/CSCI-5722-master
lcs.m
.m
CSCI-5722-master/hw4/lcs.m
1,197
utf_8
40d11a0503db5e1f86b4b4d13ee7ac0b
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % Ryo Suzuki % rysu7393 % 105790212 % ryo.suzuki@colorado.edu % % CSCI-5722 Computer Vision % Ioana Fleming % Homework Assignment 4 % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% function [c, b, dist, str] = lcs(X,Y) n = length(X); m = length(Y); c = zeros(n+1, m+1); c(1,:) = 0; c(:,1) ...
github
ryosuzuki/CSCI-5722-master
displayDmap.m
.m
CSCI-5722-master/hw4/displayDmap.m
690
utf_8
0b69d4cc9af8dcf345e49225c623f8d8
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % Ryo Suzuki % rysu7393 % 105790212 % ryo.suzuki@colorado.edu % % CSCI-5722 Computer Vision % Ioana Fleming % Homework Assignment 4 % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% function [coloredDisparityMap] = displayDmap(disparityMap) height = size(disparityMap,1); width = size(disparityM...
github
ryosuzuki/CSCI-5722-master
stereoDP.m
.m
CSCI-5722-master/hw4/stereoDP.m
1,671
utf_8
511503a2182f564304eb3645312a63d7
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % Ryo Suzuki % rysu7393 % 105790212 % ryo.suzuki@colorado.edu % % CSCI-5722 Computer Vision % Ioana Fleming % Homework Assignment 4 % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% function [disparityMap, D, b] = stereoD(image1, image2, maxDisp, occ) image1 = im2double(image1); image2 = im2dou...
github
Joey75/LABS-master
aoa_tof_music.m
.m
LABS-master/simulation/aoa_tof_music.m
2,800
utf_8
f8e3ccc67637cc57f235a092ea118976
%% MUSIC algorithm with SpotFi method including ToF and AoA function [estimated_aoas, estimated_tofs] = aoa_tof_music(x, sub_freq_delta) % Data covarivance matrix R = x * x'; %R=cov(x * x'); % Find the eigenvalues and eigenvectors of the covariance matrix [eigenvectors, eigenvalue_matrix] = ei...
github
Joey75/LABS-master
aoa_tof_music_new.m
.m
LABS-master/mycode/aoa_tof_music_new.m
6,584
utf_8
5aa76890a709e214ef90e85a73acd242
%% MUSIC algorithm with SpotFi method including ToF and AoA function [estimated_aoas, estimated_tofs] = aoa_tof_music_new(x, ... antenna_distance, frequency, sub_freq_delta, data_name) if nargin == 4 data_name = '-'; end % Data covarivance matrix R = x * x'; % Find the eigenval...
github
Joey75/LABS-master
spotfi_algorithm_1.m
.m
LABS-master/mycode/spotfi_algorithm_1.m
1,228
utf_8
1775338e7d9b4c634f27e36c36419037
%% Time of Flight (ToF) Sanitization Algorithm function [csi_matrix, phase_matrix] = spotfi_algorithm_1(csi_matrix, delta_f, packet_one_phase_matrix) R = abs(csi_matrix); phase_matrix = unwrap(angle(csi_matrix), pi, 2); % Parse input args if nargin < 3 packet_one_phase_matrix = phase_matrix...
github
Joey75/LABS-master
normalized_likelihood.m
.m
LABS-master/mycode/normalized_likelihood.m
15,690
utf_8
cb904917ca4cbe744392974ece4fa724
function [output_top_aoas] = normalized_likelihood(tof_packet_data, aoa_packet_data, num_packets,data_name) if nargin < 4 data_name = ' - '; end % Find the number of elements that will be in the full_measurement_matrix % The value must be computed since each AoA may have a different number of To...
github
Joey75/LABS-master
aoa_tof_music.m
.m
LABS-master/mycode/aoa_tof_music.m
5,613
utf_8
1698023f76429a28caa0d4f2cb3fc424
%% MUSIC algorithm with SpotFi method including ToF and AoA function [estimated_aoas, estimated_tofs] = aoa_tof_music(x, ... antenna_distance, frequency, sub_freq_delta, data_name) if nargin == 4 data_name = '-'; end % Data covarivance matrix R = x * x'; % Find the eigenvalues ...
github
Joey75/LABS-master
csi_sampling.m
.m
LABS-master/mycode/csi_sampling.m
708
utf_8
d6702c47559a72da1120aaea3b3481af
%% function sampled_csi = csi_sampling(csi_trace, n, alt_begin_index, alt_end_index) % Variable number of arguments handling if nargin < 3 begin_index = 1; end_index = length(csi_trace); elseif nargin < 4 begin_index = alt_begin_index; end_index = length(csi_trace); else...
github
Joey75/LABS-master
localization.m
.m
LABS-master/mycode/localization.m
660
utf_8
439bd55ec60feb3e405a541b99c9f98b
function [ x,y ] = localization( likelihood,theta) xs=1:1:100; ys=1:1:100; objFunction = zeros(length(xs), length(ys)); max_value=-1*1e9; for i=1:length(xs) for j=1:length(ys) objFunction(i,j)=compute_obj(likelihood,theta,xs{i},ys{j}); if objFunction(i,j)<max_value ...
github
Joey75/LABS-master
deleteoutliers.m
.m
LABS-master/mycode/deleteoutliers.m
1,101
utf_8
5890b7f9d98008b16dc15f71fbf5a1e0
function [b,idx,outliers] = deleteoutliers(a,alpha,rep); if nargin == 1 alpha = 0.05; rep = 0; elseif nargin == 2 rep = 0; elseif nargin == 3 if ~ismember(rep,[0 1]) error('Please enter a 1 or a 0 for optional argument rep.') end elseif nargin > 3 error('Requires 1,2, or 3 input arguments.'); end if isempty(a...
github
Joey75/LABS-master
spotfi_algorithm_1.m
.m
LABS-master/mycode/simulation/spotfi_algorithm_1.m
1,228
utf_8
1775338e7d9b4c634f27e36c36419037
%% Time of Flight (ToF) Sanitization Algorithm function [csi_matrix, phase_matrix] = spotfi_algorithm_1(csi_matrix, delta_f, packet_one_phase_matrix) R = abs(csi_matrix); phase_matrix = unwrap(angle(csi_matrix), pi, 2); % Parse input args if nargin < 3 packet_one_phase_matrix = phase_matrix...
github
Joey75/LABS-master
aoa_tof_music.m
.m
LABS-master/mycode/simulation/aoa_tof_music.m
3,777
utf_8
8c91637528777972b91024c4d0838510
%% MUSIC algorithm with SpotFi method including ToF and AoA function [estimated_aoas, estimated_tofs] = aoa_tof_music(x, sub_freq_delta) % Data covarivance matrix R = x * x'; %R=cov(x * x'); % Find the eigenvalues and eigenvectors of the covariance matrix [eigenvectors, eigenvalue_matrix] = ei...
github
Joey75/LABS-master
spotfi.m
.m
LABS-master/lgtm/csi-code/spotfi.m
37,313
utf_8
f39a16186de631d46c324eafa7d22945
%% % The MIT License (MIT) % Copyright (c) 2016 Ethan Gaebel <egaebel@vt.edu> % % Permission is hereby granted, free of charge, to any person obtaining a % copy of this software and associated documentation files (the "Software"), % to deal in the Software without restriction, including without limitation % the rig...
github
Joey75/LABS-master
lgtm_spotfi_runner.m
.m
LABS-master/lgtm/csi-code/lgtm_spotfi_runner.m
6,338
utf_8
d731ce336598165ac518032238b5df64
%% % The MIT License (MIT) % Copyright (c) 2016 Ethan Gaebel <egaebel@vt.edu> % % Permission is hereby granted, free of charge, to any person obtaining a % copy of this software and associated documentation files (the "Software"), % to deal in the Software without restriction, including without limitation % the rig...
github
Joey75/LABS-master
csi_sampling.m
.m
LABS-master/lgtm/csi-code/csi_sampling.m
2,300
utf_8
aeaafdfa33f9a281d1a2685f4af57a2f
%% % The MIT License (MIT) % Copyright (c) 2016 Ethan Gaebel <egaebel@vt.edu> % % Permission is hereby granted, free of charge, to any person obtaining a % copy of this software and associated documentation files (the "Software"), % to deal in the Software without restriction, including without limitation % the rig...
github
Joey75/LABS-master
deleteoutliers.m
.m
LABS-master/lgtm/csi-code/deleteoutliers.m
4,789
utf_8
eeb2b497046c6c44aabb1c62903fffb9
% Copyright (c) 2009, Brett Shoelson % All rights reserved. % % Redistribution and use in source and binary forms, with or without % modification, are permitted provided that the following conditions are % met: % % * Redistributions of source code must retain the above copyright % notice, this list of condi...
github
Joey75/LABS-master
read_bf_file_modified.m
.m
LABS-master/lgtm/csi-code/test-code/read_bf_file_modified.m
5,713
utf_8
3a47c9d5413fb9c935956e7082f60b47
%% % The MIT License (MIT) % Copyright (c) 2016 Ethan Gaebel <egaebel@vt.edu> % % Permission is hereby granted, free of charge, to any person obtaining a % copy of this software and associated documentation files (the "Software"), % to deal in the Software without restriction, including without limitation % the rig...
github
Joey75/LABS-master
spotfi_test.m
.m
LABS-master/lgtm/csi-code/test-code/spotfi_test.m
11,967
utf_8
357d00562e7bbf334abd8a13defb5e82
%% % The MIT License (MIT) % Copyright (c) 2016 Ethan Gaebel <egaebel@vt.edu> % % Permission is hereby granted, free of charge, to any person obtaining a % copy of this software and associated documentation files (the "Software"), % to deal in the Software without restriction, including without limitation % the rig...
github
Joey75/LABS-master
sampling_value_tests.m
.m
LABS-master/lgtm/csi-code/test-code/sampling_value_tests.m
27,720
utf_8
0135890a2ace26adb34c7af79ba8b738
%% % The MIT License (MIT) % Copyright (c) 2016 Ethan Gaebel <egaebel@vt.edu> % % Permission is hereby granted, free of charge, to any person obtaining a % copy of this software and associated documentation files (the "Software"), % to deal in the Software without restriction, including without limitation % the rig...
github
Joey75/LABS-master
csi_sampling_test.m
.m
LABS-master/lgtm/csi-code/test-code/csi_sampling_test.m
2,923
utf_8
0a809b3e0d9e47c938bdb2dde3fad0ac
%% % The MIT License (MIT) % Copyright (c) 2016 Ethan Gaebel <egaebel@vt.edu> % % Permission is hereby granted, free of charge, to any person obtaining a % copy of this software and associated documentation files (the "Software"), % to deal in the Software without restriction, including without limitation % the rig...
github
Joey75/LABS-master
deleteoutliers.m
.m
LABS-master/lgtm/csi-code/test-code/deleteoutliers.m
4,789
utf_8
eeb2b497046c6c44aabb1c62903fffb9
% Copyright (c) 2009, Brett Shoelson % All rights reserved. % % Redistribution and use in source and binary forms, with or without % modification, are permitted provided that the following conditions are % met: % % * Redistributions of source code must retain the above copyright % notice, this list of condi...
github
Joey75/LABS-master
get_mimo2_SNRs.m
.m
LABS-master/linux-80211n-csitool-supplementary/matlab/get_mimo2_SNRs.m
1,509
utf_8
649590ba3386a716f66da85cba2c1b35
%GET_MIMO2_SNRS Calculates the MIMO2 SNRs for a scaled CSI matrix. % Note that the matrix is expected to have dimensions M x N x S, where % M = # TX antennas % N = # RX antennas % S = # subcarriers % % (c) 2008-2011 Daniel Halperin <dhalperi@cs.washington.edu>, % Wenjun Hu % function ret ...
github
Joey75/LABS-master
qpsk_berinv.m
.m
LABS-master/linux-80211n-csitool-supplementary/matlab/qpsk_berinv.m
129
utf_8
75022668a7a4e5ffe0506f45935105c2
% % (c) 2008-2011 Daniel Halperin <dhalperi@cs.washington.edu> % function ret = qpsk_berinv(ber) ret = qfuncinv(ber).^2; end
github
Joey75/LABS-master
get_mimo3_SNRs_sm.m
.m
LABS-master/linux-80211n-csitool-supplementary/matlab/get_mimo3_SNRs_sm.m
1,508
utf_8
cae86bfe9d1535939efcab57fe9ff4d0
%GET_MIMO3_SNRS_SM Calculates the MIMO3 SNRs for a scaled CSI matrix. % Note that the matrix is expected to have dimensions M x N x S, where % M = # TX antennas % N = # RX antennas % S = # subcarriers % This version takes into account the spatial mapping performed by Intel NICs. % % (c) 2008-2011 Dan...
github
Joey75/LABS-master
get_simo_SNRs.m
.m
LABS-master/linux-80211n-csitool-supplementary/matlab/get_simo_SNRs.m
498
utf_8
2ff206a1014335910405eaedc9b0fa92
%GET_SIMO_SNRS Calculates the SIMO SNRs for a scaled CSI matrix. % Note that the matrix is expected to have dimensions M x N x S, where % M = # TX antennas % N = # RX antennas % S = # subcarriers % % (c) 2008-2011 Daniel Halperin <dhalperi@cs.washington.edu>, % Wenjun Hu % function ret = ...
github
Joey75/LABS-master
get_scaled_csi.m
.m
LABS-master/linux-80211n-csitool-supplementary/matlab/get_scaled_csi.m
1,842
utf_8
25f6ee30c68e10fbfaaeff35624ab758
%GET_SCALED_CSI Converts a CSI struct to a channel matrix H. % % (c) 2008-2011 Daniel Halperin <dhalperi@cs.washington.edu> % function ret = get_scaled_csi(csi_st) % Pull out CSI csi = csi_st.csi; % Calculate the scale factor between normalized CSI and RSSI (mW) csi_sq = csi .* conj(csi); csi_pwr =...
github
Joey75/LABS-master
qam64_berinv.m
.m
LABS-master/linux-80211n-csitool-supplementary/matlab/qam64_berinv.m
138
utf_8
12cac815747d7c959fe374a15b55a8a7
% % (c) 2008-2011 Daniel Halperin <dhalperi@cs.washington.edu> % function ret = qam64_berinv(ber) ret = qfuncinv(12/7*ber).^2*21; end
github
Joey75/LABS-master
get_eff_SNRs_sm.m
.m
LABS-master/linux-80211n-csitool-supplementary/matlab/get_eff_SNRs_sm.m
2,715
utf_8
22a6d57007d07bdd2c5a55391ae680dd
%GET_EFF_SNRS_SM Compute the effective SNR values from a CSI matrix % Note that the matrix is expected to have dimensions M x N x S, where % M = # TX antennas % N = # RX antennas % S = # subcarriers % This version takes into account the spatial mapping performed by Intel NICs. % % (c) 2008-2011 Danie...
github
Joey75/LABS-master
get_total_rss.m
.m
LABS-master/linux-80211n-csitool-supplementary/matlab/get_total_rss.m
592
utf_8
9f75c5f068248c64a969d4b65b5aa054
%GET_TOTAL_RSS Calculates the Received Signal Strength (RSS) in dBm from % a CSI struct. % % (c) 2011 Daniel Halperin <dhalperi@cs.washington.edu> % function ret = get_total_rss(csi_st) error(nargchk(1,1,nargin)); % Careful here: rssis could be zero rssi_mag = 0; if csi_st.rssi_a ~= 0 rssi_mag ...
github
Joey75/LABS-master
bpsk_berinv.m
.m
LABS-master/linux-80211n-csitool-supplementary/matlab/bpsk_berinv.m
133
utf_8
a52e2bcaf9cc5c31be0f0361dcf163e1
% % (c) 2008-2011 Daniel Halperin <dhalperi@cs.washington.edu> % function ret = bpsk_berinv(ber) ret = qfuncinv(ber).^2 / 2; end
github
Joey75/LABS-master
get_eff_SNRs.m
.m
LABS-master/linux-80211n-csitool-supplementary/matlab/get_eff_SNRs.m
2,622
utf_8
ed7119854587f1abc99cab9b0ecd1312
%GET_EFF_SNRS Compute the effective SNR values from a CSI matrix % Note that the matrix is expected to have dimensions M x N x S, where % M = # TX antennas % N = # RX antennas % S = # subcarriers % % (c) 2008-2011 Daniel Halperin <dhalperi@cs.washington.edu>, % Wenjun Hu % function ret=ge...
github
Joey75/LABS-master
qam64_ber.m
.m
LABS-master/linux-80211n-csitool-supplementary/matlab/qam64_ber.m
135
utf_8
b69e4178b8b5fb1814bbd08da448dde6
% % (c) 2008-2011 Daniel Halperin <dhalperi@cs.washington.edu> % function ret = qam64_ber(snr) ret = 7/12*qfunc(sqrt(snr/21)); end
github
Joey75/LABS-master
qam16_ber.m
.m
LABS-master/linux-80211n-csitool-supplementary/matlab/qam16_ber.m
133
utf_8
0ca32fad3bc7762e1f60518d4c42d111
% % (c) 2008-2011 Daniel Halperin <dhalperi@cs.washington.edu> % function ret = qam16_ber(snr) ret = 3/4*qfunc(sqrt(snr/5)); end
github
Joey75/LABS-master
bpsk_ber.m
.m
LABS-master/linux-80211n-csitool-supplementary/matlab/bpsk_ber.m
128
utf_8
a9a523f580c2a2e545779d4ee0730a8c
% % (c) 2008-2011 Daniel Halperin <dhalperi@cs.washington.edu> % function ret = bpsk_ber(snr) ret = qfunc(sqrt(2*snr)); end
github
Joey75/LABS-master
get_mimo2_SNRs_sm.m
.m
LABS-master/linux-80211n-csitool-supplementary/matlab/get_mimo2_SNRs_sm.m
1,742
utf_8
670dbae461744cd76fb31583093bf395
%GET_MIMO2_SNRS_SM Calculates the MIMO2 SNRs for a scaled CSI matrix. % Note that the matrix is expected to have dimensions M x N x S, where % M = # TX antennas % N = # RX antennas % S = # subcarriers % This version takes into account the spatial mapping performed by Intel NICs. % % (c) 2008-2011 Dan...
github
Joey75/LABS-master
get_scaled_csi_sm.m
.m
LABS-master/linux-80211n-csitool-supplementary/matlab/get_scaled_csi_sm.m
458
utf_8
43b9372e37fe6ec000a7de7a82c382e2
%GET_SCALED_CSI_SM Converts a CSI struct to a channel matrix H. % This version undoes Intel's spatial mapping to return the pure % MIMO channel matrix H. % % (c) 2008-2011 Daniel Halperin <dhalperi@cs.washington.edu> % function ret = get_scaled_csi_sm(csi_st) % Normal procedure to scale normalized CSI to H ret ...
github
Joey75/LABS-master
read_bf_file.m
.m
LABS-master/linux-80211n-csitool-supplementary/matlab/read_bf_file.m
2,577
utf_8
3046107c2e85bb02155fda059099b086
%READ_BF_FILE Reads in a file of beamforming feedback logs. % This version uses the *C* version of read_bfee, compiled with % MATLAB's MEX utility. % % (c) 2008-2011 Daniel Halperin <dhalperi@cs.washington.edu> % function ret = read_bf_file(filename) %% Input check error(nargchk(1,1,nargin)); %% Open file f = fope...
github
Joey75/LABS-master
qam16_berinv.m
.m
LABS-master/linux-80211n-csitool-supplementary/matlab/qam16_berinv.m
140
utf_8
d24a4e3740dae8efec18fc1e13a88f4a
% % (c) 2008-2011 Daniel Halperin <dhalperi@cs.washington.edu> % function ret = qam16_berinv(ber) ret = qfuncinv(ber * 4/3).^2 * 5; end
github
Joey75/LABS-master
get_mimo3_SNRs.m
.m
LABS-master/linux-80211n-csitool-supplementary/matlab/get_mimo3_SNRs.m
1,283
utf_8
4f2af7a660d90257d179154ba23a715f
%GET_MIMO3_SNRS Calculates the MIMO3 SNRs for a scaled CSI matrix. % Note that the matrix is expected to have dimensions M x N x S, where % M = # TX antennas % N = # RX antennas % S = # subcarriers % % (c) 2008-2011 Daniel Halperin <dhalperi@cs.washington.edu>, % Wenjun Hu % function ret ...
github
Joey75/LABS-master
dbinv.m
.m
LABS-master/linux-80211n-csitool-supplementary/matlab/dbinv.m
145
utf_8
f3e0b99630ef3ad7fcc8ca3ac3daade3
%DBINV Convert from decibels. % % (c) 2008-2011 Daniel Halperin <dhalperi@cs.washington.edu> % function ret = dbinv(x) ret = 10.^(x/10); end
github
Joey75/LABS-master
qpsk_ber.m
.m
LABS-master/linux-80211n-csitool-supplementary/matlab/qpsk_ber.m
126
utf_8
b827a22d46e1ba9500f8b4837858f6a3
% % (c) 2008-2011 Daniel Halperin <dhalperi@cs.washington.edu> % function ret = qpsk_ber(snr) ret = qfunc(sqrt(snr)); end
github
ZhangYong19800721/ImageTool-master
splitmerge.m
.m
ImageTool-master/+dipum/splitmerge.m
4,261
utf_8
57c08620e18c3e35e40931e4aab01b47
function g = splitmerge(f, mindim, fun) %SPLITMERGE Segment an image using a split-and-merge algorithm. % G = SPLITMERGE(F, MINDIM, @PREDICATE) segments image F by using % a split-and-merge approach based on quadtree decomposition. % MINDIM (a nonnegative integer power of 2) specifies the minimum % dimension of...
github
ZhangYong19800721/ImageTool-master
timeit.m
.m
ImageTool-master/+dipum/timeit.m
59,834
utf_8
e75bf6c4d6925a63d2d986ff9ba00829
function [t, measurement_overhead] = timeit(f) %TIMEIT Measure time required to run function. % T = TIMEIT(F) measures the time (in seconds) required to run F, which is a % function handle. % % TIMEIT handles automatically the usual benchmarking procedures of "warming % up" F, figuring out how many times to re...
github
ZhangYong19800721/ImageTool-master
im2minperpoly.m
.m
ImageTool-master/+dipum/im2minperpoly.m
14,178
utf_8
442846099abf88c39a852ebc9c06a6fc
function [X, Y, R] = im2minperpoly(B, cellsize) %IM2MINPERPOLY Minimum perimeter polygon. % [X, Y, R] = IM2MINPERPOLY(B, CELLSIZE) outputs in column vectors % X and Y the coordinates of the vertices of the minimum perimeter % polygon circumscribing a single binary region or a % (nonintersecting) boundary containe...
github
ZhangYong19800721/ImageTool-master
vistform.m
.m
ImageTool-master/+dipum/vistform.m
1,262
utf_8
5309474f46c8f358e7f8e4d833b746d9
function vistform(tform, wz) %VISTFORM Visualization transformation effect on set of points. % VISTFORM(TFORM, WZ) shows two plots. On the left are the % points in each row of the P-by-2 matrix WZ. On the right are % the spatially transformed points using TFORM. % Copyright 2002-2009 R. C. Gonzalez, R. E. Wo...
github
ZhangYong19800721/ImageTool-master
bandfilter.m
.m
ImageTool-master/+dipum/bandfilter.m
3,632
utf_8
d84b09dc9da4354228415896b286ecd9
function H = bandfilter(type, band, M, N, D0, W, n) %BANDFILTER Computes frequency domain band filters. % % Parameters used in the filter definitions (see Table 4.3 in % DIPUM 2e for more details about these parameters): % M: Number of rows in the filter. % N: Number of columns in the filter. % ...
github
ZhangYong19800721/ImageTool-master
invmoments.m
.m
ImageTool-master/+dipum/invmoments.m
3,326
utf_8
33084972aae4d7e26011c7c2795facf5
function phi = invmoments(F) %INVMOMENTS Compute invariant moments of image. % PHI = INVMOMENTS(F) computes the moment invariants of the image % F. PHI is a seven-element row vector containing the moment % invariants as defined in equations (11.3-17) through (11.3-23) of % Gonzalez and Woods, Digital Image Proc...