Discrete cosine transform and total variation denoising based optimization approach for pixelation removal in fiber optic imaging system