無論我們在 RGB colorspace 怎麼解永遠都不好,消除 chromatic noise 的同時一定會有機會影響細節,問題就是在 RGB channel 隱含了很大的 intensity 成分。必須要轉換到有 color-phase 和 color-saturation 的空間,完整的將 luminance 區隔開來,然後處理那些對人眼影響不大,但不規則卻會很惱人的 noise channels。 如Lab、YUV、HSV、YCbCr;都是不錯的選擇。
- transform RGB image to luminance-split color space.
- smooth the non-luminance channels (may use bilateral filtering), NOTE that the
smooth window size must be large enough (eg. 21×21 pixels). - well-blended with original channels if we don’t want to lose too much color especially in small object region.
- inverse transform colorspace.
- Done.
與主流 denoise 軟體比較,canon DPP、Noiseware,都在強 edge 附近使用了較多原圖的顏色,所以邊緣的 chromatic 雜訊也較多,但是更有機會保留色彩。