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
HildoBijl/GPRT-master
ghostscript.m
.m
GPRT-master/ExportFig/ghostscript.m
7,706
utf_8
92dbafb8d4fb243cae8716c6ecb0bbe5
function varargout = ghostscript(cmd) %GHOSTSCRIPT Calls a local GhostScript executable with the input command % % Example: % [status result] = ghostscript(cmd) % % Attempts to locate a ghostscript executable, finally asking the user to % specify the directory ghostcript was installed into. The resulting path % is s...
github
HildoBijl/GPRT-master
fix_lines.m
.m
GPRT-master/ExportFig/fix_lines.m
6,290
utf_8
8437006b104957762090e3d875688cb6
%FIX_LINES Improves the line style of eps files generated by print % % Examples: % fix_lines fname % fix_lines fname fname2 % fstrm_out = fixlines(fstrm_in) % % This function improves the style of lines in eps files generated by % MATLAB's print function, making them more similar to those seen on % screen. Grid ...
github
HildoBijl/GPRT-master
trainNIGP.m
.m
GPRT-master/NIGP/trainNIGP.m
4,924
utf_8
971d671d11f634074a18cee35e32f7fc
function [model fx] = trainNIGP(x,y,Nls,mode,seard,lsipn) % [lhyp fx] = trainNIGP(x,y,Nls,seard,lsipn) % Function to train the NIGP model by an iterative method. For each % iteration the slope values used to refer the input noise to the output % are fixed and the GP hyperparameters (including the input noise variance) ...
github
HildoBijl/GPRT-master
minimize.m
.m
GPRT-master/NIGP/util/minimize.m
11,956
utf_8
1a04ca5480d068c9d43bc4680884662f
% minimize.m - minimize a smooth differentiable multivariate function using % LBFGS (Limited memory LBFGS) or CG (Conjugate Gradients) % Usage: [X, fX, i] = minimize(X, F, p, other, ... ) % where % X is an initial guess (any type: vector, matrix, cell array, struct) % F is the objective function (function poi...
github
HildoBijl/GPRT-master
sq_dist.m
.m
GPRT-master/NIGP/util/sq_dist.m
2,235
utf_8
5252f315e07b2985bd19570322ff7d88
% sq_dist - a function to compute a matrix of all pairwise squared distances % between two sets of vectors, stored in the columns of the two matrices, a % (of size D by n) and b (of size D by m). If only a single argument is given % or the second matrix is empty, the missing matrix is taken to be identical % to the fir...
github
HildoBijl/GPRT-master
solve_chol.m
.m
GPRT-master/NIGP/util/solve_chol.m
1,038
utf_8
4f437e3b7acc2f80cd39a13f2a3e871c
% solve_chol - solve linear equations from the Cholesky factorization. % Solve A*X = B for X, where A is square, symmetric, positive definite. The % input to the function is R the Cholesky decomposition of A and the matrix B. % Example: X = solve_chol(chol(A),B); % % NOTE: The program code is written in the C language ...
github
HildoBijl/GPRT-master
tprod_testcases.m
.m
GPRT-master/NIGP/tprod/tprod_testcases.m
17,197
utf_8
26b0e1b54b6867e5d62e8956c84e01bd
function []=tprod_testcases(testCases,debugin) % This file contains lots of test-cases to test the performance of the tprod % files vs. the matlab built-ins. % % % Copyright 2006- by Jason D.R. Farquhar (jdrf@zepler.org) % Permission is granted for anyone to copy, use, or modify this % software and accompanying do...
github
HildoBijl/GPRT-master
etprod.m
.m
GPRT-master/NIGP/tprod/etprod.m
3,882
utf_8
2f529c6b86be54251a59ae7f9db81d98
function [C,Atp,Btp]=etprod(Cidx,A,Aidx,B,Bidx) % tprod wrapper to make calls more similar to Einstein Summation Convention % % [C,Atp,Btp]=etprod(Cidx,A,Aidx,B,Bidx); % Wrapper function for tprod to map between Einstein summation % convetion (ESC) and tprod's numeric calling convention e.g. % 1) Matrix Matrix product:...
github
HildoBijl/GPRT-master
constantController.m
.m
GPRT-master/PitchPlunge/Controllers/constantController.m
263
utf_8
9285700fd289f559965c12744143735b
% This file contains a constant controller, which returns the value set in the global constantControllerValue parameter. function out = constantController(h, alpha, hDot, alphaDot, U, t, reward) global constantControllerValue; out = constantControllerValue; end
github
emaggiori/CaffeRemoteSensing-master
classification_demo.m
.m
CaffeRemoteSensing-master/matlab/demo/classification_demo.m
5,412
utf_8
8f46deabe6cde287c4759f3bc8b7f819
function [scores, maxlabel] = classification_demo(im, use_gpu) % [scores, maxlabel] = classification_demo(im, use_gpu) % % Image classification demo using BVLC CaffeNet. % % IMPORTANT: before you run this demo, you should download BVLC CaffeNet % from Model Zoo (http://caffe.berkeleyvision.org/model_zoo.html) % % *****...
github
dbekaert/TRAIN-master
grdinfo2.m
.m
TRAIN-master/matlab/grdinfo2.m
5,166
utf_8
f34c1136b43e9a05d605a3d0840bef5e
function d = grdinfo2(file); %GRDINFO2 Print information about a GMT grdfile (netCDF format, GMT v3 or v4) % % Uses NetCDF libraries to display information about a GMT grid file. % Duplicates (some) functionality of the program grdinfo (which requires % compilation as a mexcdf function on each architecture) using % Ma...
github
t-taniai/TSS_CVPR2016_EvaluationKit-master
warp_image.m
.m
TSS_CVPR2016_EvaluationKit-master/EvalToolMATLAB/warp_image.m
616
utf_8
779f9a3c0655f3358a22cefca0e57a7a
% function to warp images with different dimensions function [warpI2,mask] = warp_image(im,vx,vy,mask) if nargin < 4 || isempty(mask) mask = true(size(1:2)); end [height2,width2,nchannels]=size(im); [height1,width1]=size(vx); vx(~mask) = 10000; vy(~mask) = 10000; [xx,yy] = meshgrid(1:width2,1:height2); [XX,YY] = ...
github
t-taniai/TSS_CVPR2016_EvaluationKit-master
compute_scores.m
.m
TSS_CVPR2016_EvaluationKit-master/EvalToolMATLAB/compute_scores.m
561
utf_8
84f4fa3a30f1bb2d4a8b3ddd9bf83135
function [ faccs, segIUR ] = compute_scores( mask, flow, maskGT, flowGT, thresholds ) if ~isempty(mask) segIUR = sum(sum(maskGT & mask)) / sum(sum(maskGT | mask)); else segIUR = 0; end if ~isempty(flow) fvalidGT = flowGT(:,:,1) < 1e9; nvalidGT = sum(fvalidGT(:)); ...
github
t-taniai/TSS_CVPR2016_EvaluationKit-master
RunEvaluation.m
.m
TSS_CVPR2016_EvaluationKit-master/EvalToolMATLAB/RunEvaluation.m
4,520
utf_8
c351013cc293767f652fd85ced897869
%% Input parameters and files % resultsDir : Each subdirectory of resultsDir must contain flow1.flo, % flow2.flo, mask1.png and mask2.png to be evaluated. % datasetDir : Each subdirectory of datasetDir must contain flow1.flo, % flow2.flo, mask1.png and mask2.png as groundtruth. %% Output fil...
github
t-taniai/TSS_CVPR2016_EvaluationKit-master
RunVisualization.m
.m
TSS_CVPR2016_EvaluationKit-master/EvalToolMATLAB/RunVisualization.m
3,885
utf_8
78dc70545f733f3819b6cbc401325ed6
%% Input parameters and files % resultsDir : Each subdirectory of resultsDir must contain flow1.flo, % flow2.flo, mask1.png and mask2.png to be evaluated. % datasetDir : Each subdirectory of datasetDir must contain image1.png and image2.png. %% Output files % warped*.png, foreground*.png, flow*.png in eac...
github
t-taniai/TSS_CVPR2016_EvaluationKit-master
computeColor.m
.m
TSS_CVPR2016_EvaluationKit-master/EvalToolMATLAB/flow-code-matlab/computeColor.m
3,142
utf_8
a36a650437bc93d4d8ffe079fe712901
function img = computeColor(u,v) % computeColor color codes flow field U, V % According to the c++ source code of Daniel Scharstein % Contact: schar@middlebury.edu % Author: Deqing Sun, Department of Computer Science, Brown University % Contact: dqsun@cs.brown.edu % $Date: 2007-10-31 21:20:30 (Wed, 31 O...
github
LabForComputationalVision/textureSynth-master
adjustCorr2s.m
.m
textureSynth-master/adjustCorr2s.m
2,442
utf_8
0e313ae95e035b52e536de603731fc1f
% [newX, snr1, snr2, Mx, My] = adjustCorr2s(X, Cx, Y, Cxy, MODE, p) % % Linearly adjust variables in X to have correlation Cx, and cross-correlation Cxy. % Rows of X, Y, and newX are samples of (random) row-vectors, such that: % 1: newX = X * Mx + Y * My % 2: newX' * newX = Cx % 3: newX' * Y = Cxy % % MODE is...
github
LabForComputationalVision/textureSynth-master
adjustCorr1s.m
.m
textureSynth-master/adjustCorr1s.m
1,366
utf_8
647a84b4e7fb12e97562fbe1d1f26e22
% [newX, snr1, M] = adjustCorr1s(X, Cx, MODE, p) % % Linearly adjust variables in X to have correlation Cx. % Rows of X and newX are samples of a (random) row-vector, such that: % 1: newX = X * M % 2: newX' * newX = Cx % % MODE is optional: % 0 => choose randomly from the space of linear solutions % 1...
github
eurika-kaiser/matCROM-master
persistenceTimeFromData.m
.m
matCROM-master/src/@CROM/persistenceTimeFromData.m
3,407
utf_8
c2aa85ebfdb365097e1be1302c2e8111
function [tau,ptau,histogram,buckets] = persistenceTimeFromData(c1_Labels) nCluster = length(unique(c1_Labels)); M = length(c1_Labels); for iC = 1:nCluster iTau = 0; TF = (c1_Labels == iC); m = 1; while m<M while TF(m) == 0 && m<M m = m + 1; end if TF(m) == 1 ...
github
eurika-kaiser/matCROM-master
determineModelError.m
.m
matCROM-master/src/@CROM/private/determineModelError.m
2,746
utf_8
8003cf193b764ca4041c5e84968318a9
function [d2,t,tau] = determineModelError(P,c1_Centers,c1_Labels, ai, dt) % ------------------------------------- % % --- determine model error ------ % % --- squared distance ------ % % ----@created: 2014-01-27 EK --------- % % ----@depends: ----- % % ---------------------------------...
github
eurika-kaiser/matCROM-master
determineClusterTransitionMat.m
.m
matCROM-master/src/@CROM/private/determineClusterTransitionMat.m
8,025
utf_8
3fd75b4538e76292a8ceff94be2a21ed
function [P, c1_Labels, c1_Centers] = determineClusterTransitionMat(c0_Labels, c0_Centers, M, type, mTR) % ---------------------------------- % % --- Cluster transition matrix ---- % % --- @created: 2013-09-06 EK ---- % % --- @depend : determineTransitionProbabilityOfOneCluster % ----@revised: 2014-02-10 EK check % ...
github
eurika-kaiser/matCROM-master
determineVarianceOfCTM.m
.m
matCROM-master/src/@CROM/private/determineVarianceOfCTM.m
1,840
utf_8
c1f81f14443e82762722831a5311d36e
function Variance = determineVarianceOfCTM(ai,K, q, c1_Labels, c1_Centers, P, pinf) % ------------------------------------- % % --- determine variance of CTM ------- % % ----@created: 2013-10-30 EK --------- % % ----@depends: ----- % % ------------------------------------- % %% Init p0 = zeros(size(...
github
eurika-kaiser/matCROM-master
plotEvolutionOfProbability.m
.m
matCROM-master/src/+visual/plotEvolutionOfProbability.m
3,522
utf_8
06adbd81b25dc09ca8935675b253d2ed
classdef plotEvolutionOfProbability < handle % Class for plotting the evolution of the probability distribution properties (Hidden) Data Time options Data2plot end methods function obj = plotEvolutionOfProbability(varargin) % Constructor if l...
github
eurika-kaiser/matCROM-master
plotClusterMatrix.m
.m
matCROM-master/src/+visual/plotClusterMatrix.m
2,685
utf_8
f5cbe70a3a0e0a787b4e6ae2499cf770
classdef plotClusterMatrix < handle % ------------------------------------- % % --- plot matrix ---- % % ----@created 2013-09-24 EK ---- % % --- @revised 2014-10-04 EK ---- % % ------------------------------------- % properties (SetAccess = public, GetAccess = public...
github
eurika-kaiser/matCROM-master
plotTimeSeries.m
.m
matCROM-master/src/+visual/plotTimeSeries.m
2,018
utf_8
dd490734f5f80d9e303ec2c77b55c567
classdef plotTimeSeries < handle % ------------------------------------- % % --- plot cluster assignment ---- % % ----@created 2013-09-24 EK ---- % % --- @revised 2014-10-04 EK ---- % % ------------------------------------- % properties (Hidden) Data Time ...
github
eurika-kaiser/matCROM-master
plotFTLE.m
.m
matCROM-master/src/+visual/plotFTLE.m
3,055
utf_8
b3e20e577a56ee3859bcda82a7e44bbf
classdef plotFTLE < handle % Class for plotting the evolution of the probability distribution properties (Hidden) Data options end methods function obj = plotFTLE(varargin) % Constructor if length(varargin) < 2 options_user = struct; ...
github
eurika-kaiser/matCROM-master
plotSpectrum.m
.m
matCROM-master/src/+visual/plotSpectrum.m
5,675
utf_8
e77ef49b33dafb370f75ec4f4212e8c8
classdef plotSpectrum < handle % Class for plotting the evolution of the probability distribution properties(SetAccess=public) %Hidden() Data Magn options end methods function obj = plotSpectrum(varargin) % Constructor % if length(vararg...
github
eurika-kaiser/matCROM-master
plotLabels.m
.m
matCROM-master/src/+visual/plotLabels.m
2,823
utf_8
201d47b1dada2df29aef801617f5bec6
classdef plotLabels < handle % ------------------------------------- % % --- plot cluster assignment ---- % % ----@created 2013-09-24 EK ---- % % --- @revised 2014-10-04 EK ---- % % ------------------------------------- % properties (Hidden) Data end properties (...
github
eurika-kaiser/matCROM-master
plotKLE.m
.m
matCROM-master/src/+visual/plotKLE.m
7,805
utf_8
9095454b137d07b60fb5d990c5f89a82
classdef plotKLE < handle % Class for plotting the evolution of the probability distribution properties (Hidden) Data options end methods function obj = plotKLE(varargin) % Constructor if length(varargin) < 2 options_user = struct; ...
github
eurika-kaiser/matCROM-master
plotClusterProbMat.m
.m
matCROM-master/src/+visual/plotClusterProbMat.m
1,978
utf_8
73850ff4988208b054e3ef1f43ce21df
classdef plotClusterProbMat < handle % ------------------------------------- % % --- plot cluster assignment ---- % % ----@created 2013-09-24 EK ---- % % --- @revised 2014-10-04 EK ---- % % ------------------------------------- % properties (Hidden) Name Data ...
github
isacra/isacradoctoralstuffs-master
findcoord.m
.m
isacradoctoralstuffs-master/Apps_And_Libs/Direct-Sampling/Advanced_DS_matlab/findcoord.m
453
utf_8
4a67614884de55819f6f448917d06045
%function that finds the coordinates of a node in a cartesian grid. %Coordinates do not depend in the size of the grid in z, because we assume %that the point is not out of the grid. %Inputs are the id of the node (in Matlab notation: y, then x, then z), %then the size of the grid in y and x. function [y,x,z] = findco...
github
isacra/isacradoctoralstuffs-master
Bunch_DS.m
.m
isacradoctoralstuffs-master/Apps_And_Libs/Direct-Sampling/Bunch-DS Code/Bunch_DS.m
26,105
utf_8
69475d70d777847e3b1cada416064779
%--------------------------------------------------------------------------------------------- % Authors: Hassan Rezaee, Gregoire Mariethoz % Paper: "Multiple-Point Geostatistical Simulation Using Bunch-Pasting Direct Sampling Method" %------------------------------------------------------------------------------------...
github
isacra/isacradoctoralstuffs-master
table_02.m
.m
isacradoctoralstuffs-master/Apps_And_Libs/scripts_lab/Comparison_Methods/Fortunato_Oliveira_FD_supplementary_material/scripts/table_02.m
3,706
utf_8
6384e8294aca8ecefc4329f8576bea0b
function table_02() clc; clear all; close all; path (path, genpath(pwd)); %========================================================================== % O P T I O N S %========================================================================== % methods to run: methods = {'none', 'Sha...
github
isacra/isacradoctoralstuffs-master
table_01.m
.m
isacradoctoralstuffs-master/Apps_And_Libs/scripts_lab/Comparison_Methods/Fortunato_Oliveira_FD_supplementary_material/scripts/table_01.m
6,613
utf_8
24d47b0098fa65920d6b7fb3986efc65
function table_01() clc; clear all; close all; path (path, genpath(pwd)); %========================================================================== % O P T I O N S %========================================================================== % methods to run: methods = {'Lucy_Richarso...
github
isacra/isacradoctoralstuffs-master
table_03.m
.m
isacradoctoralstuffs-master/Apps_And_Libs/scripts_lab/Comparison_Methods/Fortunato_Oliveira_FD_supplementary_material/scripts/table_03.m
5,950
utf_8
ffc9d48d1670a2a1cc72cdad82f856b0
function table_03() clc; clear all; close all; path (path, genpath(pwd)); %========================================================================== % O P T I O N S %========================================================================== % methods to run: methods = {'Lucy_Richar...
github
isacra/isacradoctoralstuffs-master
get_b1.m
.m
isacradoctoralstuffs-master/Apps_And_Libs/scripts_lab/Comparison_Methods/Fortunato_Oliveira_FD_supplementary_material/scripts/our_method/get_b1.m
1,447
utf_8
c18c3bd3626afce7d9d1f88d9c5db13e
function b1 = get_b1(im_in) dx = [-0.5, 0, 0.5]; dy = [-0.5; 0; 0.5]; dxx = [-1 / 1.4142, 2 / 1.4142, -1 / 1.4142]; dyy = [-1 / 1.4142; 2 / 1.4142; -1 / 1.4142]; dxy = [-1.4142, 1.4142, 0; 1.4142, -1.4142, 0 ; 0, 0, 0]; dx = rot90(dx,2 ); %rot 180 deg, same as flipud(fliplr(dx)); dy = rot90(dy,...
github
isacra/isacradoctoralstuffs-master
our_RF.m
.m
isacradoctoralstuffs-master/Apps_And_Libs/scripts_lab/Comparison_Methods/Fortunato_Oliveira_FD_supplementary_material/scripts/our_method/our_RF.m
4,287
utf_8
5efed5d6eee74155847c7b1fac97f60f
%======================================================================== % Modified by: CGI'14 Submission 11 authors - 28/11/2013 % - Use Sobel filters to compute the l1-norm distance of neighbor pixels. % - Only one iteration % - Do not use joint_image % Original text: %=====================================...
github
isacra/isacradoctoralstuffs-master
our_fast_deconv_no_mex.m
.m
isacradoctoralstuffs-master/Apps_And_Libs/scripts_lab/Comparison_Methods/Fortunato_Oliveira_FD_supplementary_material/scripts/Krishnan09/our_fast_deconv_no_mex.m
4,733
utf_8
4273034b7c66a03175ad76f3577ff41e
function [yout] = our_fast_deconv(yin, k, lambda, alpha, yout0) % some fprintf's commented % % fast_deconv solves the deconvolution problem in the paper (see Equation (1)) % D. Krishnan, R. Fergus: "Fast Image Deconvolution using Hyper-Laplacian % Priors", Proceedings of NIPS 2009. % % This paper and the code ar...
github
isacra/isacradoctoralstuffs-master
solve_image.m
.m
isacradoctoralstuffs-master/Apps_And_Libs/scripts_lab/Comparison_Methods/Fortunato_Oliveira_FD_supplementary_material/scripts/Krishnan09/solve_image.m
6,057
utf_8
d7844bb7b39e4553b66854ca11491937
function [w] = solve_image(v, beta, alpha) % % solve the following component-wise separable problem % min |w|^\alpha + \frac{\beta}{2} (w - v).^2 % % A LUT is used to solve the problem; when the function is first called % for a new value of beta or alpha, a LUT is built for that beta/alpha % combination and for a r...
github
isacra/isacradoctoralstuffs-master
our_fast_deconv.m
.m
isacradoctoralstuffs-master/Apps_And_Libs/scripts_lab/Comparison_Methods/Fortunato_Oliveira_FD_supplementary_material/scripts/Krishnan09/our_fast_deconv.m
4,733
utf_8
4273034b7c66a03175ad76f3577ff41e
function [yout] = our_fast_deconv(yin, k, lambda, alpha, yout0) % some fprintf's commented % % fast_deconv solves the deconvolution problem in the paper (see Equation (1)) % D. Krishnan, R. Fergus: "Fast Image Deconvolution using Hyper-Laplacian % Priors", Proceedings of NIPS 2009. % % This paper and the code ar...
github
isacra/isacradoctoralstuffs-master
fast_deconv.m
.m
isacradoctoralstuffs-master/Apps_And_Libs/scripts_lab/Comparison_Methods/Fortunato_Oliveira_FD_supplementary_material/scripts/Krishnan09/fast_deconv.m
4,694
utf_8
90209b59fafd4f3c7b69cb84021a80d4
function [yout] = fast_deconv(yin, k, lambda, alpha, yout0) % % % fast_deconv solves the deconvolution problem in the paper (see Equation (1)) % D. Krishnan, R. Fergus: "Fast Image Deconvolution using Hyper-Laplacian % Priors", Proceedings of NIPS 2009. % % This paper and the code are related to the work and cod...
github
isacra/isacradoctoralstuffs-master
our_solve_image.m
.m
isacradoctoralstuffs-master/Apps_And_Libs/scripts_lab/Comparison_Methods/Fortunato_Oliveira_FD_supplementary_material/scripts/Krishnan09/our_solve_image.m
6,084
utf_8
608d88e3a34f2aced9afcd762e4908d4
function [w] = our_solve_image(v, beta, alpha) % fprintf's commented % % solve the following component-wise separable problem % min |w|^\alpha + \frac{\beta}{2} (w - v).^2 % % A LUT is used to solve the problem; when the function is first called % for a new value of beta or alpha, a LUT is built for that beta/alpha ...
github
isacra/isacradoctoralstuffs-master
demoTVL1.m
.m
isacradoctoralstuffs-master/Apps_And_Libs/scripts_lab/Comparison_Methods/Fortunato_Oliveira_FD_supplementary_material/scripts/FTVd_v4.1/demoTVL1.m
1,768
utf_8
d687e38edb48289ecc29f92ed8420bf1
function demoTVL1 % % Demo TV/L1 solve % clear; close all; path(path,genpath(pwd)); %% generate data -- see nested function below [I,H,Bn,mu] = genData; %% Run FTVd_v4.0 t = cputime; out = FTVd_v4(H,Bn,mu,'L1'); t = cputime - t; %% Plot result figure(1); subplot(121); imshow(Bn,[]); title(sprint...
github
isacra/isacradoctoralstuffs-master
ADM2MTVL1.m
.m
isacradoctoralstuffs-master/Apps_And_Libs/scripts_lab/Comparison_Methods/Fortunato_Oliveira_FD_supplementary_material/scripts/FTVd_v4.1/solvers/coresolvers/ADM2MTVL1.m
10,952
utf_8
4367e8c034754fb8a0412e620f443098
function out = ADM2MTVL1(H,F,mu,opts) % out = ADM2MTVL1(H,F,mu,opts); % % Alternating Directions Method (ADM) applied to MTV/L1. % % Suppose the data accuquisition model is given by: F = N(K*Xbar), % where Xbar is an original color image, K is a cross-channel convolution % matrix, N(cdot) represents a corruption...
github
isacra/isacradoctoralstuffs-master
ADM2TVL1.m
.m
isacradoctoralstuffs-master/Apps_And_Libs/scripts_lab/Comparison_Methods/Fortunato_Oliveira_FD_supplementary_material/scripts/FTVd_v4.1/solvers/coresolvers/ADM2TVL1.m
5,856
utf_8
b11a5d72f17cf44ca21264e173e789ff
function out = ADM2TVL1(H,F,mu,opts) % out = ADM2TVL1(H,F,mu,opts); % % Alternating Directions Method (ADM) applied to TV/L1. % % Suppose the data accuquisition model is given by: F = N(K*Xbar), % where Xbar is an original image, K is a convolution matrix, N(cdot) % represents a procedure of impulsive noise cor...
github
isacra/isacradoctoralstuffs-master
impedancia2refletividade.m
.m
isacradoctoralstuffs-master/Apps_And_Libs/scripts_lab/Inversion/impedancia2refletividade.m
880
UNKNOWN
42e72e22bae2903a26783a50f41c5d2c
function [ refletividade ] = impedancia2refletividade( impedancia ) % Deve ser matriz ou vetor coluna, caso matriz � executado em cada coluna refletividade = zeros(size(impedancia,1)-1,size(impedancia,2)); for j=1:size(impedancia,2) [refletividade(:,j)] = impedancia2refletividade1(impedancia(:,j)...
github
isacra/isacradoctoralstuffs-master
gen_cunhas.m
.m
isacradoctoralstuffs-master/Apps_And_Libs/scripts_lab/CNN/gen_cunhas.m
6,424
ibm852
3555e989e068f100faad7869b4495413
% Este arquivo carrega os dados a serem usados como referencia na otimizacao function [ images_hr, images_lr, gray_hr, gray_lr,randI] = gen_cunhas( num_cunhas ) im_size = 32; im_dim = im_size^2; deslocamento_max = 32; profundidade_max = 32; cube_high =[]; cube_low = []; gray_hr = []; ...
github
isacra/isacradoctoralstuffs-master
WriteSuStructure.m
.m
isacradoctoralstuffs-master/Apps_And_Libs/SegyMAT/WriteSuStructure.m
1,845
utf_8
3ad8802591e60e4a0ced291ed1d7b543
% WriteSuStructure : writes data to disk using SU-CWP format % % EX % WriteSuStructure('datacube.segy',SegyHeader,SegyTraceHeaders,Data); % % (C) 2001-2004 Thomas Mejer Hansen, tmh@gfy.ku.dk/thomas@cultpenguin.com % % This program is free software; you can redistribute it and/or modify % it under the terms of t...
github
isacra/isacradoctoralstuffs-master
ReadSegyTrace.m
.m
isacradoctoralstuffs-master/Apps_And_Libs/SegyMAT/ReadSegyTrace.m
1,884
utf_8
20b547536e2514fe7973d9ed63a393e5
% ReadSegyTrace function [Data,STH,SegyHeader]=ReadSegyTrace(filename,traces,SegyHeader); Data=[]; if nargin<3 SegyHeader=GetSegyHeader(filename); end if nargin<2 [Data,STH,SegyHeader]=ReadSegyTrace(filename); end if (length(traces)>1) try Data=zeros(SegyHeader.ns,length(traces)); catch ...
github
isacra/isacradoctoralstuffs-master
WriteSegyTraceHeaderValue.m
.m
isacradoctoralstuffs-master/Apps_And_Libs/SegyMAT/WriteSegyTraceHeaderValue.m
4,867
utf_8
a1b22ca5f8710feca8a16d47ace2e64e
% WriteSegyTraceHeaderValue : Write trace header valaue at specific location % % Call: % % % Update all trace header values starting at position 72, in integer32 % % format, to the value 30 % data=30; % WriteSegyTraceHeaderValue(filename,data,'pos',72,'precision','int32',); % % % Update all trace heade...
github
isacra/isacradoctoralstuffs-master
SegymatVersion.m
.m
isacradoctoralstuffs-master/Apps_And_Libs/SegyMAT/SegymatVersion.m
1,106
utf_8
36b4d931ca57c0f119d4e7b587eea364
% SegymatVersion - Returns the version and release date % % [ver,d]=SegymatVersion; % % % (C) 2001-2011, Thomas Mejer Hansen, thomas.mejer.hansen@gmail.com % % This program is free software; you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by % the Fre...
github
isacra/isacradoctoralstuffs-master
sac2mat.m
.m
isacradoctoralstuffs-master/Apps_And_Libs/SegyMAT/sac2mat.m
12,807
utf_8
7160f1bde601678e1eb151228f795428
function [SACdata,SeisData,sacfiles]=sac2mat(varargin) % [SACdata,SeisData,filenames] = SAC2MAT('file1','file2',..., 'filen',endian ) % % reads n SAC files file1, file2, filen % and converts them to matlab % format. The filenames can contain globbing characters (e.g. * and ?). % These are expanded and all matching fil...
github
isacra/isacradoctoralstuffs-master
CheckSegyTraceHeader.m
.m
isacradoctoralstuffs-master/Apps_And_Libs/SegyMAT/CheckSegyTraceHeader.m
9,418
utf_8
8a8ac4e5d40f1e562e9650e81b1308ab
% SegyTraceHeader=CheckSegyTraceHeader(SegyTraceHeader); % % Checks that all fields of the SegyTraceHeader is set. % If not, they are initialized. % % % (C) 2004, Thomas Mejer Hansen, tmh@gfy.ku.dk/thomas@cultpenguin.com % % % % This program is free software; you can redistribute it and/or modify % it under the...
github
isacra/isacradoctoralstuffs-master
ReadSuFast.m
.m
isacradoctoralstuffs-master/Apps_And_Libs/SegyMAT/ReadSuFast.m
1,615
utf_8
b0e4202173b5f1f60be77ae2faa9fb1b
% ReadSuFast % % PURPOSE : reads a SEISMIC section i SU format in big endian format, % strips the headers and returns the field in the matrix seis. % If nx==0 and nt<>0, nx will be computed % If nt==0 and nx<>0, nt will be computed % % Call : function seis=ReadSuFast(fileid,nt...
github
isacra/isacradoctoralstuffs-master
sacpc2mat.m
.m
isacradoctoralstuffs-master/Apps_And_Libs/SegyMAT/sacpc2mat.m
12,238
utf_8
3de29cc89a474829293e79a5a66c8b4c
function [SACdata,SeisData,sacfiles]=sacpc2mat(varargin) % [SACdata,SeisData,filenames] = SACPCMAT('file1','file2',..., 'filen' ) % % reads n SAC files file1, file2, filen (SAC files are assumed to have % PC byte order) and converts them to matlab % format. The filenames can contain globbing characters (e.g. * and ?). ...
github
isacra/isacradoctoralstuffs-master
GetSegyTraceData.m
.m
isacradoctoralstuffs-master/Apps_And_Libs/SegyMAT/GetSegyTraceData.m
2,758
utf_8
ebf8e7cb00aaaa9211b8d1fa2ef5957e
% GetSegyTraceData : Get Segy trace data if filehandle % % Call : % % tracedata=GetSegyTraceData(segyid,ns,SegyHeader,SkipData % % % (C) 2001-2004 Thomas Mejer Hansen, tmh@gfy.ku.dk/thomas@cultpenguin.com % % This program is free software; you can redistribute it and/or modify % it under the terms of the GNU...
github
isacra/isacradoctoralstuffs-master
sacsun2mat.m
.m
isacradoctoralstuffs-master/Apps_And_Libs/SegyMAT/sacsun2mat.m
12,020
utf_8
cc2301b099208443313a2f9b49135cab
function [SACdata,SeisData,sacfiles]=sacsun2mat(varargin) % [SACdata,SeisData,filenames] = SACSUN2MAT('file1','file2',..., 'filen' ) % % reads n SAC files file1, file2, filen (SAC files are assumed to have % SUN byte order) and converts them to matlab % format. The filenames can contain globbing characters (e.g. * and ...
github
isacra/isacradoctoralstuffs-master
ReadSegyFast.m
.m
isacradoctoralstuffs-master/Apps_And_Libs/SegyMAT/ReadSegyFast.m
7,427
utf_8
decc311cb87fd685537b9f7ee9b9db25
% ReadSegyFast : Reads a SEG Y rev 1 formatted file, without header values (faster than ReadSegy) % % Call : % [Data]=ReadSegyFast(filename); % and equivalent to : % [Data]=ReadSegy(filename); % % % Read only the data of a SegFile - NOT Their headers. % Much faster than ReadSegy % % 'minmax', 'skip' % % Implemented ...
github
isacra/isacradoctoralstuffs-master
progress_txt.m
.m
isacradoctoralstuffs-master/Apps_And_Libs/SegyMAT/progress_txt.m
834
utf_8
ada36980089eab080dcd9448c144cd14
% progress_txt : console based progress bar % % Ex1 : % for i=1:10000; % progress_txt(i,10000,'Ciao'); % end % % Ex1 : % % for i=1:10; % for j=1:10; % for k=1:10; % progress_txt([i j k],[10 100 1000],'i','j','k'); % end % end % end % % TMH/2005, thomas@cultpenguin.com % function progress_txt(i,...
github
isacra/isacradoctoralstuffs-master
Su2Segy.m
.m
isacradoctoralstuffs-master/Apps_And_Libs/SegyMAT/Su2Segy.m
1,049
utf_8
eff25ca30b92bec80cd7224e03a967cc
% SU2Segy : Converts SEGY file to SU format % % (C) 2001-2004, Thomas Mejer Hansen, tmh@gfy.ku.dk/thomas@cultpenguin.com % % This program is free software; you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by % the Free Software Foundation; either versi...
github
isacra/isacradoctoralstuffs-master
WriteSu.m
.m
isacradoctoralstuffs-master/Apps_And_Libs/SegyMAT/WriteSu.m
3,318
utf_8
bcf7d12eaefdc63bbfa4dd8a59600ba6
% WriteSu : writes data to disk using SEGY REV 2 standard. % % EX % WriteSu('datacube.su',data,'dt',.004,'Inline3D',Inline,'Crossline3D',Crossline,'cdpX',X,'cdpY',Y); % % to use a specific SEG revision use : % WriteSu('test.su',seisdata,'revision',0); % SEG-Y Revision 0 % WriteSu('test.su',seisdata,'revision',1); % SEG...
github
isacra/isacradoctoralstuffs-master
GetSegyHeader.m
.m
isacradoctoralstuffs-master/Apps_And_Libs/SegyMAT/GetSegyHeader.m
7,593
utf_8
9562256cd4ad8b52b8159e7efa06f86a
% GetSegyHeader : Reads the segyheader of a SEGY Y formatted file % % Call : % [SegyHeader]=GetSegyHeader(segyid); % % segyid can be a filehandle or a filename % % % (C) 2001-2004 Thomas Mejer Hansen, tmh@gfy.ku.dk/thomas@cultpenguin.com % % % This program is free software; you can redistribute it and/or modify ...
github
isacra/isacradoctoralstuffs-master
InitSegyTraceHeader.m
.m
isacradoctoralstuffs-master/Apps_And_Libs/SegyMAT/InitSegyTraceHeader.m
4,840
utf_8
72537f1c86a8642a67d9ae6b74ec91c9
% InitSegyTraceHeaders : returns an empty SegyTraceHeader structure % % EX: % SegyTraceHeader=InitSegyTraceHeader(ns,dt); % % % (C) 2001-2004, Thomas Mejer Hansen, tmh@gfy.ku.dk/thomas@cultpenguin.com % % This program is free software; you can redistribute it and/or modify % it under the terms of the GNU General...
github
isacra/isacradoctoralstuffs-master
GetSegyTraceHeader.m
.m
isacradoctoralstuffs-master/Apps_And_Libs/SegyMAT/GetSegyTraceHeader.m
8,830
utf_8
330af92104ce4a2df035bef2bc573e7f
% GetSegyTraceHeader : Reads a seg y trace, data and header % % [SegyTraceHeader]=GetSegyTraceHeader(segyid,TraceStart,DataFormat,ns); % % % (C) 2001-2004 Thomas Mejer Hansen, thomas.mejer.hansen@cultpenguin.com % % Revisions: % 07/2008 Kristian Stormark (<kristian.stormark@gmail.com>) : Reduce the % number o...
github
isacra/isacradoctoralstuffs-master
GetSegyTraceHeaderInfo.m
.m
isacradoctoralstuffs-master/Apps_And_Libs/SegyMAT/GetSegyTraceHeaderInfo.m
1,245
utf_8
af4e0c28c10a3891c1344684e6fed59e
% GetSegyTraceHeaderInfo : Returns a array of a SEGY Y TraceHeader value % % Call : % [value]=GetSegyHeaderInfo(SegyTraceHeaders,header) % % header is a header value like 'cdp','dt','TraceNumber' % % % (C) 2001-2004, Thomas Mejer Hansen, tmh@gfy.ku.dk/thomas@cultpenguin.com % % % % This program is free software; yo...
github
isacra/isacradoctoralstuffs-master
ebcdic2ascii.m
.m
isacradoctoralstuffs-master/Apps_And_Libs/SegyMAT/ebcdic2ascii.m
3,933
utf_8
63cbc443cb05b624d00edc3f02b957d5
% ebcdic2ascii : Converts EBCDIC formatted text to ASCII formatted text % % CALL : ascii=ebcdic2ascii(ebcdic); % % ebcdic : Array on unsigned integers % ascii : Array on unsigned integers % % (C) 2002-2004, Thomas Mejer Hansen, tmh@gfy.ku.dk/thomas@cultpenguin.com % % % This program is free software; you can redi...
github
isacra/isacradoctoralstuffs-master
ReadSegy.m
.m
isacradoctoralstuffs-master/Apps_And_Libs/SegyMAT/ReadSegy.m
17,771
utf_8
bf80e600837f79c421f4215c20a18d1d
% ReadSegy : Reads a SEG Y rev 1 formatted file % % Call : % [Data,SegyTraceHeaders,SegyHeader]=ReadSegy(filename); % % To read time slice 0.5<t<5 : % [Data,SegyTraceHeaders,SegyHeader]=ReadSegy(filename,'trange',.5,3); % To read time trace number 100,110 and 150 : % [Data,SegyTraceHeaders,SegyHeader]=ReadSegy(filename...
github
isacra/isacradoctoralstuffs-master
MergeSegy.m
.m
isacradoctoralstuffs-master/Apps_And_Libs/SegyMAT/MergeSegy.m
1,261
utf_8
6b32ecfc683f3af7b63ec0340bccfb0f
% MergeSegy : Merge multiple SEGY files % % Example : % MergeSegy('*.sgy','merge.sgy') % % f{1}='file1.sgy'; % f{2}='file2.sgy'; % f{3}='file3.sgy'; % MergeSegy(f,'merge.sgy') % % % Note: All imput segy files must have the same constant trace length % The SEGY header of the merged SEGY file will be...
github
isacra/isacradoctoralstuffs-master
WriteSegyStructure.m
.m
isacradoctoralstuffs-master/Apps_And_Libs/SegyMAT/WriteSegyStructure.m
3,137
utf_8
4df12fa8cbb0f2891b7fd5c2561cc280
% WriteSegyStructure : writes data to disk using SEGY REV 0 and 1 standards. % % EX % WriteSegyStructure('datacube.segy',SegyHeader,SegyTraceHeaders,Data); % % To force the use of SEG Y revision 0 % WriteSegyStructure('datacube.segy',SegyHeader,SegyTraceHeaders,Data,'revision',0); % To force the use of SEG Y revision 1...
github
isacra/isacradoctoralstuffs-master
PutSegyHeader.m
.m
isacradoctoralstuffs-master/Apps_And_Libs/SegyMAT/PutSegyHeader.m
9,215
utf_8
8f388ebf1ecaf07cf9c4fb98057dc2b7
% PutSegyHeader : Writes SEG-Y header to disk. % PutSegyHeader(segyid,SegyHeader) % % (C) 2001-2004, Thomas Mejer Hansen, tmh@gfy.ku.dk/thomas@cultpenguin.com % % This program is free software; you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by % the F...
github
isacra/isacradoctoralstuffs-master
SegyMAT_GAIN.m
.m
isacradoctoralstuffs-master/Apps_And_Libs/SegyMAT/SegyMAT_GAIN.m
2,629
utf_8
3c9eb45cfb08e9989024aee07fc78052
% SegyMAT_GAIN : Gain plugin for SegyMAT % % [Data,SegyTraceHeaders,SegyHeader]=SegyMAT_GAIN(Data,SegyTraceHeaders,SegyHeader,varargin); % % ex. AGC using AGC window of 100 ms : % [Data]=SegyMAT_GAIN(Data,SegyTraceHeaders,SegyHeader,'agc',.1); % ex. apply t^(pow), pow=2 % [Data]=SegyMAT_GAIN(Data,SegyTraceHeaders,SegyH...
github
isacra/isacradoctoralstuffs-master
WriteSegy.m
.m
isacradoctoralstuffs-master/Apps_And_Libs/SegyMAT/WriteSegy.m
6,194
utf_8
228dcbbe6b1f9db73888e310daa150ea
% WriteSegy : writes data to disk using SEGY REV 1 standard. % % EX % WriteSegy('datacube.segy',data,'dt',.004,'Inline3D',Inline,'Crossline3D',Crossline,'cdpX',X,'cdpY',Y); % % to use a specific SEG revision use : % WriteSegy('test.segy',seisdata,'revision',0); % SEG-Y Revision 0 % WriteSegy('test.segy',seisdata,'revis...
github
isacra/isacradoctoralstuffs-master
SegymatRevision.m
.m
isacradoctoralstuffs-master/Apps_And_Libs/SegyMAT/SegymatRevision.m
1,329
utf_8
23a4b2bcd7aa58b83f3ccc8dde4a5a46
% SegymatRevision - Returns the revision history % % Call : [Revision]=SegymatRevision % % % (C) 2001-2011, Thomas Mejer Hansen, thomas.mejer.hansen@gmail.com % % This program is free software; you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by % the ...
github
isacra/isacradoctoralstuffs-master
isoctave.m
.m
isacradoctoralstuffs-master/Apps_And_Libs/SegyMAT/isoctave.m
117
utf_8
0a3b59cac8a9b483e95a3085be4387ab
% isoctave : checks of octave function r=isoctave v=version; if (str2num(v(1)))>4 r=0; else r=1; end
github
isacra/isacradoctoralstuffs-master
ascii2ebcdic.m
.m
isacradoctoralstuffs-master/Apps_And_Libs/SegyMAT/ascii2ebcdic.m
3,940
utf_8
80500db27103dcf156237c55d951a2fa
% ascii2ebcdic : Converts ASCII formatted text to EBCDIC formatted text % % CALL : ebcdic=ascii2ebcdic(ascii); % % ascii : Array on unsigned integers % ebcdic : Array on unsigned integers % % (C) 2002-2009, Thomas Mejer Hansen, tmh@gfy.ku.dk/thomas.mejer.hansen@gmail.com % % % This program is free software; you c...
github
isacra/isacradoctoralstuffs-master
ReadSegyHeader.m
.m
isacradoctoralstuffs-master/Apps_And_Libs/SegyMAT/ReadSegyHeader.m
5,838
utf_8
8cf659b69eb0324bdf8f633c00465167
% ReadSegyHeader : Reads a SEG Y Binary Header % % Call : % [SegyHeader]=ReadSegyHeader(filename); % % To read using little endian : % [SegyHeader]=ReadSegyHeader(filename,'endian','l'); % % (C) 2001-2004, Thomas Mejer Hansen, tmh@gfy.ku.dk/thomas@cultpenguin.com % % This program is free software; you can redistri...
github
isacra/isacradoctoralstuffs-master
ReadSegyTraceHeaderValue.m
.m
isacradoctoralstuffs-master/Apps_And_Libs/SegyMAT/ReadSegyTraceHeaderValue.m
4,675
utf_8
8f311e49d4b6b1593782814ec539cf0b
% ReadSegyTraceHeaderValue : Read a spedicifc trace header value % % Call: % % By Name % cdp=ReadSegyTraceHeaderValue(filename,'key','cdp'); % SourceX=ReadSegyTraceHeaderValue(filename,'key','SourceX'); % SourceY=ReadSegyTraceHeaderValue(filename,'key','SourceY'); % % % By location in Trace Header % S...
github
isacra/isacradoctoralstuffs-master
wiggle.m
.m
isacradoctoralstuffs-master/Apps_And_Libs/SegyMAT/wiggle.m
5,873
utf_8
45910d67c3ea9413dbe4ea2b080aec71
% wiggle : plot wiggle/VA/image plot % % Call % wiggle(Data); % wiggle plot % wiggle(Data,scale); % scaled wiggle plot % wiggle(x,t,Data); % wiggle plt % wiggle(x,t,Data,'VA') % variable Area (pos->black;neg->transp) % wiggle(x,t,Data,'VA2') % variable Area (pos->black;neg->red) % wiggle(x,t,Data,'wig...
github
isacra/isacradoctoralstuffs-master
PutSegyTrace.m
.m
isacradoctoralstuffs-master/Apps_And_Libs/SegyMAT/PutSegyTrace.m
9,299
utf_8
1fbee6bb87d268064255735d9f45c572
% PutSegyTrace(segyid,tracedata,SegyTraceHeader,TraceStart); % % Write a SegyTrace to a filehandle 'segyid' % % (C) 2001-2004, Thomas Mejer Hansen, tmh@gfy.ku.dk/thomas@cultpenguin.com % % % This program is free software; you can redistribute it and/or modify % it under the terms of the GNU General Public Lic...
github
isacra/isacradoctoralstuffs-master
ReadSegyConstantTraceLength.m
.m
isacradoctoralstuffs-master/Apps_And_Libs/SegyMAT/ReadSegyConstantTraceLength.m
17,042
utf_8
2b6c828210cef02c1b87939f60a737dd
% ReadSegyConstantTraceLength : Reads a SEG Y rev 0/1 formatted file % Assumes CONSTANT TRACE LENGTH % which allows much faster code % % Call : % [Data,SegyTraceHeaders,SegyHeader]=ReadSegyConstantTraceLength(filename); % % To read time slice 0.5<t<5 : % [Data...
github
isacra/isacradoctoralstuffs-master
ReadSu.m
.m
isacradoctoralstuffs-master/Apps_And_Libs/SegyMAT/ReadSu.m
9,155
utf_8
851997f3d9f738272cc5a6cf95b6001a
% ReadSu : Reads a SU formatted file (Seismic Unix) % % Call : % [Data,SuTraceHeaders,SuHeader]=ReadSu(filename); % % To read in big endian format (default): % [Data,SuTraceHeaders,SuHeader]=ReadSu(filename,'endian','b'); % To read in little endian format : % [Data,SuTraceHeaders,SuHeader]=ReadSu(filename,'endian','l')...
github
isacra/isacradoctoralstuffs-master
Sac2Segy.m
.m
isacradoctoralstuffs-master/Apps_And_Libs/SegyMAT/Sac2Segy.m
7,218
utf_8
90b6976dc23355ecd2eecf8911bf0bba
% Sac2Segy : Reads SAC formatted data into a SegyMAT (SGY) structure % % CALL : % [Data,SegyTraceHeader,SegyHeader]=Sac2Segy(files_in,segyfile_out,varargin) % % files_in : Either a single filename or a strcture of filenames % files_in='d1.SAC'; % or % files_in{1}='d1.SAC'; % ...
github
isacra/isacradoctoralstuffs-master
Segy2Su.m
.m
isacradoctoralstuffs-master/Apps_And_Libs/SegyMAT/Segy2Su.m
1,291
utf_8
0d9cee08a7a105fae2255bcefff55c2b
% Segy2Su : Converts SEGY file to SU format % % Call : Segy2Su(filename,ReadSegyOption) % Replaces the filename suffix to '.su'; % 'ReadSegyOptions' are the same as to 'ReadSegy' % % See also : ReadSegy % % % % (C) 2001,2002 Thomas Mejer Hansen, thomas@cultpenguin.com % % This program is free software; you...
github
isacra/isacradoctoralstuffs-master
TraceHeaderDef.m
.m
isacradoctoralstuffs-master/Apps_And_Libs/SegyMAT/TraceHeaderDef.m
6,916
utf_8
52f7626e5608eec64237078b2941a280
% TraceHeaderDef : Defines names, position, and precision for Trace Headers % % % To get a Matlab structure with trace header definitions call: % STH==TraceHeaderDef; % % To get a list fo trace header definision listed on the screen call: % STH==TraceHeaderDef(1) % % See also: ReadSegyTraceHeaderValue, WriteSegyTraceHe...
github
isacra/isacradoctoralstuffs-master
pick_line.m
.m
isacradoctoralstuffs-master/Apps_And_Libs/SegyMAT/pick_line.m
1,114
utf_8
ce24743d8bf8948986ac55954d092e10
% pick_line : pick a line from a figure; % % % Based on doc(ginput); function [xy,xys]=pick_line(name,LineWidth,LineColor); if nargin<1, name='line';end if nargin<2, LineWidth=3;end if nargin<3, LineColor=[1 1 0];end hold on % Initially, the list of points is empty. xy = []; n = 0; % Loop, picking up the points. di...
github
isacra/isacradoctoralstuffs-master
SegymatVerbose.m
.m
isacradoctoralstuffs-master/Apps_And_Libs/SegyMAT/SegymatVerbose.m
1,283
utf_8
91cbd5d1f9f24c536b01898b26f34abc
% SegymatVerbose : Writes out verbose information to the screen % % % Call : % SegymatVerbose(text,verboselevel) % prints out 'text' to screen if verboselevel is higher than threshold % set in m-file. % % % (C) 2001-2004, Thomas Mejer Hansen, tmh@gfy.ku.dk/thomas@cultpenguin.com % % This program is free sof...
github
isacra/isacradoctoralstuffs-master
GetSegyTrace.m
.m
isacradoctoralstuffs-master/Apps_And_Libs/SegyMAT/GetSegyTrace.m
1,414
utf_8
abeabf3e206e3bbf7cc3a91dfa6d1f66
% GetSegyTrace : Reads a seg y trace, data and header % % [SegyTraceHeader,SegyData]=GetSegyTrace(segyid,TraceStart,DataFormat,ns); % % % (C) 2001-2004 Thomas Mejer Hansen, tmh@gfy.ku.dk/thomas@cultpenguin.com % % % This program is free software; you can redistribute it and/or modify % it under the terms of the...
github
isacra/isacradoctoralstuffs-master
GetSegyHeaderBasics.m
.m
isacradoctoralstuffs-master/Apps_And_Libs/SegyMAT/GetSegyHeaderBasics.m
9,796
utf_8
301b05e3751a42ada175b3acffe840b1
% GetSegyHeaderBasics : Default Segy Header Header settings % % Call : % Rev=GetSegyHeaderBasics % % % % (C) 2001-2004, Thomas Mejer Hansen, tmh@gfy.ku.dk/thomas@cultpenguin.com % % This program is free software; you can redistribute it and/or modify % it under the terms of the GNU General Public License as pub...
github
isacra/isacradoctoralstuffs-master
GUIEditSegyHeader.m
.m
isacradoctoralstuffs-master/Apps_And_Libs/SegyMAT/GUI/GUIEditSegyHeader.m
13,711
utf_8
c6e9a7b721d99210fff0e0767abf22eb
function varargout = GUIEditSegyHeader(varargin) % GUIEditSegyHeader : GUI for editing the SGY header % % Call : % SH=GUIEditSegyHeader(SH); % % % Example : % [Data,STH,SH]=ReadSegy('841_m.sgy'); % SH=GUIEditSegyHeader(SH); % % % GUIEDITSEGYHEADER Application M-file for GUIEditSegyTraceHeader.fig % FIG = GU...
github
isacra/isacradoctoralstuffs-master
GUIPlotXY.m
.m
isacradoctoralstuffs-master/Apps_And_Libs/SegyMAT/GUI/GUIPlotXY.m
4,482
utf_8
83486fe1795ccbd4e6bdb2cf2db3d78b
function varargout = GUIEditSegyTraceHeader(varargin) % GUIPlotXY Application M-file for GUIEditSegyTraceHeader.fig % FIG = GUIPLOTXY launch GUIEditSegyTraceHeader GUI. % GUIPLOTXY('callback_name', ...) invoke the named callback. % % OBSOLETE ?? % % Last Modified by GUIDE v2.0 16-Jun-2002 11:41:23 if (narg...
github
isacra/isacradoctoralstuffs-master
GUIEditSegyTraceHeader.m
.m
isacradoctoralstuffs-master/Apps_And_Libs/SegyMAT/GUI/GUIEditSegyTraceHeader.m
12,255
utf_8
f0b3e4ff50241e679450646e2dfa4639
function varargout = GUIEditSegyTraceHeader(varargin) % GUIEditSegyTraceHeader Application M-file for GUIEditSegyTraceHeader.fig % FIG = GUIEDITSEGYTRACEHEADER launch GUIEditSegyTraceHeader GUI. % GUIEDITSEGYTRACEHEADER('callback_name', ...) invoke the named callback. % Last Modified by GUIDE v2.0 05-Jun-2002 09...
github
isacra/isacradoctoralstuffs-master
DIAOpenSEGY.m
.m
isacradoctoralstuffs-master/Apps_And_Libs/SegyMAT/GUI/DIAOpenSEGY.m
10,847
utf_8
c3f2f42817950cc5a4526966e9a51dd0
function varargout = DIAOpenSEGY(varargin) % DIAOPENSEGY Application M-file for DIAOpenSEGY.fig % FIG = DIAOPENSEGY launch DIAOpenSEGY GUI. % DIAOPENSEGY('callback_name', ...) invoke the named callback. % Last Modified by GUIDE v2.0 12-Jun-2002 10:25:58 if ((nargin == 0)|isstruct(varargin{1})) % LAUNCH GUI f...
github
isacra/isacradoctoralstuffs-master
GUIEditTextualFileHeader.m
.m
isacradoctoralstuffs-master/Apps_And_Libs/SegyMAT/GUI/GUIEditTextualFileHeader.m
9,895
utf_8
8519ae23ae7d6817ea863c7c0fd7c059
function varargout = GUIEditTextualFileHeader(varargin) % GUIEditTextualFileHeader : GUI for editing the SGY header % % Call : % SH=GUIEditTextualFileHeader(SH); % % % Example : % [Data,STH,SH]=ReadSegy('841_m.sgy'); % SH=GUIEditTextualFileHeader(SH); % % % GUIEDITTEXTUALFILEHEADER M-file for GUIEditTextualFil...
github
isacra/isacradoctoralstuffs-master
segymat.m
.m
isacradoctoralstuffs-master/Apps_And_Libs/SegyMAT/GUI/segymat.m
33,348
utf_8
b863356b762b97f58d443cb5a7664805
function varargout = segymat(varargin) % segymat : Garphical User Interface for SegyMAT % % (C) 2001-2004 Thomas Mejer Hansen, tmh@gfy.ku.dk/thomas@cultpenguin.com % % SEGYMAT M-file for segymat.fig % SEGYMAT, by itself, creates a new SEGYMAT or raises the existing % singleton*. % % H = SEGYMAT retu...
github
isacra/isacradoctoralstuffs-master
DIAAboutSegymat.m
.m
isacradoctoralstuffs-master/Apps_And_Libs/SegyMAT/GUI/DIAAboutSegymat.m
3,129
utf_8
31dd15d94b44aaf08dbaaa262c7a3a85
function varargout = DIAAboutSegymat(varargin) % DIAAboutSegymat Application M-file for DIAAboutSegymat.fig % FIG = DIAABOUTSEGYMAT launch DIAAboutSegymat GUI. % DIAABOUTSEGYMAT('callback_name', ...) invoke the named callback. % Last Modified by GUIDE v2.0 06-May-2002 10:38:58 if nargin == 0 % LAUNCH GUI fig...
github
isacra/isacradoctoralstuffs-master
findcoord.m
.m
isacradoctoralstuffs-master/Apps_And_Libs/Advanced_DS_matlab/findcoord.m
453
utf_8
4a67614884de55819f6f448917d06045
%function that finds the coordinates of a node in a cartesian grid. %Coordinates do not depend in the size of the grid in z, because we assume %that the point is not out of the grid. %Inputs are the id of the node (in Matlab notation: y, then x, then z), %then the size of the grid in y and x. function [y,x,z] = findco...
github
isacra/isacradoctoralstuffs-master
Bunch_DS.m
.m
isacradoctoralstuffs-master/Apps_And_Libs/Bunch-DS Code/Bunch_DS.m
26,105
utf_8
69475d70d777847e3b1cada416064779
%--------------------------------------------------------------------------------------------- % Authors: Hassan Rezaee, Gregoire Mariethoz % Paper: "Multiple-Point Geostatistical Simulation Using Bunch-Pasting Direct Sampling Method" %------------------------------------------------------------------------------------...
github
isacra/isacradoctoralstuffs-master
myOctaveVersion.m
.m
isacradoctoralstuffs-master/Apps_And_Libs/Deep-Learning/rasmusbergpalm-DeepLearnToolbox-5df2801/util/myOctaveVersion.m
169
utf_8
d4603482a968c496b66a4ed4e7c72471
% return OCTAVE_VERSION or 'undefined' as a string function result = myOctaveVersion() if isOctave() result = OCTAVE_VERSION; else result = 'undefined'; end
github
isacra/isacradoctoralstuffs-master
isOctave.m
.m
isacradoctoralstuffs-master/Apps_And_Libs/Deep-Learning/rasmusbergpalm-DeepLearnToolbox-5df2801/util/isOctave.m
108
utf_8
4695e8d7c4478e1e67733cca9903f9ef
%detects if we're running Octave function result = isOctave() result = exist('OCTAVE_VERSION') ~= 0; end
github
isacra/isacradoctoralstuffs-master
makeLMfilters.m
.m
isacradoctoralstuffs-master/Apps_And_Libs/Deep-Learning/rasmusbergpalm-DeepLearnToolbox-5df2801/util/makeLMfilters.m
1,895
utf_8
21950924882d8a0c49ab03ef0681b618
function F=makeLMfilters % Returns the LML filter bank of size 49x49x48 in F. To convolve an % image I with the filter bank you can either use the matlab function % conv2, i.e. responses(:,:,i)=conv2(I,F(:,:,i),'valid'), or use the % Fourier transform. SUP=49; % Support of the largest filter (must be...