Exemplo n.º 1
0
        private void PlotZeroOrderPSF()
        {
            using (Graphics g = Graphics.FromImage(picAlignTarget.Image))
            {
                m_ZeroOrderPsf.DrawGraph(g, new Rectangle(0, 0, picAlignTarget.Width, picAlignTarget.Height), m_AstroImage.Pixelmap.BitPixCamera, m_AstroImage.Pixelmap.MaxSignalValue);
                g.Save();
            }

            picAlignTarget.Invalidate();
        }
Exemplo n.º 2
0
        private void DrawPsf()
        {
            if (m_PSFFit != null && picFIT.Image != null)
            {
                using (Graphics g = Graphics.FromImage(picFIT.Image))
                {
                    m_PSFFit.DrawGraph(g, new Rectangle(0, 0, picFIT.Image.Width, picFIT.Image.Height), m_Bpp, m_NormVal, (float)nudMeasuringAperture.Value);
                    g.Save();
                }

                picFIT.Invalidate();
            }
        }
Exemplo n.º 3
0
 public void DrawGraph(System.Drawing.Graphics g, System.Drawing.Rectangle rect, int bpp, uint normVal, float aperture = 0)
 {
     PSFFit.DrawGraph(g, rect, bpp, normVal, this, m_Saturation, aperture);
 }