Jump to content

Request for "un-flattening/relayering" effect


Recommended Posts

I was wondering, would it e possible to make a plugin which would be able to isolate an image from some sort of background. It could be used for the following purposes:

1. Isolating foreground from a single color background:

While anybody can use the magic wand to get rid of a single color background, many of the images one tries of isolate had anti-aliasing, were scaling, or an alpha channel, the result being that if one just uses the magic wand, one gets some sort of border, or start tearing into the image one are trying to isolate. This plugin would allow one to “subtract” the background color from the image, effectively isolating the foreground.

2. Isolating what was the top layer from an image:

Some times a similar situation comes up, except as opposed to what you are trying to isolate having a monochrome background, it is placed over an image. Now obviously with just the flattened image you can’t isolate it, but if you had another version of the image without what you are trying to isolate, you could perform a similar process as above, but instead of specifying a background color one directs the effect to the image not containing the foreground.

I realize however that there are multiple colors possible for each “subtraction,” generally ranging for more similar and more opaque, to less similar and less opaque, however I have 2 ideas that will overcome this. The first is simply you find to examples and cross reference. For example, in the first case you find the same image with two different colored backgrounds. Likewise in the second case you can find 4 images, two different ones, and two duplicates both with the same watermark or other layered picture.

However in situations where there was nothing to cross reference I believe I have a rudimentary solution, first of all, there is a slider: One extreme means that the isolation looks almost exactly like it did in the original, but it is almost opaque, and therefore may reflect on the background. The other extreme means that the isolated image may be very unlike how it was in the original, but when it is overlaid over the original, it looks proper. In addition to the slider, each outputted pixel tends to be more like the former if its original correspondent A) is dissimilar to the background color\reference image and B) to similar to its adjacent (original) pixels.

Hope this is clear

Link to comment
Share on other sites

I was wondering, would it e possible to make a plugin which would be able to isolate an image from some sort of background. It could be used for the following purposes:

1. Isolating foreground from a single color background:

While anybody can use the magic wand to get rid of a single color background, many of the images one tries of isolate had anti-aliasing, were scaling, or an alpha channel, the result being that if one just uses the magic wand, one gets some sort of border, or start tearing into the image one are trying to isolate. This plugin would allow one to “subtract” the background color from the image, effectively isolating the foreground.

You can use the plugin, colour to alpha or curves+ for this (use search). Regarding the other questions though, i wouldnt know.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...