Color histogram

Rgb image decomposition in matlab

The following Matlab project contains the source code and Matlab examples used for rgb image decomposition. Function imColorSep takes a single input argument, an M x N x 3 array representing a full color RGB image, and generates a figure window containing four images: the original full color image, and the three individual monochromatic images representing the red, green, and blue components of the original image.

Function to make a 2d histogram in matlab

The following Matlab project contains the source code and Matlab examples used for function to make a 2d histogram. %A Simple function that makes a 2D histgram % Input: data: two cols, x value; y value % xrange: range and bins for x value (edges) % yrange: range and bins for y value (edges) %Output: Count of a specifice (x,y) bin combination; % Suggested visualizing tool: I like to use imagesc; bar3 will work fine % too; have to change axis label though Example: data(:,1)=randn(100000,1); data(:,2)=randn(100000,1);

Radialdistribution2d in matlab

The following Matlab project contains the source code and Matlab examples used for radialdistribution2d. input: % ~~~~~~ % switchVal - operation of the finction % initialize=0; % sample=1; % results=2; % plot = 3; % % gR - the output struct contaning the histogram % (shuold be created with "gR = struct;" before initialization % % coords - x,y coordinates of partical centers % first row x, second row y % % Lx - x size of area to calculate

Pages

Subscribe to RSS - Color histogram