Text this: Enhanced Wavelet-Based Medical Image Denoising with Bayesian-Optimized Bilateral Filtering