Jump to content

Hide images and reveal effect with a red filter.


Go to solution Solved by Reptillian,

Recommended Posts

I found on the net a neat effect that I could use at school with my students. I would like to be able to reproduce it but I don't know the steps and I didn't find a plugin to do this either. As you can see, on the left side, two images have been merged in such a way that when a red filter is placed over them a hidden image will be revealed.

Hide-effect-reveal-hidden-immage.png

For example, I would like to combine Van Gogh and Sorolla's portraits and make the painter Sorolla appear when a red filter is used.

 

hide-with-Van-Gogh.pngreveal-sorolla.png

The combined image will be printed and red cellophane will be used as a filter.

 

Thanks for the help.

welsh-Yellow-cheddar-cheese-signature.pn

Link to comment
Share on other sites

2 minutes ago, AndrewDavid said:

Hi @Welsh Yellow Cheddar

I seem to remember @BoltBait writing a plugin to do that.

Have a try and post any questions to the plugin thread.

Hope this helps :)

 

Hello AndrewDavid,

 

Thanks for the tip but I actually need to print the resulting images so the kids can walk around the classroom with a red filter in their hands and take notes.

welsh-Yellow-cheddar-cheese-signature.pn

Link to comment
Share on other sites

I guess it would be possible to write a plugin/G'MIC script which import images, and then combine them per channel.

G'MIC Filter Developer

 

I am away from this forum for undetermined amount of time: If you really need anything related to my PDN plugin or my G'MIC filter within G'MIC plugin, then you can contact me via Paint.NET discord, and mention me.

Link to comment
Share on other sites

It can be done fairly easily without a special plugin.

  • Convert the original image to black and white.
  • Run Ed Henry's Extract Channel plugin. Set the channel to Red, and uncheck the Grayscale checkbox. The image will now be red.
  • Add a layer, and set its Blend Mode to Additive.
  • Fill the layer with some random black and white pattern. For example, run Clouds, perhaps followed by Dents or Crystalize.
  • Run Extract Channel, this time setting the Channel to Blue.
  • Add another layer, and set its Blend Mode to Additive.
  • Fill the layer with some random black and white pattern.
  • Run Extract Channel, this time setting the Channel to Green.
  • Flatten the image.

The effect is best when the Green and Blue layers obscure the image in the Red layer.

 

EDIT: Though it's probably obvious, I should have mentioned that the Blue and Green images don't need to be random patterns -- they can be any black-and-white images, colored by applying Extract Channel. In the original examples, they're other portraits.

  • Like 2
  • Upvote 1
  • You're a Smart Cookie! 2
Link to comment
Share on other sites

35 minutes ago, MJW said:

Run Ed Henry's Extract Channel plugin. Set the channel to Red, and uncheck the Grayscale checkbox. The image will now be red.

 

There's another Extract Channel plugin (which I had made).

 

Your step can be argued to be a bit too long, but works.

Edited by Reptillian
  • Like 1

G'MIC Filter Developer

 

I am away from this forum for undetermined amount of time: If you really need anything related to my PDN plugin or my G'MIC filter within G'MIC plugin, then you can contact me via Paint.NET discord, and mention me.

Link to comment
Share on other sites

20 hours ago, MJW said:

It can be done fairly easily without a special plugin.

  • Convert the original image to black and white.
  • Run Ed Henry's Extract Channel plugin. Set the channel to Red, and uncheck the Grayscale checkbox. The image will now be red.
  • Add a layer, and set its Blend Mode to Additive.
  • Fill the layer with some random black and white pattern. For example, run Clouds, perhaps followed by Dents or Crystalize.
  • Run Extract Channel, this time setting the Channel to Blue.
  • Add another layer, and set its Blend Mode to Additive.
  • Fill the layer with some random black and white pattern.
  • Run Extract Channel, this time setting the Channel to Green.
  • Flatten the image.

The effect is best when the Green and Blue layers obscure the image in the Red layer.

 

