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 | spkrafft/trex-master | projectX.m | .m | trex-master/project/projectX.m | 19,053 | utf_8 | c8e7871b181f8bf44c97e7a8e80d8bdf | function varargout = projectX(varargin)
% PROJECTX MATLAB code for projectX.fig
% PROJECTX, by itself, creates a new PROJECTX or raises the existing
% singleton*.
%
% H = PROJECTX returns the handle to a new PROJECTX or the handle to
% the existing singleton*.
%
% PROJECTX('CALLBACK',hObject,ev... |
github | spkrafft/trex-master | reformat_projectX.m | .m | trex-master/project/reformat_projectX.m | 12,313 | utf_8 | fc0e88e1187b6714cb94bbd04bde9c76 | function reformat_projectX(crop,tsize)
% crop = true;
% tsize = [20,30,10];
%%
project_path = uigetdir(pwd,'Select Project Directory');
if crop
project_path_reformat = [project_path,' Crop and Reformat ',num2str(tsize)];
else
project_path_reformat = [project_path,' Reformat ',num2str(tsize)];
end
mkdir(proje... |
github | spkrafft/trex-master | migration_projectX.m | .m | trex-master/project/migration_projectX.m | 8,254 | utf_8 | d710fb8bcd8271ea96785db618abad10 | function migration_projectX(varargin)
if ~isempty(varargin)
project_path = varargin{1};
else
project_path = uigetdir(pwd,'Select Project Directory');
end
%%
modules = {'setup',...
'extract'};
dose = parameterfields_doseX([]);
tex = parameterfields_textureX([]);
map = parameterfields_mapX(... |
github | spkrafft/trex-master | batchX.m | .m | trex-master/project/batchX/batchX.m | 8,623 | utf_8 | 8567bfa1f5356ae2681c305cf284fc04 | function varargout = batchX(varargin)
% BATCHX MATLAB code for batchX.fig
% BATCHX, by itself, creates a new BATCHX or raises the existing
% singleton*.
%
% H = BATCHX returns the handle to a new BATCHX or the handle to
% the existing singleton*.
%
% BATCHX('CALLBACK',hObject,eventData,h,...) c... |
github | spkrafft/trex-master | addjobX.m | .m | trex-master/project/batchX/addjobX.m | 5,422 | utf_8 | a0409d07f71de97720dc199253d8a448 | function varargout = addjobX(varargin)
% ADDJOBX MATLAB code for addjobX.fig
% ADDJOBX, by itself, creates a new ADDJOBX or raises the existing
% singleton*.
%
% H = ADDJOBX returns the handle to a new ADDJOBX or the handle to
% the existing singleton*.
%
% ADDJOBX('CALLBACK',hObject,eventData,... |
github | spkrafft/trex-master | link_writeX.m | .m | trex-master/project/writeX/link_writeX.m | 4,173 | utf_8 | 6ee48840d42d01953cb3bf4aa5c52962 | function varargout = link_writeX(varargin)
% LINK_WRITEX MATLAB code for link_writeX.fig
% LINK_WRITEX, by itself, creates a new LINK_WRITEX or raises the existing
% singleton*.
%
% H = LINK_WRITEX returns the handle to a new LINK_WRITEX or the handle to
% the existing singleton*.
%
% LINK_WRIT... |
github | spkrafft/trex-master | writeX.m | .m | trex-master/project/writeX/writeX.m | 11,622 | utf_8 | 49d6c80c666b6138cfd8e55ab5469d46 | function varargout = writeX(varargin)
% WRITEX MATLAB code for writeX.fig
% WRITEX, by itself, creates a new WRITEX or raises the existing
% singleton*.
%
% H = WRITEX returns the handle to a new WRITEX or the handle to
% the existing singleton*.
%
% WRITEX('CALLBACK',hObject,eventData,h,...) c... |
github | spkrafft/trex-master | doseX.m | .m | trex-master/dose/doseX.m | 9,948 | utf_8 | 364c20278a9b589bee2514c877ebe7d2 | function varargout = doseX(varargin)
% DOSEX MATLAB code for doseX.fig
% DOSEX, by itself, creates a new DOSEX or raises the existing
% singleton*.
%
% H = DOSEX returns the handle to a new DOSEX or the handle to
% the existing singleton*.
%
% DOSEX('CALLBACK',hObject,eventData,h,...) calls the... |
github | spkrafft/trex-master | dfh_features.m | .m | trex-master/dose/dose_modules/dfh_features.m | 3,331 | utf_8 | a692bafc9189af9f45c74ec385dfdfa0 | function [stats,doseBins,volHist,cumVolHist] = dfh_features(varargin)
%DFH_FEATURES Calculate the dose distribution features
% [STATS] = DFH_FEATURES(MASK,DOSE,VOL_VOX,BIN_SIZE)
%
% Parameters include:
%
% 'mask'
%
% 'dose' Assumed to be in cGy
%
% 'map'
%
% 'bin_size'
%
% Notes... |
github | spkrafft/trex-master | spatialdvh_features.m | .m | trex-master/dose/dose_modules/dose_spatialdvh/spatialdvh_features.m | 5,005 | utf_8 | 581cc8f5561ae80d4d6a6d7f78d0a3a6 | function [stats,doseBins,volHist,cumVolHist] = spatialdvh_features(varargin)
%SPATIALDVH_FEATURES Calculate the dose distribution features
% [STATS] = SPATIALDVH_FEATURES(MASK,DOSE,VOL_VOX,BIN_SIZE)
%
% Parameters include:
%
% 'mask'
%
% 'dose' Assumed to be in cGy
%
% 'vol_vox'
%
% ... |
github | spkrafft/trex-master | mapdvh_features.m | .m | trex-master/dose/dose_modules/dose_mapdvh/mapdvh_features.m | 3,361 | utf_8 | f6723f034fdf52b235334bfae4a2b3af | function [stats,doseBins,volHist,cumVolHist] = mapdvh_features(varargin)
%MAPDVH_FEATURES Calculate the dose distribution features THIS IS THE DFH
%CODE!!!
% [STATS] = MAPDVH_FEATURES(MASK,DOSE,MAP,BIN_SIZE)
%
% Parameters include:
%
% 'mask'
%
% 'dose' Assumed to be in cGy
%
% 'map' ... |
github | spkrafft/trex-master | defunct_mapdvh_features.m | .m | trex-master/dose/dose_modules/dose_mapdvh/defunct_mapdvh_features.m | 5,131 | utf_8 | 7acdb5af2c6b7e1a254e45a8c3fd55e1 | function [stats,doseBins,volHist,cumVolHist] = defunct_mapdvh_features(varargin)
%SPATIALDVH_FEATURES Calculate the dose distribution features
% [STATS] = SPATIALDVH_FEATURES(MASK,DOSE,VOL_VOX,BIN_SIZE)
%
% Parameters include:
%
% 'mask'
%
% 'dose' Assumed to be in cGy
%
% 'vol_vox'
... |
github | spkrafft/trex-master | location_features.m | .m | trex-master/dose/dose_modules/dose_location/location_features.m | 3,649 | utf_8 | 70ea22c885eb556ea7932a4078f57a7d | function [stats] = location_features(varargin)
%LOCATION_FEATURES
% [STATS] = LOCATION_FEATURES(MASK,XV,YV,ZV)
%
% Parameters include:
%
% 'mask' Self explanatory
%
% 'xV' (Optional)
%
% 'yV' (Optional)
%
% 'zV' (Optional)
%
% Notes
% -----
%
% References
% ----------
%... |
github | spkrafft/trex-master | plan_features.m | .m | trex-master/dose/dose_modules/dose_plan/plan_features.m | 6,028 | utf_8 | 17046e10277dc3012e9d6667436d0fda | function [stats] = plan_features(varargin)
%PLAN_FEATURES
% [STATS] = PLAN_FEATURES(DOSES)
%
% Parameters include:
%
% 'doseS' TREX extracted dose struct
%
% Notes
% -----
%
% References
% ----------
%
% $SPK
%%
doseS = ParseInputs(varargin{:});
%%
stats.NumRx = 0;
stats.MUPerFraction = 0;... |
github | spkrafft/trex-master | dvh_features.m | .m | trex-master/dose/dose_modules/dose_dvh/dvh_features.m | 5,040 | utf_8 | 076383ee97ba8b5bc1b8d2ea9c702b5f | function [stats,doseBins,volHist,cumVolHist] = dvh_features(varargin)
%DVH_FEATURES Calculate the dose distribution features
% [STATS] = DVH_FEATURES(MASK,DOSE,VOL_VOX,BIN_SIZE)
%
% Parameters include:
%
% 'mask'
%
% 'dose' Assumed to be in cGy
%
% 'vol_vox'
%
% 'bin_size'
%
% N... |
github | spkrafft/trex-master | parameters_doseX.m | .m | trex-master/dose/dose_parameters/parameters_doseX.m | 15,577 | utf_8 | a423f9aa41efab8f11fd205f5da8dc73 | function parameters = parameters_doseX(input_profile,project_path)
% PARAMETERS_TEXTUREX Create programmatic GUI with uitree to select
% parameters for testureX
%
% Notes
% -----
% Blerg...used nested functions for the callbacks to get the correct
% output when the figure is closed.
%
% Parts are borrowed f... |
github | spkrafft/trex-master | pinnacle_imageX.m | .m | trex-master/utilities/pinnacle_imageX.m | 31,131 | utf_8 | 3f0412f49599ab4e7f31875fe88fe9d4 | function varargout = pinnacle_imageX(varargin)
% PINNACLE_IMAGEX MATLAB code for pinnacle_imageX.fig
% PINNACLE_IMAGEX, by itself, creates a new PINNACLE_IMAGEX or raises the existing
% singleton*.
%
% H = PINNACLE_IMAGEX returns the handle to a new PINNACLE_IMAGEX or the handle to
% the existing si... |
github | spkrafft/trex-master | fix_bug_pinnaclectX.m | .m | trex-master/utilities/fix_bug_pinnaclectX.m | 3,700 | utf_8 | 7fcf459254ba9d88ce53fd5949544b59 | function fix_bug_pinnaclectX(project_path)
disp(project_path)
%% Move all log files except setup and extract
cleanup_log_bugX(project_path)
%% Delete vectorized files
% remove_doseX(project_path)
remove_textureX(project_path)
%% Add new field to extract
extractRead = read_extractX(project_path);
if isfield(extr... |
github | spkrafft/trex-master | scanDir_dicomX.m | .m | trex-master/utilities/scanDir_dicomX.m | 1,342 | utf_8 | 718998f9a944b0d4e920300f10a9f800 | %--------------------------------------------------------------------------
function [data_dir] = scanDir_dicomX(project_dir)
%%
w = waitbar(0,'Please wait...');
mainDir = fileparts(which('TREX'));
fields = readcsvX(fullfile(mainDir,'utilities','dicom_fields.trex'));
files = subdirX(project_dir);
numel(files)
[g] = ... |
github | spkrafft/trex-master | notifierX.m | .m | trex-master/helper/notifierX.m | 3,151 | utf_8 | 07c44b0309f39d99b230c0ac728b9869 | function varargout = notifierX(project_path,fh,varargin)
% notifier - Notifies you via email when a function finishes.
%
% USAGE:
% varargout = notifier(fh, varargin)
%
% INPUT:
% fh - Function handle for the sub function to run.
% varargin - Input arguments passed directly to the sub function.
%
% OUTP... |
github | spkrafft/trex-master | logindlg.m | .m | trex-master/helper/logindlg.m | 8,245 | utf_8 | 780859ed0bcb38c8880a387f2ead0ef8 | % LOGINDLG Dialog for visually secure login.
% Examples:
% [login password] = logindlg('Title','Login Title'); % Returns the login and
% password with the dialog title 'Login Title'.
%
% password = logindlg; % Returns only the password with a default
% dialog title.
%
% passwor... |
github | spkrafft/trex-master | earth.m | .m | trex-master/helper/sc/earth.m | 1,301 | utf_8 | 5f47c65027db0c8c9e56c72e46366bda | %EARTH Black-green-white colormap
%
% Examples:
% map = earth;
% map = earth(len);
% B = earth(A);
% B = earth(A, lims);
%
% A black to white colormap with several distinct shades, most of which
% have a green or brown tint. This colormap converts linearly to grayscale
% when printed in black & white.
%
% The ... |
github | spkrafft/trex-master | jet.m | .m | trex-master/helper/sc/jet.m | 1,057 | utf_8 | 680653b66724ba59b8340f62357966bf | %JET Variant of HSV colormap
%
% Examples:
% map = jet;
% map = jet(len);
% B = jet(A);
% B = jet(A, lims);
%
% Similar to MATLAB's jet function, but also able to return a concise
% colormap table.
%
% The function can additionally be used to convert a real-valued array into
% a truecolor array using the color... |
github | spkrafft/trex-master | cool.m | .m | trex-master/helper/sc/cool.m | 884 | utf_8 | 44fa98f0db80f4f3c5c05c5dc0fa5a72 | %COOL Cyan-magenta colormap
%
% Examples:
% map = cool;
% map = cool(len);
% B = cool(A);
% B = cool(A, lims);
%
% Similar to MATLAB's cool function, but also able to return a concise
% colormap table.
%
% The function can additionally be used to convert a real-valued array into
% a truecolor array using the c... |
github | spkrafft/trex-master | hsv2.m | .m | trex-master/helper/sc/hsv2.m | 919 | utf_8 | 68cb1cd6b68cabea80543f0d2d25b27c | %HSV2 Black to red variation of the hsv colormap
%
% Examples:
% map = hsv2;
% map = hsv2(len);
% B = hsv2(A);
% B = hsv2(A, lims);
%
% A variation of MATLAB's hsv colormap, which starts in black.
%
% The function can additionally be used to convert a real-valued array into
% a truecolor array using the colorm... |
github | spkrafft/trex-master | temp.m | .m | trex-master/helper/sc/temp.m | 1,470 | utf_8 | f7033f30ab41128c47da57e4d8510a60 | %TEMP Blue-pale-dark red colormap
%
% Examples:
% map = temp
% map = temp(len)
% B = temp(A)
% B = temp(A, lims)
%
% A colormap designed by Light & Bartlein for visualizing data such as
% temperature, with good contrast for colorblind viewers.
%
% The function can additionally be used to convert a real-valued ... |
github | spkrafft/trex-master | dusk.m | .m | trex-master/helper/sc/dusk.m | 1,208 | utf_8 | b7639b8e4591727121b0993600d324b4 | %DUSK Black-blue-green-gray-red-yellow-white colormap
%
% Examples:
% map = dusk;
% map = dusk(len);
% B = dusk(A);
% B = dusk(A, lims);
%
% A black to white colormap with several distinct pastel shades reminiscent
% of colors at dusk. This colormap converts linearly to grayscale when
% printed in black & whit... |
github | spkrafft/trex-master | bone.m | .m | trex-master/helper/sc/bone.m | 1,055 | utf_8 | 626868929cf969fb0b7ac39c4aea0d05 | %BONE Black-blue-white colormap
%
% Examples:
% map = bone;
% map = bone(len);
% B = bone(A);
% B = bone(A, lims);
%
% Similar to MATLAB's bone function, but also able to return a concise
% colormap table.
%
% The function can additionally be used to convert a real-valued array into
% a truecolor array using t... |
github | spkrafft/trex-master | gray.m | .m | trex-master/helper/sc/gray.m | 1,016 | utf_8 | 75741a530f54e9b6540c6f5cd56424b6 | %GRAY Black-white colormap
%
% Examples:
% map = gray;
% map = gray(len);
% B = gray(A);
% B = gray(A, lims);
%
% Similar to MATLAB's gray function, but also able to return a concise
% colormap table.
%
% The function can additionally be used to convert a real-valued array into
% a truecolor array using the co... |
github | spkrafft/trex-master | pastel.m | .m | trex-master/helper/sc/pastel.m | 1,068 | utf_8 | 14bcded45ecd85b21ae554b9cea015b1 | %PASTEL Black-pastel-white colormap
%
% Examples:
% map = pastel;
% map = pastel(len);
% B = pastel(A);
% B = pastel(A, lims);
%
% A black to white colormap with several distinct pastel shades. This
% colormap converts linearly to grayscale when printed in black & white.
%
% The function can additionally be us... |
github | spkrafft/trex-master | real2rgb.m | .m | trex-master/helper/sc/real2rgb.m | 4,897 | utf_8 | 98ae71c263decf0fff8f5cd966197ac8 | %REAL2RGB Converts a real-valued matrix into a truecolor image
%
% Examples:
% B = real2rgb(A, cmap);
% B = real2rgb(A, cmap, lims);
% [B lims map] = real2rgb(...);
%
% This function converts a real-valued matrix into a truecolor image (i.e.
% double array with values between 0 and 1) using the colormap specifie... |
github | spkrafft/trex-master | pink2.m | .m | trex-master/helper/sc/pink2.m | 1,290 | utf_8 | 9284a1fbf15ae4b3730a44143a0438b6 | %PINK2 Black-pink-white colormap
%
% Examples:
% map = pink2;
% map = pink2(len);
% B = pink2(A);
% B = pink2(A, lims);
%
% A black to white colormap with several distinct shades, most of which
% have a pink tint. This colormap converts linearly to grayscale when
% printed in black & white.
%
% The function ca... |
github | spkrafft/trex-master | cold.m | .m | trex-master/helper/sc/cold.m | 1,053 | utf_8 | 866953182d345eafb3f1cacc831b15f1 | %COLD Black-blue-cyan-white colormap
%
% Examples:
% map = cold;
% map = cold(len);
% B = cold(A);
% B = cold(A, lims);
%
% A black to white colormap through cold shades.
%
% The function can additionally be used to convert a real-valued array into
% a truecolor array using the colormap.
%
% IN:
% len - Scal... |
github | spkrafft/trex-master | winter.m | .m | trex-master/helper/sc/winter.m | 898 | utf_8 | 29292ee175b62c2919bc9ea378212c50 | %WINTER Blue-green colormap
%
% Examples:
% map = winter;
% map = winter(len);
% B = winter(A);
% B = winter(A, lims);
%
% Similar to MATLAB's winter function, but also able to return a concise
% colormap table.
%
% The function can additionally be used to convert a real-valued array into
% a truecolor array u... |
github | spkrafft/trex-master | autumn.m | .m | trex-master/helper/sc/autumn.m | 896 | utf_8 | cc5f3b7df7d8fd96ad87ecca82cabfdf | %AUTUMN Red-yellow colormap
%
% Examples:
% map = autumn;
% map = autumn(len);
% B = autumn(A);
% B = autumn(A, lims);
%
% Similar to MATLAB's autumn function, but also able to return a concise
% colormap table.
%
% The function can additionally be used to convert a real-valued array into
% a truecolor array u... |
github | spkrafft/trex-master | imsc.m | .m | trex-master/helper/sc/imsc.m | 1,464 | utf_8 | 8b93e9f3bf2485b4ea5afb61cf47983e | %IMSC Wrapper function to SC which replicates display behaviour of IMAGESC
%
% Examples:
% imsc(I, varargin)
% imsc(x, y, I, varargin)
% h = imsc(...)
%
% IN:
% x - 1xJ vector of x-axis bounds. If x(1) > x(2) the image is flipped
% left-right. If J > 2 then only the first and last values are used.
% ... |
github | spkrafft/trex-master | thermal.m | .m | trex-master/helper/sc/thermal.m | 921 | utf_8 | 977cb3006727b927bce85e442d670a29 | %THERMAL Black-purple-red-yellow-white colormap
%
% Examples:
% map = thermal;
% map = thermal(len);
% B = thermal(A);
% B = thermal(A, lims);
%
% A colormap designed to replicate the tones of thermal images.
%
% The function can additionally be used to convert a real-valued array into
% a truecolor array usin... |
github | spkrafft/trex-master | hicontrast.m | .m | trex-master/helper/sc/hicontrast.m | 1,287 | utf_8 | e44b49cb1bb79a51d4a50e58f9ba2cee | %HICONTRAST Black-blue-red-magenta-green-cyan-yellow-white colormap
%
% Examples:
% map = hicontrast;
% map = hicontrast(len);
% B = hicontrast(A);
% B = hicontrast(A, lims);
%
% A colormap designed to maximize the range of colors used in order to
% improve contrast between intensity levels, while converting l... |
github | spkrafft/trex-master | bled.m | .m | trex-master/helper/sc/bled.m | 963 | utf_8 | d942d209d8b1092a5a490d64356df531 | %BLED Black to red variation of the hsv colormap
%
% Examples:
% map = bled;
% map = bled(len);
% B = bled(A);
% B = bled(A, lims);
%
% A variation of MATLAB's hsv colormap, which starts in black and gradually
% increases in color saturation.
%
% The function can additionally be used to convert a real-valued a... |
github | spkrafft/trex-master | summer.m | .m | trex-master/helper/sc/summer.m | 904 | utf_8 | dd90896d777be66834ad68d6c7213860 | %SUMMER Green-yellow colormap
%
% Examples:
% map = summer;
% map = summer(len);
% B = summer(A);
% B = summer(A, lims);
%
% Similar to MATLAB's summer function, but also able to return a concise
% colormap table.
%
% The function can additionally be used to convert a real-valued array into
% a truecolor array... |
github | spkrafft/trex-master | pink.m | .m | trex-master/helper/sc/pink.m | 1,123 | utf_8 | a40ca56ecb1952ba8ee1e3bb42df9e9b | %PINK Black-pink-white colormap
%
% Examples:
% map = pink
% map = pink(len)
% B = pink(A)
% B = pink(A, lims)
%
% Similar to MATLAB's pink colormap, but the function can additionally be
% used to convert a real-valued array into a truecolor array using the
% colormap.
%
% IN:
% len - Scalar length of the ou... |
github | spkrafft/trex-master | whed.m | .m | trex-master/helper/sc/whed.m | 963 | utf_8 | ad7eb38910aa6f99eecdb5e31e490d1f | %WHED White to red variation of the hsv colormap
%
% Examples:
% map = whed;
% map = whed(len);
% B = whed(A);
% B = whed(A, lims);
%
% A variation of MATLAB's hsv colormap, which starts in white and gradually
% increases in color saturation.
%
% The function can additionally be used to convert a real-valued a... |
github | spkrafft/trex-master | imdisp.m | .m | trex-master/helper/sc/imdisp.m | 19,820 | utf_8 | e0c4b614bdba6c11e96faad890dc1bdf | %IMDISP Display one or more images nicely
%
% Examples:
% imdisp
% imdisp(I)
% imdisp(I, map)
% imdisp(I, lims)
% imdisp(I, map, lims)
% imdisp(..., param1, value1, param2, value2, ...)
% h = imdisp(...)
%
% This function displays one or more images nicely. Images can be defined
% by arrays or filenames.... |
github | spkrafft/trex-master | copper2.m | .m | trex-master/helper/sc/copper2.m | 1,035 | utf_8 | 821f86d1891ae9f61a915f36e82f7167 | %COPPER2 Black-copper-white colormap
%
% Examples:
% map = copper2;
% map = copper2(len);
% B = copper2(A);
% B = copper2(A, lims);
%
% A variation of MATLAB's copper colormap, which continues on to white.
% This colormap converts linearly to grayscale when printed in black &
% white.
%
% The function can addi... |
github | spkrafft/trex-master | bright.m | .m | trex-master/helper/sc/bright.m | 1,074 | utf_8 | 1fce26d9b5289353e7e8908e43c1334d | %BRIGHT Black-bright-white colormap
%
% Examples:
% map = bright
% map = bright(len)
% B = bright(A)
% B = bright(A, lims)
%
% A black to white colormap with several distinct shades of bright color.
% This colormap converts linearly to grayscale when printed in black &
% white.
%
% The function can additionall... |
github | spkrafft/trex-master | disparity.m | .m | trex-master/helper/sc/disparity.m | 4,020 | utf_8 | b6b5993a525c56de36b34b9bea978604 | %DISPARITY High contrast colormap with subtle gradient discontinuities
%
% Examples:
% map = disparity;
% map = disparity(len);
% B = disparity(A);
% B = disparity(A, lims);
%
% A colormap designed for depth and disparity maps. It has subtle gradient
% discontinuities to bring out contours, and maximizes the r... |
github | spkrafft/trex-master | sepia.m | .m | trex-master/helper/sc/sepia.m | 1,044 | utf_8 | 8e9768fd71cd651e10255b1ac223237d | %SEPIA Black-brown-white colormap
%
% Examples:
% map = sepia;
% map = sepia(len);
% B = sepia(A);
% B = sepia(A, lims);
%
% A colormap designed to replicate the sepia tones of old photographs.
%
% The function can additionally be used to convert a real-valued array into
% a truecolor array using the colormap.... |
github | spkrafft/trex-master | disco.m | .m | trex-master/helper/sc/disco.m | 3,969 | utf_8 | bd7f6ec33b04def22fadac0e31288d74 | %DISCO High contrast colormap with strong gradient discontinuities
%
% Examples:
% map = disco;
% map = disco(len);
% B = disco(A);
% B = disco(A, lims);
%
% A colormap designed to highlight contours. It has strong gradient
% discontinuities, and maximizes the range of colors used in order to
% improve contr... |
github | spkrafft/trex-master | hsv.m | .m | trex-master/helper/sc/hsv.m | 1,072 | utf_8 | a27a892b03eae004ea7cddfd229ff6f5 | %HSV Red-yellow-green-cyan-blue-magenta-red colormap
%
% Examples:
% map = hsv;
% map = hsv(len);
% B = hsv(A);
% B = hsv(A, lims);
%
% Similar to MATLAB's hsv function, but also able to return a concise
% colormap table.
%
% The function can additionally be used to convert a real-valued array into
% a truecol... |
github | spkrafft/trex-master | sc.m | .m | trex-master/helper/sc/sc.m | 31,815 | utf_8 | 542ad99d0c9fae85aa47a4dd0d8812bb | %SC Display/output truecolor images with a range of colormaps
%
% Examples:
% sc(image)
% sc(image, limits)
% sc(image, map)
% sc(image, limits, map)
% sc(image, map, limits)
% sc(..., col1, mask1, col2, mask2,...)
% out = sc(...)
% [out, clim map] = sc(...)
% sc
%
% Generates a truecolor RGB image b... |
github | spkrafft/trex-master | copper.m | .m | trex-master/helper/sc/copper.m | 928 | utf_8 | c4afb89bd1d9047ab6b3d4bdcf797ea2 | %COPPER Black-copper colormap
%
% Examples:
% map = copper;
% map = copper(len);
% B = copper(A);
% B = copper(A, lims);
%
% Similar to MATLAB's copper function, but also able to return a concise
% colormap table.
%
% The function can additionally be used to convert a real-valued array into
% a truecolor array... |
github | spkrafft/trex-master | hot.m | .m | trex-master/helper/sc/hot.m | 1,043 | utf_8 | 5b8259e7162a3cb30882a481f649659b | %HOT Black-red-yellow-white colormap
%
% Examples:
% map = hot;
% map = hot(len);
% B = hot(A);
% B = hot(A, lims);
%
% Similar to MATLAB's hot function, but also able to return a concise
% colormap table.
%
% The function can additionally be used to convert a real-valued array into
% a truecolor array using t... |
github | spkrafft/trex-master | spring.m | .m | trex-master/helper/sc/spring.m | 900 | utf_8 | c91f54d9a5581ef9453a95bb3619f765 | %SPRING Magenta-yellow colormap
%
% Examples:
% map = spring;
% map = spring(len);
% B = spring(A);
% B = spring(A, lims);
%
% Similar to MATLAB's spring function, but also able to return a concise
% colormap table.
%
% The function can additionally be used to convert a real-valued array into
% a truecolor arr... |
github | spkrafft/trex-master | rescale.m | .m | trex-master/helper/sc/private/rescale.m | 1,631 | utf_8 | b022a586534c9a9af14913fdbfa2860c | function [B lims] = rescale(A, lims, out_lims)
%RESCALE Linearly rescale values in an array
%
% Examples:
% B = rescale(A)
% B = rescale(A, lims)
% B = rescale(A, lims, out_lims)
% [B lims] = rescale(A)
%
% Linearly rescales values in an array, saturating values outside limits.
%
% IN:
% A - Input array of a... |
github | spkrafft/trex-master | pinnacle_setupX.m | .m | trex-master/setup/pinnacle_setupX.m | 35,253 | utf_8 | 6f1b4fa2f3f6c7b8078ad412762bad21 | function varargout = pinnacle_setupX(varargin)
% PINNACLE_SETUPX MATLAB code for pinnacle_setupX.fig
% PINNACLE_SETUPX, by itself, creates a new PINNACLE_SETUPX or raises the existing
% singleton*.
%
% H = PINNACLE_SETUPX returns the handle to a new PINNACLE_SETUPX or the handle to
% the existing si... |
github | spkrafft/trex-master | axes_minor1_setupX.m | .m | trex-master/setup/axes_minor1_setupX.m | 11,785 | utf_8 | bdeb46af4930086399567eb927c75beb | function axes_minor1_setupX(h)
%%
h.roitoggle = false;
h.textoggle = false;
cla(h.axes_minor1)
set(h.axes_minor2,'Visible','on')
set(h.axes_minor2,'Color',[0,0,0])
set(h.axes_minor2,'XTick',[])
set(h.axes_minor2,'YTick',[])
if isempty(h.img) || ~isfield(h.img,'array')
return
end
%%
if strcmpi(h.view_minor1,'a')
... |
github | spkrafft/trex-master | axes_minor2_setupX.m | .m | trex-master/setup/axes_minor2_setupX.m | 11,765 | utf_8 | c65f862e1f5fbaabc6c324b8ab59151a | function axes_minor2_setupX(h)
%%
h.roitoggle = false;
h.textoggle = false;
cla(h.axes_minor2)
set(h.axes_minor2,'Visible','on')
set(h.axes_minor2,'Color',[0,0,0])
set(h.axes_minor2,'XTick',[])
set(h.axes_minor2,'YTick',[])
if isempty(h.img) || ~isfield(h.img,'array')
return
end
%%
if strcmpi(h.view_minor2,'a')
... |
github | spkrafft/trex-master | axes_main_setupX.m | .m | trex-master/setup/axes_main_setupX.m | 11,589 | utf_8 | cc27a966d12ed28054a5138a191b87c9 | function axes_main_setupX(h)
%%
h.roitoggle = false;
h.textoggle = false;
cla(h.axes_main)
set(h.axes_main,'Visible','on')
set(h.axes_main,'Color',[0,0,0])
set(h.axes_main,'XTick',[])
set(h.axes_main,'YTick',[])
if isempty(h.img) || ~isfield(h.img,'array')
return
end
%%
if strcmpi(h.view_main,'a')
img = sc(on... |
github | spkrafft/trex-master | subvolumes_pinnacle_setupX.m | .m | trex-master/setup/pinnacle_setupX/subvolumes_pinnacle_setupX.m | 5,694 | utf_8 | c371b805b2db9d680c0f0fc6ff2a7bd0 | function varargout = subvolumes_pinnacle_setupX(varargin)
% SUBVOLUMES_PINNACLE_SETUPX MATLAB code for subvolumes_pinnacle_setupX.fig
% SUBVOLUMES_PINNACLE_SETUPX, by itself, creates a new SUBVOLUMES_PINNACLE_SETUPX or raises the existing
% singleton*.
%
% H = SUBVOLUMES_PINNACLE_SETUPX returns the handl... |
github | spkrafft/trex-master | view_doseinfo_pinnacle_setupX.m | .m | trex-master/setup/pinnacle_setupX/view_doseinfo_pinnacle_setupX.m | 9,386 | utf_8 | 7f590a11a841bef77d13bdf2fb6986ba | function varargout = view_doseinfo_pinnacle_setupX(varargin)
% VIEW_DOSEINFO_PINNACLE_SETUPX MATLAB code for view_doseinfo_pinnacle_setupX.fig
% VIEW_DOSEINFO_PINNACLE_SETUPX, by itself, creates a new VIEW_DOSEINFO_PINNACLE_SETUPX or raises the existing
% singleton*.
%
% H = VIEW_DOSEINFO_PINNACLE_SETUPX... |
github | spkrafft/trex-master | view_scaninfo_pinnacle_setupX.m | .m | trex-master/setup/pinnacle_setupX/view_scaninfo_pinnacle_setupX.m | 6,004 | utf_8 | 9029dc085c3a997f063e814d86ca59aa | function varargout = view_scaninfo_pinnacle_setupX(varargin)
% VIEW_SCANINFO_PINNACLE_SETUPX MATLAB code for view_scaninfo_pinnacle_setupX.fig
% VIEW_SCANINFO_PINNACLE_SETUPX, by itself, creates a new VIEW_SCANINFO_PINNACLE_SETUPX or raises the existing
% singleton*.
%
% H = VIEW_SCANINFO_PINNACLE_SETUPX... |
github | spkrafft/trex-master | pinnacle_roi2Mask_setupX.m | .m | trex-master/setup/pinnacle_setupX/pinnacle_setup_advanced/pinnacle_roi2Mask_setupX.m | 2,870 | utf_8 | ba0c20c98dae5a502f807394b07623b0 | function [mask] = pinnacle_roi2Mask_setupX(h)
%%
mask = false(h.export.image_ydim,h.export.image_xdim,h.export.image_zdim);
if ~isempty(h.export.roi_source)
sourcenames = regexpi(h.export.roi_source,'/','split');
for i = 1:length(sourcenames)
tempMask = findroi(h,sourcenames{i});
mask = mask |... |
github | spkrafft/trex-master | advanced_pinnacle_setupX.m | .m | trex-master/setup/pinnacle_setupX/pinnacle_setup_advanced/advanced_pinnacle_setupX.m | 18,862 | utf_8 | 8b3d6eb3c9ede6c3b0da9226904f6e79 | function varargout = advanced_pinnacle_setupX(varargin)
% ADVANCED_PINNACLE_SETUPX MATLAB code for advanced_pinnacle_setupX.fig
% ADVANCED_PINNACLE_SETUPX, by itself, creates a new ADVANCED_PINNACLE_SETUPX or raises the existing
% singleton*.
%
% H = ADVANCED_PINNACLE_SETUPX returns the handle to a new A... |
github | spkrafft/trex-master | extractX.m | .m | trex-master/extract/extractX.m | 8,621 | utf_8 | 3327efabf66242618703da3e84b2c735 | function varargout = extractX(varargin)
% EXTRACTX MATLAB code for extractX.fig
% EXTRACTX, by itself, creates a new EXTRACTX or raises the existing
% singleton*.
%
% H = EXTRACTX returns the handle to a new EXTRACTX or the handle to
% the existing singleton*.
%
% EXTRACTX('CALLBACK',hObject,ev... |
github | spkrafft/trex-master | roi2Mask_pinnacle_extractX.m | .m | trex-master/extract/pinnacle_extractX/roi2Mask_pinnacle_extractX.m | 4,736 | utf_8 | da80c6c7b4f48c63c650da210f63f04d | function [roi] = roi2Mask_pinnacle_extractX(extractWrite,entry)
%%
roi = [];
roi.data = cell(0);
roi.mask = false(extractWrite.image_ydim,extractWrite.image_xdim,extractWrite.image_zdim);
roi.array_xV = load(fullfile(extractWrite.project_patient,extractWrite.image_file),'array_xV');
roi.array_xV = roi.array_xV.array_... |
github | spkrafft/trex-master | textureX.m | .m | trex-master/texture/textureX.m | 10,037 | utf_8 | 71a0575a1b873d31e9e3393e7e04031a | function varargout = textureX(varargin)
% TEXTUREX MATLAB code for textureX.fig
% TEXTUREX, by itself, creates a new TEXTUREX or raises the existing
% singleton*.
%
% H = TEXTUREX returns the handle to a new TEXTUREX or the handle to
% the existing singleton*.
%
% TEXTUREX('CALLBACK',hObject,ev... |
github | spkrafft/trex-master | parameters_textureX.m | .m | trex-master/texture/tex_parameters/parameters_textureX.m | 16,604 | utf_8 | ff90e3572cf34eeee841895ee691d203 | function parameters = parameters_textureX(input_profile)
% PARAMETERS_TEXTUREX Create programmatic GUI with uitree to select
% parameters for testureX
%
% Notes
% -----
% Blerg...used nested functions for the callbacks to get the correct
% output when the figure is closed.
%
% Parts are borrowed from uitree... |
github | spkrafft/trex-master | prepCrop.m | .m | trex-master/texture/tex_prep/prepCrop.m | 4,088 | utf_8 | ecf04e94f23689ea05b6f39701d8b1a4 | function [img,mask,xV,yV,zV] = prepCrop(varargin)
%PREPCROP Crops input image to the mask
% [IMG,MASK] = PREPCROP(IMG,MASK) returns a cropped mask
% and image that are determined by the boundaries of the mask.
%
% Parameters include:
%
% 'img' Self explanatory
%
% 'mask' Self explanatory
%
% ... |
github | spkrafft/trex-master | prepCT.m | .m | trex-master/texture/tex_prep/prepCT.m | 3,012 | utf_8 | 5ec34c599432a8c6aeabc98c2c556377 | function [img,preprocess,mask,crop] = prepCT(varargin)
%PREPCT Prepares input image for texture analysis
% [IMG,FILTER] = PREPCT(IMG,MASK) preps the scan for
% texture analysis by cropping, preprocessing and setting all of voxels
% outside the mask to NaN.
%
% Parameters include:
%
% 'img' Self ... |
github | spkrafft/trex-master | prepPreprocess.m | .m | trex-master/texture/tex_prep/prepPreprocess.m | 1,388 | utf_8 | 3653e1758293f1fe77c0344f32cdacf1 | function [img,preprocess] = prepPreprocess(varargin)
%PREPPREPROCESS
% [IMG,FILTER] = PREPPREPROCESS(IMG,PREPROCESS)
%
% Parameters include:
%
% 'img' Self explanatory
%
% 'preprocess' (Optional) This is the name of the preprocess to be applied
% to the input image. See the swi... |
github | spkrafft/trex-master | preprocess_filter_gradient2D.m | .m | trex-master/texture/tex_prep/tex_preprocess/preprocess_filter_gradient2D.m | 2,071 | utf_8 | e7b6410dd8c791c8c7f52a80cd55ebae | function [J,preprocess_name] = preprocess_filter_gradient2D(varargin)
%PREPROCESS_FILTER_GRADIENT2D
% [IMG,PREPROCESS_NAME] = PREPROCESS_FILTER_GRADIENT2D(IMG,METHOD)
%
% Parameters include:
%
% 'img' Self explanatory
%
% 'method' (Optional)
% Default: 'Sobel'
%
% Notes
% ... |
github | spkrafft/trex-master | preprocess_filter_log_hsize12_sigma2_5.m | .m | trex-master/texture/tex_prep/tex_preprocess/preprocess_filter_log_hsize12_sigma2_5.m | 945 | utf_8 | 725c06658d5174ed2a5d8a4da60b7867 | function [J,preprocess_name] = preprocess_filter_log_hsize12_sigma2_5(img)
%PREPROCESS_FILTER_LOG_HSIZE12_SIGMA2_5
% [IMG,preprocess_NAME] = PREPROCESS_FILTER_LOG_HSIZE12_SIGMA2_5(IMG)
%
% Parameters include:
%
% 'img' Self explanatory
%
% Notes
% -----
%
% $SPK
[img] = ParseInputs(img);
hsi... |
github | spkrafft/trex-master | preprocess_filter_log_hsize6_sigma1_5.m | .m | trex-master/texture/tex_prep/tex_preprocess/preprocess_filter_log_hsize6_sigma1_5.m | 941 | utf_8 | 0c5891ce1c09bb88a0242619429dc8cb | function [J,preprocess_name] = preprocess_filter_log_hsize6_sigma1_5(img)
%PREPROCESS_FILTER_LOG_HSIZE6_SIGMA1_5
% [IMG,preprocess_NAME] = PREPROCESS_FILTER_LOG_HSIZE6_SIGMA1_5(IMG)
%
% Parameters include:
%
% 'img' Self explanatory
%
% Notes
% -----
%
% $SPK
[img] = ParseInputs(img);
hsize ... |
github | spkrafft/trex-master | preprocess_filter_log_hsize10_sigma2.m | .m | trex-master/texture/tex_prep/tex_preprocess/preprocess_filter_log_hsize10_sigma2.m | 937 | utf_8 | 1478dc0058f00e593c223edf8743022f | function [J,preprocess_name] = preprocess_filter_log_hsize10_sigma2(img)
%PREPROCESS_FILTER_LOG_HSIZE10_SIGMA2
% [IMG,preprocess_NAME] = PREPROCESS_FILTER_LOG_HSIZE10_SIGMA2(IMG)
%
% Parameters include:
%
% 'img' Self explanatory
%
% Notes
% -----
%
% $SPK
[img] = ParseInputs(img);
hsize = 1... |
github | spkrafft/trex-master | preprocess_filter_localrange.m | .m | trex-master/texture/tex_prep/tex_preprocess/preprocess_filter_localrange.m | 1,261 | utf_8 | 8806724c4a4827e1bc0df767d1962c53 | function [J,preprocess_name] = preprocess_filter_localrange(varargin)
%PREPROCESS_FILTER_LOCALRANGE
% [IMG,PREPROCESS_NAME] = PREPROCESS_FILTER_LOCALRANGE(IMG,NHOOD)
%
% Parameters include:
%
% 'img' Self explanatory
%
% 'nhood' (Optional) A scalar value the indicates the size of the
% n... |
github | spkrafft/trex-master | preprocess_filter_localstd.m | .m | trex-master/texture/tex_prep/tex_preprocess/preprocess_filter_localstd.m | 1,247 | utf_8 | 0baa86f83b66261e3fcef93180f8e940 | function [J,preprocess_name] = preprocess_filter_localstd(varargin)
%PREPROCESS_FILTER_LOCALSTD
% [IMG,PREPROCESS_NAME] = PREPROCESS_FILTER_LOCALSTD(IMG,NHOOD)
%
% Parameters include:
%
% 'img' Self explanatory
%
% 'nhood' (Optional) A scalar value the indicates the size of the
% neighbo... |
github | spkrafft/trex-master | preprocess_threshold500.m | .m | trex-master/texture/tex_prep/tex_preprocess/preprocess_threshold500.m | 852 | utf_8 | 189838556e37f3a9adc20dbb52f3b1c0 | function [J,preprocess_name] = preprocess_threshold500(img)
%PREPROCESS_THRESHOLD500
% [IMG,PREPROCESS_NAME] = PREPROCESS_THRESHOLD500(IMG)
%
% Parameters include:
%
% 'img' Self explanatory
%
% Notes
% -----
%
% $SPK
[img] = ParseInputs(img);
threshold = 500;
J = img;
J(J>threshold) = nan;
... |
github | spkrafft/trex-master | preprocess_filter_log_hsize8_sigma1_8.m | .m | trex-master/texture/tex_prep/tex_preprocess/preprocess_filter_log_hsize8_sigma1_8.m | 939 | utf_8 | d10d3d20e1282391aefe851c4bdf5858 | function [J,preprocess_name] = preprocess_filter_log_hsize8_sigma1_8(img)
%PREPROCESS_FILTER_LOG_HSIZE8_SIGMA1
% [IMG,preprocess_NAME] = PREPROCESS_FILTER_LOG_HSIZE8_SIGMA1.8(IMG)
%
% Parameters include:
%
% 'img' Self explanatory
%
% Notes
% -----
%
% $SPK
[img] = ParseInputs(img);
hsize = ... |
github | spkrafft/trex-master | preprocess_threshold750.m | .m | trex-master/texture/tex_prep/tex_preprocess/preprocess_threshold750.m | 852 | utf_8 | 8dcede816ccddd2655d023724faa2f5b | function [J,preprocess_name] = preprocess_threshold750(img)
%PREPROCESS_THRESHOLD750
% [IMG,PREPROCESS_NAME] = PREPROCESS_THRESHOLD750(IMG)
%
% Parameters include:
%
% 'img' Self explanatory
%
% Notes
% -----
%
% $SPK
[img] = ParseInputs(img);
threshold = 750;
J = img;
J(J>threshold) = nan;
... |
github | spkrafft/trex-master | preprocess_threshold.m | .m | trex-master/texture/tex_prep/tex_preprocess/preprocess_threshold.m | 1,052 | utf_8 | ef9692f95e131babd37052671a6950bb | function [J,preprocess_name] = preprocess_threshold(varargin)
%PREPROCESS_THRESHOLD
% [IMG,PREPROCESS_NAME] = PREPROCESS_THRESHOLD(IMG,THRESHOLD)
%
% Parameters include:
%
% 'img' Self explanatory
%
% 'threshold' (Optional)
% Default: 1000
%
% Notes
% -----
%
% $SPK
[img,t... |
github | spkrafft/trex-master | preprocess_filter_log_hsize4_sigma1.m | .m | trex-master/texture/tex_prep/tex_preprocess/preprocess_filter_log_hsize4_sigma1.m | 932 | utf_8 | f6accda2932d8b9db9616bfa6f049e27 | function [J,preprocess_name] = preprocess_filter_log_hsize4_sigma1(img)
%PREPROCESS_FILTER_LOG_HSIZE4_SIGMA1
% [IMG,preprocess_NAME] = PREPROCESS_FILTER_LOG_HSIZE4_SIGMA1(IMG)
%
% Parameters include:
%
% 'img' Self explanatory
%
% Notes
% -----
%
% $SPK
[img] = ParseInputs(img);
hsize = 4;
si... |
github | spkrafft/trex-master | preprocess_threshold250.m | .m | trex-master/texture/tex_prep/tex_preprocess/preprocess_threshold250.m | 852 | utf_8 | c65b717e62db532bfd52a531dbe7bfa7 | function [J,preprocess_name] = preprocess_threshold250(img)
%PREPROCESS_THRESHOLD250
% [IMG,PREPROCESS_NAME] = PREPROCESS_THRESHOLD250(IMG)
%
% Parameters include:
%
% 'img' Self explanatory
%
% Notes
% -----
%
% $SPK
[img] = ParseInputs(img);
threshold = 250;
J = img;
J(J>threshold) = nan;
... |
github | spkrafft/trex-master | preprocess_filter_gradient3D.m | .m | trex-master/texture/tex_prep/tex_preprocess/preprocess_filter_gradient3D.m | 2,280 | utf_8 | ddfd7f6cfcddc8115fd480a1e91fa0d3 | function [J,preprocess_name] = preprocess_filter_gradient3D(varargin)
%PREPROCESS_FILTER_GRADIENT3D
% [IMG,PREPROCESS_NAME] = PREPROCESS_FILTER_GRADIENT3D(IMG,METHOD)
%
% Parameters include:
%
% 'img' Self explanatory
%
% 'method' (Optional)
% Default: 'Sobel'
%
% Notes
% ... |
github | spkrafft/trex-master | preprocess_filter_ave_hsize3.m | .m | trex-master/texture/tex_prep/tex_preprocess/preprocess_filter_ave_hsize3.m | 876 | utf_8 | a6d38500da50948665e6a1e84675d1ef | function [J,preprocess_name] = preprocess_filter_ave_hsize3(img)
%PREPROCESS_FILTER_AVE_HSIZE3
% [IMG,preprocess_NAME] = PREPROCESS_FILTER_AVE_HSIZE3(IMG)
%
% Parameters include:
%
% 'img' Self explanatory
%
% Notes
% -----
%
% $SPK
[img] = ParseInputs(img);
hsize = 3;
h = fspecial('average'... |
github | spkrafft/trex-master | preprocess_filter_localentropy.m | .m | trex-master/texture/tex_prep/tex_preprocess/preprocess_filter_localentropy.m | 1,556 | utf_8 | 8e207c0328df1868ea0601e931e4d6b3 | function [J,preprocess_name] = preprocess_filter_localentropy(varargin)
%PREPROCESS_FILTER_LOCALENTROPY
% [IMG,PREPROCESS_NAME] = PREPROCESS_FILTER_LOCALENTROPY(IMG,NHOOD)
%
% Parameters include:
%
% 'img' Self explanatory
%
% 'nhood' (Optional) A scalar value the indicates the size of the
% ... |
github | spkrafft/trex-master | filter_min.m | .m | trex-master/texture/tex_prep/tex_preprocess/not currently used/filter_min.m | 1,003 | utf_8 | e27f2a5408ffe485596473c82c612005 | function [J,filter_name] = filter_min(varargin)
%FILTER_MIN Implements a min filter
% [IMG,FILTER_NAME] = FILTER_MIN(IMG,SIZ)
%
% Parameters include:
%
% 'img' Self explanatory
%
% 'siz' (Optional)
% Default: 5
%
% Notes
% -----
% From Gonzalez and Woods
%
% $SPK
... |
github | spkrafft/trex-master | filter_gmean.m | .m | trex-master/texture/tex_prep/tex_preprocess/not currently used/filter_gmean.m | 1,068 | utf_8 | af2c938bcc9edf78c287daff912245d0 | function [J,filter_name] = filter_gmean(varargin)
%FILTER_GMEAN Implements a gemometric mean filter
% [IMG,FILTER_NAME] = FILTER_GMEAN(IMG,SIZ)
%
% Parameters include:
%
% 'img' Self explanatory
%
% 'siz' (Optional)
% Default: 5
%
% Notes
% -----
% From Gonzalez and... |
github | spkrafft/trex-master | filter_ave.m | .m | trex-master/texture/tex_prep/tex_preprocess/not currently used/filter_ave.m | 990 | utf_8 | b663c1f7f43918203a610ad10f1590d5 | function [J,filter_name] = filter_ave(varargin)
%FILTER_AVE
% [IMG,FILTER_NAME] = FILTER_AVE(IMG,HSIZE)
%
% Parameters include:
%
% 'img' Self explanatory
%
% 'hsize' (Optional)
% Default: 5
%
% Notes
% -----
%
% $SPK
[img,hsize] = ParseInputs(varargin{:});
h = fsp... |
github | spkrafft/trex-master | filter_wiener.m | .m | trex-master/texture/tex_prep/tex_preprocess/not currently used/filter_wiener.m | 1,025 | utf_8 | fc4574d564ef4168ba8837e11666af0b | function [J,filter_name] = filter_wiener(varargin)
%FILTER_WIENER
% [IMG,FILTER_NAME] = FILTER_WIENER(IMG,HSIZE)
%
% Parameters include:
%
% 'img' Self explanatory
%
% 'hsize' (Optional)
% Default: 3
%
% Notes
% -----
%
% $SPK
[img,hsize] = ParseInputs(varargin{:});... |
github | spkrafft/trex-master | filter_addnoise.m | .m | trex-master/texture/tex_prep/tex_preprocess/not currently used/filter_addnoise.m | 1,031 | utf_8 | 0b58ca4c7e0bb798353ca7afbcf8824e | function [J,filter_name] = filter_addnoise(varargin)
%FILTER_ADDNOISE
% [IMG,FILTER_NAME] = FILTER_ADDNOISE(IMG,NOISE_STD)
%
% Parameters include:
%
% 'img' Self explanatory
%
% 'noise_std' (Optional)
% Default: 15
%
% Notes
% -----
%
% $SPK
[img,noise_std] = ParseInput... |
github | spkrafft/trex-master | filter_adpmedian.m | .m | trex-master/texture/tex_prep/tex_preprocess/not currently used/filter_adpmedian.m | 2,231 | utf_8 | 763e1d4e9b2aae9957ecda4420908267 | function [J,filter_name] = filter_adpmedian(varargin)
%FILTER_ADPMEDIAN Perform adaptive median filtering
% [IMG,FILTER_NAME] = FILTER_ADPMEDIAN(IMG,SMAX)performs adaptive
% median filtering of image I. The median filter starts at size 3-by-3 and
% iterates upto size SMAX-by-SMAX. SMAX must be an odd integer gr... |
github | spkrafft/trex-master | filter_laplacian.m | .m | trex-master/texture/tex_prep/tex_preprocess/not currently used/filter_laplacian.m | 1,016 | utf_8 | 361206f1ebd83bbd7b1e28103a92f3ec | function [J,filter_name] = filter_laplacian(varargin)
%FILTER_LAPLACIAN
% [IMG,FILTER_NAME] = FILTER_LAPLACIAN(IMG,ALPHA)
%
% Parameters include:
%
% 'img' Self explanatory
%
% 'alpha' (Optional)
% Default: 0.2
%
% Notes
% -----
%
% $SPK
[img,alpha] = ParseInputs(va... |
github | spkrafft/trex-master | filter_gaussian.m | .m | trex-master/texture/tex_prep/tex_preprocess/not currently used/filter_gaussian.m | 1,160 | utf_8 | 5771ed4f6d1ca27f78814857955ffb61 | function [J,filter_name] = filter_gaussian(varargin)
%FILTER_GAUSSIAN
% [IMG,FILTER_NAME] = FILTER_GAUSSIAN(IMG,HSIZE,SIGMA)
%
% Parameters include:
%
% 'img' Self explanatory
%
% 'hsize' (Optional)
% Default: 3
%
% 'sigma' (Optional)
% Default: ... |
github | spkrafft/trex-master | filter_log.m | .m | trex-master/texture/tex_prep/tex_preprocess/not currently used/filter_log.m | 1,136 | utf_8 | 89a97750751c93169fc2551b74ebdeab | function [J,filter_name] = filter_log(varargin)
%FILTER_LOG
% [IMG,FILTER_NAME] = FILTER_LOG(IMG,HSIZE,SIGMA)
%
% Parameters include:
%
% 'img' Self explanatory
%
% 'hsize' (Optional)
% Default: 5
%
% 'sigma' (Optional)
% Default: 0.5
%
% Note... |
github | spkrafft/trex-master | filter_charmean.m | .m | trex-master/texture/tex_prep/tex_preprocess/not currently used/filter_charmean.m | 1,247 | utf_8 | 973ad921397f05c9bedc7f56333dc46b | function [J,filter_name] = filter_charmean(varargin)
%FILTER_CHARMEAN Implements a contraharmonic mean filter
% [IMG,FILTER_NAME] = FILTER_CHARMEAN(IMG,SIZ,Q)
%
% Parameters include:
%
% 'img' Self explanatory
%
% 'siz' (Optional)
% Default: 5
%
% 'q' (Optio... |
github | spkrafft/trex-master | filter_adplocalnoise.m | .m | trex-master/texture/tex_prep/tex_preprocess/not currently used/filter_adplocalnoise.m | 1,638 | utf_8 | 1a580fc8e3e308b3c738634d30afbc2e | function [J,filter_name] = filter_adplocalnoise(varargin)
%FILTER_ADPLOCALNOISE Perform adaptive local noise reduction filtering
% [IMG,FILTER_NAME] = FILTER_ADPLOCALNOISE(IMG,SIZ,VARNOISE)
%
% Parameters include:
%
% 'img' Self explanatory
%
% 'siz' (Optional)
% Default:... |
github | spkrafft/trex-master | filter_max.m | .m | trex-master/texture/tex_prep/tex_preprocess/not currently used/filter_max.m | 1,004 | utf_8 | bad9937e62eed0dafd63dc539b3cda38 | function [J,filter_name] = filter_max(varargin)
%FILTER_MAX Implements a max filter
% [IMG,FILTER_NAME] = FILTER_MAX(IMG,SIZ)
%
% Parameters include:
%
% 'img' Self explanatory
%
% 'siz' (Optional)
% Default: 5
%
% Notes
% -----
% From Gonzalez and Woods
%
% $SPK
... |
github | spkrafft/trex-master | filter_median.m | .m | trex-master/texture/tex_prep/tex_preprocess/not currently used/filter_median.m | 1,026 | utf_8 | 82469911de0bd7011363ac0672963b93 | function [J,filter_name] = filter_median(varargin)
%FILTER_MEDIAN
% [IMG,FILTER_NAME] = FILTER_MEDIAN(IMG,HSIZE)
%
% Parameters include:
%
% 'img' Self explanatory
%
% 'hsize' (Optional)
% Default: 3
%
% Notes
% -----
%
% $SPK
[img,hsize] = ParseInputs(varargin{:});... |
github | spkrafft/trex-master | filter_alphatrim.m | .m | trex-master/texture/tex_prep/tex_preprocess/not currently used/filter_alphatrim.m | 1,456 | utf_8 | 983e1c7a75fc33019c03529133cd4b87 | function [J,filter_name] = filter_alphatrim(varargin)
%FILTER_ALPHATRIM Implements an alpha-trimed mean filter
% [IMG,FILTER_NAME] = FILTER_ALPHATRIM(IMG,SIZ,D)
%
% Parameters include:
%
% 'img' Self explanatory
%
% 'siz' (Optional)
% Default: 5
%
% 'd' (Opt... |
github | spkrafft/trex-master | filter_midpoint.m | .m | trex-master/texture/tex_prep/tex_preprocess/not currently used/filter_midpoint.m | 1,128 | utf_8 | 6987b6066b1adb9ea3357449f42249fc | function [J,filter_name] = filter_midpoint(varargin)
%FILTER_MIDPOINT Implements a midpoint filter
% [IMG,FILTER_NAME] = FILTER_MIDPOINT(IMG,siz)
%
% Parameters include:
%
% 'img' Self explanatory
%
% 'siz' (Optional)
% Default: 5
%
% Notes
% -----
% From Gonzalez a... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.