Create a 2-D histogram from an image.
{
TASImage image(
"$ROOTSYS/tutorials/visualisation/image/rose512.jpg");
for (
int row = 0; row <
xPixels; ++row) {
for (
int col = 0; col <
yPixels; ++col) {
}
}
}
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t index
R__EXTERN TStyle * gStyle
2-D histogram with a double per channel (see TH1 documentation)
void SetPalette(Int_t ncolors=kBird, Int_t *colors=nullptr, Float_t alpha=1.)
See TColor::SetPalette.
- Author
- Olivier Couet
Definition in file image2hist.C.