In accordance with an example embodiment of the present invention, a method comprising: obtaining a plurality of training cases; initializing a filter corresponding to each convolutional layer in a convolutional neural network, wherein the convolutional neural network comprises at least one convolutional layer; applying a squashing function on the filter; computing convolutions of patches from the plurality of training images and the filter which has applied the squashing function; and obtaining parameters of the squashing function and parameters of the filter based on the computed convolutions.
Please help me write a proper abstract based on the patent claims. CLAIM: 1. A method, comprising: obtaining a plurality of training cases; initializing a filter corresponding to each convolutional layer in a convolutional neural network, wherein the convolutional neural network comprises at least one convolutional layer; applying a squashing function on the filter; computing convolutions of patches from the plurality of training images and the filter which has applied the squashing function; and obtaining parameters of the squashing function and parameters of the filter based on the computed convolutions. 2. The method of claim 1, wherein the squashing function is a sigmoid function. 3. The method of claim 1, wherein the squashing function and parameters of the filter are obtained by minimizing the mean squared error of the training cases. 4. The method of claim 3, wherein minimizing the mean squared error of the training cases is performed through a back propagation algorithm. 5. The method of claim 1, further comprising: applying a classical max-pooling method if a pooling layer exists after convolutional layer. 6. The method of claim 1, further comprising: obtaining a plurality of test cases; computing the convolutional layers by computing convolution of patches from the plurality of test cases. 7. The method of claim 6, further comprising: applying a classical max-pooling method if a pooling layer exists after convolutional layer. 8. A non-transitory computer storage medium encoded with a computer program, the program comprising instructions that when executed by one or more computers cause the one or more computers to perform operations comprising: obtaining a plurality of training cases; initializing a filter corresponding to each convolutional layer in a convolutional neural network, wherein the convolutional neural network comprises at least one convolutional layer; applying a squashing function on the filter; computing convolutions of patches from the plurality of training images and the filter which has applied the squashing function; and obtaining parameters of the squashing function and parameters of the filter based on the computed convolutions. 9. The computer storage medium of claim 8, wherein the squashing function is a sigmoid function. 10. The computer storage medium of claim 8, wherein the squashing function and parameters of the filter are obtained by minimizing the mean squared error of the training cases. 11. The computer storage medium of claim 10, wherein minimizing the mean squared error of the training cases is performed through a back propagation algorithm. 12. The computer storage medium of claim 8, further comprising: applying a classical max-pooling method if a pooling layer exists after convolutional layer. 13. The computer storage medium of claim 8, further comprising: obtaining a plurality of test cases; computing the convolutional layers by computing convolution of patches from the plurality of test cases. 14. The computer storage medium of claim 13, further comprising: applying a classical max-pooling method if a pooling layer exists after convolutional layer. 15. A system comprising one or more computers and one or more storage devices storing instructions that, when executed by the one or more computers, cause the one or more computers to perform operations comprising: obtaining a plurality of training cases; initializing a filter corresponding to each convolutional layer in a convolutional neural network, wherein the convolutional neural network comprises at least one convolutional layer; applying a squashing function on the filter; computing convolutions of patches from the plurality of training images and the filter which has applied the squashing function; and obtaining parameters of the squashing function and parameters of the filter based on the computed convolutions. 16. The system of claim 15, wherein the squashing function is a sigmoid function. 17. The system of claim 15, wherein the squashing function and parameters of the filter are obtained by minimizing the mean squared error of the training cases. 18. The system of claim 17, wherein minimizing the mean squared error of the training cases is performed through a back propagation algorithm. 19. The system of claim 15, further comprising: applying a classical max-pooling method if a pooling layer exists after convolutional layer. 20. The system of claim 15, further comprising: obtaining a plurality of test cases; computing the convolutional layers by computing convolution of patches from the plurality of test cases.