Message Boards Message Boards

Convert a density histogram to an image?

GROUPS:

I have a density histogram with specified bin sizes in x and y:

BinPlot= 
 DensityHistogram[data, {1000,500}]

I would like to convert this to an image that I can perform a Gaussian blur on. I've tried looking through the documentation but can't figure out how to do so; is there a function that can convert the density histogram to an image? Or do I need to use another type of histogram in order to do that? I know I can convert a matrix of data into an image but it seems like HistogramList doesn't work for Density Histograms. Any help would be greatly appreciated.

POSTED BY: Greg Morrin
Answer
2 months ago

Have you tried Image[BinPlot]?

POSTED BY: Gianluca Gorni
Answer
2 months ago

Group Abstract Group Abstract