This article proposes an improved partial differential equation (PDE)-based total variation (TV) model that enhances grey and coloured brain tumour images obtained by magnetic resonance imaging. A nonsubsampled contourlet transform was applied to images from standard databases that converted into lowpass and highpass (or bandpass) contourlet coefficients. An improved version of the power-law transform method was used on the lowpass contourlet coefficients, and an adaptive threshold method was applied to the highpass (or bandpass) contourlet coefficients. The inverse contourlet transform was performed on all the enhanced contourlet coefficients to generate a complete brain tumour image. Finally, the PDE-based TV model was applied to this image to produce the denoised image. The performance of the suggested method was calculated in terms of the peak signal-to-noise ratio, mean square error, and structural similarity index. This method achieved the best peak signal-to-noise ratio, mean square error, and structural similarity index of 77.9846 dB, 0.00012612, and 97.895%, respectively, compared to the conventional PDE+modified transform-based gamma correction, adaptive PDE+generalized cross-validation, parallel magnetic resonance imaging, and Berkeley wavelet transform+support vector machine methods.