Search
Code Directory
 ASP
 ASP.NET
 C/C++
 CFML
 CGI/PERL
 Delphi
 Development
 Flash
 HTML
 Java
 JavaScript
 Pascal
 PHP
 Python
 SQL
 Tools
 Visual Basic & VB.NET
 XML
New Code
Free Spire.PDF for Java 2.2.2
CSFreeDB 1.0
Udemy Clone Script | Online Course Learning Script 2.00
Crowdfunding donate 1.019
GoferEats - UberEats Clone 1.0
CADViewX: ActiveX for DWG, DXF, PLT, CGM 14
CADEditorX: ActiveX DWG/DXF, STP, PLT 14
Database Workbench Pro 5.7.2
ASP. NET C# PDF Software 2020.3.2
C# HTML to PDF 2020.3.2
dbForge Schema Compare for MySQL 5.0.191
dotConnect for Dynamics CRM 1.9
dotConnect for MailChimp 1.9
dbForge Query Builder for MySQL 4.5.254
The C# Excel Library 2020.5
Top Code
dbForge Studio for MySQL 8.1
dbForge Studio for Oracle 3.10
dbForge Schema Compare for Oracle 2.7
dbForge Data Compare for Oracle 3.7
IP2Location Geolocation Database 2020.5
Availability Booking Calendar PHP 1.0
Database Workbench Pro 5.7.2
ATN Site Builder 3.0
ATN Resume Finder 2.0
PHP Review Script 1.0
dbForge Schema Compare for MySQL 3.1
dbForge Query Builder for MySQL 4.4
Invoice Manager by PHPJabbers 3.0
Classified Ad Lister 1.0
Deals and Discounts Website Script 1.0.2
Top Rated
phpEnter 5.1.
Single Leg MLM 1.2.1
Azizi search engine script PHP 4.1.10
Paste phpSoftPro 1.4.1
Extreme Injector 3.7
Deals and Discounts Website Script 1.0.2
Solid File System OS edition 5.1
Classified Ad Lister 1.0
Aglowsoft SQL Query Tools 8.2
Invoice Manager by PHPJabbers 3.0
ICPennyBid Penny Auction Script 4.0
PHP Review Script 1.0
ATN Resume Finder 2.0
ATN Site Builder 3.0
Availability Booking Calendar PHP 1.0
Fast 2D histogram calculation 1.0
File ID: 86614






Fast 2D histogram calculation 1.0
Download Fast 2D histogram calculation 1.0http://www.mathworks.comReport Error Link
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 2-dimensional 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 non-decreasing 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 alpha-blended 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 in-place Walsh-Hadamard transform, which can be used in signal processing, pattern recognition and Genetic alogorithms. This algorithm uses a Cooley-Tukey 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
- required fields
     

Please enter text on the image