In recent years, opportunities to take pictures have increased, and so techniques for removing deterioration in photographed images such as blurring have become necessary. In the previous research, we proposed a method using total variation regularization and a shock filter and showed its effectiveness. However, it has been confirmed that the restoration performance is lowered depending on the images and PSF. In this research, we optimize the method by adjusting parameters for these images.