EDIT: Though it's probably obvious, I should have mentioned that the Blue and Green images don't need to be random patterns -- they can be any black-and-white images, colored by applying Extract Channel. In the original examples, they're other portraits.

Thanks MJW. I followed your instructions. I don't know what the layers modes do but they do what I needed. 😊

hidden-image-with-dents.png

hidden-image-with-dents-unveil.png

  • Like 1
  • Upvote 1

welsh-Yellow-cheddar-cheese-signature.pn

Link to comment
Share on other sites

4 hours ago, Welsh Yellow Cheddar said:

I don't know what the layers modes do but they do what I needed.

 

It's actually pretty simple. The Blend Mode of a layer determines how that layer is combined with the layers beneath it. Additive mode adds whatever's in the layer to the layers below. Because the Green and Blue layers use Additive mode, the combined image consists of the Red, Green, and Blue layers added together. Looking through a red filter removes all but the image in the Red layer.

 

Good job with the image you made, the portrait is nicely disguised by the top layers.

Link to comment
Share on other sites

To do exactly what the author of the blog did, you'd need to invert the channels. I actually checked, here's the check:

 

unknown.png?width=1440&height=508

 

You can tell that from the top left picture of each group are inverted. There may also be some control involved into each channels.

It's hard to see from the blue side, but you can tell that the pictures for other channels other than red don't have to be the same.

 

My example with the observation made:

 

unknown.png

Edited by Reptillian
  • Like 1

G'MIC Filter Developer

 

I am away from this forum for undetermined amount of time: If you really need anything related to my PDN plugin or my G'MIC filter within G'MIC plugin, then you can contact me via Paint.NET discord, and mention me.

Link to comment
Share on other sites

9 minutes ago, Reptillian said:

To do exactly what the author of the blog did, you'd need to invert the channels. I actually checked, here's the check:

 

unknown.png?width=1440&height=508

 

You can tell that from the top left picture of each group are inverted. There may also be some control involved into each channels.

It's hard to see from the blue side, but you can tell that the pictures for other channels other than red don't have to be the same.

Yes, at first I thought the images were the negatives of pictures and I could not blend them correctly till MJW mentioned channel extractions and the use of additive mode.  I find it interesting that there are several methods of doing this effect.

 

I used your Extract Channel plugin for this image. :)

 

welsh-Yellow-cheddar-cheese-signature.pn

Link to comment
Share on other sites

One last observation, the red channel and blue channel are using the same image as base. It's only the green channel that should use a different image. Seems very doable as a script to be honest.

 

So basically:

Red has no change

Green is a negative, and has a different base

Blue is a negative, and is the same base as in red.

Edited by Reptillian
  • Like 1

G'MIC Filter Developer

 

I am away from this forum for undetermined amount of time: If you really need anything related to my PDN plugin or my G'MIC filter within G'MIC plugin, then you can contact me via Paint.NET discord, and mention me.

Link to comment
Share on other sites

@Welsh Yellow Cheddar

 

Now I'm developing a G'MIC script (which of course will be part of the G'MIC-QT plugin) to do this:

 

unknown.png

Now, I have added things like luminosity blending mode, and green control. I will find a way to allow users to tone the green down with human perception in mind. You could say this is more advanced than the original author intention.

Edited by Reptillian
  • Like 1

G'MIC Filter Developer

 

I am away from this forum for undetermined amount of time: If you really need anything related to my PDN plugin or my G'MIC filter within G'MIC plugin, then you can contact me via Paint.NET discord, and mention me.

Link to comment
Share on other sites

  • Solution

I had just finished it. Took me a little longer as I have forgotten to account for alpha channel.

G'MIC Filter Developer

 

I am away from this forum for undetermined amount of time: If you really need anything related to my PDN plugin or my G'MIC filter within G'MIC plugin, then you can contact me via Paint.NET discord, and mention me.

Link to comment
Share on other sites

  • 2 months later...

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.

×
×
  • Create New...