This function OPENSURF, is an implementation of SURF (Speeded Up Robust Features). SURF will detect landmark points in an image, and describe the points by a vector which is robust against (a little bit) rotation ,scaling and noise. It can be used in the same way as SIFT (Scale-invariant feature transform) which is patented. Thus to align (register) two or more images based on corresponding points (see example3.m), or make 3D...
Read and preview of Leica's image format file.
-- Usage --
1. In matlab prompt,
GUI window to pick a file will open.
2. Select a Leica image format (.lif) file.
3. A list of all images in the file...
Functions are described briefly below:
1) er_add: Add given tranfer functions.
2) er_blaschke: Perform desired frequency transformation of digital filter using Blaschke products.
3) er_conv: Multiply transfer functions.
% Concatenates two structures into a new structure. They do not have to have the same fields.
This works for vector structures or structure arrays. Also works for nested structures.
Currently can only concatenate along 1...
This function allows to save all the variables from the current workspace into a struct array
Sometimes you need to save the variables from your base workspace, but using "save" function will have them all stored individually so if...
'AX. FSE PD'
UILINESPEC creates a simple GUI to prompt the user for the following linespec properties: LineWidth, LineStyle, Color, Marker, MarkerSize, MarkerEdgeColor, MarkerFaceColor.
S = UILINESPEC(D) accepts the default linespec properties struct D...
Have you ever tried to inspect and modify deeply nested struct/cell variables? Of course, MATLABs variable editor will help to visualise these variables. However, to create such a variable automatically or to change some of the deeply nested...
Sometime you need a specific field from a (large) number of mat files. With loadFields, the user can select all the mat files at once, and choose the required field using a pulldown menu. The values are returned as a single array if the field has...
Given a list of d-dimensional points -- typically, though not necessarily, representing a mesh -- and correlation information, the function randomfield.m returns realizations of a corresponding random process. These fields may be conditioned on...
A simple function to merge two structures as long as they are the same size.
[test1(1:2,1:2).A] = deal(1,2,3,4)
[test2(1:2,1:2).B] = deal(5,6,7,8)
out = fJoinStructures(test1, test2)
2x2 struct array with...
Usage: tsStack = TIFFStack(strFilename )
A TIFFStack object behaves like a read-only memory mapped TIF file. The entire image stack is treated as a matlab tensor. Each frame of the file must have the same dimensions. Reading the image...
Usage: writeexcel(file, varlist)
Writes data to an Excel xml file on any system (NO Excel or ActiveX required!).
Scalars will end up on a sheet called "Scalars" as name (in the first column) and value (in the...
UNFOLD_STRUCTURE Unfold and show the content of the given structure.
UNFOLD_STRUCTURE(STRUCT) shows recursively the content of the given structure STRUCT. Clean and generic implementation which can be easily extended, e.g. for...
SuperStruct is a powerful replacement for the Struct (and OpenStruct) classes. It has features which also allow it to substitute for a Hash or Array, as well as some convenience methods and special features.
Often one desires to write a function that takes a large number of optional arguments. One way to do this is to allow for an arbitrary number of option name-value pairs in the function argument:
function r = f(a,b,c,name1,value1,...)
This file executes the non parametric Mann-Whitney-Wilcoxon test to evaluate the difference between unpaired samples. If the number of combinations is less than 20000, the algorithm calculate the exact ranks distribution; else it uses a normal...
This directory contains m-functions for reading and writing files used in electron microscopy and 3D reconstruction. The file formats those used by the IMAGIC software package (Image Science GmbH; EMAN and Frealign are public-domain programs that...
% Confusion matrix-based model performance summary tool.
% Works with character and numeric data, for any number of groups.
% Displays your confusion matrix as a 3D bar chart of your observations,
% broken down by their...
Print a struct to file. The output can be aligned to be more human-readable, or be separated by a specified delimiter.
Requires the getarg function.
struct2File( s, 'c:file.txt', 'align', true, 'sort', false );