srm using masks and the srmRgb database table to show the graphic