Custom shaped histogram in matlab

The following Matlab project contains the source code and Matlab examples used for custom shaped histogram. This script transforms an image such that the object in the "foreground" of the image now becomes the histogram of the transformed image.

The source code and files included in this project are listed in the project files section, please make sure whether the listed source code meet your needs there.

Project Files: 

File NameSize
license.txt 1313
2011_Ford_Shelby_GT500.png 82137
Beach_Woman.png 1490643
chicago_skyline_small.png 119640
shaped_histogram.m 25726
threshold.fig 15717
threshold.m 42564
threshold_grayscale_image.m 2336