We use the "magic TV" network with the maximum a posteriori (MAP) criterion to restore a space-dependent blurred image. This network provides a unique topological invariance mechanism that facilitates the identification of such space-dependent blur. Instead of using parametric modeling of the underlying blurred image, we use this mechanism to accomplish the restoration. The restoration is reached by a self-organizing evolution in the network, where the weight matrices are adapted to approximate the blur functions. The MAP criterion is used to indicate the goodness of the approximation and to direct the evolution of the network.