AdvancedOCR.SubsamplingWeights.PropogateUnitSecondDerivatives C# (CSharp) Method

PropogateUnitSecondDerivatives() protected method

protected PropogateUnitSecondDerivatives ( RectangularStep downstream, int upstreamIndex ) : void
downstream RectangularStep
upstreamIndex int
return void
        protected override void PropogateUnitSecondDerivatives(RectangularStep downstream, int upstreamIndex)
        {
            RectangularStep upstream = downstream.Upstream[upstreamIndex];

            for (int y = 0; y < downstream.Height; y++)
            {
                for (int x = 0; x < downstream.Width; x++)
                {
                    EstimateWeightSecondDerivative(upstream, downstream, x, y);
                }
            }
        }