Mobile app version of vmapp.org
Login or Join
Cody3331749

: Automatically remove overlays from a set of identical images using Gimp I have a number of images that have all the same background but each has different text overlaid (they are covers of

@Cody3331749

Posted in: #Background #Gimp #Overlay

I have a number of images that have all the same background but each has different text overlaid (they are covers of a magazine journal).

I don't have access to the background image, but I know that I can create a composite of the covers and get the background that way.

I can do this manually with a photo-editing program by moving from layer to layer but I'm wondering if there's a tool or filter that automates this (ideally one I can use in Gimp, since I don't have Photoshop).

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Cody3331749

2 Comments

Sorted by latest first Latest Oldest Best

 

@Vandalay110

BgMask is a script that does what you want. It has automatic and manual background extraction mode. Load your images as layers and do Extract Background, and if that leaves artifacts, use manual background extraction tool. See also a video tutorial.

10% popularity Vote Up Vote Down


 

@Vandalay110

I don't know of any general way to do that, and indeed, in some cases an automatic solution might not even be possible without some way to distinguish the text from the background. (You could, for example, decide that the color a given pixel had in a majority of the images was the background, but that could fail for pixels that were actually covered by text in all but a few of the images.)

However, in some special cases there do exist simple solutions. For example, if the text was always darker than the background, then you could simply open all the images as layers, change their blending mode to "Lighten only" and merge them.

Of course, for light text on a dark background, the same trick could be used with the "Darken only" mode.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme