Referring to [Matt Dray\'s post Quantify colour by {magick}][1], I\'d like to generalise the section that combines the set of coloured image objects, i.e.