Message Boards Message Boards

0
|
3208 Views
|
1 Reply
|
0 Total Likes
View groups...
Share
Share this post:

Convert a density histogram to an image?

Posted 7 years ago

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

Have you tried Image[BinPlot]?

POSTED BY: Gianluca Gorni
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract