make masks (& integrated images) based on 321 line