amirhertz / visual_motif_removal

MIT License
42 stars 11 forks source link

Fixed: all motifs were always black and white #4

Open ievron opened 5 years ago

ievron commented 5 years ago

The previous code turned all the non-black pixels on the RGBA motif into (255,255,255,255), i.e. white. The authors' intent was probably setting only the alpha coordinate to its maximal value (no opacity), i.e. (r,g,b,255).