title,doi,url,abstract,journal,publication_year,pmid,arxiv Optimized connected Median filter using Particle Swarm Optimization, https://doi.org/10.32628/IJSRCSEIT, https://ijsrcseit.com/CSEIT172493, In the image processing Median filter were used to remove the impulse noise. It preserves the edges for the next level operations such as segmentation and object recognition. The present paper deals with the preprocessing of chili x-ray images. The researcher has already preprocessed the chili x-ray images by adopting the Average filter Median filter Wiener filter Gamma intensity correction CLAHE 4-connected Median filter and weighted 4-connected median filter. The result of the above stated preprocess methods to contain noise in the pixels hence it is considered as unsuitable for next level operations. To remove such noise from the image this paper contributes a precise and well-organized algorithm. The proposed noise removal algorithm replaces the noisy pixels by using '4-connected median value' and replaces the remaining pixels by using 'weighted 4-connected median value' in the selected window. The replacement of middle pixel value in 4-connected median filter is done through particle swarm optimization algorithm. Peak Signal to Noise Ratio used as the fitness function in the particle swarm optimization algorithm. The performance measures were taken for all the noise removal algorithm. Among the various results obtained the proposed algorithm works better than others., International Journal of Scientific Research in Computer Science Engineering and Information Technology, 2017, CSEIT172493