
Fast 2D histogram calculation 1.0 File ID: 86614 


 Fast 2D histogram calculation 1.0 License: Shareware File Size: 10.0 KB Downloads: 7
Submit Rating: 



Fast 2D histogram calculation 1.0 Description 

Description: Hist2D performs a fast calculation of 2D histograms. On a 2GHz processor, calculated and displayed a histogram of 1 million points in less than half a second.
HIST2D 2D histogram [H XBINS YBINS] = HIST2D(D, XN, YN, [XLO XHI], [YLO YHI]) [H XBINS YBINS] = HIST2D(D, 'display' ...) HIST2D calculates a 2dimensional histogram and returns the histogram array and (optionally) the bins used to calculate the histogram. Inputs: D: N x 2 real array containing N data points or N x 1 array of N complex values XN: number of bins in the x dimension (defaults to 20) YN: number of bins in the y dimension (defaults to 20) [XLO XHI]: range for the bins in the x dimension (defaults to the minimum and maximum of the data points) [YLO YHI]: range for the bins in the y dimension (defaults to the minimum and maximum of the data points) 'display': displays the 2D histogram as a surf plot in the current axes Outputs: H: 2D histogram array (rows represent X, columns represent Y) XBINS: the X bin edges (see below) YBINS: the Y bin edges (see below) As with histc, h(i,j) is the number of data points (dx,dy) where x(i) <= dx < x(i+1) and y(j) <= dx < y(j+1). The last x bin counts values where dx exactly equals the last x bin value, and the last y bin counts values where dy exactly equals the last y bin value. If D is a complex array, HIST2D splits the complex numbers into real (x) and imaginary (y) components
License: Shareware Related: outputs, current, represent, Columns, edges, displays, maximum, Dimension, defaults, range O/S:BSD, Linux, Solaris, Mac OS X File Size: 10.0 KB Downloads: 7


More Similar Code 

function histmat = hist2(x, y, xedges, yedges) Extract 2D histogram data containing the number of events of [x , y] pairs that fall in each bin of the grid defined by xedges and yedges. The edges are vectors with monotonically nondecreasing values.
The code is optimized no loop inside, it can be useful in the case of large dataset. EXAMPLE events = 1000000; x1 =...
Zodius is a fast 2d vector graphics library.
It intends to support Flash and SVG type paths including all filling and stroking types.
The OO interface is very easy to use and requires little knowledge about graphics.
PGFHIST2D(X, Y, W) will save a PNG file representing the 2D histogram created from data points specified by X and Y with weights specified by W. The vectors X, Y, and W must have the same number of elements. The text to include in a Latex file to...
2D histogram: Extract the number of joint events  (x,y) data value pairs that fall in each bin of the grid defined by xedges and yedges.
Uses:
[N,BIN] = HISTD(X,EDGES)
which returns
1) N is a...
The TuxCap Games Framework is a GNU/Linux and Mac OSX port of the PopCap Games Framework used for 2D game development. It comes with PyCap Python bindings, a fast 2D physics engine, a particle engine, widgets and many documented examples.
Python PS3 support library, primarily designed to support game development under Linux. At its core, there is an optimised SPU alphablended blit for fast 2D rendering, and also offers full support for multiple game controllers and sound playback.
The function implement the 2D dyadic(Paley) ordered fast inplace WalshHadamard transform, which can be used in signal processing, pattern recognition and Genetic alogorithms. This algorithm uses a CooleyTukey type signal flow graph and is...
%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...
function mHist = hist2d ([vY, vX], vYEdge, vXEdge) 2 Dimensional Histogram Counts number of points in the bins defined by vYEdge, vXEdge. size(vX) == size(vY) == [n,1] size(mHist) == [length(vYEdge) 1, length(vXEdge) 1] ...
This is an implementation of fast bilateral filtering for 3D images. This filter smoothes the image while preserving edges, but in its most straightforward implementation is very computationally demanding, especially with large 3D images. Fast... 
User Review for Fast 2D histogram calculation 
