Code covered by the BSD License
-
histogram(varargin)
GUI for Plotting historgam and equalizing image arrays
-
image_mva(varargin)
GUI for Multivariate Analysis of images
-
profiles(varargin)
GUI for plotting profiles for image arrays
-
threshold(varargin)
GUI for thresholding images
-
Cont=Contingency(Mem1,Mem2)
CONTINGENCY Form contigency matrix for two vectors
-
DCAgg(Distance, Method, k)
DCAGG Performs agglomerative clustering
-
LogFactorial(n)
LOGFACTORIAL Calculates the Natural log of the factorial of n
-
MakeGaussData(NCentres,NDims,...
MAKEGAUSSDATA - Creates spherical data clouds
-
MaxMax(x)
MAXMAX Maximum of all elements in an n-dimension array
-
MeanMean(x)
MEANMEAN Mean of all elements in an n-dimension array
-
MinMin(x)
MINMIN Minimum of all elements in an n-dimension array
-
PCAGraph(X,dims,labels)
PCAGRAPH Plots data projected onto its first 2 principal components
-
SumSum(x)
SUMSUM Sums all elements in an n-dimension array
-
[AR,RI,MI,HI]=RandIndex(c1,c2...
RANDINDEX - calculates Rand Indices to compare two partitions
-
[C,perm]=ChooseInitialCentres...
CHOOSEINITIALCENTRES Randomly picks sample points
-
[Classes,Centres,FinalDistanc...
DCKMEANS Performs k-means clustering
-
[RITrue,RISelf,EstIndex]=DoCl...
DOCLUSTERING Performs cluster analysis of specified data using specified
-
[mix, class,likelihood]=dcEMG...
DCEMGMM - estimates Gaussian Mixture Model using the EM algorithm
-
[purspec,purint,purity_spec]=...
function [purspec,purint,purity_spec]=simplisma(data,varlist,offset,n,data2);
-
array_subset=array_downsizing...
function array_subset=array_downsizing(array, N);
-
c=PlotColour(index,lineflag)
PLOTCOLOUR Returns colour and marker string for PLOT
-
class=im_class_MLE(im,plot);
function class=im_class_MLE(im,plot);
-
data_der=invder(data)
data_der=invder(data)
-
dcFuzzy(X,c,m,InitCentres)
DCFUZZY Performs fuzzy c-means clustering
-
im=vms_im_read(filename,plot)...
im=vms_im_read(filename,plot);
-
threshold_grayscale_image(ori...
431-400 Year Long Project
-
Contents.m
-
DcDemo.m
-
uigetfiles.m
-
View all files
from
GUI for Multivariate Image Analysis of Multispectral Images
by Kateryna Artyushkova
A GUI for MIA of multispectral image data sets (PCA, Simplisma, MCR, classification).
|
| im=vms_im_read(filename,plot);
|
function im=vms_im_read(filename,plot);
% im=vms_im_read(filename,plot);
% function for reading image VMS image file into data matrix
%
% im - output matrix created in the workspace
% filename - name of file in '____' format
% plot =1, image is displayed, plot=0, no display
%
% example:
% for file name containing image: C_1.vms
% im=im_read('C_1.vms');
%
% Written by K. Artyushkova
% 6/18/2002
% Kateryna Artyushkova
% Postdoctoral Scientist
% Department of Chemical and Nuclear Engineering
% The University of New Mexico
% (505) 277-0750
% kartyush@unm.edu
A = textread(filename,'%f',65536,'delimiter','.','headerlines',69); % read column of intensities in variable A
[m,n]=size(A);
N=sqrt(m); % number of pixels in x and y
% converting a column A into a matrix
BS=A(1:N,:)';
for n=1:N-1
B=A((n*N+1):(n+1)*N,:)';
BS=[BS;B];
end
im=BS;
%displaying image
if plot==1
imagesc(im)
colormap(gray)
else
end
|
|
Contact us at files@mathworks.com