Created method for extracting BW histogram from image chunk

Signed-off-by: Luiz Carlos Cavalcanti <cavalcanti.luiz@gmail.com>
Added histogram data to sample dataset

Signed-off-by: Luiz Carlos Cavalcanti <cavalcanti.luiz@gmail.com>