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
GetOrgChart 2.5.3
AnyGantt JS Gantt Charts 8.6.0
AnyChart JS Charts and Dashboards 8.6.0
Multi Vendor Ecommerce Script & Apps 4.0
Magento 2 Inventory Management Extension 1.0
Yipit Clone Script - Daily Deals Software 1.0.2
Devart Excel Add-in for Oracle 1.7
Devart Excel Add-in for Freshdesk 1.7
Devart Excel Add-in for G Suite 1.7
C# QR Code Generator 4.0.2.2
Salesforce WordPress Customer Portal 3.2.0
Single Leg MLM 1.2.1
OzGIS 14.6
Quick Maps For Dynamics CRM 3.1
Job Board Software 4.2
Top Code
MCU 8051 IDE 1.4.7
shopping mall management system 1.0
WinPoker 2.02
MATLAB Support Package for Arduino (aka ArduinoIO Package) 1.0
SynaSer Serial Port Library 5.0
MLM Software 1.0.2
sipmethod 1.0
STDF file reader 1.0
Maios 1.0
School Management Script 1.0.4
jArt Java Operating System 1.0
Planyo online reservation system module 6.x-1.8
Bank Transfer 6.x-1.x-dev
Azizi search engine script PHP 4.1.10
SuperGeek Free Document OCR 2.5.6
Top Rated
VisualNEO Web 2018.12.15
Paste phpSoftPro 1.4.1
Deals and Discounts Website Script 1.0.2
ADO.NET Provider for ExactTarget 1.0
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
PHP GZ Blog Script 1.1
ATN Jobs Software 4.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: 6
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: 6



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