Make Histogram
While working with a histogram we may need to detect a peak or crest of the histogram.But the histogram contains a number of local minima & maxima which makes the histogram extremely uneven.While detecting a peak or crest we are intended to detect the global peak or crest.This code replaces every...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (38): Removal of unevenness of a histogram Download |
function [optN, C, N] = sshist(x,N) [optN, C, N] = sshist(x,N) Function `sshist' returns the optimal number of bins in a histogram used for density estimation. Optimization principle is to minimize expected L2 loss function between the histogram and an unknown underlying density function. An...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (40): Histogram Binwidth Optimization Download |
This is an image contrast enhancement algorithm that overcomes limitations in standard histogram equalization (HE). The two primary features is adaptive HE (AHE), which divides the images into regions and performs local HE, and the contrast limited AHE (CLAHE), which reduces noise by partially...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (50): Contrast Limited Adaptive Histogram Equalization (CLAHE) Download |
This function finds dominant peaks and valleys of an image histogram. Minimum peak distance and averaging filter size can be changed to suit your need.Although, the function is originally written for mages, there is no reason why this can't be used on one dimensional data.USAGE:[peaks minima_low...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (44): Finding Dominant Peaks and Valleys of an Image Histogram Download |
MAKEFSLXFMMATRIX Make FSL-compatible transformation matrix. M = MAKEFSLXFMMATRIX(T,R,S,FILENAME) outputs a 4x4 transformation matrix performing the translations in T, the rotations in R and the scalings in S and writes this matrix to the file specified by the string FILENAME. This file is...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (45): Make FSL-compatible Transformation Matrix Download |
HISTCND Histogram count for n dimensional data. N = HISTCND(X,EDGES), for row vectors X, counts the number of values in X that fall between the grid defined by the cell array of EDGES, each of whose element is a vector that contain monotonically non-decreasing values. N is an N-D array each of...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (42): N-D histogram Download |
Brightness Preserving Dynamic Fuzzy Histogram Equalization(BPDFHE) proposes a novel modification of the brightness preserving dynamic histogram equalization technique to improve its brightness preserving and contrast enhancement abilities while reducing its computational complexity. This...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (48): Brightness Preserving Dynamic Fuzzy Histogram Equalization Download |
%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%...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (39): Function to make a 2D histogram Download |
This script transforms an image such that the object in the "foreground" of the image now becomes the histogram of the transformed image.I provide three examples with 3 demo images: I change the image of a city skyline so that the histogram of the new image looks like the skyline. I change the...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 1.65 MB | Download (51): Custom-shaped histogram Download |
Here we find out the histogram of any gray level image by not using the command imhist(), which is an inbuilt one rather by without using the inbuilt command. Reader may verify the plot by comparing with that generated from using the inbuilt command.
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): Histogram of an image without inbuilt command Download |
How do you make a car reach a thousand miles an hour? The BLOODHOUND engineering team are working to solve this problem with their jet-and-rocket powered car aiming to smash the current land speed record. This British team currently hold the record with the Thrust SSC (SuperSonic Car) that made...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 460.8 KB | Download (50): How can we make BLOODHOUND travel at 1000 mph? Download |
The provided functions demonstrate a histogram-based measure for class separability, given the samples from two classes (binary classification problem). The proposed error classification estimation method is described in (B) and it is based on estimating the pdf of each class using histograms....
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 30.72 KB | Download (47): Histogram-based class separability measure Download |
Make '_', '^', '{', '}' and '' characters visible for the 'tex' interpreter (Put '' in front).With that function, you change the text 'y = x^2', where the letter 2 is superscript using a 'tex' interpreter, to 'y = x^2', where the text appears as written before ('y = x^2').
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (39): Make special characters visible Download |
The histogram of the image gives the frequency of occurrence of the gray level. it gives the no. of times a particular gray level occurs in the image. In the case of a colour image,the histogram is expected to give the number of a particular colour has occurred in the image.
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (40): matlab code for histogram of colour image Download |
This programs creates a histogram with a "logicle" (aka biexponential) x-axis. This is generally used to display flow cytometry data. It will not create false artifacts for values near zero. For more information see "A new "Logicle" display method avoids deceptive effects of logarithmic scaling...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (39): Logicle Histogram Download |
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...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (49): 2D Histogram Calculation Download |
function H = histo2D(D,[Xlo Xhi],Xn,[Ylo Yhi],Yn,Xlab,Ylab,Title) 2-Dimensional Histogram(size(H) == [Yn Xn])Counts number of points in the bins defined by -X = linspace(Xlo,Xhi,Xn) andY = linspace(Ylo,Yhi,Yn)Example:Dx = 5*rand(100,1) ;Dy = 10*rand(50,1) ;D = [Dx,Dy] ;H = histo2D(D,[0 5],10,[0...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (44): 2-Dimensional Histogram Download |
Two files are included:CALCNBINS, which calculates the "ideal" number of bins to use in a histogram, using three possible methods. (Freedman-Diaconis', Scott's and Sturges' methods.)HISTX is a wrapper for Matlab's own histogram function HIST, that uses CALCNBINS to choose the number of bins if...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (46): Calculate number of bins for histogram Download |
Function HISTF ('flexible histogram') extends Matlab's HIST by letting one bound displayed percentiles, set x-axis limits and y-axis maximum, set x bin size, and draw a marker line at given x position. In contrast to HIST, relative rather than absolute frequencies are displayed. (Note: when range...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (44): Plot a univariate histogram Download |
HISTCND is similar to HISTC, but creates a histogram with any number of dimensions.N = HISTCND(X,Y,Z,... XEDGES,YEDGES,ZEDGES,... )where N is a histogram count with dimensions length(XEDGES) x length(YEDGES) x length(ZEDGES) ...If XEDGES, YEDGES, etc. are monotonically increasing and non-NaN, a...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (48): N-Dimensional Histogram Count Download |