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 | jacksky64/imageProcessing-master | filter_gauss_1D.m | .m | imageProcessing-master/piotr/toolbox/external/deprecated/filter_gauss_1D.m | 1,137 | utf_8 | 94a453b82dcdeba67bd886e042d552d9 | % 1D Gaussian filter.
%
% Equivalent to (but faster then):
% f = fspecial('Gaussian',[2*r+1,1],sigma);
% f = filter_gauss_nD( 2*r+1, r+1, sigma^2 );
%
% USAGE
% f = filter_gauss_1D( r, sigma, [show] )
%
% INPUTS
% r - filter size=2r+1, if r=[] -> r=ceil(2.25*sigma)
% sigma - standard deviation of filter
% ... |
github | jacksky64/imageProcessing-master | clfEcoc.m | .m | imageProcessing-master/piotr/toolbox/external/deprecated/clfEcoc.m | 1,493 | utf_8 | e77e1b4fd5469ed39f47dd6ed15f130f | function clf = clfEcoc(p,clfInit,clfparams,nclasses,use01targets)
% Wrapper for ecoc that makes ecoc compatible with nfoldxval.
%
% Requires the SVM toolbox by Anton Schwaighofer.
%
% USAGE
% clf = clfEcoc(p,clfInit,clfparams,nclasses,use01targets)
%
% INPUTS
% p - data dimension
% clfInit - bi... |
github | jacksky64/imageProcessing-master | getargs.m | .m | imageProcessing-master/piotr/toolbox/external/deprecated/getargs.m | 3,455 | utf_8 | de2bab917fa6b9ba3099f1c6b6d68cf0 | % Utility to process parameter name/value pairs.
%
% DEPRECATED -- ONLY USED BY KMEANS2? SHOULD BE REMOVED.
% USE GETPARAMDEFAULTS INSTEAD.
%
% Based on code fromt Matlab Statistics Toolobox's "private/statgetargs.m"
%
% [EMSG,A,B,...]=GETARGS(PNAMES,DFLTS,'NAME1',VAL1,'NAME2',VAL2,...)
% accepts a cell array PNAMES o... |
github | jacksky64/imageProcessing-master | normxcorrn_fg.m | .m | imageProcessing-master/piotr/toolbox/external/deprecated/normxcorrn_fg.m | 2,699 | utf_8 | e65c38d97efb3a624e0fa94a97f75eb6 | % Normalized n-dimensional cross-correlation with a mask.
%
% Similar to normxcorrn, except takes an additional argument that specifies
% a figure ground mask for the T. That is T_fg must be of the same
% dimensions as T, with each entry being 0 or 1, where zero specifies
% regions to ignore (the ground) and 1 specifi... |
github | jacksky64/imageProcessing-master | makemovie.m | .m | imageProcessing-master/piotr/toolbox/external/deprecated/makemovie.m | 1,266 | utf_8 | 9a03d9a5227c4eaa86520f206ce283e7 | % [3D] Used to convert a stack of T images into a movie.
%
% To display same data statically use montage.
%
% USAGE
% M = makemovies( IS )
%
% INPUTS
% IS - MxNxT or MxNx1xT or MxNx3xT array of movies.
%
% OUTPUTS
% M - resulting movie
%
% EXAMPLE
% load( 'images.mat' );
% M = makemovie(... |
github | jacksky64/imageProcessing-master | localsum_block.m | .m | imageProcessing-master/piotr/toolbox/external/deprecated/localsum_block.m | 815 | utf_8 | 1216b03a3bd44ff1fc3256de16a2f1c6 | % Calculates the sum in non-overlapping blocks of I of size dims.
%
% Similar to localsum except gets sum in non-overlapping windows.
% Equivalent to doing localsum, and then subsampling (except more
% efficient).
%
% USAGE
% I = localsum_block( I, dims )
%
% INPUTS
% I - matrix to compute sum over
% dims -... |
github | jacksky64/imageProcessing-master | imrotate2.m | .m | imageProcessing-master/piotr/toolbox/external/deprecated/imrotate2.m | 1,326 | utf_8 | bb2ff6c3138ce5f53154d58d7ebc4f31 | % Custom version of imrotate that demonstrates use of apply_homography.
%
% Works exactly the same as imrotate. For usage see imrotate.
%
% USAGE
% IR = imrotate2( I, angle, [method], [bbox] )
%
% INPUTS
% I - 2D image [converted to double]
% angle - angle to rotate in degrees
% method - ['linear'] 'neare... |
github | jacksky64/imageProcessing-master | imSubsResize.m | .m | imageProcessing-master/piotr/toolbox/external/deprecated/imSubsResize.m | 1,338 | utf_8 | cd7dedf790c015adfb1f2d620e9ed82f | % Resizes subs by resizVals.
%
% Resizes subs in subs/vals image representation by resizVals.
%
% This essentially replaces each sub by sub.*resizVals. The only subtlety
% is that in images the leftmost sub value is .5, so for example when
% resizing by a factor of 2, the first pixel is replaced by 2 pixels and so
% l... |
github | jacksky64/imageProcessing-master | imtranslate.m | .m | imageProcessing-master/piotr/toolbox/external/deprecated/imtranslate.m | 1,183 | utf_8 | 054727fb31c105414b655c0f938b6ced | % Translate an image to subpixel accuracy.
%
% Note that for subplixel accuracy cannot use nearest neighbor interp.
%
% USAGE
% IR = imtranslate( I, dx, dy, [method], [bbox] )
%
% INPUTS
% I - 2D image [converted to double]
% dx - x translation (right)
% dy - y translation (up)
% method - ['linear... |
github | jacksky64/imageProcessing-master | randperm2.m | .m | imageProcessing-master/piotr/toolbox/external/deprecated/randperm2.m | 1,398 | utf_8 | 5007722f3d5f5ba7c0f83f32ef8a3a2c | % Returns a random permutation of integers.
%
% randperm2(n) is a random permutation of the integers from 1 to n. For
% example, randperm2(6) might be [2 4 5 6 1 3]. randperm2(n,k) is only
% returns the first k elements of the permuation, so for example
% randperm2(6) might be [2 4]. This is a faster version of randp... |
github | jacksky64/imageProcessing-master | apply_homography.m | .m | imageProcessing-master/piotr/toolbox/external/deprecated/apply_homography.m | 3,582 | utf_8 | 9c3ed72d35b1145f41114e6e6135b44f | % Applies the homography defined by H on the image I.
%
% Takes the center of the image as the origin, not the top left corner.
% Also, the coordinate system is row/ column format, so H must be also.
%
% The bounding box of the image is set by the BBOX argument, a string that
% can be 'loose' (default) or 'crop'. When ... |
github | jacksky64/imageProcessing-master | pca_apply.m | .m | imageProcessing-master/piotr/toolbox/external/deprecated/pca_apply.m | 2,427 | utf_8 | 0831befb6057f8502bc492227455019a | % Companion function to pca.
%
% Use pca to retrieve the principal components U and the mean mu from a
% set fo vectors X1 via [U,mu,vars] = pca(X1). Then given a new
% vector x, use y = pca_apply( x, U, mu, vars, k ) to get the first k
% coefficients of x in the space spanned by the columns of U. See pca for
% genera... |
github | jacksky64/imageProcessing-master | mode2.m | .m | imageProcessing-master/piotr/toolbox/external/deprecated/mode2.m | 731 | utf_8 | 5c9321ef4b610b4f4a2d43902a68838e | % Returns the mode of a vector.
%
% Was mode not part of Matlab before?
%
% USAGE
% y = mode2( x )
%
% INPUTS
% x - vector of integers
%
% OUTPUTS
% y - mode
%
% EXAMPLE
% x = randint2( 1, 10, [1 3] )
% mode(x), mode2( x )
%
% See also MODE
% Piotr's Image&Video Toolbox Version 1.5
% Written and maintain... |
github | jacksky64/imageProcessing-master | savefig.m | .m | imageProcessing-master/piotr/toolbox/external/other/savefig.m | 13,459 | utf_8 | 2b8463f9b01ceb743e440d8fb5755829 | function savefig(fname, varargin)
% Usage: savefig(filename, fighdl, options)
%
% Saves a pdf, eps, png, jpeg, and/or tiff of the contents of the fighandle's (or current) figure.
% It saves an eps of the figure and the uses Ghostscript to convert to the other formats.
% The result is a cropped, clean picture. There a... |
github | jacksky64/imageProcessing-master | dirSynch.m | .m | imageProcessing-master/piotr/toolbox/matlab/dirSynch.m | 4,570 | utf_8 | d288299d31d15f1804183206d0aa0227 | function dirSynch( root1, root2, showOnly, flag, ignDate )
% Synchronize two directory trees (or show differences between them).
%
% If a file or directory 'name' is found in both tree1 and tree2:
% 1) if 'name' is a file in both the pair is considered the same if they
% have identical size and identical datestamp... |
github | jacksky64/imageProcessing-master | plotRoc.m | .m | imageProcessing-master/piotr/toolbox/matlab/plotRoc.m | 5,212 | utf_8 | 008f9c63073c6400c4960e9e213c47e5 | function [h,miss,stds] = plotRoc( D, varargin )
% Function for display of rocs (receiver operator characteristic curves).
%
% Display roc curves. Consistent usage ensures uniform look for rocs. The
% input D should have n rows, each of which is of the form:
% D = [falsePosRate truePosRate]
% D is generated, for exampl... |
github | jacksky64/imageProcessing-master | simpleCache.m | .m | imageProcessing-master/piotr/toolbox/matlab/simpleCache.m | 4,098 | utf_8 | 92df86b0b7e919c9a26388e598e4d370 | function varargout = simpleCache( op, cache, varargin )
% A simple cache that can be used to store results of computations.
%
% Can save and retrieve arbitrary values using a vector (includnig char
% vectors) as a key. Especially useful if a function must perform heavy
% computation but is often called with the same in... |
github | jacksky64/imageProcessing-master | tpsInterpolate.m | .m | imageProcessing-master/piotr/toolbox/matlab/tpsInterpolate.m | 1,646 | utf_8 | d3bd3a26d048f32cfdc17884ccae6d8c | function [xsR,ysR] = tpsInterpolate( warp, xs, ys, show )
% Apply warp (obtained by tpsGetWarp) to a set of new points.
%
% USAGE
% [xsR,ysR] = tpsInterpolate( warp, xs, ys, [show] )
%
% INPUTS
% warp - [see tpsGetWarp] bookstein warping parameters
% xs, ys - points to apply warp to
% show - [1] will disp... |
github | jacksky64/imageProcessing-master | checkNumArgs.m | .m | imageProcessing-master/piotr/toolbox/matlab/checkNumArgs.m | 3,796 | utf_8 | 726c125c7dc994c4989c0e53ad4be747 | function [ x, er ] = checkNumArgs( x, siz, intFlag, signFlag )
% Helper utility for checking numeric vector arguments.
%
% Runs a number of tests on the numeric array x. Tests to see if x has all
% integer values, all positive values, and so on, depending on the values
% for intFlag and signFlag. Also tests to see if ... |
github | jacksky64/imageProcessing-master | fevalDistr.m | .m | imageProcessing-master/piotr/toolbox/matlab/fevalDistr.m | 11,227 | utf_8 | 7e4d5077ef3d7a891b2847cb858a2c6c | function [out,res] = fevalDistr( funNm, jobs, varargin )
% Wrapper for embarrassingly parallel function evaluation.
%
% Runs "r=feval(funNm,jobs{i}{:})" for each job in a parallel manner. jobs
% should be a cell array of length nJob and each job should be a cell array
% of parameters to pass to funNm. funNm must be a f... |
github | jacksky64/imageProcessing-master | medfilt1m.m | .m | imageProcessing-master/piotr/toolbox/filters/medfilt1m.m | 2,998 | utf_8 | a3733d27c60efefd57ada9d83ccbaa3d | function y = medfilt1m( x, r, z )
% One-dimensional adaptive median filtering with missing values.
%
% Applies a width s=2*r+1 one-dimensional median filter to vector x, which
% may contain missing values (elements equal to z). If x contains no
% missing values, y(j) is set to the median of x(j-r:j+r). If x contains
% ... |
github | jacksky64/imageProcessing-master | FbMake.m | .m | imageProcessing-master/piotr/toolbox/filters/FbMake.m | 6,692 | utf_8 | b625c1461a61485af27e490333350b4b | function FB = FbMake( dim, flag, show )
% Various 1D/2D/3D filterbanks (hardcoded).
%
% USAGE
% FB = FbMake( dim, flag, [show] )
%
% INPUTS
% dim - dimension
% flag - controls type of filterbank to create
% - if d==1
% 1: gabor filter bank for spatiotemporal stuff
% - if d==2
% ... |
github | jacksky64/imageProcessing-master | mhd_read_volume.m | .m | imageProcessing-master/matlab_elastix/code/mhd_read_volume.m | 2,646 | utf_8 | b4ec0a486a54b723e63226bfcf7494a9 | function V = mhd_read_volume(info)
% Function for reading the volume of a Insight Meta-Image (.mhd, .mhd) file
%
% volume = tk_read_volume(file-header)
%
% examples:
% 1: info = mhd_read_header()
% V = mhd_read_volume(info);
% imshow(squeeze(V(:,:,round(end/2))),[]);
%
% 2: V = mhd_read_volume('test.mh... |
github | jacksky64/imageProcessing-master | example_invert.m | .m | imageProcessing-master/matlab_elastix/MelastiX_examples/invert_transform/example_invert.m | 1,976 | utf_8 | 27a15a8293fb85504bed3384cfc4886b | function example_invert
% This example shows how to invert a transform.
% We load a fixed image and a distorted version of it, the moving image.
% Landmarks are defined in the moving image space and overlaid on the moving image.
% The goal is to overlay these points on the fixed image.
% Achieving this goal requires c... |
github | jacksky64/imageProcessing-master | RUN_ALL.m | .m | imageProcessing-master/matlab_elastix/MelastiX_examples/elastix/RUN_ALL.m | 277 | utf_8 | c80336424b937464c219ad82e07d73a3 |
function RUN_ALL
str = ' ====> PRESS RETURN <==== ';
example_2D_affine_nSpatialSamples
disp(str), pause
example_2D_affine_alpha
disp(str), pause
example_2D_warping
disp(str), pause
example_2D_affineThenWarping
disp(str), pause
example_2D_affineThenWarping_withParams
|
github | jacksky64/imageProcessing-master | example_2D_affine_alpha.m | .m | imageProcessing-master/matlab_elastix/MelastiX_examples/elastix/example_2D_affine_alpha.m | 1,253 | utf_8 | afae938a8945690eabab520f6723dd18 | function varargout=example_2D_affine_alpha
% Shows the effect of changing alpha given a fixed number of spatial samples
% and iterations. Here we choose relatively low
% numbers for the iterations and spatial samples. Affine-transformed moving image.
fprintf('\n=====================\nRunning %s\n\n',mfilename)
help(m... |
github | jacksky64/imageProcessing-master | example_2D_affine_nSpatialSamples.m | .m | imageProcessing-master/matlab_elastix/MelastiX_examples/elastix/example_2D_affine_nSpatialSamples.m | 1,279 | utf_8 | 40b6d6511fa402790a963e20194ee275 | function example_2D_affine_nSpatialSamples
% Shows the effect of changing the number of spatial samples with a
% fixed number of iterations. Uses the suggested value for alpha.
% Here we choose relatively low numbers for the iterations and spatial
% samples. Affine-transformed moving image.
help(mfilename)
%Load t... |
github | jacksky64/imageProcessing-master | RUN_ALL.m | .m | imageProcessing-master/matlab_elastix/MelastiX_examples/transformix/RUN_ALL.m | 261 | utf_8 | 5bac13dff3aba8815f16fb5c849b0332 |
function RUN_ALL
applyLenaTransform2Dog
disp('PRESS RETURN')
pause
%Note: the parameter files are slightly different here so you don't get quite the same image back
applyLenaTransform2Dog_withParams
disp('PRESS RETURN')
pause
transformSparsePoints_forward
|
github | jacksky64/imageProcessing-master | wfb2rec.m | .m | imageProcessing-master/contourlet_toolbox/wfb2rec.m | 1,419 | utf_8 | a8eb98892d022925b472758e34d4640d | function x = wfb2rec(x_LL, x_LH, x_HL, x_HH, h, g)
% WFB2REC 2-D Wavelet Filter Bank Decomposition
%
% x = wfb2rec(x_LL, x_LH, x_HL, x_HH, h, g)
%
% Input:
% x_LL, x_LH, x_HL, x_HH: Four 2-D wavelet subbands
% h, g: lowpass analysis and synthesis wavelet filters
%
% Output:
% x: reconst... |
github | jacksky64/imageProcessing-master | wfb2dec.m | .m | imageProcessing-master/contourlet_toolbox/wfb2dec.m | 1,359 | utf_8 | cf0a7abcc9abae631039550460b07a48 | function [x_LL, x_LH, x_HL, x_HH] = wfb2dec(x, h, g)
% WFB2DEC 2-D Wavelet Filter Bank Decomposition
%
% y = wfb2dec(x, h, g)
%
% Input:
% x: input image
% h, g: lowpass analysis and synthesis wavelet filters
%
% Output:
% x_LL, x_LH, x_HL, x_HH: Four 2-D wavelet subbands
% Make sure... |
github | jacksky64/imageProcessing-master | extend2.m | .m | imageProcessing-master/contourlet_toolbox/extend2.m | 1,861 | utf_8 | 40bc6d67909280efd214bb2536a4a46f | function y = extend2(x, ru, rd, cl, cr, extmod)
% EXTEND2 2D extension
%
% y = extend2(x, ru, rd, cl, cr, extmod)
%
% Input:
% x: input image
% ru, rd: amount of extension, up and down, for rows
% cl, cr: amount of extension, left and rigth, for column
% extmod: extension mode. The valid modes are:
% 'per... |
github | jacksky64/imageProcessing-master | phantom3dAniso.m | .m | imageProcessing-master/cone beam/CERN-TIGRE-v1.1.3-2-g2ee570e/CERN-TIGRE-2ee570e/Test_data/Shepp_logan/phantom3dAniso.m | 9,551 | utf_8 | 036a548fce8cb3deec7807cf87f39f45 | function [p,ellipse]=phantom3dAniso(varargin)
%PHANTOM3D Three-dimensional analogue of MATLAB Shepp-Logan phantom
% P = PHANTOM3D(DEF,N) generates a 3D head phantom that can
% be used to test 3-D reconstruction algorithms.
%
% DEF is a string that specifies the type of head phantom to generate.
% Val... |
github | jacksky64/imageProcessing-master | plotgeometry.m | .m | imageProcessing-master/cone beam/CERN-TIGRE-v1.1.3-2-g2ee570e/CERN-TIGRE-2ee570e/Utilities/plotgeometry.m | 2,673 | utf_8 | d2f582a908d999c8a1ed7960aabd9b7c | function h=plotgeometry(geo,angle)
%PLOTGEOMETRY(GEO,ANGLE) plots a simplified version of the CBCT geometry with the
% given geomerty GEO and angle ANGLE. If angle is nnot Give, 0 will be chosen.
%
% h=PLOTGEOMETRY(...) will return the figure handle
%--------------------------------------------------------------... |
github | jacksky64/imageProcessing-master | gradientTVnorm.m | .m | imageProcessing-master/cone beam/CERN-TIGRE-v1.1.3-2-g2ee570e/CERN-TIGRE-2ee570e/Utilities/gradientTVnorm.m | 3,706 | utf_8 | f5ee0ee596c4040081cdc6897a9f6175 | function [ tvgrad ] = gradientTVnorm(f,type)
%GRADIENTTVNORM Computes the gradient of the TV-norm fucntional
%--------------------------------------------------------------------------
%--------------------------------------------------------------------------
% This file is part of the TIGRE Toolbox
%
% Copyrig... |
github | jacksky64/imageProcessing-master | filtering.m | .m | imageProcessing-master/cone beam/CERN-TIGRE-v1.1.3-2-g2ee570e/CERN-TIGRE-2ee570e/Utilities/filtering.m | 2,822 | utf_8 | c1ba4fc67ad21176c4870f7bb4043653 | function [ proj ] = filtering(proj,geo,alpha)
%FILTERING Summary of this function goes here
% Detailed explanation goes here
%--------------------------------------------------------------------------
%--------------------------------------------------------------------------
% This file is part of the TIGRE Too... |
github | jacksky64/imageProcessing-master | read_mhd.m | .m | imageProcessing-master/cone beam/CERN-TIGRE-v1.1.3-2-g2ee570e/CERN-TIGRE-2ee570e/Third_party_tools/readMHD/read_mhd.m | 6,151 | utf_8 | 12ac2204991d25ed251aac90e2dd41f9 | function [img info]=read_mhd(filename)
% This function is based upon "read_mhd" function from the package
% ReadData3D_version1 from the matlab exchange.
% Copyright (c) 2010, Dirk-Jan Kroon
% [image info ] = read_mhd(filename)
info = mhareadheader(filename);
[path name extension] = fileparts(filename);
if... |
github | jacksky64/imageProcessing-master | secs2hms.m | .m | imageProcessing-master/cone beam/CERN-TIGRE-v1.1.3-2-g2ee570e/CERN-TIGRE-2ee570e/Third_party_tools/sec2hours/secs2hms.m | 1,080 | utf_8 | 8e95082e182b573d2719d1a2ff66f315 | %SECS2HMS - converts a time in seconds to a string giving the time in hours, minutes and second
%Usage TIMESTRING = SECS2HMS(TIME)]);
%Example 1: >> secs2hms(7261)
%>> ans = 2 hours, 1 min, 1.0 sec
%Example 2: >> tic; pause(61); disp(['program took ' secs2hms(toc)]);
%>> program took 1 min, 1.0 secs
function ti... |
github | jacksky64/imageProcessing-master | SIRT.m | .m | imageProcessing-master/cone beam/CERN-TIGRE-v1.1.3-2-g2ee570e/CERN-TIGRE-2ee570e/Algorithms/SIRT.m | 10,299 | utf_8 | bf9a3cfb8b29671c442d63bfb4d7c8d6 | function [res,errorL2,qualMeasOut]=SIRT(proj,geo,angles,niter,varargin)
% SIRT_CBCT solves Cone Beam CT image reconstruction using Oriented Subsets
% Simultaneous Algebraic Reconxtruction Techique algorithm
%
% SIRT_CBCT(PROJ,GEO,ALPHA,NITER) solves the reconstruction problem
% using the projectio... |
github | jacksky64/imageProcessing-master | OS_SART.m | .m | imageProcessing-master/cone beam/CERN-TIGRE-v1.1.3-2-g2ee570e/CERN-TIGRE-2ee570e/Algorithms/OS_SART.m | 13,009 | utf_8 | 40c86c320744ac6e9d1cdebebeffc810 | function [res,errorL2,qualMeasOut]=OS_SART(proj,geo,angles,niter,varargin)
% OS_SART_CBCT solves Cone Beam CT image reconstruction using Oriented Subsets
% Simultaneous Algebraic Reconxtruction Techique algorithm
%
% OS_SART_CBCT(PROJ,GEO,ALPHA,NITER) solves the reconstruction problem
% using th... |
github | jacksky64/imageProcessing-master | OSC_TV.m | .m | imageProcessing-master/cone beam/CERN-TIGRE-v1.1.3-2-g2ee570e/CERN-TIGRE-2ee570e/Algorithms/OSC_TV.m | 12,828 | utf_8 | 4d5cae328b50056fad216452c9f0f202 | function [ fres ] = OSC_TV(proj,geo,angles,maxiter,varargin)
%ASD_POCS Solves the ASD_POCS total variation constrained image in 3D
% tomography.
%
% ASD_POCS(PROJ,GEO,ALPHA,NITER) solves the reconstruction problem
% using the projection data PROJ taken over ALPHA angles, corresponding
% to the geometry desc... |
github | jacksky64/imageProcessing-master | SART.m | .m | imageProcessing-master/cone beam/CERN-TIGRE-v1.1.3-2-g2ee570e/CERN-TIGRE-2ee570e/Algorithms/SART.m | 11,488 | utf_8 | 6e4d467e70f1d2bc45e9c1f69c247dad | function [res,errorL2,qualMeasOut]=SART(proj,geo,angles,niter,varargin)
% SART_CBCT solves Cone Beam CT image reconstruction using Oriented Subsets
% Simultaneous Algebraic Reconxtruction Techique algorithm
%
% SART(PROJ,GEO,ALPHA,NITER) solves the reconstruction problem
% using the projection dat... |
github | jacksky64/imageProcessing-master | ASD_POCS.m | .m | imageProcessing-master/cone beam/CERN-TIGRE-v1.1.3-2-g2ee570e/CERN-TIGRE-2ee570e/Algorithms/ASD_POCS.m | 12,069 | utf_8 | c3ad62ba6412de2953c29a4e1cf7c6c2 | function [ fres ] = ASD_POCS(proj,geo,angles,maxiter,varargin)
%ASD_POCS Solves the ASD_POCS total variation constrained image in 3D
% tomography.
%
% ASD_POCS(PROJ,GEO,ALPHA,NITER) solves the reconstruction problem
% using the projection data PROJ taken over ALPHA angles, corresponding
% to the geometry ... |
github | jacksky64/imageProcessing-master | B_ASD_POCS_beta.m | .m | imageProcessing-master/cone beam/CERN-TIGRE-v1.1.3-2-g2ee570e/CERN-TIGRE-2ee570e/Algorithms/B_ASD_POCS_beta.m | 13,313 | utf_8 | 69808cbf82a42a1282377cd14fb2e6ec | function [ fres ] = B_ASD_POCS_beta(proj,geo,angles,maxiter,varargin)
% B_ASD_POCS_beta Solves the ASD_POCS total variation constrained image in 3D
% tomography using bregman iteration for the data.
%
% ASD_POCS(PROJ,GEO,ALPHA,NITER) solves the reconstruction problem
% using the projection data PROJ taken o... |
github | jacksky64/imageProcessing-master | SART_TV.m | .m | imageProcessing-master/cone beam/CERN-TIGRE-v1.1.3-2-g2ee570e/CERN-TIGRE-2ee570e/Algorithms/SART_TV.m | 11,882 | utf_8 | ff74dbf3c25b8132a01c45b319c25a85 | function [res,errorL2,qualMeasOut]=SART_TV(proj,geo,angles,niter,varargin)
% SART_TV solves Cone Beam CT image reconstruction using Oriented Subsets
% Simultaneous Algebraic Reconxtruction Techique algorithm
%
% SART_TV(PROJ,GEO,ALPHA,NITER) solves the reconstruction problem
% using the projection... |
github | jacksky64/imageProcessing-master | filtering.m | .m | imageProcessing-master/cone beam/CBCT_Kyungsang_matlab_Feb2015/bin/filtering.m | 2,320 | utf_8 | 5fb94b13622703c07659af861f665663 | function [ proj ] = filtering(proj,param )
%FILTERING Summary of this function goes here
% Detailed explanation goes here
us = ((-param.nu/2+0.5):1:(param.nu/2-0.5))*param.du + param.off_u;
vs = ((-param.nv/2+0.5):1:(param.nv/2-0.5))*param.dv + param.off_v;
[uu,vv] = meshgrid(us,vs);
w = (param.DSD)./sqrt... |
github | jacksky64/imageProcessing-master | llf.m | .m | imageProcessing-master/HDR/local laplacian filter/fast_llf_and_style_transfer_original/llf.m | 1,583 | utf_8 | 7a14718e491c75a5df4d50397b210a26 | % Perform the local laplacian filter using the function
% f(x,ref)=x+fact*(I-ref)*exp(-(I-ref)²/(2*sigma²))
% Perform the local laplacian filter using any function
% This script implements edge-aware detail and tone manipulation as
% described in :
% Fast and Robust Pyramid-based Image Processing.
% Mathieu Aubry... |
github | jacksky64/imageProcessing-master | remapping_function.m | .m | imageProcessing-master/HDR/local laplacian filter/fast_llf_and_style_transfer_original/remapping_function.m | 193 | utf_8 | 39f4e6083a03bed8b5fed18c4b63f877 | %This is just a toy example!
function y=remapping_function(x)
% y=(x-0.1).*(x>0.1)+(x+0.1).*(x<-0.1); %smoothing
y=3.*x.*(abs(x)<0.1)+(x+0.2).*(x>0.1)+(x-0.2).*(x<-0.1); %enhancement
end |
github | jacksky64/imageProcessing-master | reconstruct_laplacian_pyramid.m | .m | imageProcessing-master/HDR/local laplacian filter/fast_llf_and_style_transfer_original/reconstruct_laplacian_pyramid.m | 1,074 | utf_8 | 7ba1435cc8f4ff0d1428d1179e7cd9ea | % Reconstruction of image from Laplacian pyramid
%
% Arguments:
% pyramid 'pyr', as generated by function 'laplacian_pyramid'
% subwindow indices 'subwindow', given as [r1 r2 c1 c2] (optional)
%
% tom.mertens@gmail.com, August 2007
% sam.hasinoff@gmail.com, March 2011 [modified to handle subwindows]
%
%
... |
github | jacksky64/imageProcessing-master | laplacian_pyramid.m | .m | imageProcessing-master/HDR/local laplacian filter/fast_llf_and_style_transfer_original/laplacian_pyramid.m | 1,251 | utf_8 | 8d160a39954ea8ac8ef42ee22d0f8181 | % Contruction of Laplacian pyramid
%
% Arguments:
% image 'I'
% 'nlev', number of levels in the pyramid (optional)
% subwindow indices 'subwindow', given as [r1 r2 c1 c2] (optional)
%
% tom.mertens@gmail.com, August 2007
% sam.hasinoff@gmail.com, March 2011 [modified to handle subwindows]
%
%
% More ... |
github | jacksky64/imageProcessing-master | llf_general.m | .m | imageProcessing-master/HDR/local laplacian filter/fast_llf_and_style_transfer_original/llf_general.m | 1,278 | utf_8 | 7d132e2ca02f40f77332200e3a4e5f48 | % Perform the local laplacian filter using any function
% INPUT
% I : input greyscale image
% r : a function handle to the remaping function
% N : number discretisation values of the intensity
%
% OUTPUT
% F : filtered image
% aubry.mathieu@gmail.com Sept 2012
function [F]=llf_general(I,r,N)
[height width]=si... |
github | jacksky64/imageProcessing-master | gaussian_pyramid.m | .m | imageProcessing-master/HDR/local laplacian filter/fast_llf_and_style_transfer_original/gaussian_pyramid.m | 785 | utf_8 | c37904c322f0ffcdfb042808f7b58b42 | % Construction of Gaussian pyramid
%
% Arguments:
% image 'I'
% 'nlev', number of levels in the pyramid (optional)
% subwindow indices 'subwindow', given as [r1 r2 c1 c2] (optional)
%
% tom.mertens@gmail.com, August 2007
% sam.hasinoff@gmail.com, March 2011 [modified to handle subwindows]
%
function... |
github | jacksky64/imageProcessing-master | pyramid_filter.m | .m | imageProcessing-master/HDR/local laplacian filter/fast_llf_and_style_transfer_original/pyramid_filter.m | 415 | utf_8 | 6bdb380bd8a557e8170203e732d1f7df | % This is a 2D separable low pass filter for constructing Gaussian and
% Laplacian pyramids, built from a 1D 5-tap low pass filter.
%
% tom.mertens@gmail.com, August 2007
% sam.hasinoff@gmail.com, March 2011 [imfilter faster with 2D filter]
%
function f = pyramid_filter()
f = [.05, .25, .4, .25, .05]; % ori... |
github | jacksky64/imageProcessing-master | downsample.m | .m | imageProcessing-master/HDR/local laplacian filter/fast_llf_and_style_transfer_original/downsample.m | 1,235 | utf_8 | aae6c458109d70f4c77f2465e543c4bf | % Downsampling procedure.
%
% Arguments:
% 'I': image
% downsampling filter 'filter', should be a 2D separable filter.
% 'border_mode' should be 'circular', 'symmetric', or 'replicate'. See 'imfilter'.
% subwindow indices 'subwindow', given as [r1 r2 c1 c2] (optional)
%
% tom.mertens@gmail.com, August 2... |
github | jacksky64/imageProcessing-master | upsample.m | .m | imageProcessing-master/HDR/local laplacian filter/fast_llf_and_style_transfer_original/upsample.m | 1,504 | utf_8 | 3e8cf7f9ffd5675cc72aaa396f478ffe | % Upsampling procedure.
%
% Argments:
% 'I': image
% 'filter': 2D separable upsampling filter
% parent subwindow indices 'subwindow', given as [r1 r2 c1 c2]
%
% tom.mertens@gmail.com, August 2007
% sam.hasinoff@gmail.com, March 2011 [handle subwindows, reweighted boundaries]
%
function R = upsample(I... |
github | jacksky64/imageProcessing-master | llf.m | .m | imageProcessing-master/HDR/local laplacian filter/fast_llf_and_style_transfer/llf.m | 1,656 | utf_8 | 93f40bcebe4ecb248415b493e2c9e2ac | % Perform the local laplacian filter using the function
% f(x,ref)=x+fact*(I-ref)*exp(-(I-ref)²/(2*sigma²))
% Perform the local laplacian filter using any function
% This script implements edge-aware detail and tone manipulation as
% described in :
% Fast and Robust Pyramid-based Image Processing.
% Mathieu Aubry... |
github | jacksky64/imageProcessing-master | remapping_function.m | .m | imageProcessing-master/HDR/local laplacian filter/fast_llf_and_style_transfer/remapping_function.m | 193 | utf_8 | 39f4e6083a03bed8b5fed18c4b63f877 | %This is just a toy example!
function y=remapping_function(x)
% y=(x-0.1).*(x>0.1)+(x+0.1).*(x<-0.1); %smoothing
y=3.*x.*(abs(x)<0.1)+(x+0.2).*(x>0.1)+(x-0.2).*(x<-0.1); %enhancement
end |
github | jacksky64/imageProcessing-master | reconstruct_laplacian_pyramid.m | .m | imageProcessing-master/HDR/local laplacian filter/fast_llf_and_style_transfer/reconstruct_laplacian_pyramid.m | 1,074 | utf_8 | 7ba1435cc8f4ff0d1428d1179e7cd9ea | % Reconstruction of image from Laplacian pyramid
%
% Arguments:
% pyramid 'pyr', as generated by function 'laplacian_pyramid'
% subwindow indices 'subwindow', given as [r1 r2 c1 c2] (optional)
%
% tom.mertens@gmail.com, August 2007
% sam.hasinoff@gmail.com, March 2011 [modified to handle subwindows]
%
%
... |
github | jacksky64/imageProcessing-master | laplacian_pyramid.m | .m | imageProcessing-master/HDR/local laplacian filter/fast_llf_and_style_transfer/laplacian_pyramid.m | 1,251 | utf_8 | 8d160a39954ea8ac8ef42ee22d0f8181 | % Contruction of Laplacian pyramid
%
% Arguments:
% image 'I'
% 'nlev', number of levels in the pyramid (optional)
% subwindow indices 'subwindow', given as [r1 r2 c1 c2] (optional)
%
% tom.mertens@gmail.com, August 2007
% sam.hasinoff@gmail.com, March 2011 [modified to handle subwindows]
%
%
% More ... |
github | jacksky64/imageProcessing-master | llf_general.m | .m | imageProcessing-master/HDR/local laplacian filter/fast_llf_and_style_transfer/llf_general.m | 1,278 | utf_8 | 7d132e2ca02f40f77332200e3a4e5f48 | % Perform the local laplacian filter using any function
% INPUT
% I : input greyscale image
% r : a function handle to the remaping function
% N : number discretisation values of the intensity
%
% OUTPUT
% F : filtered image
% aubry.mathieu@gmail.com Sept 2012
function [F]=llf_general(I,r,N)
[height width]=si... |
github | jacksky64/imageProcessing-master | gaussian_pyramid.m | .m | imageProcessing-master/HDR/local laplacian filter/fast_llf_and_style_transfer/gaussian_pyramid.m | 785 | utf_8 | c37904c322f0ffcdfb042808f7b58b42 | % Construction of Gaussian pyramid
%
% Arguments:
% image 'I'
% 'nlev', number of levels in the pyramid (optional)
% subwindow indices 'subwindow', given as [r1 r2 c1 c2] (optional)
%
% tom.mertens@gmail.com, August 2007
% sam.hasinoff@gmail.com, March 2011 [modified to handle subwindows]
%
function... |
github | jacksky64/imageProcessing-master | pyramid_filter.m | .m | imageProcessing-master/HDR/local laplacian filter/fast_llf_and_style_transfer/pyramid_filter.m | 415 | utf_8 | 6bdb380bd8a557e8170203e732d1f7df | % This is a 2D separable low pass filter for constructing Gaussian and
% Laplacian pyramids, built from a 1D 5-tap low pass filter.
%
% tom.mertens@gmail.com, August 2007
% sam.hasinoff@gmail.com, March 2011 [imfilter faster with 2D filter]
%
function f = pyramid_filter()
f = [.05, .25, .4, .25, .05]; % ori... |
github | jacksky64/imageProcessing-master | downsample.m | .m | imageProcessing-master/HDR/local laplacian filter/fast_llf_and_style_transfer/downsample.m | 1,235 | utf_8 | aae6c458109d70f4c77f2465e543c4bf | % Downsampling procedure.
%
% Arguments:
% 'I': image
% downsampling filter 'filter', should be a 2D separable filter.
% 'border_mode' should be 'circular', 'symmetric', or 'replicate'. See 'imfilter'.
% subwindow indices 'subwindow', given as [r1 r2 c1 c2] (optional)
%
% tom.mertens@gmail.com, August 2... |
github | jacksky64/imageProcessing-master | upsample.m | .m | imageProcessing-master/HDR/local laplacian filter/fast_llf_and_style_transfer/upsample.m | 1,504 | utf_8 | 3e8cf7f9ffd5675cc72aaa396f478ffe | % Upsampling procedure.
%
% Argments:
% 'I': image
% 'filter': 2D separable upsampling filter
% parent subwindow indices 'subwindow', given as [r1 r2 c1 c2]
%
% tom.mertens@gmail.com, August 2007
% sam.hasinoff@gmail.com, March 2011 [handle subwindows, reweighted boundaries]
%
function R = upsample(I... |
github | jacksky64/imageProcessing-master | reconstruct_laplacian_pyramid.m | .m | imageProcessing-master/HDR/local laplacian filter/LocalLaplacianFilter/reconstruct_laplacian_pyramid.m | 1,074 | utf_8 | 7ba1435cc8f4ff0d1428d1179e7cd9ea | % Reconstruction of image from Laplacian pyramid
%
% Arguments:
% pyramid 'pyr', as generated by function 'laplacian_pyramid'
% subwindow indices 'subwindow', given as [r1 r2 c1 c2] (optional)
%
% tom.mertens@gmail.com, August 2007
% sam.hasinoff@gmail.com, March 2011 [modified to handle subwindows]
%
%
... |
github | jacksky64/imageProcessing-master | laplacian_pyramid.m | .m | imageProcessing-master/HDR/local laplacian filter/LocalLaplacianFilter/laplacian_pyramid.m | 1,251 | utf_8 | 8d160a39954ea8ac8ef42ee22d0f8181 | % Contruction of Laplacian pyramid
%
% Arguments:
% image 'I'
% 'nlev', number of levels in the pyramid (optional)
% subwindow indices 'subwindow', given as [r1 r2 c1 c2] (optional)
%
% tom.mertens@gmail.com, August 2007
% sam.hasinoff@gmail.com, March 2011 [modified to handle subwindows]
%
%
% More ... |
github | jacksky64/imageProcessing-master | gaussian_pyramid.m | .m | imageProcessing-master/HDR/local laplacian filter/LocalLaplacianFilter/gaussian_pyramid.m | 785 | utf_8 | c37904c322f0ffcdfb042808f7b58b42 | % Construction of Gaussian pyramid
%
% Arguments:
% image 'I'
% 'nlev', number of levels in the pyramid (optional)
% subwindow indices 'subwindow', given as [r1 r2 c1 c2] (optional)
%
% tom.mertens@gmail.com, August 2007
% sam.hasinoff@gmail.com, March 2011 [modified to handle subwindows]
%
function... |
github | jacksky64/imageProcessing-master | pyramid_filter.m | .m | imageProcessing-master/HDR/local laplacian filter/LocalLaplacianFilter/pyramid_filter.m | 415 | utf_8 | 6bdb380bd8a557e8170203e732d1f7df | % This is a 2D separable low pass filter for constructing Gaussian and
% Laplacian pyramids, built from a 1D 5-tap low pass filter.
%
% tom.mertens@gmail.com, August 2007
% sam.hasinoff@gmail.com, March 2011 [imfilter faster with 2D filter]
%
function f = pyramid_filter()
f = [.05, .25, .4, .25, .05]; % ori... |
github | jacksky64/imageProcessing-master | downsample.m | .m | imageProcessing-master/HDR/local laplacian filter/LocalLaplacianFilter/downsample.m | 1,253 | utf_8 | bac9552fb0054bf7db559b84985e8700 | % Downsampling procedure.
%
% Arguments:
% 'I': image
% downsampling filter 'filter', should be a 2D separable filter.
% 'border_mode' should be 'circular', 'symmetric', or 'replicate'. See 'imfilter'.
% subwindow indices 'subwindow', given as [r1 r2 c1 c2] (optional)
%
% tom.mertens@gmail.com, August 2... |
github | jacksky64/imageProcessing-master | lapfilter_core.m | .m | imageProcessing-master/HDR/local laplacian filter/LocalLaplacianFilter/lapfilter_core.m | 3,509 | utf_8 | 38e746962e3577fcd0c4f1ad92623cdb | % Laplacian Filtering
% - public Matlab implementation for reproducibility
% - about 30x slower than our single-thread C++ version
%
% This script implements the core image processing algorithm
% described in Paris, Hasinoff, and Kautz, "Local Laplacian Filters:
% Edge-aware Image Processing with a Laplacia... |
github | jacksky64/imageProcessing-master | upsample.m | .m | imageProcessing-master/HDR/local laplacian filter/LocalLaplacianFilter/upsample.m | 1,504 | utf_8 | 3e8cf7f9ffd5675cc72aaa396f478ffe | % Upsampling procedure.
%
% Argments:
% 'I': image
% 'filter': 2D separable upsampling filter
% parent subwindow indices 'subwindow', given as [r1 r2 c1 c2]
%
% tom.mertens@gmail.com, August 2007
% sam.hasinoff@gmail.com, March 2011 [handle subwindows, reweighted boundaries]
%
function R = upsample(I... |
github | jacksky64/imageProcessing-master | lapfilter.m | .m | imageProcessing-master/HDR/local laplacian filter/LocalLaplacianFilter/lapfilter.m | 4,599 | utf_8 | f47f1f7e8da1a593eb0236c448e11fd1 | % Laplacian Filtering
% - public Matlab implementation for reproducibility
% - about 30x slower than our single-thread C++ version
%
% This script implements edge-aware detail and tone manipulation as
% described in Paris, Hasinoff, and Kautz, "Local Laplacian Filters:
% Edge-aware Image Processing with a L... |
github | jacksky64/imageProcessing-master | reinhardLocal.m | .m | imageProcessing-master/HDR/reinhardToneMapping/reinhardLocal.m | 4,460 | utf_8 | 7bbe7ca37665d87e90fd7d181174b877 | % Implements the Reinhard local tonemapping operator
%
% parameters:
% hdr: high dynamic range radiance map, a matrix of size rows * columns * 3
% luminance map: the corresponding lumiance map of the hdr image
%
%
%
function [ ldrPic, luminanceCompressed, v, v1Final, sm ] = reinhardLocal( hdr, saturation, eps, phi )
... |
github | jacksky64/imageProcessing-master | readDir.m | .m | imageProcessing-master/HDR/reinhardToneMapping/readDir.m | 1,328 | utf_8 | 06fe56520890b71da5d858f608656ce5 | % Creates a list of all pictures and their exposure values in a certain directory.
%
% Note that the directory must only contain images wich are named according to the
% naming conventions, otherwise this function fails.
%
% Filename naming conventions:
% The filename of a picture must contain two numbers specifying t... |
github | jacksky64/imageProcessing-master | hdr.m | .m | imageProcessing-master/HDR/reinhardToneMapping/hdr.m | 3,360 | utf_8 | 5114bac202a4a9b6c79d02a9dc67b0e2 | % Generates a hdr radiance map from a set of pictures
%
% parameters:
% filenames: a list of filenames containing the differently exposed
% pictures used to make a hdr from
% gRed: camera response function for the red color channel
% gGreen: camera response function for the green color channel
% gBlue: camera response ... |
github | jacksky64/imageProcessing-master | gsolve.m | .m | imageProcessing-master/HDR/reinhardToneMapping/gsolve.m | 1,641 | utf_8 | 6444d430ac03c9277ae2c108e8557bc5 | % gsolve.m - Solve for imaging system response function
%
% Code taken from Paul Debevec's SIGGRAPH'97 paper "Recovering High Dynamic Range
% Radiance Maps from Photographs"
%
%
% Given a set of pixel values observed for several pixels in several
% images with different exposure times, this function returns the
... |
github | jacksky64/imageProcessing-master | makeImageMatrix.m | .m | imageProcessing-master/HDR/reinhardToneMapping/makeImageMatrix.m | 1,571 | utf_8 | 69b3db861855ce87ae5f3348385683ba | % Takes relevant samples from the images for use in gsolve.m
%
%
function [ zRed, zGreen, zBlue, sampleIndices ] = makeImageMatrix( filenames, numPixels )
% determine the number of differently exposed images
numExposures = size(filenames,2);
% Create the vector of sample indices
% We ... |
github | jacksky64/imageProcessing-master | reinhardGlobal.m | .m | imageProcessing-master/HDR/reinhardToneMapping/reinhardGlobal.m | 1,697 | utf_8 | f00242ba0ee5d065648147f23c09c89f | % Implements the Reinhard global tonemapping operator.
%
% parameters:
% hdr: a rows * cols * 3 matrix representing a hdr radiance map
%
% a: defines the desired brightness level of the resulting tonemapped
% picture. Lower values generate darker pictures, higher values brighter
% pictures. Use values like 0.18, 0.36 o... |
github | jacksky64/imageProcessing-master | buildSFpyrLevs_o.m | .m | imageProcessing-master/HDR/hdr_code/buildSFpyrLevs_o.m | 3,137 | utf_8 | c6bf7bf51213e2a73c88aa27ca2fce88 | % [pyr,pind] =
% buildSFpyrLevs_o(lodft,log_rad,Xrcos,Yrcos,angle,ht,nbands,ncycs,angleCyc
% s,ifSave,curScale);
%
% Recursive function for constructing levels of a steerable pyramid. This
% is called by buildSFpyr, and is not usually called directly.
% Eero Simoncelli, 5/97. modified by Yuanzhen Li, 5/05, to incorpo... |
github | jacksky64/imageProcessing-master | reconSFpyrLevs_o.m | .m | imageProcessing-master/HDR/hdr_code/reconSFpyrLevs_o.m | 3,430 | utf_8 | 70b5721fdf388e97921f5322cd23403e | % resdft =
% reconSFpyrLevs_o(pyr,pind,log_rad,Xrcos,Yrcos,angle,nbands,ifSave,band_in
% d,levs,bands,ncycs,angleCycs);
%
% Recursive function for reconstructing levels of a steerable pyramid
% representation. This is called by reconSFpyr, and is not usually
% called directly.
% Eero Simoncelli, 5/97. modified by Yua... |
github | jacksky64/imageProcessing-master | modulateFlip.m | .m | imageProcessing-master/HDR/hdr_code/modulateFlip.m | 461 | utf_8 | 92f12f8068fcf49b9863851f106a5aa3 | % [HFILT] = modulateFlipShift(LFILT)
%
% QMF/Wavelet highpass filter construction: modulate by (-1)^n,
% reverse order (and shift by one, which is handled by the convolution
% routines). This is an extension of the original definition of QMF's
% (e.g., see Simoncelli90).
% Eero Simoncelli, 7/96.
function [hfilt] = m... |
github | jacksky64/imageProcessing-master | gradient_guidedfilter.m | .m | imageProcessing-master/gradientGuidedFilter/gradient_guidedfilter.m | 2,466 | utf_8 | 47bb2aa5ef4702d96d8d32ce34aa3731 | function q = gradient_guidedfilter(I, p, eps)
% GUIDEDFILTER O(1) time implementation of guided filter.
%
% - guidance image: I (should be a gray-scale/single channel image)
% - filtering input image: p (should be a gray-scale/single channel image)
% - regularization parameter: eps
r=16;... |
github | jacksky64/imageProcessing-master | NLMF.m | .m | imageProcessing-master/nlmeans/NLMF.m | 8,859 | utf_8 | 5102383567c3b678cd4b448e84668b79 | function J=NLMF(I,Options)
% This function NLMF performs Non-Local Means noise filtering of
% 2D grey/color or 3D image data. The function is partly c-coded for
% cpu efficient filtering.
%
% Principle NL-Mean filter:
% A local pixel region (patch) around a pixel is compared to patches
% of pixels in the neigh... |
github | jacksky64/imageProcessing-master | circ_kuipertest.m | .m | imageProcessing-master/CircularStatistics/circ_kuipertest.m | 3,076 | utf_8 | 17975f8427b61f430b01b39bea0a0b92 | function [pval, k, K] = circ_kuipertest(alpha1, alpha2, res, vis_on)
% [pval, k, K] = circ_kuipertest(sample1, sample2, res, vis_on)
%
% The Kuiper two-sample test tests whether the two samples differ
% significantly.The difference can be in any property, such as mean
% location and dispersion. It is a c... |
github | jacksky64/imageProcessing-master | circ_clust.m | .m | imageProcessing-master/CircularStatistics/circ_clust.m | 3,346 | utf_8 | 09f16d972b35b7b7b55b361710748587 | function [cid, alpha, mu] = circ_clust(alpha, numclust, disp)
%
% [cid, alpha, mu] = circClust(alpha, numclust, disp)
% Performs a simple agglomerative clustering of angular data.
%
% Input:
% alpha sample of angles
% numclust number of clusters desired, default: 2
% disp show plot at each ste... |
github | jacksky64/imageProcessing-master | circ_raotest.m | .m | imageProcessing-master/CircularStatistics/circ_raotest.m | 4,132 | utf_8 | a088b9d557b94032992d192ef76b8fd4 | function [p U UC] = circ_raotest(alpha)
% [p U UC] = circ_raotest(alpha)
% Calculates Rao's spacing test by comparing distances between points on
% a circle to those expected from a uniform distribution.
%
% H0: Data is distributed uniformly around the circle.
% H1: Data is not uniformly distributed around th... |
github | jacksky64/imageProcessing-master | circ_cmtest.m | .m | imageProcessing-master/CircularStatistics/circ_cmtest.m | 2,127 | utf_8 | b8057e2fbbbaef56584aa347fe5c81cd | function [pval med P] = circ_cmtest(varargin)
%
% [pval, med, P] = circ_cmtest(alpha, idx)
% [pval, med, P] = circ_cmtest(alpha1, alpha2)
% Non parametric multi-sample test for equal medians. Similar to a
% Kruskal-Wallis test for linear data.
%
% H0: the s populations have equal medians
% HA: the s pop... |
github | jacksky64/imageProcessing-master | circ_wwtest.m | .m | imageProcessing-master/CircularStatistics/circ_wwtest.m | 4,669 | utf_8 | 2fa4cad8c08ca9d37b358392c2a3fa99 | function [pval table] = circ_wwtest(varargin)
% [pval, table] = circ_wwtest(alpha, idx, [w])
% [pval, table] = circ_wwtest(alpha1, alpha2, [w1, w2])
% Parametric Watson-Williams multi-sample test for equal means. Can be
% used as a one-way ANOVA test for circular data.
%
% H0: the s populations have equal m... |
github | jacksky64/imageProcessing-master | GUI_16.m | .m | imageProcessing-master/Matlab UI Examples/GUI_16.m | 3,364 | utf_8 | 0ade8fba8eb8747a729134b3667dbc45 | function [] = GUI_16()
% Demonstrate display & change a slider's position & limits with edit boxes
% This is an extension of GUI_13. Slide the slider and it's position will
% be shown in the editbox. Enter a valid number in the editbox and the
% slider will be moved to that position. If the number entered is ... |
github | jacksky64/imageProcessing-master | GUI_20.m | .m | imageProcessing-master/Matlab UI Examples/GUI_20.m | 1,133 | utf_8 | baa2b98b80f0e2394082510ae7521e56 | function [] = GUI_20()
% Demonstrate how to get the chosen string from a popup.
% Creates a popup and an editbox. When the user selects a choice from the
% popup, this choice will appear in the editbox.
%
%
% Author: Matt Fig
% Date: 7/15/2009
S.fh = figure('units','pixels',...
'position'... |
github | jacksky64/imageProcessing-master | GUI_38.m | .m | imageProcessing-master/Matlab UI Examples/GUI_38.m | 3,702 | utf_8 | 44078247e33ee9a9b11606f99d9272d3 | function [] = GUI_38()
% Demonstrate bringing the focus to the figure after callback using JAVA.
% This is an extension of GUI_5. In this case we have both a keypressfcn
% and a buttonpressfcn for the figure. Here the word Keypress is printed
% to the command window when a key is pressed while the figure has focu... |
github | jacksky64/imageProcessing-master | GUI_1.m | .m | imageProcessing-master/Matlab UI Examples/GUI_1.m | 1,627 | utf_8 | 5bb190e41e18f3b455ed103f75ae8309 | function [] = GUI_1()
% Demonstrate how to delete an entry from a uicontrol string.
% Creates a listbox with some strings in it and a pushbutton. When user
% pushes the pushbutton, the selected entry in the listbox will be deleted.
%
% Suggested exercise: Modify the GUI so when the user deletes a certain
% ... |
github | jacksky64/imageProcessing-master | GUI_2.m | .m | imageProcessing-master/Matlab UI Examples/GUI_2.m | 1,937 | utf_8 | ccbe19a7085c9e755fea1e8abe3dbc88 | function [] = GUI_2()
% Demonstrate how to add a new entry to a uicontrol string.
% Creates a listbox with some strings in it, an editbox and a pushbutton.
% User types some text into the editbox, then pushes the pushbutton. The
% user's text will be added to the top of the listbox.
%
% Suggested exercise:... |
github | jacksky64/imageProcessing-master | GUI_6.m | .m | imageProcessing-master/Matlab UI Examples/GUI_6.m | 1,609 | utf_8 | a92f49a5c1519b7de8b0a8f74c5895e9 | function [] = GUI_6()
% Demonstrate how to update one uicontrol with data from others.
% Creates two radiobuttons and a pushbutton. The pushbutton, when clicked
% shows which radio button (or both or none) is currently selected. See
% GUI_8 for similar radiobuttongroup GUI.
%
%
% Author: Matt Fig
% Date: 7/... |
github | jacksky64/imageProcessing-master | GUI_9.m | .m | imageProcessing-master/Matlab UI Examples/GUI_9.m | 1,832 | utf_8 | 049a8148696cd0dd87ab8010f5120f23 | function [] = GUI_9()
% Demonstrate one way to let the user know a process is running.
% Creates a pushbutton which, when pushed, simulates some process running
% in the background and lets the user know this is happening by a text and
% color change. When the process is finished, the button returns to
% norm... |
github | jacksky64/imageProcessing-master | GUI_15.m | .m | imageProcessing-master/Matlab UI Examples/GUI_15.m | 1,799 | utf_8 | db5ef0ce111da9a90faa1acc1583df6e | function [] = GUI_15()
% Demonstrate an edit text which has copyable but unchangeable text.
% Also creates a pushbutton which will print the contents of the
% editbox to the command line.
%
% Suggested exercise: Notice that the text can be cut (as well as copied).
% Alter the keypressfcn to eliminate this.
%
%... |
github | jacksky64/imageProcessing-master | GUI_19.m | .m | imageProcessing-master/Matlab UI Examples/GUI_19.m | 2,094 | utf_8 | 586a4c51186bd7847e7c5f59c893935f | function [] = GUI_19()
% Demonstrate how to keep track of the number of times an action is taken
% and the number of arguments passed. Here pressing both buttons
% calls the same function (pb2_call), but pushing button one calls pb2_call
% from it's own callback. Thus the number of arguments received in
% pb2_c... |
github | jacksky64/imageProcessing-master | GUI_8.m | .m | imageProcessing-master/Matlab UI Examples/GUI_8.m | 2,634 | utf_8 | 1f3059cf182891a1acc2715a22c78418 | function [] = GUI_8()
% Demonstrate how to tell which button in a uibuttongroup is selected.
% Similar to GUI_6 except that a uibuttongroup which enforces exclusivity
% is used.
%
% Suggested exercise: Make the editbox change the selected radiobutton.
% Be sure to check that user input is valid.
%
%
% Au... |
github | jacksky64/imageProcessing-master | GUI_5.m | .m | imageProcessing-master/Matlab UI Examples/GUI_5.m | 1,525 | utf_8 | 4ee2461f9de603988c188da542d2e991 | function [] = GUI_5()
% Demonstrate how to use a pushbutton to delete bits of string and how to
% let the user know that their actions are futile. After the string is
% deleted completely, the user is informed that there is nothing left to
% delete if the delete button is pressed again. A color change accompan... |
github | jacksky64/imageProcessing-master | GUI_23.m | .m | imageProcessing-master/Matlab UI Examples/GUI_23.m | 2,040 | utf_8 | ac3bb7697141c7d263c367f5cde8a1dd | function [] = GUI_23()
% Demonstrate finding which figure was current before callback execution.
% Usage:
%
% Call GUI_23, then create several plots, for example:
%
% GUI_23
% x = 0:.1:10;
% figure;plot(x,x);figure;plot(x,x.^2);figure;plot(x,x.^3)
%
% Now click on whichever of the figure... |
github | jacksky64/imageProcessing-master | GUI_10.m | .m | imageProcessing-master/Matlab UI Examples/GUI_10.m | 1,516 | utf_8 | 991bcbe0ca314951ec2fd784f8592d1e | function [] = GUI_10()
% Demonstrate how to make an image visible or invisible by pushbutton.
% Pushing the pushbutton makes the image appear and disappear to the user.
% Many people have trouble with this because just setting the axes property
% does not do the job.
%
%
% Author: Matt Fig
% Date: 1/15/2010
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.