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 | upBlur.m | .m | imageProcessing-master/Matlab imaging/matlabPyrTools/upBlur.m | 1,213 | utf_8 | 7b07d26940520537edb6e8dc25b72242 | % RES = upBlur(IM, LEVELS, FILT)
%
% Upsample and blur an image. The blurring is done with filter
% kernel specified by FILT (default = 'binom5'), which can be a string
% (to be passed to namedFilter), a vector (applied separably as a 1D
% convolution kernel in X and Y), or a matrix (applied as a 2D
% convolution kern... |
github | jacksky64/imageProcessing-master | nextFig.m | .m | imageProcessing-master/Matlab imaging/matlabPyrTools/nextFig.m | 363 | utf_8 | 94a66b00983cd3840ff1cc88f118a022 | % nextFig (MAXFIGS, SKIP)
%
% Make figure number mod((GCF+SKIP), MAXFIGS) the current figure.
% MAXFIGS is optional, and defaults to 2.
% SKIP is optional, and defaults to 1.
% Eero Simoncelli, 2/97.
function nextFig(maxfigs, skip)
if (exist('maxfigs') ~= 1)
maxfigs = 2;
end
if (exist('skip') ~= 1)
skip = 1;... |
github | jacksky64/imageProcessing-master | zconv2.m | .m | imageProcessing-master/Matlab imaging/matlabPyrTools/zconv2.m | 1,164 | utf_8 | cd266795530db4cb146c1038383316f3 | % RES = ZCONV2(MTX1, MTX2, CTR)
%
% Convolution of two matrices, with boundaries handled as if the larger mtx
% lies in a sea of zeros. Result will be of size of LARGER vector.
%
% The origin of the smaller matrix is assumed to be its center.
% For even dimensions, the origin is determined by the CTR (optional)
% arg... |
github | jacksky64/imageProcessing-master | mkZonePlate.m | .m | imageProcessing-master/Matlab imaging/matlabPyrTools/mkZonePlate.m | 633 | utf_8 | d88329c8d374e54e124222c825679768 | % IM = mkZonePlate(SIZE, AMPL, PHASE)
%
% Make a "zone plate" image:
% AMPL * cos( r^2 + PHASE)
% SIZE specifies the matrix size, as for zeros().
% AMPL (default = 1) and PHASE (default = 0) are optional.
% Eero Simoncelli, 6/96.
function [res] = mkZonePlate(sz, ampl, ph)
sz = sz(:);
if (size(sz,1) == 1)
sz ... |
github | jacksky64/imageProcessing-master | steer2HarmMtx.m | .m | imageProcessing-master/Matlab imaging/matlabPyrTools/steer2HarmMtx.m | 1,803 | utf_8 | 35816be985c308717168260dc97419d8 | % MTX = steer2HarmMtx(HARMONICS, ANGLES, REL_PHASES)
%
% Compute a steering matrix (maps a directional basis set onto the
% angular Fourier harmonics). HARMONICS is a vector specifying the
% angular harmonics contained in the steerable basis/filters. ANGLES
% (optional) is a vector specifying the angular position of... |
github | jacksky64/imageProcessing-master | mkAngularSine.m | .m | imageProcessing-master/Matlab imaging/matlabPyrTools/mkAngularSine.m | 845 | utf_8 | 78a5e0afe3fef5c42804516e2ea1ccc8 | % IM = mkAngularSine(SIZE, HARMONIC, AMPL, PHASE, ORIGIN)
%
% Make an angular sinusoidal image:
% AMPL * sin( HARMONIC*theta + PHASE),
% where theta is the angle about the origin.
% SIZE specifies the matrix size, as for zeros().
% AMPL (default = 1) and PHASE (default = 0) are optional.
% Eero Simoncelli, 2/97.... |
github | jacksky64/imageProcessing-master | mkRamp.m | .m | imageProcessing-master/Matlab imaging/matlabPyrTools/mkRamp.m | 1,110 | utf_8 | 28989822e19c604a816a287a4bee873d | % IM = mkRamp(SIZE, DIRECTION, SLOPE, INTERCEPT, ORIGIN)
%
% Compute a matrix of dimension SIZE (a [Y X] 2-vector, or a scalar)
% containing samples of a ramp function, with given gradient DIRECTION
% (radians, CW from X-axis, default = 0), SLOPE (per pixel, default =
% 1), and a value of INTERCEPT (default = 0) at the... |
github | jacksky64/imageProcessing-master | histoMatch.m | .m | imageProcessing-master/Matlab imaging/matlabPyrTools/histoMatch.m | 858 | utf_8 | 8936fc2eadacc591ecdffe5967726780 | % RES = histoMatch(MTX, N, X)
%
% Modify elements of MTX so that normalized histogram matches that
% specified by vectors X and N, where N contains the histogram counts
% and X the histogram bin positions (see histo).
% Eero Simoncelli, 7/96.
function res = histoMatch(mtx, N, X)
if ( exist('histo') == 3 )
[oN, oX]... |
github | jacksky64/imageProcessing-master | subMtx.m | .m | imageProcessing-master/Matlab imaging/matlabPyrTools/subMtx.m | 420 | utf_8 | c660029ce728dcb8c540c9cf419fa7bc | % MTX = subMtx(VEC, DIMENSIONS, START_INDEX)
%
% Reshape a portion of VEC starting from START_INDEX (optional,
% default=1) to the given dimensions.
% Eero Simoncelli, 6/96.
function mtx = subMtx(vec, sz, offset)
if (exist('offset') ~= 1)
offset = 1;
end
vec = vec(:);
sz = sz(:);
if (size(sz,1) ~= 2)
error('D... |
github | jacksky64/imageProcessing-master | showLpyr.m | .m | imageProcessing-master/Matlab imaging/matlabPyrTools/showLpyr.m | 5,421 | utf_8 | 0646b94ae144cf6160a44f50e67f8dd5 | % RANGE = showLpyr (PYR, INDICES, RANGE, GAP, LEVEL_SCALE_FACTOR)
%
% Display a Laplacian (or Gaussian) pyramid, specified by PYR and
% INDICES (see buildLpyr), in the current figure.
%
% RANGE is a 2-vector specifying the values that map to black and
% white, respectively. These values are scaled by
% LEVEL_SCALE_F... |
github | jacksky64/imageProcessing-master | sp1Filters.m | .m | imageProcessing-master/Matlab imaging/matlabPyrTools/sp1Filters.m | 9,435 | utf_8 | 81cfbf726744492bee2374b9b564ebdf | % Steerable pyramid filters. Transform described in:
%
% @INPROCEEDINGS{Simoncelli95b,
% TITLE = "The Steerable Pyramid: A Flexible Architecture for
% Multi-Scale Derivative Computation",
% AUTHOR = "E P Simoncelli and W T Freeman",
% BOOKTITLE = "Second Int'l Conf on Image Processing",
% ADDRESS = "Washington, DC"... |
github | jacksky64/imageProcessing-master | spyrHt.m | .m | imageProcessing-master/Matlab imaging/matlabPyrTools/spyrHt.m | 305 | utf_8 | 06e83c1f45c1a99e242fa7ea37093a11 | % [HEIGHT] = spyrHt(INDICES)
%
% Compute height of steerable pyramid with given index matrix.
% Eero Simoncelli, 6/96.
function [ht] = spyrHt(pind)
nbands = spyrNumBands(pind);
% Don't count lowpass, or highpass residual bands
if (size(pind,1) > 2)
ht = (size(pind,1)-2)/nbands;
else
ht = 0;
end
|
github | jacksky64/imageProcessing-master | spyrBand.m | .m | imageProcessing-master/Matlab imaging/matlabPyrTools/spyrBand.m | 819 | utf_8 | 7d15b24244e521c9e85c68b3037f569b | % [LEV,IND] = spyrBand(PYR,INDICES,LEVEL,BAND)
%
% Access a band from a steerable pyramid.
%
% LEVEL indicates the scale (finest = 1, coarsest = spyrHt(INDICES)).
%
% BAND (optional, default=1) indicates which subband
% (1 = vertical, rest proceeding anti-clockwise).
% Eero Simoncelli, 6/96.
function res =... |
github | jacksky64/imageProcessing-master | wpyrBand.m | .m | imageProcessing-master/Matlab imaging/matlabPyrTools/wpyrBand.m | 873 | utf_8 | 12e08d90ccd6261b737e2d3c5ac5b1e7 | % RES = wpyrBand(PYR, INDICES, LEVEL, BAND)
%
% Access a subband from a separable QMF/wavelet pyramid.
%
% LEVEL (optional, default=1) indicates the scale (finest = 1,
% coarsest = wpyrHt(INDICES)).
%
% BAND (optional, default=1) indicates which subband (1=horizontal,
% 2=vertical, 3=diagonal).
% Eero Simoncelli... |
github | jacksky64/imageProcessing-master | skew2.m | .m | imageProcessing-master/Matlab imaging/matlabPyrTools/skew2.m | 478 | utf_8 | b304767117ab43e408c5757ab9e3402d | % S = SKEW2(MTX,MEAN,VAR)
%
% Sample skew (third moment divided by variance^3/2) of a matrix.
% MEAN (optional) and VAR (optional) make the computation faster.
function res = skew2(mtx, mn, v)
if (exist('mn') ~= 1)
mn = mean2(mtx);
end
if (exist('v') ~= 1)
v = var2(mtx,mn);
end
if (isreal(mtx))
res = mean(... |
github | jacksky64/imageProcessing-master | imStats.m | .m | imageProcessing-master/Matlab imaging/matlabPyrTools/imStats.m | 1,217 | utf_8 | aab8c3264c5939806bbca5657c925734 | % imStats(IM1,IM2)
%
% Report image (matrix) statistics.
% When called on a single image IM1, report min, max, mean, stdev, skew,
% and kurtosis (4th moment about the mean, divided by squared variance)
%
% When called on two images (IM1 and IM2), report min, max, mean,
% stdev of the difference, and also SNR (relative... |
github | jacksky64/imageProcessing-master | innerProd.m | .m | imageProcessing-master/Matlab imaging/matlabPyrTools/innerProd.m | 314 | utf_8 | e2ea166f9b3ddbc08cb54ef697343d06 | % RES = innerProd(MTX)
%
% Compute (MTX' * MTX) efficiently (i.e., without copying the matrix)
%
% NOTE: This function used to call a MEX function (C code) to avoid copying, but
% newer versions of matlab have eliminated the overhead of the
% simpler form below.
function res = innerProd(mtx)
res = mtx' * mtx;
|
github | jacksky64/imageProcessing-master | reconSFpyr.m | .m | imageProcessing-master/Matlab imaging/matlabPyrTools/reconSFpyr.m | 3,114 | utf_8 | ebb08817efc597692b9026a84e2a6906 | % RES = reconSFpyr(PYR, INDICES, LEVS, BANDS, TWIDTH)
%
% Reconstruct image from its steerable pyramid representation, in the Fourier
% domain, as created by buildSFpyr.
%
% PYR is a vector containing the N pyramid subbands, ordered from fine
% to coarse. INDICES is an Nx2 matrix containing the sizes of
% each subband... |
github | jacksky64/imageProcessing-master | corrDn.m | .m | imageProcessing-master/Matlab imaging/matlabPyrTools/corrDn.m | 2,272 | utf_8 | cce615994bded51a721560b782ea9eef | % RES = corrDn(IM, FILT, EDGES, STEP, START, STOP)
%
% Compute correlation of matrices IM with FILT, followed by
% downsampling. These arguments should be 1D or 2D matrices, and IM
% must be larger (in both dimensions) than FILT. The origin of filt
% is assumed to be floor(size(filt)/2)+1.
%
% EDGES is a string dete... |
github | jacksky64/imageProcessing-master | vectify.m | .m | imageProcessing-master/Matlab imaging/matlabPyrTools/vectify.m | 186 | utf_8 | 1da0e519af06d6baaff1decc40dc3702 | % [VEC] = columnize(MTX)
%
% Pack elements of MTX into a column vector. Just provides a
% function-call notatoin for the operation MTX(:)
function vec = columnize(mtx)
vec = mtx(:);
|
github | jacksky64/imageProcessing-master | maxPyrHt.m | .m | imageProcessing-master/Matlab imaging/matlabPyrTools/maxPyrHt.m | 603 | utf_8 | 019e5ce9d036a893ec979c63f51ff54a | % HEIGHT = maxPyrHt(IMSIZE, FILTSIZE)
%
% Compute maximum pyramid height for given image and filter sizes.
% Specifically: the number of corrDn operations that can be sequentially
% performed when subsampling by a factor of 2.
% Eero Simoncelli, 6/96.
function height = maxPyrHt(imsz, filtsz)
imsz = imsz(:);
filtsz =... |
github | jacksky64/imageProcessing-master | buildSpyrLevs.m | .m | imageProcessing-master/Matlab imaging/matlabPyrTools/buildSpyrLevs.m | 861 | utf_8 | a5fa1e98161a8137e666c1406c28a748 | % [PYR, INDICES] = buildSpyrLevs(LOIM, HEIGHT, LOFILT, BFILTS, EDGES)
%
% Recursive function for constructing levels of a steerable pyramid. This
% is called by buildSpyr, and is not usually called directly.
% Eero Simoncelli, 6/96.
function [pyr,pind] = buildSpyrLevs(lo0,ht,lofilt,bfilts,edges);
if (ht <= 0)
py... |
github | jacksky64/imageProcessing-master | showSpyr.m | .m | imageProcessing-master/Matlab imaging/matlabPyrTools/showSpyr.m | 5,213 | utf_8 | bc643d88c491a55c0a0abb5e86c91757 | % RANGE = showSpyr (PYR, INDICES, RANGE, GAP, LEVEL_SCALE_FACTOR)
%
% Display a steerable pyramid, specified by PYR and INDICES
% (see buildSpyr), in the current figure. The highpass band is not shown.
%
% RANGE is a 2-vector specifying the values that map to black and
% white, respectively. These values are scaled... |
github | jacksky64/imageProcessing-master | histo.m | .m | imageProcessing-master/Matlab imaging/matlabPyrTools/histo.m | 1,835 | utf_8 | e76d8956cd1d59f518a8146dc5145f9b | % [N,X] = histo(MTX, nbinsOrBinsize, binCenter);
%
% Compute a histogram of (all) elements of MTX. N contains the histogram
% counts, X is a vector containg the centers of the histogram bins.
%
% nbinsOrBinsize (optional, default = 101) specifies either
% the number of histogram bins, or the negative of the binsize.
%... |
github | jacksky64/imageProcessing-master | lplot.m | .m | imageProcessing-master/Matlab imaging/matlabPyrTools/lplot.m | 1,009 | utf_8 | 87c83936af0b318d55077862065b56df | % lplot(VEC, XRANGE)
%
% Plot VEC, a vector, in "lollipop" format.
% XRANGE (optional, default = [1,length(VEC)]), should be a 2-vector
% specifying the X positions (for labeling purposes) of the first and
% last sample of VEC.
% Mark Liberman, Linguistics Dept, UPenn, 1994.
function lplot(x,xrange)
if (exist('... |
github | jacksky64/imageProcessing-master | blurDn.m | .m | imageProcessing-master/Matlab imaging/matlabPyrTools/blurDn.m | 1,364 | utf_8 | d528010bfd2b4c50e7dbb2aede757214 | % RES = blurDn(IM, LEVELS, FILT)
%
% Blur and downsample an image. The blurring is done with filter
% kernel specified by FILT (default = 'binom5'), which can be a string
% (to be passed to namedFilter), a vector (applied separably as a 1D
% convolution kernel in X and Y), or a matrix (applied as a 2D
% convolution ke... |
github | jacksky64/imageProcessing-master | reconSpyrLevs.m | .m | imageProcessing-master/Matlab imaging/matlabPyrTools/reconSpyrLevs.m | 1,126 | utf_8 | 1f10e3cea5d79a4f4a30d979f3bb1298 | % RES = reconSpyrLevs(PYR,INDICES,LOFILT,BFILTS,EDGES,LEVS,BANDS)
%
% Recursive function for reconstructing levels of a steerable pyramid
% representation. This is called by reconSpyr, and is not usually
% called directly.
% Eero Simoncelli, 6/96.
function res = reconSpyrLevs(pyr,pind,lofilt,bfilts,edges,levs,bands)... |
github | jacksky64/imageProcessing-master | mkSine.m | .m | imageProcessing-master/Matlab imaging/matlabPyrTools/mkSine.m | 1,725 | utf_8 | 35c6d83f70860ab6defcbdcf7366d89e | % IM = mkSine(SIZE, PERIOD, DIRECTION, AMPLITUDE, PHASE, ORIGIN)
% or
% IM = mkSine(SIZE, FREQ, AMPLITUDE, PHASE, ORIGIN)
%
% Compute a matrix of dimension SIZE (a [Y X] 2-vector, or a scalar)
% containing samples of a 2D sinusoid, with given PERIOD (in pixels),
% DIRECTION (radians, CW from X-axis, default = 0),... |
github | jacksky64/imageProcessing-master | buildSFpyrLevs.m | .m | imageProcessing-master/Matlab imaging/matlabPyrTools/buildSFpyrLevs.m | 1,891 | utf_8 | 52ab858761411b2a5a75e7de641259cf | % [PYR, INDICES] = buildSFpyrLevs(LODFT, LOGRAD, XRCOS, YRCOS, ANGLE, HEIGHT, NBANDS)
%
% Recursive function for constructing levels of a steerable pyramid. This
% is called by buildSFpyr, and is not usually called directly.
% Eero Simoncelli, 5/97.
function [pyr,pind] = buildSFpyrLevs(lodft,log_rad,Xrcos,Yrcos,angl... |
github | jacksky64/imageProcessing-master | pixelAxes.m | .m | imageProcessing-master/Matlab imaging/matlabPyrTools/pixelAxes.m | 1,983 | utf_8 | 1b2a2bfddd425fee2ccd276f3948cec7 | % [ZOOM] = pixelAxes(DIMS, ZOOM)
%
% Set the axes of the current plot to cover a multiple of DIMS pixels,
% thereby eliminating screen aliasing artifacts when displaying an
% image of size DIMS.
%
% ZOOM (optional, default='same') expresses the desired number of
% samples displayed per screen pixel. It should be a ... |
github | jacksky64/imageProcessing-master | pyrBandIndices.m | .m | imageProcessing-master/Matlab imaging/matlabPyrTools/pyrBandIndices.m | 589 | utf_8 | 28f90484526c294bdb24bdbf8014012d | % RES = pyrBandIndices(INDICES, BAND_NUM)
%
% Return indices for accessing a subband from a pyramid
% (gaussian, laplacian, QMF/wavelet, steerable).
% Eero Simoncelli, 6/96.
function indices = pyrBandIndices(pind,band)
if ((band > size(pind,1)) | (band < 1))
error(sprintf('BAND_NUM must be between 1 and number o... |
github | jacksky64/imageProcessing-master | pointOp.m | .m | imageProcessing-master/Matlab imaging/matlabPyrTools/pointOp.m | 1,207 | utf_8 | f3b4f566bebca0b7f56477785bb89fc5 | % RES = pointOp(IM, LUT, ORIGIN, INCREMENT, WARNINGS)
%
% Apply a point operation, specified by lookup table LUT, to image IM.
% LUT must be a row or column vector, and is assumed to contain
% (equi-spaced) samples of the function. ORIGIN specifies the
% abscissa associated with the first sample, and INCREMENT specifi... |
github | jacksky64/imageProcessing-master | reconWpyr.m | .m | imageProcessing-master/Matlab imaging/matlabPyrTools/reconWpyr.m | 3,992 | utf_8 | 859a606f214bce204ce3c9ea18c0fc87 | % RES = reconWpyr(PYR, INDICES, FILT, EDGES, LEVS, BANDS)
%
% Reconstruct image from its separable orthonormal QMF/wavelet pyramid
% representation, as created by buildWpyr.
%
% PYR is a vector containing the N pyramid subbands, ordered from fine
% to coarse. INDICES is an Nx2 matrix containing the sizes of
% each sub... |
github | jacksky64/imageProcessing-master | showWpyr.m | .m | imageProcessing-master/Matlab imaging/matlabPyrTools/showWpyr.m | 5,491 | utf_8 | 4bc0b260425f553810ae04afced17fda | % RANGE = showWpyr (PYR, INDICES, RANGE, GAP, LEVEL_SCALE_FACTOR)
%
% Display a separable QMF/wavelet pyramid, specified by PYR and INDICES
% (see buildWpyr), in the current figure.
%
% RANGE is a 2-vector specifying the values that map to black and
% white, respectively. These values are scaled by
% LEVEL_SCALE_FAC... |
github | jacksky64/imageProcessing-master | imGradient.m | .m | imageProcessing-master/Matlab imaging/matlabPyrTools/imGradient.m | 1,547 | utf_8 | b13a85bea09c3f4e0c1e6140c9a31f7a | % [dx, dy] = imGradient(im, edges)
%
% Compute the gradient of the image using smooth derivative filters
% optimized for accurate direction estimation. Coordinate system
% corresponds to standard pixel indexing: X axis points rightward. Y
% axis points downward. EDGES specify boundary handling (see corrDn
% for opt... |
github | jacksky64/imageProcessing-master | lpyrHt.m | .m | imageProcessing-master/Matlab imaging/matlabPyrTools/lpyrHt.m | 233 | utf_8 | dd0b45926abda2b3fe9aaec0a4f4d214 | % [HEIGHT] = lpyrHt(INDICES)
%
% Compute height of Laplacian pyramid with given its INDICES matrix.
% See buildLpyr.m
% Eero Simoncelli, 6/96.
function [ht] = lpyrHt(pind)
% Don't count lowpass residual band
ht = size(pind,1)-1;
|
github | jacksky64/imageProcessing-master | buildGpyr.m | .m | imageProcessing-master/Matlab imaging/matlabPyrTools/buildGpyr.m | 1,931 | utf_8 | 3f1cfe5507fe34b51d71a87d955abbf5 | % [PYR, INDICES] = buildGpyr(IM, HEIGHT, FILT, EDGES)
%
% Construct a Gaussian pyramid on matrix IM.
%
% HEIGHT (optional) specifies the number of pyramid levels to build. Default
% is 1+maxPyrHt(size(IM),size(FILT)).
% You can also specify 'auto' to use this value.
%
% FILT (optional) can be a string naming a standar... |
github | jacksky64/imageProcessing-master | shift.m | .m | imageProcessing-master/Matlab imaging/matlabPyrTools/shift.m | 438 | utf_8 | 2ac42b171e4ca683ef1d361eaf331870 | % [RES] = shift(MTX, OFFSET)
%
% Circular shift 2D matrix samples by OFFSET (a [Y,X] 2-vector),
% such that RES(POS) = MTX(POS-OFFSET).
function res = shift(mtx, offset)
dims = size(mtx);
offset = mod(-offset,dims);
res = [ mtx(offset(1)+1:dims(1), offset(2)+1:dims(2)), ...
mtx(offset(1)+1:dims(1), 1:o... |
github | jacksky64/imageProcessing-master | namedFilter.m | .m | imageProcessing-master/Matlab imaging/matlabPyrTools/namedFilter.m | 3,207 | utf_8 | 8f45ef65fca60f53e0f734c4f1ae01bf | % KERNEL = NAMED_FILTER(NAME)
%
% Some standard 1D filter kernels. These are scaled such that
% their L2-norm is 1.0.
%
% binomN - binomial coefficient filter of order N-1
% haar: - Haar wavelet.
% qmf8, qmf12, qmf16 - Symmetric Quadrature Mirror Filters [Johnston80]
% daub2,daub3,daub4 -... |
github | jacksky64/imageProcessing-master | buildLpyr.m | .m | imageProcessing-master/Matlab imaging/matlabPyrTools/buildLpyr.m | 2,632 | utf_8 | b62aad457634fd598b373448741860cd | % [PYR, INDICES] = buildLpyr(IM, HEIGHT, FILT1, FILT2, EDGES)
%
% Construct a Laplacian pyramid on matrix (or vector) IM.
%
% HEIGHT (optional) specifies the number of pyramid levels to build. Default
% is 1+maxPyrHt(size(IM),size(FILT)). You can also specify 'auto' to
% use this value.
%
% FILT1 (optional) can be a s... |
github | jacksky64/imageProcessing-master | mkAngle.m | .m | imageProcessing-master/Matlab imaging/matlabPyrTools/mkAngle.m | 788 | utf_8 | 126297224256c6e9077dc58f4094c39a | % IM = mkAngle(SIZE, PHASE, ORIGIN)
%
% Compute a matrix of dimension SIZE (a [Y X] 2-vector, or a scalar)
% containing samples of the polar angle (in radians, CW from the
% X-axis, ranging from -pi to pi), relative to angle PHASE (default =
% 0), about ORIGIN pixel (default = (size+1)/2).
% Eero Simoncelli, 6/96.
fu... |
github | jacksky64/imageProcessing-master | wpyrHt.m | .m | imageProcessing-master/Matlab imaging/matlabPyrTools/wpyrHt.m | 270 | utf_8 | 18e1a724afee99389db70484333eb05a | % [HEIGHT] = wpyrHt(INDICES)
%
% Compute height of separable QMF/wavelet pyramid with given index matrix.
% Eero Simoncelli, 6/96.
function [ht] = wpyrHt(pind)
if ((pind(1,1) == 1) | (pind(1,2) ==1))
nbands = 1;
else
nbands = 3;
end
ht = (size(pind,1)-1)/nbands;
|
github | jacksky64/imageProcessing-master | sp0Filters.m | .m | imageProcessing-master/Matlab imaging/matlabPyrTools/sp0Filters.m | 6,140 | utf_8 | 0c5cd7bafff21efacd2a8ec71af90f49 | % Steerable pyramid filters. Transform described in:
%
% @INPROCEEDINGS{Simoncelli95b,
% TITLE = "The Steerable Pyramid: A Flexible Architecture for
% Multi-Scale Derivative Computation",
% AUTHOR = "E P Simoncelli and W T Freeman",
% BOOKTITLE = "Second Int'l Conf on Image Processing",
% ADDRESS = "Washington, DC"... |
github | jacksky64/imageProcessing-master | sp5Filters.m | .m | imageProcessing-master/Matlab imaging/matlabPyrTools/sp5Filters.m | 6,949 | utf_8 | 305fb0c0ca0709fc34ca6c5b4bb91712 | % Steerable pyramid filters. Transform described in:
%
% @INPROCEEDINGS{Simoncelli95b,
% TITLE = "The Steerable Pyramid: A Flexible Architecture for
% Multi-Scale Derivative Computation",
% AUTHOR = "E P Simoncelli and W T Freeman",
% BOOKTITLE = "Second Int'l Conf on Image Processing",
% ADDRESS = "Washington, DC"... |
github | jacksky64/imageProcessing-master | steer.m | .m | imageProcessing-master/Matlab imaging/matlabPyrTools/steer.m | 1,990 | utf_8 | 3db4dd948e0ece7c7237330b7d4f191e | % RES = STEER(BASIS, ANGLE, HARMONICS, STEERMTX)
%
% Steer BASIS to the specfied ANGLE.
%
% BASIS should be a matrix whose columns are vectorized rotated copies of a
% steerable function, or the responses of a set of steerable filters.
%
% ANGLE can be a scalar, or a column vector the size of the basis.
%
% HARMO... |
github | jacksky64/imageProcessing-master | mkGaussian.m | .m | imageProcessing-master/Matlab imaging/matlabPyrTools/mkGaussian.m | 1,565 | utf_8 | 1f55e73fbc9155a38607b0667da2d7f3 | % IM = mkGaussian(SIZE, COVARIANCE, MEAN, AMPLITUDE)
%
% Compute a matrix with dimensions SIZE (a [Y X] 2-vector, or a
% scalar) containing a Gaussian function, centered at pixel position
% specified by MEAN (default = (size+1)/2), with given COVARIANCE (can
% be a scalar, 2-vector, or 2x2 matrix. Default = (min(size... |
github | jacksky64/imageProcessing-master | factorial.m | .m | imageProcessing-master/Matlab imaging/matlabPyrTools/factorial.m | 273 | utf_8 | 370971eae7a2351704973c452848d194 | %% RES = factorial(NUM)
%
% Factorial function that works on matrices (matlab's does not).
% EPS, 11/02
function res = factorial(num)
res = ones(size(num));
ind = find(num > 0);
if ( ~isempty(ind) )
subNum = num(ind);
res(ind) = subNum .* factorial(subNum-1);
end
|
github | jacksky64/imageProcessing-master | entropy2.m | .m | imageProcessing-master/Matlab imaging/matlabPyrTools/entropy2.m | 693 | utf_8 | c637630f7ac8912e5cb30f67551aece7 | % E = ENTROPY2(MTX,BINSIZE)
%
% Compute the first-order sample entropy of MTX. Samples of VEC are
% first discretized. Optional argument BINSIZE controls the
% discretization, and defaults to 256/(max(VEC)-min(VEC)).
%
% NOTE: This is a heavily biased estimate of entropy (it is too
% small) when you don't have much... |
github | jacksky64/imageProcessing-master | buildSFpyr.m | .m | imageProcessing-master/Matlab imaging/matlabPyrTools/buildSFpyr.m | 3,256 | utf_8 | 84c0a17ac90df74f317c29833c54ffa3 | % [PYR, INDICES, STEERMTX, HARMONICS] = buildSFpyr(IM, HEIGHT, ORDER, TWIDTH)
%
% Construct a steerable pyramid on matrix IM, in the Fourier domain.
% This is similar to buildSpyr, except that:
%
% + Reconstruction is exact (within floating point errors)
% + It can produce any number of orientation bands.
% - ... |
github | jacksky64/imageProcessing-master | spyrLev.m | .m | imageProcessing-master/Matlab imaging/matlabPyrTools/spyrLev.m | 668 | utf_8 | 8d25ccc2790a62ab21a20cc3d0772706 | % [LEV,IND] = spyrLev(PYR,INDICES,LEVEL)
%
% Access a level from a steerable pyramid.
% Return as an SxB matrix, B = number of bands, S = total size of a band.
% Also returns an Bx2 matrix containing dimensions of the subbands.
% Eero Simoncelli, 6/96.
function [lev,ind] = spyrLev(pyr,pind,level)
nbands = spyrNumBa... |
github | jacksky64/imageProcessing-master | pgmWrite.m | .m | imageProcessing-master/Matlab imaging/matlabPyrTools/pgmWrite.m | 3,119 | utf_8 | 6425008296069df51c5c30ee1c011850 | % RANGE = pgmWrite(MTX, FILENAME, RANGE, TYPE, COMMENT)
%
% Write a MatLab matrix to a pgm (graylevel image) file.
% This format is accessible from the XV image browsing utility.
%
% RANGE (optional) is a 2-vector specifying the values that map to
% black and white, respectively. Passing a value of 'auto' (default)
% ... |
github | jacksky64/imageProcessing-master | modulateFlip.m | .m | imageProcessing-master/Matlab imaging/matlabPyrTools/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 | mkFract.m | .m | imageProcessing-master/Matlab imaging/matlabPyrTools/mkFract.m | 843 | utf_8 | f0d97e35133978ade3a5fe34dea5d08a | % IM = mkFract(SIZE, FRACT_DIM)
%
% Make a matrix of dimensions SIZE (a [Y X] 2-vector, or a scalar)
% containing fractal (pink) noise with power spectral density of the
% form: 1/f^(5-2*FRACT_DIM). Image variance is normalized to 1.0.
% FRACT_DIM defaults to 1.0
% Eero Simoncelli, 6/96.
%% TODO: Verify that this m... |
github | jacksky64/imageProcessing-master | mkSquare.m | .m | imageProcessing-master/Matlab imaging/matlabPyrTools/mkSquare.m | 2,344 | utf_8 | 7d9553e391552cd91cdd6d81348404e2 | % IM = mkSquare(SIZE, PERIOD, DIRECTION, AMPLITUDE, PHASE, ORIGIN, TWIDTH)
% or
% IM = mkSine(SIZE, FREQ, AMPLITUDE, PHASE, ORIGIN, TWIDTH)
%
% Compute a matrix of dimension SIZE (a [Y X] 2-vector, or a scalar)
% containing samples of a 2D square wave, with given PERIOD (in
% pixels), DIRECTION (radians, CW from ... |
github | jacksky64/imageProcessing-master | spyrNumBands.m | .m | imageProcessing-master/Matlab imaging/matlabPyrTools/spyrNumBands.m | 480 | utf_8 | 4a10cb68438c7dfc197ec00066f48fd4 | % [NBANDS] = spyrNumBands(INDICES)
%
% Compute number of orientation bands in a steerable pyramid with
% given index matrix. If the pyramid contains only the highpass and
% lowpass bands (i.e., zero levels), returns 0.
% Eero Simoncelli, 2/97.
function [nbands] = spyrNumBands(pind)
if (size(pind,1) == 2)
nbands ... |
github | jacksky64/imageProcessing-master | reconSpyr.m | .m | imageProcessing-master/Matlab imaging/matlabPyrTools/reconSpyr.m | 2,671 | utf_8 | ea9e71a5f8a76eadbe8c1a2472d89344 | % RES = reconSpyr(PYR, INDICES, FILTFILE, EDGES, LEVS, BANDS)
%
% Reconstruct image from its steerable pyramid representation, as created
% by buildSpyr.
%
% PYR is a vector containing the N pyramid subbands, ordered from fine
% to coarse. INDICES is an Nx2 matrix containing the sizes of
% each subband. This is compa... |
github | jacksky64/imageProcessing-master | PSMF.m | .m | imageProcessing-master/Matlab imaging/Nonlinear Image filter Matlab/Total variation/PSMF.m | 1,729 | utf_8 | 475d67192dff5927c8e02dd0c73206fe | %% Implementation of Progressive Switching Median Filter
%% Base Paper : Zhou Wang and David Zhang, "Progressive Switching Median
%% Filter for the Removal of Impulse Noise from Highly Corrupted Images",
%% IEEE Trans. on Cir. and Sys., vol. 46, no. 1, Jan. 1999.
%% Function Y = PSMF(x)
%% input x = Image is c... |
github | jacksky64/imageProcessing-master | Hessian3D.m | .m | imageProcessing-master/frangifilter/Hessian3D.m | 1,938 | utf_8 | 9204648b80240369948918e5b591d037 | function [Dxx, Dyy, Dzz, Dxy, Dxz, Dyz] = Hessian3D(Volume,Sigma)
% This function Hessian3D filters the image with an Gaussian kernel
% followed by calculation of 2nd order gradients, which aprroximates the
% 2nd order derivatives of the image.
%
% [Dxx, Dyy, Dzz, Dxy, Dxz, Dyz] = Hessian3D(I,Sigma)
%
% inp... |
github | jacksky64/imageProcessing-master | gkdeb.m | .m | imageProcessing-master/gkde/gkdeb.m | 4,605 | utf_8 | 9d82eb477f61ff42700f0fa30bf20f71 | function p=gkdeb(x,p)
% GKDEB Gaussian Kernel Density Estimation with Bounded Support
%
% Usage:
% p = gkdeb(d) returns an estmate of pdf of the given random data d in p,
% where p.pdf and p.cdf are the pdf and cdf vectors estimated at
% p.x locations, respectively and p.h is the bandwid... |
github | jacksky64/imageProcessing-master | filter_function.m | .m | imageProcessing-master/ImageDiffusionFiltering/ImageDenoising/filter_function.m | 398 | utf_8 | 503e499f9e7a72b3417c25f62aa6fb32 | % CAP 6516 Medical Image Processing Programming Assignment 1
% Author: Ritwik K Kumar, Dept. of CISE, UFL
% (c) 2006 Ritwik K Kumar
% this function is called by other m files
function [smth] = filter_function(image, sigma);
% This function smooths the image with a Gaussian filter of width sigma
smask = fspe... |
github | jacksky64/imageProcessing-master | imagine.m | .m | imageProcessing-master/matlab imagine/imagine_2016/imagine.m | 167,700 | utf_8 | 30fbbb9031cf1ff3577fe03ddd20e8ad | function argout = imagine2(varargin)
% IMAGINE IMAGe visualization, analysis and evaluation engINE
%
% IMAGINE starts the IMAGINE user interface without initial data
%
% IMAGINE(DATA) Starts the IMAGINE user interface with one (DATA is 3D)
% or multiple panels (DATA is 4D).
%
% IMAGINE(DATA, PROPERTY1, ... |
github | jacksky64/imageProcessing-master | fMatRead.m | .m | imageProcessing-master/matlab imagine/imagine_2016/import/fMatRead.m | 5,941 | utf_8 | 2813566ac29fd2282b28bc24f561112e | % =========================================================================
% *** FUNCTION fMatRead
% ***
% *** Lets the user select one or multiple variables from the base
% *** workspace for import into imagine
% ***
% =========================================================================
function csVarOut ... |
github | jacksky64/imageProcessing-master | fWSImport.m | .m | imageProcessing-master/matlab imagine/imagine_2016/import/fWSImport.m | 5,071 | utf_8 | 1a1a9b39e2ced78065ea7a3ae96d8df3 | % =========================================================================
% *** FUNCTION fWSImport
% ***
% *** Lets the user select one or multiple variables from the base
% *** workspace for import into imagine
% ***
% =========================================================================
function csVarOut... |
github | jacksky64/imageProcessing-master | viewer3d.m | .m | imageProcessing-master/Matlab Viewer3D/viewer3d.m | 242,127 | utf_8 | 54313e095ad9115e782e9c7c86fd600b | function varargout = viewer3d(varargin)
% VIEWER3D is a Matlab GUI for fast shearwarp volume rendering. It also
% allows segmentation and measurements in the imagedata.
%
%
% Just start with
% VIEWER3D
%
% Or to display one or more matlab volumes
%
% VIEWER3D(V); VIEWER3D(V1,V2,V3 ....);
%
%
% inputs,... |
github | jacksky64/imageProcessing-master | render.m | .m | imageProcessing-master/Matlab Viewer3D/render.m | 40,381 | utf_8 | c1baff4ae87d57f8f014f914f1b14c19 | function render_image = render(volume,options)
% Function RENDER will volume render a image of a 3D volume,
% with transperancy, shading and ColorTable.
%
% I = RENDER(VOLUME,OPTIONS);
%
% outputs,
% I: The rendered image
%
% inputs,
% VOLUME : Input image volume (Data of type double has short render
% ... |
github | jacksky64/imageProcessing-master | ReadData3D.m | .m | imageProcessing-master/Matlab Viewer3D/ReadData3D/ReadData3D.m | 14,704 | utf_8 | 0cf98e0452dcfacfd88336aba55fe9aa | function varargout = ReadData3D(varargin)
% This function ReadData3D allows the user to open medical 3D files. It
% supports the following formats :
%
% Dicom Files ( .dcm , .dicom )
% V3D Philips Scanner ( .v3d )
% GIPL Guys Image Processing Lab ( .gipl )
% HDR/IMG Analyze ( .hdr )
% ISI Files ( .isi )
% N... |
github | jacksky64/imageProcessing-master | dicom_folder_info.m | .m | imageProcessing-master/Matlab Viewer3D/ReadData3D/dicom/dicom_folder_info.m | 8,444 | utf_8 | 0c58b3656654e208a0c51854cd32d2e6 | function datasets=dicom_folder_info(link,subfolders)
% Function DICOM_FOLDER_INFO gives information about all Dicom files
% in a certain folder (and subfolders), or of a certain dataset
%
% datasets=dicom_folder_info(link,subfolders)
%
% inputs,
% link : A link to a folder like "C:\temp" or a link to the first... |
github | jacksky64/imageProcessing-master | dicom_write_volume.m | .m | imageProcessing-master/Matlab Viewer3D/ReadData3D/dicom/dicom_write_volume.m | 2,219 | utf_8 | a3f41a386dcd02f121e040857f26b55a | function dicom_write_volume(Volume,filename,volscale,info)
% This function DICOM_WRITE_VOLUME will write a Matlab 3D volume as
% a stack of 2D slices in separate dicom files.
%
% dicom_write_volume(Volume,Filename,Scales,Info)
%
% inputs,
% Volume: The 3D Matlab volume
% Filename: The name of the dicom file... |
github | jacksky64/imageProcessing-master | choose_from_list.m | .m | imageProcessing-master/Matlab Viewer3D/ReadData3D/dicom/choose_from_list.m | 1,062 | utf_8 | 9a5736ab8c4022c2092521054615df27 | function [id,name] = choose_from_list(varargin)
%
% example :
%
% c{1}='apple'
% c{2}='orange'
% c{3}='berries'
% [id,name]=choose_from_list(c,'Select a Fruit');
%
if(strcmp(varargin{1},'press'))
handles=guihandles;
id=get(handles.listbox1,'Value');
setMyData(id);
uiresume
return
end
% listbox1 Positio... |
github | jacksky64/imageProcessing-master | mha_read_volume.m | .m | imageProcessing-master/Matlab Viewer3D/ReadData3D/mha/mha_read_volume.m | 2,646 | utf_8 | 21298fee32e8afb8010bca7385a11d6e | function V = mha_read_volume(info)
% Function for reading the volume of a Insight Meta-Image (.mha, .mhd) file
%
% volume = tk_read_volume(file-header)
%
% examples:
% 1: info = mha_read_header()
% V = mha_read_volume(info);
% imshow(squeeze(V(:,:,round(end/2))),[]);
%
% 2: V = mha_read_volume('test.mh... |
github | jacksky64/imageProcessing-master | raw_read_header.m | .m | imageProcessing-master/Matlab Viewer3D/ReadData3D/raw/raw_read_header.m | 19,605 | utf_8 | 4012e947c5ae87248c1a2034fb83864e | function varargout = raw_read_header(varargin)
% function for reading header of raw volume file
%
% info = raw_read_header(filename);
%
% examples:
% 1, info=raw_read_header()
% 2, info=raw_read_header('volume.raw');
% Edit the above text to modify the response to help raw_read_header
% Last Modified by GUIDE v2.5 ... |
github | jacksky64/imageProcessing-master | par_read_header.m | .m | imageProcessing-master/Matlab Viewer3D/ReadData3D/par/par_read_header.m | 9,281 | utf_8 | d35b414f478ff294a6ca3ab889e04551 | function info =par_read_header(filename)
% Function for reading the header of a Philips Par / Rec MR V4.* file
%
% info = par_read_header(filename);
%
% examples:
% 1, info=par_read_header()
% 2, info=par_read_header('volume.par');
if(exist('filename','var')==0)
[filename, pathname] = uigetfile('*.p... |
github | jacksky64/imageProcessing-master | hdr_read_volume.m | .m | imageProcessing-master/Matlab Viewer3D/ReadData3D/hdr/hdr_read_volume.m | 1,429 | utf_8 | ddbf082bf0adb5cc48c5ad55a65a4f07 | function V=hdr_read_volume(info)
% function for reading volume of HDR/IMG Analyze ( .hdr ) volume file
%
% volume = hdr_read_volume(file-header)
%
% examples:
% 1: info = hdr_read_volume(()
% V = hdr_read_volume(info);
% imshow(squeeze(V(:,:,round(end/2))),[]);
%
% 2: V = hdr_read_volume(('test.hdr');
... |
github | jacksky64/imageProcessing-master | hdr_read_header.m | .m | imageProcessing-master/Matlab Viewer3D/ReadData3D/hdr/hdr_read_header.m | 4,707 | utf_8 | a2dc54e78b103557c78fd2f7652f1bfe | function info=hdr_read_header(filename)
% function for reading header of HDR/IMG Analyze ( .hdr ) volume file
%
% info = hdr_read_header(filename);
%
% examples:
% 1, info=hdr_read_header()
% 2, info=hdr_read_header('volume.hdr');
if(exist('filename','var')==0)
[filename, pathname] = uigetfile('*.hdr',... |
github | jacksky64/imageProcessing-master | ErrorData3D.m | .m | imageProcessing-master/Matlab Viewer3D/ReadData3D/subfunctions/ErrorData3D.m | 3,246 | utf_8 | 66924055ba5a507e5363c6d4666bdac8 | function varargout = ErrorData3D(varargin)
% ERRORDATA3D M-file for ErrorData3D.fig
% ERRORDATA3D, by itself, creates a new ERRORDATA3D or raises the existing
% singleton*.
%
% H = ERRORDATA3D returns the handle to a new ERRORDATA3D or the handle to
% the existing singleton*.
%
% ERRORDATA3D('C... |
github | jacksky64/imageProcessing-master | InfoData3D.m | .m | imageProcessing-master/Matlab Viewer3D/ReadData3D/subfunctions/InfoData3D.m | 3,553 | utf_8 | da6f4f6491166d601be56e443974a131 | function varargout = InfoData3D(varargin)
% INFODATA3D M-file for InfoData3D.fig
% INFODATA3D, by itself, creates a new INFODATA3D or raises the existing
% singleton*.
%
% H = INFODATA3D returns the handle to a new INFODATA3D or the handle to
% the existing singleton*.
%
% INFODATA3D('CALLBACK'... |
github | jacksky64/imageProcessing-master | render_color.m | .m | imageProcessing-master/Matlab Viewer3D/Old_Viewer3D_with_c_code/render_color.m | 15,776 | utf_8 | 87aefba963f0a02cb4434837aed8651d | function render_image = render_color(V, image_size, Mview,alphatable,colortable)
% Function RENDER_COLOR will volume render a Image of a 3D volume with
% transperancy and colortable.
%
% I = RENDER_COLOR(V, SIZE, Mview, ALPHATABLE, COLORTABLE);
%
% inputs,
% V: Input image volume
% SIZE: Sizes (height and le... |
github | jacksky64/imageProcessing-master | viewer3d_histogram.m | .m | imageProcessing-master/Matlab Viewer3D/Old_Viewer3D_with_c_code/viewer3d_histogram.m | 4,424 | utf_8 | 04cc06c842af8e3042d6ea77f91aedfb | function varargout = viewer3d_histogram(varargin)
% This function is part of VIEWER3D
%
% color and alpha maps can be changed on the fly by dragging and creating
% new color/alpha markers with the left mouse button.
%
% Function is written by D.Kroon University of Twente (October 2008)
% Edit the above text to modify ... |
github | jacksky64/imageProcessing-master | makeViewMatrix.m | .m | imageProcessing-master/Matlab Viewer3D/Old_Viewer3D_with_c_code/makeViewMatrix.m | 1,190 | utf_8 | 49d443a4402c434f497d4b2dba34f211 | function Mview=makeViewMatrix(r,s,t)
% function makeViewMatrix construct a 4x4 transformation matrix from
% rotation, resize and translation variables.
%
% Mview=makeViewMatrix(R,S,T)
%
% inputs,
% R: Rotation vector [Rx, Ry, Rz];
% S: Resize vector [Sx, Sy, Sz];
% T: Translation vector [Tx, Ty, Tz];
%
%... |
github | jacksky64/imageProcessing-master | render_shaded.m | .m | imageProcessing-master/Matlab Viewer3D/Old_Viewer3D_with_c_code/render_shaded.m | 19,351 | utf_8 | 8c97f4730b447f5fb0c7ee9ac5424e62 | function render_image = render_shaded(V, image_size, Mview,alphatable,colortable,LVector,VVector,shadingtype)
% Function RENDER_SHADED will volume render a shaded Image of a 3D volume,
% with transperancy and colortable.
%
% I = RENDER_SHADED(V, SIZE, Mview, ALPHATABLE, COLORTABLE,LightVector,ViewerVector,SHADINGMA... |
github | jacksky64/imageProcessing-master | viewer3d.m | .m | imageProcessing-master/Matlab Viewer3D/Old_Viewer3D_with_c_code/viewer3d.m | 39,153 | utf_8 | 9fa9fa60946c257acdeb09c113487637 | function varargout = viewer3d(varargin)
% VIEWER3D a Matlab 3D volume renderer using the fast shearwarp algorithm.
%
% VIEWER3D(V, RENDERTYPE, SCALES);
%
% inputs,
% V : 3D Input image volume, of type double, single, uint8, uint16 or
% uint32
% (the render process uses only double calculations)
% RENDERTYPE... |
github | jacksky64/imageProcessing-master | render_bw.m | .m | imageProcessing-master/Matlab Viewer3D/Old_Viewer3D_with_c_code/render_bw.m | 14,821 | utf_8 | 2cb5030bd45ce542008cf0137d46a44a | function render_image = render_bw(V, image_size, Mview,alphatable)
% Function RENDER_BW will volume render a Image of a 3D volume with
% a transperancy table.
%
% I = RENDER_MIP(V, SIZE, Mview, ALPHAtable);
%
% inputs,
% V: Input image volume
% SIZE: Sizes (height and length) of output image
% Mview: Viewe... |
github | jacksky64/imageProcessing-master | viewer3d_error.m | .m | imageProcessing-master/Matlab Viewer3D/Old_Viewer3D_with_c_code/viewer3d_error.m | 3,313 | utf_8 | abc306910c64efef252c1762e396a06b | function varargout = viewer3d_error(varargin)
% VIEWER3D_ERROR M-file for viewer3d_error.fig
% VIEWER3D_ERROR, by itself, creates a new VIEWER3D_ERROR or raises the existing
% singleton*.
%
% H = VIEWER3D_ERROR returns the handle to a new VIEWER3D_ERROR or the handle to
% the existing singleton*.
%
... |
github | jacksky64/imageProcessing-master | viewer3d_about.m | .m | imageProcessing-master/Matlab Viewer3D/Old_Viewer3D_with_c_code/viewer3d_about.m | 2,927 | utf_8 | 9e977443451bfd53ee2b650fe96f2246 | function varargout = viewer3d_about(varargin)
% VIEWER3D_ABOUT M-file for viewer3d_about.fig
% VIEWER3D_ABOUT, by itself, creates a new VIEWER3D_ABOUT or raises the existing
% singleton*.
%
% H = VIEWER3D_ABOUT returns the handle to a new VIEWER3D_ABOUT or the handle to
% the existing singleton*.
%
... |
github | jacksky64/imageProcessing-master | render_mip.m | .m | imageProcessing-master/Matlab Viewer3D/Old_Viewer3D_with_c_code/render_mip.m | 14,111 | utf_8 | c8a9c3c0b5d6a93f349bfba6f1cbc48b | function render_image = render_mip(V, image_size, Mview)
% Function RENDER_MIP will render a Maximum Intensity Image of a 3D volume
%
% I = RENDER_MIP(V, SIZE, Mview);
%
% inputs,
% V: Input image volume
% SIZE: Sizes (height and length) of output image
% Mview: Transformation matrix
%
% outputs,
% I: T... |
github | jacksky64/imageProcessing-master | bitmaptext.m | .m | imageProcessing-master/Matlab Viewer3D/SubFunctions/bitmaptext.m | 100,462 | utf_8 | 6a905a18b93a3d3e263a7630face0e68 | function I=bitmaptext(lines,I,pos,options)
% The function BITMAPTEXT will insert textline(s) on the specified position
% in the image.
%
% I=bitmaptext(Text,Ibackground,Position,options)
%
% inputs,
% Text : Cell array with text lines
% Ibackground: the bitmap used as background when a m x n x 3 matrix
% ... |
github | jacksky64/imageProcessing-master | viewer3d_qualityspeed.m | .m | imageProcessing-master/Matlab Viewer3D/SubFunctions/viewer3d_qualityspeed.m | 6,060 | utf_8 | b56938bc38cf2f4eccdd0ba38ff93d0a | function varargout = viewer3d_qualityspeed(varargin)
% VIEWER3D_QUALITYSPEED M-file for viewer3d_qualityspeed.fig
% VIEWER3D_QUALITYSPEED, by itself, creates a new VIEWER3D_QUALITYSPEED or raises the existing
% singleton*.
%
% H = VIEWER3D_QUALITYSPEED returns the handle to a new VIEWER3D_QUALITYSPEED or... |
github | jacksky64/imageProcessing-master | viewer3d_voxelsize.m | .m | imageProcessing-master/Matlab Viewer3D/SubFunctions/viewer3d_voxelsize.m | 8,989 | utf_8 | 05035f45cf682370f5de14ad000e1ffa | function varargout = viewer3d_voxelsize(varargin)
% VIEWER3D_VOXELSIZE M-file for viewer3d_voxelsize.fig
% VIEWER3D_VOXELSIZE, by itself, creates a new VIEWER3D_VOXELSIZE or raises the existing
% singleton*.
%
% H = VIEWER3D_VOXELSIZE returns the handle to a new VIEWER3D_VOXELSIZE or the handle to
% ... |
github | jacksky64/imageProcessing-master | viewer3d_lightvector.m | .m | imageProcessing-master/Matlab Viewer3D/SubFunctions/viewer3d_lightvector.m | 6,223 | utf_8 | 15bbf1983818b61fcb3e2747adea2fe1 | function varargout = viewer3d_lightvector(varargin)
% VIEWER3D_LIGHTVECTOR M-file for viewer3d_lightvector.fig
% VIEWER3D_LIGHTVECTOR, by itself, creates a new VIEWER3D_LIGHTVECTOR or raises the existing
% singleton*.
%
% H = VIEWER3D_LIGHTVECTOR returns the handle to a new VIEWER3D_LIGHTVECTOR or the ha... |
github | jacksky64/imageProcessing-master | viewer3d_histogram.m | .m | imageProcessing-master/Matlab Viewer3D/SubFunctions/viewer3d_histogram.m | 4,955 | utf_8 | 707fcbdb2a3d383b3de6cfbb144169d0 | function varargout = viewer3d_histogram(varargin)
% This function is part of VIEWER3D
%
% color and alpha maps can be changed on the fly by dragging and creating
% new color/alpha markers with the left mouse button.
%
% Function is written by D.Kroon University of Twente (October 2008)
% Edit the above text to modify ... |
github | jacksky64/imageProcessing-master | makeViewMatrix.m | .m | imageProcessing-master/Matlab Viewer3D/SubFunctions/makeViewMatrix.m | 1,190 | utf_8 | 49d443a4402c434f497d4b2dba34f211 | function Mview=makeViewMatrix(r,s,t)
% function makeViewMatrix construct a 4x4 transformation matrix from
% rotation, resize and translation variables.
%
% Mview=makeViewMatrix(R,S,T)
%
% inputs,
% R: Rotation vector [Rx, Ry, Rz];
% S: Resize vector [Sx, Sy, Sz];
% T: Translation vector [Tx, Ty, Tz];
%
%... |
github | jacksky64/imageProcessing-master | viewer3d_console.m | .m | imageProcessing-master/Matlab Viewer3D/SubFunctions/viewer3d_console.m | 4,231 | utf_8 | c358c82f26d26886a33ea68845e6cfb0 | function varargout = viewer3d_console(varargin)
% VIEWER3D_CONSOLE M-file for viewer3d_console.fig
% VIEWER3D_CONSOLE, by itself, creates a new VIEWER3D_CONSOLE or raises the existing
% singleton*.
%
% H = VIEWER3D_CONSOLE returns the handle to a new VIEWER3D_CONSOLE or the handle to
% the existing ... |
github | jacksky64/imageProcessing-master | viewer3d_error.m | .m | imageProcessing-master/Matlab Viewer3D/SubFunctions/viewer3d_error.m | 3,313 | utf_8 | abc306910c64efef252c1762e396a06b | function varargout = viewer3d_error(varargin)
% VIEWER3D_ERROR M-file for viewer3d_error.fig
% VIEWER3D_ERROR, by itself, creates a new VIEWER3D_ERROR or raises the existing
% singleton*.
%
% H = VIEWER3D_ERROR returns the handle to a new VIEWER3D_ERROR or the handle to
% the existing singleton*.
%
... |
github | jacksky64/imageProcessing-master | viewer3d_about.m | .m | imageProcessing-master/Matlab Viewer3D/SubFunctions/viewer3d_about.m | 2,931 | utf_8 | b00f2eccc530dd07ac25d2285ef08012 | function varargout = viewer3d_about(varargin)
% VIEWER3D_ABOUT M-file for viewer3d_about.fig
% VIEWER3D_ABOUT, by itself, creates a new VIEWER3D_ABOUT or raises the existing
% singleton*.
%
% H = VIEWER3D_ABOUT returns the handle to a new VIEWER3D_ABOUT or the handle to
% the existing singleton*.
%
... |
github | jacksky64/imageProcessing-master | viewer3d_workspacevars.m | .m | imageProcessing-master/Matlab Viewer3D/SubFunctions/viewer3d_workspacevars.m | 4,426 | utf_8 | 7a77a2a3833854c6146fc182b03521b8 | function varargout = viewer3d_workspacevars(varargin)
% VIEWER3D_WORKSPACEVARS M-file for viewer3d_workspacevars.fig
% VIEWER3D_WORKSPACEVARS, by itself, creates a new VIEWER3D_WORKSPACEVARS or raises the existing
% singleton*.
%
% H = VIEWER3D_WORKSPACEVARS returns the handle to a new VIEWER3D_WORKSPACE... |
github | jacksky64/imageProcessing-master | viewer3d_dicominfo.m | .m | imageProcessing-master/Matlab Viewer3D/SubFunctions/viewer3d_dicominfo.m | 3,768 | utf_8 | 799dc4c250afac440206ca300c785cf9 | function varargout = viewer3d_dicominfo(varargin)
% VIEWER3D_DICOMINFO M-file for viewer3d_dicominfo.fig
% VIEWER3D_DICOMINFO, by itself, creates a new VIEWER3D_DICOMINFO or raises the existing
% singleton*.
%
% H = VIEWER3D_DICOMINFO returns the handle to a new VIEWER3D_DICOMINFO or the handle to
% ... |
github | jacksky64/imageProcessing-master | interpcontour.m | .m | imageProcessing-master/Matlab Viewer3D/SubFunctions/interpcontour.m | 698 | utf_8 | 693643a87f9f2e5d508ebbbaef519f29 | function [x,y,z]=interpcontour(x,y,z,s)
% [x,y,z]=interpcontour(x,y,z,s)
%
pos=[x(:) y(:) z(:)];
[t,ind]=unique(pos,'rows');
pos=pos(sort(ind),:);
x=pos(:,1); y=pos(:,2); z=pos(:,3);
[x,y,z]=interpcontour1(x,y,z,1);
[x,y,z]=interpcontour1(x,y,z,s);
function [x,y,z]=interpcontour1(x,y,z,s)
i1=(length(x)+... |
github | jacksky64/imageProcessing-master | menubar.m | .m | imageProcessing-master/Matlab Viewer3D/SubFunctions/menubar.m | 22,307 | utf_8 | 7934250b43bec6ecb3cd05f58e364c50 | function menubar(varargin)
% This function MenuBar, allows the user to create menu's anywhere in a figure
% it replaces UIcontextmenu of UIpanels by real menu bars.
%
% menubar(figure_handle) or menubar
%
% Mouse hover, and window-resize updates can be enabled by
%
% menubar('start',figure_han... |
github | jacksky64/imageProcessing-master | bitmapplot.m | .m | imageProcessing-master/Matlab Viewer3D/SubFunctions/bitmapplot.m | 9,087 | utf_8 | 375759d6ed5becf085537d9f29bcb6c2 | function I=bitmapplot(x,y,Ibackground,options)
% BITMAPPLOT, Linear plot in bitmap.
%
% Iplot=bitmapplot(x,y,Ibackground,options)
%
% inputs,
% x : a vector with x values
% y : a vector with y values, with same length as x
% Ibackground: the bitmap used as background when a m x n x 3 matrix
% colo... |
github | jacksky64/imageProcessing-master | viewer3d_segment.m | .m | imageProcessing-master/Matlab Viewer3D/SubFunctions/viewer3d_segment.m | 10,723 | utf_8 | 7b38f76dbd5d9b62bc3cdb6a3b682bc5 | function varargout = viewer3d_segment(varargin)
% VIEWER3D_SEGMENT MATLAB code for viewer3d_segment.fig
% VIEWER3D_SEGMENT, by itself, creates a new VIEWER3D_SEGMENT or raises the existing
% singleton*.
%
% H = VIEWER3D_SEGMENT returns the handle to a new VIEWER3D_SEGMENT or the handle to
% the exis... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.