ND2: only populate the channel color if it is non-zero (rebased onto develop)



This is the same as gh-717 but rebased onto develop.

----

Setting the channel color to 0 (i.e. black) can prevent the images from displaying correctly when the color-appropriate lookup tables are applied.

/cc @pwalczysko