     r: zero new Array 256
     g: zero new Array 256
     b: zero new Array 256
+    a: zero new Array 256
     y: zero new Array 256
     h: zero new Array 361 # degrees [0,0, 360.0] -> [0, 361]
     s: zero new Array 101 # [0.0, 1.0] -> [0, 101]

exports.getComponent = ->
  c = new noflo.Component
  c.icon = 'file-image-o'
  c.description = 'Calculate RGBY and HSCL histograms of a given canvas.'

  c.outPorts.add 'histogram',
    datatype: 'object'

  normalize res.r, pixels
  normalize res.g, pixels
  normalize res.b, pixels
  normalize res.a, pixels
  normalize res.y, pixels
  normalize res.h, pixels
  normalize res.s, pixels
