image_quantization, a MATLAB code which demonstrates how the KMEANS algorithm can be used to reduce the number of colors or shades of gray in an image.
The computer code and data files described and made available on this web page are distributed under the MIT license
image_quantization is available in a MATLAB version.
image_boundary, a MATLAB code which reports the pixels which form the boundary between the black and white regions of a simple image.
image_components, a MATLAB code which seeks the connected "nonzero" or "nonblack" components of an image or integer vector, array or 3d block.
image_contrast, a MATLAB code which applies image processing techniques to increase the contrast in an image.
image_decimate, a MATLAB code which compresses an image by dropping the even rows and columns of data.
image_denoise, a MATLAB code which applies image processing techniques to remove noise from an image.
image_diffuse, a MATLAB code which uses diffusion to smooth out an image.
image_double, a MATLAB code which doubles the height and width of an image by repeating each row and column.
image_edge, a MATLAB code which demonstrates a simple procedure for edge detection in images.
image_noise, MATLAB codes which add noise to an image.
image_rgb_to_gray, MATLAB codes which makes a grayscale version of an rgb image.
image_threshold, MATLAB codes which make a black and white version of a grayscale image by setting all pixels below or above a threshold value to black or white.
kmeans, a MATLAB code which contains several different algorithms for the k-means problem.
MathWorks documentation for the Image Processing Toolbox is available at https://www.mathworks.com/access/helpdesk/help/pdf_doc/images/images_tb.pdf.