Exemplo n.º 1
0
        //*** Get the ADU value at pixel X,Y
        public double GetPixelADU(int xPix, int yPix)
        {
            //get the array height and width
            int aHeight = timg.HeightInPixels;
            int aWidth  = timg.WidthInPixels;

            //need to some out of bounds checking here someday
            double[] aRow = timg.scanLine(yPix);
            double   aVal = aRow[xPix];

            return(aVal);
        }