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
lse_bfe.m
.m
imageProcessing-master/segmentation/levelset_segmentation_biasCorrection_v1/levelset_segmentation_biasCorrection_v1/lse_bfe.m
3,246
utf_8
f5fa95fc0201c04b6a285f465145b25a
function [u, b, C]= lse_bfe(u0,Img, b, Ksigma,KONE, nu,timestep,mu,epsilon, iter_lse) % This code implements the level set evolution (LSE) and bias field estimation % proposed in the following paper: % C. Li, R. Huang, Z. Ding, C. Gatenby, D. N. Metaxas, and J. C. Gore, % "A Level Set Method for Image Se...
github
jacksky64/imageProcessing-master
drlse_edge.m
.m
imageProcessing-master/segmentation/DRLSE_v0/drlse_edge.m
3,599
utf_8
ee52d75877b9ca4db832b038f27fd28e
function phi = drlse_edge(phi_0, g, lambda,mu, alfa, epsilon, timestep, iter, potentialFunction) % This Matlab code implements an edge-based active contour model as an % application of the Distance Regularized Level Set Evolution (DRLSE) formulation in Li et al's paper: % % C. Li, C. Xu, C. Gui, M. D. Fox, "...
github
jacksky64/imageProcessing-master
SegmentRefine.m
.m
imageProcessing-master/segmentation/SegTool/SegmentRefine.m
7,789
utf_8
efd3606b9a14570a8983aa2dbfc38097
function [] = SegmentRefine(ImName) % SEGMENTREFINE - Main graph cuts segmentation function % SEGMENTREFINE(IMNAME) - ImName - Image to segment % Authors - Mohit Gupta, Krishnan Ramnath % Affiliation - Robotics Institute, CMU, Pittsburgh % 2006-05-15 % Global Variables global sopt ih_img fgpixels bgpixels fgf...
github
jacksky64/imageProcessing-master
SegmentBoth.m
.m
imageProcessing-master/segmentation/SegTool/SegmentBoth.m
9,046
utf_8
7075544eb046a7ff90fa6c51d76c43da
function [] = SegmentGC(ImName); %%%Main Grab Cuts segmentation function global ih_img fgpixels bgpixels; load segimage; BiImage = SegImage; figure; imagesc(BiImage); SegImage = []; I = imread(ImName); I1 = I(:,:,1); I2 = I(:,:,2); I3 = I(:,:,3); %%%% Final Segmented Image SegImage = zeros(size(I)); ...
github
jacksky64/imageProcessing-master
SmartSelectSeg.m
.m
imageProcessing-master/segmentation/SegTool/SmartSelectSeg.m
2,669
utf_8
b0d3edf879d53194cac94ed20fd13b29
function SmartSelectSeg % SMARTSELECTSEG - This function displays chosen image and creates buttons % for marking seeds and calling Segment function % Authors - Mohit Gupta, Krishnan Ramnath % Affiliation - Robotics Institute, CMU, Pittsburgh % 2006-05-15 % Global Variables % Req by radio button RadioButtonFn ...
github
jacksky64/imageProcessing-master
bginput.m
.m
imageProcessing-master/segmentation/SegTool/bginput.m
1,327
utf_8
40555c86d5e0244acebf33c28803bb1f
%-------------------------------------------------------------------------- function bginput(strg) % BGINPUT - This function gets the background pixels from user input % BGINPUT(STRG) - strg - Smart Refine or Smart Rectangle % Authors - Mohit Gupta, Krishnan Ramnath % Affiliation - Robotics Institute, CMU, Pitt...
github
jacksky64/imageProcessing-master
SegmentGC.m
.m
imageProcessing-master/segmentation/SegTool/SegmentGC.m
8,578
utf_8
f39aab15bbf3c9ece14572e50f90061e
function [] = SegmentGC(ImName, ih, alg) % SEGMENTGC - Main GrabCut segmentation function % SEGMENTGC(IMNAME, IH, ALG) - ImName - Image to segment % IH - Image Handle % ALG - AutoCut or AutoRefine (0 or 1) % Authors - Mohit Gupta, Krishnan Ramnath % Affiliation - Robotics Institute, CMU, Pittsburgh % 2006-05-15...
github
jacksky64/imageProcessing-master
creaseg.m
.m
imageProcessing-master/segmentation/creaseg/creaseg/creaseg/creaseg.m
4,537
utf_8
c7fe3231ee32b19b499802aa425d316a
% Copyright or © or Copr. CREATIS laboratory, Lyon, France. % % Contributor: Olivier Bernard, Associate Professor at the french % engineering university INSA (Institut National des Sciences Appliquees) % and a member of the CREATIS-LRMN laboratory (CNRS 5220, INSERM U630, % INSA, Claude Bernard Lyon 1 University) i...
github
jacksky64/imageProcessing-master
creaseg_createreference.m
.m
imageProcessing-master/segmentation/creaseg/creaseg/creaseg/src/creaseg_createreference.m
6,343
utf_8
8b8ed702092f714ebf41dce7f98e013b
% Copyright or © or Copr. CREATIS laboratory, Lyon, France. % % Contributor: Olivier Bernard, Associate Professor at the french % engineering university INSA (Institut National des Sciences Appliquees) % and a member of the CREATIS-LRMN laboratory (CNRS 5220, INSERM U630, % INSA, Claude Bernard Lyon 1 University) i...
github
jacksky64/imageProcessing-master
creaseg_spline.m
.m
imageProcessing-master/segmentation/creaseg/creaseg/creaseg/src/creaseg_spline.m
5,098
utf_8
fbbdc22b0913e532c31a5e2f2cff495f
% Copyright or © or Copr. CREATIS laboratory, Lyon, France. % % Contributor: Olivier Bernard, Associate Professor at the french % engineering university INSA (Institut National des Sciences Appliquees) % and a member of the CREATIS-LRMN laboratory (CNRS 5220, INSERM U630, % INSA, Claude Bernard Lyon 1 University) i...
github
jacksky64/imageProcessing-master
creaseg_lankton.m
.m
imageProcessing-master/segmentation/creaseg/creaseg/creaseg/src/creaseg_lankton.m
15,575
utf_8
9d8d19987c200b1ba9e64a4ee5adc544
% Copyright or © or Copr. CREATIS laboratory, Lyon, France. % % Contributor: Olivier Bernard, Associate Professor at the french % engineering university INSA (Institut National des Sciences Appliquees) % and a member of the CREATIS-LRMN laboratory (CNRS 5220, INSERM U630, % INSA, Claude Bernard Lyon 1 University) i...
github
jacksky64/imageProcessing-master
creaseg_drawManualContour.m
.m
imageProcessing-master/segmentation/creaseg/creaseg/creaseg/src/creaseg_drawManualContour.m
8,753
utf_8
4eb1e62aae8e74976a72ba4b072f54a0
% Copyright or © or Copr. CREATIS laboratory, Lyon, France. % % Contributor: Olivier Bernard, Associate Professor at the french % engineering university INSA (Institut National des Sciences Appliquees) % and a member of the CREATIS-LRMN laboratory (CNRS 5220, INSERM U630, % INSA, Claude Bernard Lyon 1 University) i...
github
jacksky64/imageProcessing-master
creaseg_shi.m
.m
imageProcessing-master/segmentation/creaseg/creaseg/creaseg/src/creaseg_shi.m
17,807
utf_8
6f8e7899e227bafa2afc8bbfe60644a9
% Copyright or © or Copr. CREATIS laboratory, Lyon, France. % % Contributor: Olivier Bernard, Associate Professor at the french % engineering university INSA (Institut National des Sciences Appliquees) % and a member of the CREATIS-LRMN laboratory (CNRS 5220, INSERM U630, % INSA, Claude Bernard Lyon 1 University) i...
github
jacksky64/imageProcessing-master
creaseg_chunmingli.m
.m
imageProcessing-master/segmentation/creaseg/creaseg/creaseg/src/creaseg_chunmingli.m
12,415
utf_8
e5611a1a5cab20cb2692380b71eef4a4
% Copyright or © or Copr. CREATIS laboratory, Lyon, France. % % Contributor: Olivier Bernard, Associate Professor at the french % engineering university INSA (Institut National des Sciences Appliquees) % and a member of the CREATIS-LRMN laboratory (CNRS 5220, INSERM U630, % INSA, Claude Bernard Lyon 1 University) i...
github
jacksky64/imageProcessing-master
creaseg_mouseMove.m
.m
imageProcessing-master/segmentation/creaseg/creaseg/creaseg/src/creaseg_mouseMove.m
9,921
utf_8
dd456413178c29ef801a415ebf0b4a12
% Copyright or © or Copr. CREATIS laboratory, Lyon, France. % % Contributor: Olivier Bernard, Associate Professor at the french % engineering university INSA (Institut National des Sciences Appliquees) % and a member of the CREATIS-LRMN laboratory (CNRS 5220, INSERM U630, % INSA, Claude Bernard Lyon 1 University) i...
github
jacksky64/imageProcessing-master
creaseg_cleanOverlays.m
.m
imageProcessing-master/segmentation/creaseg/creaseg/creaseg/src/creaseg_cleanOverlays.m
6,644
utf_8
239fbd07c65e3a4d1dba76563a072b6c
% Copyright or © or Copr. CREATIS laboratory, Lyon, France. % % Contributor: Olivier Bernard, Associate Professor at the french % engineering university INSA (Institut National des Sciences Appliquees) % and a member of the CREATIS-LRMN laboratory (CNRS 5220, INSERM U630, % INSA, Claude Bernard Lyon 1 University) i...
github
jacksky64/imageProcessing-master
creaseg_drawMultiManualContours.m
.m
imageProcessing-master/segmentation/creaseg/creaseg/creaseg/src/creaseg_drawMultiManualContours.m
8,867
utf_8
6efb32e8df6bfe08fa1b3acd6f26d2eb
% Copyright or © or Copr. CREATIS laboratory, Lyon, France. % % Contributor: Olivier Bernard, Associate Professor at the french % engineering university INSA (Institut National des Sciences Appliquees) % and a member of the CREATIS-LRMN laboratory (CNRS 5220, INSERM U630, % INSA, Claude Bernard Lyon 1 University) i...
github
jacksky64/imageProcessing-master
creaseg_show.m
.m
imageProcessing-master/segmentation/creaseg/creaseg/creaseg/src/creaseg_show.m
4,785
utf_8
4342d9bf2b06bf50633bc90d41206b4b
% Copyright or © or Copr. CREATIS laboratory, Lyon, France. % % Contributor: Olivier Bernard, Associate Professor at the french % engineering university INSA (Institut National des Sciences Appliquees) % and a member of the CREATIS-LRMN laboratory (CNRS 5220, INSERM U630, % INSA, Claude Bernard Lyon 1 University) i...
github
jacksky64/imageProcessing-master
creaseg_loadimage.m
.m
imageProcessing-master/segmentation/creaseg/creaseg/creaseg/src/creaseg_loadimage.m
8,808
utf_8
d10078f1fec9727042491dd7e1cc550e
% Copyright or © or Copr. CREATIS laboratory, Lyon, France. % % Contributor: Olivier Bernard, Associate Professor at the french % engineering university INSA (Institut National des Sciences Appliquees) % and a member of the CREATIS-LRMN laboratory (CNRS 5220, INSERM U630, % INSA, Claude Bernard Lyon 1 University) i...
github
jacksky64/imageProcessing-master
creaseg_chanvese.m
.m
imageProcessing-master/segmentation/creaseg/creaseg/creaseg/src/creaseg_chanvese.m
12,585
utf_8
96f30e3263b583f69c472864aa955ad6
% Copyright or © or Copr. CREATIS laboratory, Lyon, France. % % Contributor: Olivier Bernard, Associate Professor at the french % engineering university INSA (Institut National des Sciences Appliquees) % and a member of the CREATIS-LRMN laboratory (CNRS 5220, INSERM U630, % INSA, Claude Bernard Lyon 1 University) i...
github
jacksky64/imageProcessing-master
creaseg_bernard.m
.m
imageProcessing-master/segmentation/creaseg/creaseg/creaseg/src/creaseg_bernard.m
21,003
utf_8
c1f942411317c2e73100a8dde1950761
% Copyright or © or Copr. CREATIS laboratory, Lyon, France. % % Contributor: Olivier Bernard, Associate Professor at the french % engineering university INSA (Institut National des Sciences Appliquees) % and a member of the CREATIS-LRMN laboratory (CNRS 5220, INSERM U630, % INSA, Claude Bernard Lyon 1 University) i...
github
jacksky64/imageProcessing-master
creaseg_caselles.m
.m
imageProcessing-master/segmentation/creaseg/creaseg/creaseg/src/creaseg_caselles.m
13,230
utf_8
6cfc1c6a7f5ac2f69a422609ce2fec7e
% Copyright or © or Copr. CREATIS laboratory, Lyon, France. % % Contributor: Olivier Bernard, Associate Professor at the french % engineering university INSA (Institut National des Sciences Appliquees) % and a member of the CREATIS-LRMN laboratory (CNRS 5220, INSERM U630, % INSA, Claude Bernard Lyon 1 University) i...
github
jacksky64/imageProcessing-master
creaseg_drawMultiReferenceContours.m
.m
imageProcessing-master/segmentation/creaseg/creaseg/creaseg/src/creaseg_drawMultiReferenceContours.m
11,499
utf_8
5403388b94e5f8f3962a6ca277f2844c
% Copyright or © or Copr. CREATIS laboratory, Lyon, France. % % Contributor: Olivier Bernard, Associate Professor at the french % engineering university INSA (Institut National des Sciences Appliquees) % and a member of the CREATIS-LRMN laboratory (CNRS 5220, INSERM U630, % INSA, Claude Bernard Lyon 1 University) i...
github
jacksky64/imageProcessing-master
creaseg_managedrawing.m
.m
imageProcessing-master/segmentation/creaseg/creaseg/creaseg/src/creaseg_managedrawing.m
28,116
utf_8
aceff7a2d216a6673f1d67b174d1c4d7
% Copyright or © or Copr. CREATIS laboratory, Lyon, France. % % Contributor: Olivier Bernard, Associate Professor at the french % engineering university INSA (Institut National des Sciences Appliquees) % and a member of the CREATIS-LRMN laboratory (CNRS 5220, INSERM U630, % INSA, Claude Bernard Lyon 1 University) i...
github
jacksky64/imageProcessing-master
creaseg_run.m
.m
imageProcessing-master/segmentation/creaseg/creaseg/creaseg/src/creaseg_run.m
20,056
utf_8
e09b5d345491ea24c5125c3d878c9766
% Copyright or © or Copr. CREATIS laboratory, Lyon, France. % % Contributor: Olivier Bernard, Associate Professor at the french % engineering university INSA (Institut National des Sciences Appliquees) % and a member of the CREATIS-LRMN laboratory (CNRS 5220, INSERM U630, % INSA, Claude Bernard Lyon 1 University) i...
github
jacksky64/imageProcessing-master
creaseg_gui.m
.m
imageProcessing-master/segmentation/creaseg/creaseg/creaseg/src/creaseg_gui.m
80,541
utf_8
4da6ba874bf11f79dbd19da0e148024e
% Copyright or © or Copr. CREATIS laboratory, Lyon, France. % % Contributor: Olivier Bernard, Associate Professor at the french % engineering university INSA (Institut National des Sciences Appliquees) % and a member of the CREATIS-LRMN laboratory (CNRS 5220, INSERM U630, % INSA, Claude Bernard Lyon 1 University) i...
github
jacksky64/imageProcessing-master
creaseg_loadreference.m
.m
imageProcessing-master/segmentation/creaseg/creaseg/creaseg/src/creaseg_loadreference.m
7,423
utf_8
037a1b94310e10c56c297b383370be4c
% Copyright or © or Copr. CREATIS laboratory, Lyon, France. % % Contributor: Olivier Bernard, Associate Professor at the french % engineering university INSA (Institut National des Sciences Appliquees) % and a member of the CREATIS-LRMN laboratory (CNRS 5220, INSERM U630, % INSA, Claude Bernard Lyon 1 University) i...
github
jacksky64/imageProcessing-master
creaseg_plotresults.m
.m
imageProcessing-master/segmentation/creaseg/creaseg/creaseg/src/creaseg_plotresults.m
5,561
utf_8
315135765ad2dc382968b0561b6d4a98
% Copyright or © or Copr. CREATIS laboratory, Lyon, France. % % Contributor: Olivier Bernard, Associate Professor at the french % engineering university INSA (Institut National des Sciences Appliquees) % and a member of the CREATIS-LRMN laboratory (CNRS 5220, INSERM U630, % INSA, Claude Bernard Lyon 1 University) i...
github
jacksky64/imageProcessing-master
localized_seg.m
.m
imageProcessing-master/segmentation/ActiveContours/Activeontours/localized_seg.m
7,761
utf_8
a248792540c81523bb28994de267cee4
% Localized Region Based Active Contour Segmentation: % % seg = localized_seg(I,init_mask,max_its,rad,alpha,method) % % Inputs: I 2D image % init_mask Initialization (1 = foreground, 0 = bg) % max_its Number of iterations to run segmentation for % rad (optional) Localizat...
github
jacksky64/imageProcessing-master
ActiveContoursWihoutEdges.m
.m
imageProcessing-master/segmentation/ActiveContours/Activeontours/ActiveContoursWihoutEdges.m
6,749
utf_8
2556c180e19cbdcde6de9d1172c0064d
function ActiveContoursWihoutEdges(hObject,mask) %This function implements the paper "Active Contours without Edges" by %Tony Chan and Luminita Vese. It also present results accourding to user %wish (from ActiveCountorsGUI). Coding- Nikolay S. & Alex B. %Input argument- a Handle to an object of ActiveCountorsGUI ...
github
jacksky64/imageProcessing-master
LevelSetEvolutionWithoutReinitialization.m
.m
imageProcessing-master/segmentation/ActiveContours/Activeontours/LevelSetEvolutionWithoutReinitialization.m
5,441
utf_8
e95cf463293db58a1afa6f202ea6596d
function LevelSetEvolutionWithoutReinitialization(Img,sigma,epsilon,mu,lambda,alf,c0,N,PlotRate,mask) % This Matlab file demomstrates the level set method in Li et al's paper % "Level Set Evolution Without Re-initialization: A New Variational Formulation" % in Proceedings of CVPR'05, vol. 1, pp. 430-436. % Au...
github
jacksky64/imageProcessing-master
maskcircle2.m
.m
imageProcessing-master/segmentation/Chan-Vese/maskcircle2.m
2,101
utf_8
5172c5d8c496225ecc2354991153d114
function m = maskcircle2(I,type) % auto pick a circular mask for image I % built-in mask creation function % Input: I : input image % type: mask shape keywords % Output: m : mask image % Copyright (c) 2009, % Yue Wu @ ECE Department, Tufts University % All Rights Reserved if size(I,3)~...
github
jacksky64/imageProcessing-master
chenvese.m
.m
imageProcessing-master/segmentation/Chan-Vese/chenvese.m
14,373
utf_8
03a43bed54d85efa5e620ce6bc002161
%========================================================================== % % Active contour with Chen-Vese Method % for image segementation % % Implemented by Yue Wu (yue.wu@tufts.edu) % Tufts University % Feb 2009 % http://sites.google.com/site/rexstribeofimageprocessing/ % % all rights re...
github
jacksky64/imageProcessing-master
thresholdLocally.m
.m
imageProcessing-master/segmentation/segmenttool/thresholdLocally.m
5,276
utf_8
c3ad5f3e07a48056bf2ec67e275a56d9
function B = thresholdLocally(A, blksz, varargin) % Performs LOCAL Otsu thresholding on an image; user can specify blocksize % % SYNTAX: B = thresholdLocally(A,PV_Pairs) % % THRESHOLDLOCALLY processes an image, calling graythresh on LOCAL % blocks in an image. This facilitates easy thresholding of images with % ...
github
jacksky64/imageProcessing-master
uigetvariables.m
.m
imageProcessing-master/segmentation/segmenttool/uigetvariables.m
16,902
utf_8
f4620a99811d119011fab23a47c295ed
function varout = uigetvariables(prompts,intro,types,ndimensions) %% % uigetvariables Open variable selection dialog box % % VARS = uigetvariables(PROMPTS) creates a dialog box that returns % variables selected from the base workspace. PROMPTS is a cell array of % strings, with one entry for each variable you w...
github
jacksky64/imageProcessing-master
regiongrowing.m
.m
imageProcessing-master/segmentation/RegionGrowing/regiongrowing.m
8,119
utf_8
1f10aec0bc9c96dd3b669f6b0c1ac29f
function lMask = RegionGrowing(dImg, dMaxDif, iSeed) %REGIONGROWING A MEXed 2D/3D region growing algorithm. % % lMASK = REGIONGROWING(dIMG, dMAXDIF, iSEED) Returns a binary mask % lMASK, the result of growing a region from the seed point iSEED. % The stoping critereon is fulfilled if no voxels in the region'...
github
jacksky64/imageProcessing-master
fGetSeed.m
.m
imageProcessing-master/segmentation/RegionGrowing/fGetSeed.m
3,953
utf_8
9abe0cd8d5d9544d06406345cc7363ab
% ========================================================================= % *** FUNCTION fGetSeed % *** % *** A little GUI to select a seed % *** % ========================================================================= function iSeed = fGetSeed(dImg) iSlice = 1; dImg = dImg./max(dImg(:)); dImg = dImg - mi...
github
jacksky64/imageProcessing-master
Main.m
.m
imageProcessing-master/segmentation/Image Segmentation & Edge Detection Toolbox/Bc project/Main.m
10,629
utf_8
8fef5db166a4f95c56ece910e8b6367d
function varargout = Main(varargin) % MAIN MATLAB code for Main.fig % MAIN, by itself, creates a new MAIN or raises the existing % singleton*. % % H = MAIN returns the handle to a new MAIN or the handle to % the existing singleton*. % % MAIN('CALLBACK',hObject,eventData,handles,...) calls the l...
github
jacksky64/imageProcessing-master
FCLSM.m
.m
imageProcessing-master/segmentation/Image Segmentation & Edge Detection Toolbox/Bc project/FCMLSM/FCLSM.m
3,102
utf_8
525c470209f7e282a36c61b3edde9eae
function [imgls,opts,sls]=FCLSM(img,imgfcm,beta) img=double(img); se=5; %template radius for spatial filtering sigma=2; %spatial filter weight d0=.5; %fuzzy thresholding epsilon=1.5; %Dirac regulator %adaptive definition of penalizing item mu u=d0<=imgfcm; bwa=bwarea(u); %area of initial...
github
jacksky64/imageProcessing-master
fuzzyLSM.m
.m
imageProcessing-master/segmentation/Image Segmentation & Edge Detection Toolbox/Bc project/FCMLSM/fuzzyLSM.m
3,564
utf_8
86b8ad22aa23a0e3a9951328c398a912
function [imgls,sls]=fuzzyLSM(img,imgfcm,beta) % Enhancing level set segmentation by spatial fuzzy clustering % [imgls,sls]=fuzzyLSM(img,imgfcm,fcmind,beta) % img: input grayscale image % imgfcm: the result of spatial fuzzy clustering % beta: modulating argument % imgls: the result level...
github
jacksky64/imageProcessing-master
srm_getborders.m
.m
imageProcessing-master/segmentation/Image Segmentation & Edge Detection Toolbox/Bc project/srm/srm_getborders.m
226
utf_8
9f24b148c7e587960b326e5d9bfd11e3
function borders = srm_getborders(map) dx = conv2(map, [-1 1], 'same'); dy = conv2(map, [-1 1]', 'same'); dy(end,:) = 0; % ignore the last row of dy dx(:,end) = 0; % and the last col of dx borders = find(dx ~= 0 | dy ~= 0);
github
jacksky64/imageProcessing-master
srm.m
.m
imageProcessing-master/segmentation/Image Segmentation & Edge Detection Toolbox/Bc project/srm/srm.m
4,175
utf_8
34efb3176d6b172ea78cf7ab221e3df9
% Statistical Region Merging % % Nock, Richard and Nielsen, Frank 2004. Statistical Region Merging. IEEE Trans. Pattern Anal. Mach. Intell. 26, 11 (Nov. 2004), 1452-1458. % DOI= http://dx.doi.org/10.1109/TPAMI.2004.110 %Segmentation parameter Q; Q small few segments, Q large may segments function [maps,images]=srm(im...
github
jacksky64/imageProcessing-master
adaptcluster_kmeans.m
.m
imageProcessing-master/segmentation/Image Segmentation & Edge Detection Toolbox/Bc project/adaptcluster_kmeans/adaptcluster_kmeans.m
4,790
utf_8
710b9eaae8fa6dcb28751eecea74f382
function [lb,center] = adaptcluster_kmeans(im) % This code is written to implement kmeans clustering for segmenting any % Gray or Color image. There is no requirement to mention the number of cluster for % clustering. % IM - is input image to be clustered. % LB - is labeled image (Clustered Image). % CENTER - ...
github
jacksky64/imageProcessing-master
CoherenceFilter.m
.m
imageProcessing-master/segmentation/Image Segmentation & Edge Detection Toolbox/Bc project/GraphSeg/coherenceFilter/CoherenceFilter.m
9,898
utf_8
a3aca1656b08e401f9082f5159c4d930
function u = CoherenceFilter(u,Options) % This function COHERENCEFILTER will perform Anisotropic Diffusion of a % 2D gray/color image or 3D image volume, Which will reduce the noise in % an image while preserving the region edges, and will smooth along % the image edges removing gaps due to noise. % % Don't forget to c...
github
jacksky64/imageProcessing-master
showcs3.m
.m
imageProcessing-master/segmentation/Image Segmentation & Edge Detection Toolbox/Bc project/GraphSeg/coherenceFilter/functions/showcs3.m
8,626
utf_8
34593633a0794db73b412179ff1ca339
function varargout = showcs3(varargin) % SHOWCS3 M-file for showcs3.fig % SHOWCS3, by itself, creates a new SHOWCS3 or raises the existing % singleton*. % % H = SHOWCS3 returns the handle to a new SHOWCS3 or the handle to % the existing singleton*. % % SHOWCS3('CALLBACK',hObject,eventData,handl...
github
jacksky64/imageProcessing-master
StructureTensor2DiffusionTensor3DWeickert.m
.m
imageProcessing-master/segmentation/Image Segmentation & Edge Detection Toolbox/Bc project/GraphSeg/coherenceFilter/functions3D/StructureTensor2DiffusionTensor3DWeickert.m
1,567
utf_8
1e02eb447c16d2e5c366e997f1bca437
function [Dxx,Dxy,Dxz,Dyy,Dyz,Dzz]=StructureTensor2DiffusionTensor3DWeickert(Jxx,Jxy,Jxz,Jyy,Jyz,Jzz,Options) % From Structure Tensor to Diffusion Tensor, a 3D implementation of the 2D % equations by Weickert % % [Dxx,Dxy,Dxz,Dyy,Dyz,Dzz]=StructureTensor2DiffusionTensor3DWeickert(Jxx,Jxy,Jxz,Jyy,Jyz,Jzz,Options) ...
github
jacksky64/imageProcessing-master
drawEdge.m
.m
imageProcessing-master/computationalGeometry/geom2d/geom2d/drawEdge.m
3,439
utf_8
6bd3883bf488326d6364143f61f8ae42
function varargout = drawEdge(varargin) %DRAWEDGE Draw an edge given by 2 points % % drawEdge(x1, y1, x2, y2); % draw an edge between the points (x1 y1) and (x2 y2). % % drawEdge([x1 y1 x2 y2]) ; % drawEdge([x1 y1], [x2 y2]); % specify data either as bundled edge, or as 2 points % % The functi...
github
jacksky64/imageProcessing-master
enclosingCircle.m
.m
imageProcessing-master/computationalGeometry/geom2d/geom2d/enclosingCircle.m
1,890
utf_8
1ee6df61c95316d1cf6c7fac10c49dc4
function circle = enclosingCircle(pts) %ENCLOSINGCIRCLE Find the minimum circle enclosing a set of points. % % CIRCLE = enclosingCircle(POINTS); % compute cirlce CIRCLE=[xc yc r] which enclose all points POINTS given % as an [Nx2] array. % % % Rewritten from a file from % Yazan Ahed (yash78@g...
github
jacksky64/imageProcessing-master
polynomialCurveSetFit.m
.m
imageProcessing-master/computationalGeometry/geom2d/polynomialCurves2d/polynomialCurveSetFit.m
6,539
utf_8
7dca1c7b8d6bdf724a0298ab6004b13f
function varargout = polynomialCurveSetFit(seg, varargin) %POLYNOMIALCURVESETFIT Fit a set of polynomial curves to a segmented image % % COEFS = polynomialCurveSetFit(IMG); % COEFS = polynomialCurveSetFit(IMG, DEG); % Result is a cell array of matrices. Each matrix is DEG+1-by-2, and % contains coefficien...
github
jacksky64/imageProcessing-master
polynomialCurvePosition.m
.m
imageProcessing-master/computationalGeometry/geom2d/polynomialCurves2d/polynomialCurvePosition.m
2,965
utf_8
e8933d9b90e0b043fc8392746e0be496
function pos = polynomialCurvePosition(tBounds, varargin) %POLYNOMIALCURVEPOSITION Compute position on a curve for a given length % % POS = polynomialCurvePosition(T, XCOEF, YCOEF, L) % XCOEF and YCOEF are row vectors of coefficients, in the form: % [a0 a1 a2 ... an] % T is a 1x2 row vector, containin...
github
jacksky64/imageProcessing-master
ShowLRImages.m
.m
imageProcessing-master/SuperResolution/Visualization/ShowLRImages.m
1,991
utf_8
0ddc97784ff38d0ac6eaf73615d4e62a
% Author: Victor May % Contact: mayvic(at)gmail(dot)com % $Date: 2011-11-19 $ % $Revision: $ % % Copyright 2011, Victor May % % All Rights Reserved % % All commercial use of this software, whether direct or indirect, is % strictly prohibited including, without limitation, in...
github
jacksky64/imageProcessing-master
SynthDataset.m
.m
imageProcessing-master/SuperResolution/TestUtils/SynthDataset.m
2,989
utf_8
9bf1d7906f16583abaee6e20996e96e9
% Author: Victor May % Contact: mayvic(at)gmail(dot)com % $Date: 2011-11-19 $ % $Revision: $ % % Copyright 2011, Victor May % % All Rights Reserved % % All commercial use of this software, whether direct or indirect, is % strictly prohibited including, without limitation, in...
github
jacksky64/imageProcessing-master
SREquations.m
.m
imageProcessing-master/SuperResolution/Algorithm/SREquations.m
4,605
utf_8
46a4c282949824aa944ff5b3431b2778
% Author: Victor May % Contact: mayvic(at)gmail(dot)com % $Date: 2011-11-19 $ % $Revision: $ % % Copyright 2011, Victor May % % All Rights Reserved % % All commercial use of this software, whether direct or indirect, is % strictly prohibited including, without limitation, in...
github
jacksky64/imageProcessing-master
GaussianKernel.m
.m
imageProcessing-master/SuperResolution/Algorithm/GaussianKernel.m
1,580
utf_8
4008eefe6d6a055b98ddb93a345ea20c
% Author: Victor May % Contact: mayvic(at)gmail(dot)com % $Date: 2011-11-19 $ % $Revision: $ % % Copyright 2011, Victor May % % All Rights Reserved % % All commercial use of this software, whether direct or indirect, is % strictly prohibited including, without limitation, in...
github
jacksky64/imageProcessing-master
LinearKernel.m
.m
imageProcessing-master/SuperResolution/Algorithm/LinearKernel.m
1,651
utf_8
faa46fcf18cc9d76810196cb3030e3fb
% Author: Victor May % Contact: mayvic(at)gmail(dot)com % $Date: 2011-11-19 $ % $Revision: $ % % Copyright 2011, Victor May % % All Rights Reserved % % All commercial use of this software, whether direct or indirect, is % strictly prohibited including, without limitation, in...
github
jacksky64/imageProcessing-master
GradientDescent.m
.m
imageProcessing-master/SuperResolution/Algorithm/GradientDescent.m
2,025
utf_8
aa5a1f6cd526eb796b6ee62be58549d1
% Author: Victor May % Contact: mayvic(at)gmail(dot)com % $Date: 2011-11-19 $ % $Revision: $ % % Copyright 2011, Victor May % % All Rights Reserved % % All commercial use of this software, whether direct or indirect, is % strictly prohibited including, without limitation, in...
github
jacksky64/imageProcessing-master
xml_write.m
.m
imageProcessing-master/xmlIO/xml_write.m
18,772
utf_8
4f952d9ca0351040dbffeb946e877bb0
function DOMnode = xml_write(filename, tree, RootName, Pref) %XML_WRITE Writes Matlab data structures to XML file % % DESCRIPTION % xml_write( filename, tree) Converts Matlab data structure 'tree' containing % cells, structs, numbers and strings to Document Object Model (DOM) node % tree, then saves it to XML fi...
github
jacksky64/imageProcessing-master
xml_read.m
.m
imageProcessing-master/xmlIO/xml_read.m
24,408
utf_8
4931c3d512db336d744ec43f7fa0b368
function [tree, RootName, DOMnode] = xml_read(xmlfile, Pref) %XML_READ reads xml files and converts them into Matlab's struct tree. % % DESCRIPTION % tree = xml_read(xmlfile) reads 'xmlfile' into data structure 'tree' % % tree = xml_read(xmlfile, Pref) reads 'xmlfile' into data structure 'tree' % according to yo...
github
jacksky64/imageProcessing-master
imwritesc.m
.m
imageProcessing-master/Matlab Code for Computer Vision/Misc/imwritesc.m
1,398
utf_8
68650e74e308c991970251d3bed6b85f
% IMWRITESC - Writes an image to file, rescaling if necessary. % % Usage: imwritesc(im,name) % % Floating point image values are rescaled to the range 0-1 so that no % overflow occurs when writing 8-bit intensity values. The image format to % use is determined by MATLAB from the file ending. % If the image ...
github
jacksky64/imageProcessing-master
circlesineramp.m
.m
imageProcessing-master/Matlab Code for Computer Vision/Misc/circlesineramp.m
5,528
utf_8
07bd0de1d4131398674bfe94cce19c1d
% CIRCLESINERAMP Generates test image for evaluating cyclic colour maps % % Usage: [im, alpha] = circlesineramp(sze, amp, wavelen, p, hole); % [im, alpha] = circlesineramp; % % Arguments: sze - Size of test image. Defaults to 512x512. % amp - Amplitude of sine wave. Defaults to pi/10 % ...
github
jacksky64/imageProcessing-master
showsurf.m
.m
imageProcessing-master/Matlab Code for Computer Vision/Misc/showsurf.m
3,887
utf_8
1f50f8abbac642a925b579a58b8e724d
% SHOWSURF - shows parametric surface in a convenient way % % This function wraps up the commands I usually use to display a surface. % % The surface is displayed using SURFL with interpolated shading, in my % favourite colormap of 'copper', with rotate3d on, and axis vis3d set. % % Usage can be any of the following % ...
github
jacksky64/imageProcessing-master
randmap.m
.m
imageProcessing-master/Matlab Code for Computer Vision/Misc/randmap.m
731
utf_8
620b6965c1e7db6de65c332753df18f4
% RANDMAP Generates a colourmap of random colours % % Useful for displaying a labeled segmented image % % map = randmap(N) % % Argument: N - Number of elements in the colourmap. Default = 1024. % This ensures images that have been segmented up to 1024 % regions will (well, are more l...
github
jacksky64/imageProcessing-master
viewlabspace2.m
.m
imageProcessing-master/Matlab Code for Computer Vision/Misc/viewlabspace2.m
5,039
utf_8
27e0e43cd469627a1e9eefb0e5ad2119
% VIEWLABSPACE2 Visualisation of L*a*b* space % % Usage: viewlabspace2(dtheta) % % Argument: dtheta - Optional specification of increment in angle of plane % through L*a*b* space. Defaults to pi/30 % % Function allows interactive viewing of a sequence of images corresponding to % different ve...
github
jacksky64/imageProcessing-master
chirplin.m
.m
imageProcessing-master/Matlab Code for Computer Vision/Misc/chirplin.m
2,163
utf_8
c6a50bf097f1b12fc8896b68dc94130b
% CHIRPLIN Generates linear chirp test image % % The test image consists of a linear chirp signal in the horizontal direction % with the amplitude of the chirp being modulated from 1 at the top of the image % to 0 at the bottom. % % Usage: im = chirplin(sze, w0, w1, p) % % Arguments: sze - [rows cols] specifying ...
github
jacksky64/imageProcessing-master
supertorus.m
.m
imageProcessing-master/Matlab Code for Computer Vision/Misc/supertorus.m
2,444
utf_8
91c1e7e27c0219d233582240dcb7c17e
% SUPERTORUS - generates a 'supertorus' surface % % Usage: % [x,y,z] = supertorus(xscale, yscale, zscale, rad, e1, e2, n) % % Arguments: % xscale, yscale, zscale - Scaling in the x, y and z directions. % e1, e2 - Exponents of the x and y coords. % rad - Mean radius of torus....
github
jacksky64/imageProcessing-master
cmyk2rgb.m
.m
imageProcessing-master/Matlab Code for Computer Vision/Misc/cmyk2rgb.m
890
utf_8
6d12e2501c39dec555e670c4190cf6e7
% CMYK2RGB Basic conversion of CMYK colour table to RGB % % Usage: map = cmyk2rgb(cmyk) % % Argument: cmyk - N x 4 table of cmyk values (assumed 0 - Returns) % 1: map - N x 3 table of RGB values % % Note that you can use MATLAB's functions MAKECFORM and APPLYCFORM to % perform the conversion. However I find tha...
github
jacksky64/imageProcessing-master
graymap.m
.m
imageProcessing-master/Matlab Code for Computer Vision/Misc/graymap.m
865
utf_8
b4f07ef527be1d1937f6ade25c5c67ac
% GRAYMAP Generates a gray colourmap over a specified range % % Usage: map = graymap(gmin, gmax, N) % % Arguments: gmin, gmax - Minimum and maximum gray values desired in % colourmap. Defaults are 0 and 1 % N - Number of elements in the colourmap. Default = 256. % % See al...
github
jacksky64/imageProcessing-master
findimages.m
.m
imageProcessing-master/Matlab Code for Computer Vision/Misc/findimages.m
801
utf_8
20b68f3c818e0bc36b576390784e740c
% FINDIMAGES - invokes image dialog box for multiple image loading % % Usage: [im, filename] = findimages % % Returns: % im - Cell array of images % filename - Cell arrauy of filenames of images % % See Also: FINDIMAGE % Peter Kovesi % Centre for Exploration Targeting % The University of Western A...
github
jacksky64/imageProcessing-master
showlogfft.m
.m
imageProcessing-master/Matlab Code for Computer Vision/Misc/showlogfft.m
1,718
utf_8
8bf452f34bee6609519ee61053657aa2
% SHOWLOGFFT - Displays log amplitude spectrum of an fft. % % Usage: showlogfft(ft, figNo) % % Arguments: ft - Fourier transform to be displayed % figNo - Optional figure number to display image in. % % The fft is quadrant shifted to place zero frequency at the centre and the % log of the amplitude dis...
github
jacksky64/imageProcessing-master
polyfit2d.m
.m
imageProcessing-master/Matlab Code for Computer Vision/Misc/polyfit2d.m
2,438
utf_8
a05847f0b684d1549e8bf19c81e011eb
% POLYFIT2D Fits 2D polynomial surface to data % % Usage: c = polyfit2d(x, y, z, degree) % % Arguments: x, y, z - coordinates of data points % degree - degree of polynomial surface % % Returns: c - The coefficients of polynomial surface. % There will ...
github
jacksky64/imageProcessing-master
rgb2lab.m
.m
imageProcessing-master/Matlab Code for Computer Vision/Misc/rgb2lab.m
1,063
utf_8
29f5354eef11a490d28c05d752252407
% RGB2LAB - RGB to L*a*b* colour space % % Usage: Lab = rgb2lab(im, wp) % % Arguments: im - RGB image or Nx3 colourmap for conversion % wp - Optional string specifying the adapted white point. % This defaults to 'D65'. % % Returns: Lab - The converted image or colourmap. % % This functio...
github
jacksky64/imageProcessing-master
pathlist.m
.m
imageProcessing-master/Matlab Code for Computer Vision/Misc/pathlist.m
1,202
utf_8
2551671f5f3c9a17293d82ed6aee8167
% PATHLIST Produces a cell array of directories along a directory path % % Usage: plist = pathlist(fullpath) % % Example: If fullpath = '/Users/pk/Matlab/Spatial' % plist = % '/' '/Users/' '/Users/pk/' '/Users/pk/Matlab/' '/Users/pk/Matlab/Spatial' % % plist{end} is always fullpath % plist{end-1} is ...
github
jacksky64/imageProcessing-master
superquad.m
.m
imageProcessing-master/Matlab Code for Computer Vision/Misc/superquad.m
2,798
utf_8
2dfc95eb41c2bf03bb78f5f0bb8b7c07
% SUPERQUAD - generates a superquadratic surface % % Usage: [x,y,z] = superquad(xscale, yscale, zscale, e1, e2, n) % % Arguments: % xscale, yscale, zscale - Scaling in the x, y and z directions. % e1, e2 - Exponents of the x and y coords. % n - Number of subdivisions of logitude an...
github
jacksky64/imageProcessing-master
hsvmap.m
.m
imageProcessing-master/Matlab Code for Computer Vision/Misc/hsvmap.m
1,842
utf_8
ec6d79772fe1bba81deabf0312847a24
% HSVMAP Generates an HSV colourmap over a specified range of hues % % The function generates colours over a specified range of hues from the HSV % colourtmap % % map = hsvmap(hmin, hmax, N) % % Arguments: hmin - Minimum hue value 0 - 1. Default = 0 % hmax - Maximum hue value 0 - 2. Default = 1 % ...
github
jacksky64/imageProcessing-master
rgb2nrgb.m
.m
imageProcessing-master/Matlab Code for Computer Vision/Misc/rgb2nrgb.m
1,125
utf_8
743c25dcc6996a893f06243bfc96fa8e
% RGB2NRGB - RGB to normalised RGB % % Usage: nrgb = rgb2nrgb(im, offset) % % Arguments: im - Colour image to be normalised % offset - Optional value added to (R+G+B) to discount low % intensity colour values. Defaults to 1 % % r = R / (R + G + B) etc % Copyright (c) 2009 Peter ...
github
jacksky64/imageProcessing-master
bbspline.m
.m
imageProcessing-master/Matlab Code for Computer Vision/Misc/bbspline.m
2,976
utf_8
104e9e1224ddb3f6d34b0cca8a1f5bfa
% BBSPLINE - Basic B-spline % % Usage: S = bbspline(P, k, N) % % Arguments: P - [dim x Npts] array of control points % k - order of spline (>= 2). % k = 2: Linear % k = 3: Quadratic, etc % N - Optional number of points to evaluate along % ...
github
jacksky64/imageProcessing-master
weightedhistc.m
.m
imageProcessing-master/Matlab Code for Computer Vision/Misc/weightedhistc.m
1,498
utf_8
b474157c0a9fa58fc7eb358c7c7ccc37
% WEIGHTEDHISTC Weighted histogram count % % This function provides a basic equivalent to MATLAB's HISTC function for % weighted data. % % Usage: h = weightedhistc(vals, weights, edges) % % Arguments: % vals - vector of values. % weights - vector of weights associated with each element in vals. vals % ...
github
jacksky64/imageProcessing-master
bilateralmap.m
.m
imageProcessing-master/Matlab Code for Computer Vision/Misc/bilateralmap.m
2,549
utf_8
c9a16e3cdc46d415b9bb829195bb212e
% BILATERALMAP Generates a bilateral colourmap % % This function generate a colourmap where the first half has one hue and the % second half has another hue. Saturation varies linearly from 0 in the middle % to 1 at ech end. This gives a colourmap which varies from white at the middle % to an increasing saturation of ...
github
jacksky64/imageProcessing-master
clouds.m
.m
imageProcessing-master/Matlab Code for Computer Vision/Misc/clouds.m
2,219
utf_8
55889e6ed17ca0979b08f7fb102f76e6
% CLOUDS % % Function to create a movie of noise images having 1/f amplitude spectum properties % % Usage: clouds(size, factor, meandev, stddev, lowvel, velfactor, nframes) % % size - size of image to produce % factor - controls spectrum = 1/(f^factor) % meandev - mean change in phaseangle per fr...
github
jacksky64/imageProcessing-master
matprint.m
.m
imageProcessing-master/Matlab Code for Computer Vision/Misc/matprint.m
1,453
utf_8
bb847e0506584e9e043482b7a69bcbb4
% MATPRINT - prints a matrix with specified format string % % Usage: matprint(a, fmt, fid) % % a - Matrix to be printed. % fmt - C style format string to use for each value. % fid - Optional file id. % % Eg. matprint(a,'%3.1f') will print each entry to 1 decimal place ...
github
jacksky64/imageProcessing-master
noiseonf.m
.m
imageProcessing-master/Matlab Code for Computer Vision/Misc/noiseonf.m
2,320
utf_8
fad84fc70d1aff602b459ef9097309a4
% NOISEONF - Creates 1/f spectrum noise images. % % Function to create noise images having 1/f amplitude spectum properties. % When displayed as a surface these images also generate great landscape % terrain. % % Usage: im = noiseonf(size, factor) % % size - A 1 or 2-vector specifying size of image to produce...
github
jacksky64/imageProcessing-master
fillnan.m
.m
imageProcessing-master/Matlab Code for Computer Vision/Misc/fillnan.m
1,968
utf_8
d3651b29d884e867d1804ea9c4dc1fd7
% FILLNAN - fills NaN values in an image with closest non Nan value % % NaN values in an image are replaced with the value in the closest pixel that % is not a NaN. This can be used as a crude (but quick) 'inpainting' function % to allow a FFT to be computed on an image containing NaN values. While the % 'inpainting...
github
jacksky64/imageProcessing-master
testdbscan.m
.m
imageProcessing-master/Matlab Code for Computer Vision/Misc/testdbscan.m
2,247
utf_8
aa690910417795cfda803d2e25a271c2
% TESTDBSCAN Program to test/demonstrate the DBSCAN clustering algorithm % % Simple usage: testdbscan; % % Full usage: [C, ptsC] = testdbscan(E, minPts) % % % Arguments: % E - Distance threshold for clustering. Defaults to 0.3 % minPts - Minimum number of points required to form a...
github
jacksky64/imageProcessing-master
polartrans.m
.m
imageProcessing-master/Matlab Code for Computer Vision/Misc/polartrans.m
3,367
utf_8
9aed63869d7ac444d0e2198fcd91e306
% POLARTRANS - Transforms image to polar coordinates % % Usage: pim = polartrans(im, nrad, ntheta, cx, cy, linlog, shape) % % Arguments: % im - image to be transformed. % nrad - number of radius values. % ntheta - number of theta values. % cx, cy - optional specification...
github
jacksky64/imageProcessing-master
labmap.m
.m
imageProcessing-master/Matlab Code for Computer Vision/Misc/labmap.m
8,483
utf_8
e7cda593bf59d9e52b88e7ef4e13bb57
% LABMAP - Generates a colourmap based on L*a*b* space % % This function can generate a wide range of colourmaps but it can be a bit % difficult to drive... % % The idea: Create a spiral path within in L*a*b* space to use as a % colourmap. L*a*b* space is designed to be perceptually uniform so, in % principle, it shoul...
github
jacksky64/imageProcessing-master
basename.m
.m
imageProcessing-master/Matlab Code for Computer Vision/Misc/basename.m
549
utf_8
619048021d1d621f2344798ad8fec477
% BASENAME Trims off the .ending of a filename % % Usage: bname = basename(name) % % Argument: name - Name of a file with a .ending % Returns: bname - Name with the suffix trimmed % Peter Kovesi % Centre for Exploration Targeting % The University of Western Australia % peter.kovesi at uwa edu au % % August 2010 ...
github
jacksky64/imageProcessing-master
showfft.m
.m
imageProcessing-master/Matlab Code for Computer Vision/Misc/showfft.m
1,588
utf_8
a10b28024b7bb20f06be15f948efa5b2
% SHOWFFT - Displays amplitude spectrum of an fft. % % Usage: showfft(ft, figNo) % % Arguments: ft - Fourier transform to be displayed % figNo - Optional figure number to display image in. % % The fft is quadrant shifted to place zero frequency at the centre. % % If figNo is omitted a new figure window...
github
jacksky64/imageProcessing-master
deres.m
.m
imageProcessing-master/Matlab Code for Computer Vision/Misc/deres.m
525
utf_8
013e5ac5596abe1811cec7954e1abca0
% DERES - Deresolves an image. % % Usage: im2 = deres(im, s) % % Arguments: im - image to be deresolved % s = deresolution factor % % Returns the deresolved image % PK October 2000 function im2 = deres(im, s) if ndims(im) == 3 % Assume colour image im2 = zeros(size(im)); im2(:,:,1) = blkproc...
github
jacksky64/imageProcessing-master
showangularim.m
.m
imageProcessing-master/Matlab Code for Computer Vision/Misc/showangularim.m
5,543
utf_8
75afab7bd1c9c526602370d0b685a282
% SHOWANGULARIM - Displays image of angular data % % For angular data to be rendered correctly it is important that the data values % are respected so that data values are correctly assigned to specific entries % in a cyclic colour map. The assignment of values to colours also depends on % whether the data is cyclic o...
github
jacksky64/imageProcessing-master
sineramp.m
.m
imageProcessing-master/Matlab Code for Computer Vision/Misc/sineramp.m
6,455
utf_8
05497c013c694f1734bc5d8f1a51fe4a
% SINERAMP - Generates sine on a ramp colour map test image % % The test image consists of a sine wave superimposed on a ramp function The % amplitude of the sine wave is modulated from its full value at the top of the % image to 0 at the bottom. % % The image is useful for evaluating the effectiveness of different c...
github
jacksky64/imageProcessing-master
pbspline.m
.m
imageProcessing-master/Matlab Code for Computer Vision/Misc/pbspline.m
3,825
utf_8
dc440d359c84c00b130be8c1b75884a8
% PBSPLINE - Basic Periodic B-spline % % Usage: S = pbspline(P, k, N) % % Arguments: P - [dim x Npts] array of control points % k - order of spline (>= 2). % k = 2: Linear % k = 3: Quadratic, etc % N - Optional number of points to evaluate along % ...
github
jacksky64/imageProcessing-master
cloud9.m
.m
imageProcessing-master/Matlab Code for Computer Vision/Misc/cloud9.m
3,590
utf_8
3ce5e64cce1547247f3b914e7a6fc5c8
% CLOUD9 - Cloud movie of 1/f noise. % % Function to create a movie of noise images having 1/f amplitude spectum % properties. % % Usage: CloudMovie = cloud9(size, factor, nturns, velfactor, nframes) % % size - [rows cols] size of image to produce % factor - controls spectrum = 1/(f^factor) % ntu...
github
jacksky64/imageProcessing-master
circle.m
.m
imageProcessing-master/Matlab Code for Computer Vision/Misc/circle.m
1,226
utf_8
3ce939f9b481cd974576f40a598a69b6
% CIRCLE - Draws a circle. % % Usage: circle(c, r, n, col) % % Arguments: c - A 2-vector [x y] specifying the centre. % r - The radius. % n - Optional number of sides in the polygonal approximation. % (defualt is 16 sides) % col - optional colour, defaults to blue...
github
jacksky64/imageProcessing-master
showdivim.m
.m
imageProcessing-master/Matlab Code for Computer Vision/Misc/showdivim.m
2,519
utf_8
9205933da4b7d7051f7944c5724dc03b
% SHOWDIVIM - Displays image with diverging colour map % % For data to be displayed correctly with a diverging colour map it is % important that the data values are respected so that the reference value in % the data is correctly associated with the centre entry of a diverging % colour map. % % In contrast, default dis...
github
jacksky64/imageProcessing-master
applycolourmap.m
.m
imageProcessing-master/Matlab Code for Computer Vision/Misc/applycolourmap.m
2,248
utf_8
cdab830abbc0e87f8934481ecf26f5c4
% APPLYCOLOURMAP Applies colourmap to a single channel image to obtain an RGB result % % Usage: rgbim = applycolourmap(im, map, range) % % Arguments: im - Single channel image to apply colourmap to. % map - RGB colourmap of size ncolours x 3. RGB values are % floating point values in the...
github
jacksky64/imageProcessing-master
derespolar.m
.m
imageProcessing-master/Matlab Code for Computer Vision/Misc/derespolar.m
2,543
utf_8
16675236c863fa3ce1c748e6f5264835
% DERESPOLAR - Desresolves image in polar coordinates. % % Performs a deresolution operation on an image using Polar Coordinates % % Usage: deres = derespolar(im, nr, na, xc, yc) % where: nr = resolution in the radial direction % na = resolution in the angular direction % ...
github
jacksky64/imageProcessing-master
map2geosofttbl.m
.m
imageProcessing-master/Matlab Code for Computer Vision/Misc/map2geosofttbl.m
1,642
utf_8
8886e0a749224765428fd3f92e8ac2c4
% MAP2GEOSOFTTBL Converts MATLAB colourmap to Geosoft .tbl file % % Usage: map2geosofttbl(map, filename, cmyk) % % Arguments: map - N x 3 rgb colourmap % filename - Output filename % cmyk - Optional flag 0/1 indicating whether CMYK values should % be written. Defaults to 0 whe...
github
jacksky64/imageProcessing-master
digipts.m
.m
imageProcessing-master/Matlab Code for Computer Vision/Misc/digipts.m
876
utf_8
95a93e018771e295649e1cc41496df4e
% DIGIPTS - digitise points in an image % % Function to digitise points in an image. Points are digitised by clicking % with the left mouse button. Clicking any other button terminates the % function. Each location digitised is marked with a red '+'. % % Usage: [u,v] = digipts % % where u and v are nx1 arrays of x...
github
jacksky64/imageProcessing-master
polyval2d.m
.m
imageProcessing-master/Matlab Code for Computer Vision/Misc/polyval2d.m
1,403
utf_8
699c1158bb9d569730ba4b087241556c
% POLYVAL2D Evaluates 2D polynomial surface generated by POLYFIT2D % % Usage: z = polyval2d(x, y, c) % % Arguments: x, y - Locations where polynomial is to be evaluated % c - Coefficients of polynomial as generated by polyfit2d % % Returns z - The surface values evalated ...
github
jacksky64/imageProcessing-master
implace.m
.m
imageProcessing-master/Matlab Code for Computer Vision/Misc/implace.m
3,014
utf_8
e28ca1e9784b3b7297c12b70c7278015
% IMPLACE - place image at specified location within larger image % % Usage: newim = implace(im1, im2, roff, coff) % % Arguments: % % im1 - Image that im2 is to be placed in. % im2 - Image to be placed. % roff - Row and column offset of placement of im2 relative % coff to im1, (0,0) aligns ...