Software Listing of Author : "Ahmad"
- KMeans Segmentation - MEX
- License: Shareware
- Price:


KMEANSK - mex implementation (compile by mex kmeansK.cpp Also an equivalent MATLAB implementation is present in zip file Performs K-means clustering given a list of feature vectors and k. The argument k indicates the number of clusters you want the data to be divided into. data_vecs (N*R) is the set of R dimensional feature vectors for N data points. Each row in data_vecs gives the R dimensional vector for a single data point. Each column in data_vecs refers to values for a particular feature vector for all the N data points. The output data_idxs is a N*1 vector of integers telling which cluster number a particular data point belongs to. It also outputs centroids which is a k*R matrix, where each rows gives the vector for the cluster center. If we want to segment a color image i into 5 clusters using spacial and color information, we...
- Platform: Matlab, Scripts
- MATLAB Responds to Greeting
- License: Shareware
- Price:


Typing the word "hi" in the command window will trigger MATLAB to randomly select one of eleven possible text responses to your greeting. Some are friendly, others are not. This file is meant to have some fun with MATLAB. You may modify the program to make more possible responses, change the text responses, and so on. I was inspired to make this file when I found out about MATLAB's internal file called "why." Type that word into your command window for some strange philosophy.
- Platform: Matlab, Scripts
- Quad-Tree segmentation - MEX
- License: Shareware
- Price:


QUADTREESEG - mex implementation (compile by mex quadtreeseg.cpp). Also an equivalent MATLAB implementation is present in zip file. Segments an image by recursively dividing it into four equal blocks if the variability in its pixels is greater than a certain amount. The image input is usually square, or the segments output are proportional to the aspect ratio of the input image. This function gives you a choice on the variability function: the std. dev. in pixel values; the range of pixel values. If given a color image, the average of these measures is used across the 3 layers. @args: im: the input image (RGB or Grayscale) which needs to be segmented; could be uint8, uint16, or double (variance_mode): 0 for range of pixel values; 1 for std. dev. of pixel values. Default 0 (thresh_std): maximum allowed standard deviation or range...
- Platform: Matlab, Scripts
