Open a FITS file and retrieve the first plane of the image array as a TImage object. 
  
void FITS_tutorial3()
{
   
   
   
 
   
 
   auto c = 
new TCanvas(
"c1", 
"FITS tutorial #1", 800, 700);
 
   for (
auto i : 
ROOT::TSeqI(1, 6)) {
 
      TFITSHDU hdu(dir + 
"/fitsio/sample3.fits", i);
 
 
   }
}
FITS file interface class.
 
An abstract interface to image processing library.
 
virtual void Draw(Option_t *option="")
Default Draw method for all objects.
 
This file contains a specialised ROOT message handler to test for diagnostic in unit tests.
 
  - Author
 - Claudi Martinez 
 
Definition in file FITS_tutorial3.C.