private Image <Gray, Byte>[][,] calculate(Image <Gray, int> orientationDegImg)
        {
            Image <Gray, Byte>[][,] linearMaps = new Image <Gray, byte> [GlobalParameters.NUM_OF_QUNATIZED_ORIENTATIONS][, ];

            using (Image <Gray, Byte> sprededQuantizedOrient = FeatureMap.Calculate(orientationDegImg, this.NeigborhoodSize))
            {
                for (int orient = 0; orient < GlobalParameters.NUM_OF_QUNATIZED_ORIENTATIONS; orient++)
                {
                    using (var responseMap = computeResponseMap(sprededQuantizedOrient, orient))
                    {
                        linearMaps[orient] = linearizeResponseMap(responseMap);
                        //responseMap.Save("C:/RM_" + orient + ".bmp");
                    }
                }
            }

            return(linearMaps);
        }