Example #1
0
        private void ReAllocLut(T radius)
        {
            m_radius   = radius;
            m_diameter = Basics.CeilingUint(radius) * 2;
            m_start    = -(int)(m_diameter / 2 - 1);
            int size = (int)m_diameter << (int)SubPixelScale.Shift;

            if (size > m_weight_array.Size())
            {
                m_weight_array.Resize(size);
            }
        }