RGB: how to break up an image into these components?

Please use this part to report bugs & errors, ask questions & "How to..."
Post Reply
User avatar
Peter Wassink
Posts: 4437
Joined: 17 Feb 2006, 15:38
Location: Amsterdam
Contact:

RGB: how to break up an image into these components?

Post by Peter Wassink »

In order to apply certain effects i am trying to break up an image into its RGB components.
each channel on its seperate layer
TVP used to have dedicated channel buttons that could be used for this.
But they were abandoned, now i'm not asking for their return but..., i am looking for the FXstack workaround (i knew it once, but can't remember) maybe someone has the answer ready?
Peter Wassink - 2D animator
• PC: Win11/64 Pro - AMD Ryzen 9 5900X 12-Core - 64Gb RAM
• laptop: Win10/64 Pro - i7-4600@2.1 GHz - 16Gb RAM
User avatar
ematecki
Site Admin
Posts: 2259
Joined: 15 Feb 2006, 14:32

Re: RGB: how to break up an image into these components?

Post by ematecki »

To split it into channels, I would use the BW Converter with each time a single channel at 255 and the other two at 0.

To merge them back the best would be a to colorize/tint each of the layers with they respective color and then just merge the layer stack.

There may be faster methods...
Quicktime is DEAD. Get over it and move on !
User avatar
slowtiger
Posts: 2949
Joined: 08 May 2008, 21:10
Location: berlin, germany
Contact:

Re: RGB: how to break up an image into these components?

Post by slowtiger »

Shouldn't it be possible to script this and put into a button, so one click would copy the source layer into 3 separate layers for each RGB channel?
TVP 10.0.18 and 11.0 MacPro Quadcore 3GHz 16GB OS 10.6.8 Quicktime 7.6.6
TVP 11.0 and 11.7 MacPro 12core 3GHz 32GB OS 10.11 Quicktime 10.7.3
TVP 11.7 Mac Mini M2pro 32GB OS 13.5
User avatar
Peter Wassink
Posts: 4437
Joined: 17 Feb 2006, 15:38
Location: Amsterdam
Contact:

Re: RGB: how to break up an image into these components?

Post by Peter Wassink »

once i get the right settings it shouldn't be a big problem to get in into buttonform.

I'm not there yet though.
Eric how do i then set the layers so they display the original image, what blendmodes should i use?
i could puzzle away at this but before i do maybe someone knows already?
Peter Wassink - 2D animator
• PC: Win11/64 Pro - AMD Ryzen 9 5900X 12-Core - 64Gb RAM
• laptop: Win10/64 Pro - i7-4600@2.1 GHz - 16Gb RAM
User avatar
ematecki
Site Admin
Posts: 2259
Joined: 15 Feb 2006, 14:32

Re: RGB: how to break up an image into these components?

Post by ematecki »

It's even easy than I thought...

Once each of the three layers is tinted/colorized with Red/Green/Blue, just set their blending mode to "Add".
Don't forget to set the background to "None", adding over white stays white...
Quicktime is DEAD. Get over it and move on !
User avatar
Peter Wassink
Posts: 4437
Joined: 17 Feb 2006, 15:38
Location: Amsterdam
Contact:

Re: RGB: how to break up an image into these components?

Post by Peter Wassink »

ematecki wrote:It's even easy than I thought...

Once each of the three layers is tinted/colorized with Red/Green/Blue, just set their blending mode to "Add".
Don't forget to set the background to "None", adding over white stays white...
and do the layers have to be set at 33%?
i'm not getting the original drawing back
And tint and colorize get me different results that is... only colorize will change the grey image into color.
Peter Wassink - 2D animator
• PC: Win11/64 Pro - AMD Ryzen 9 5900X 12-Core - 64Gb RAM
• laptop: Win10/64 Pro - i7-4600@2.1 GHz - 16Gb RAM
User avatar
ematecki
Site Admin
Posts: 2259
Joined: 15 Feb 2006, 14:32

Re: RGB: how to break up an image into these components?

Post by ematecki »

Peter Wassink wrote:and do the layers have to be set at 33%?
No, they must be at 100%. Each one will only add to its own channel.
Peter Wassink wrote:And tint and colorize get me different results that is... only colorize will change the grey image into color.
So use colorize :) I used a french version and didn't remember which one is which one in english, so I wrote both...
Quicktime is DEAD. Get over it and move on !
User avatar
Peter Wassink
Posts: 4437
Joined: 17 Feb 2006, 15:38
Location: Amsterdam
Contact:

Re: RGB: how to break up an image into these components?

Post by Peter Wassink »

no luck yet :(
rgbchannels.jpg
Peter Wassink - 2D animator
• PC: Win11/64 Pro - AMD Ryzen 9 5900X 12-Core - 64Gb RAM
• laptop: Win10/64 Pro - i7-4600@2.1 GHz - 16Gb RAM
User avatar
ZigOtto
Posts: 4102
Joined: 17 Feb 2006, 22:50
Location: south-Petazonia

Re: RGB: how to break up an image into these components?

Post by ZigOtto »

Peter Wassink wrote:no luck yet :(
Peter, don't use "Colorize" to get the color of your R, G and B chanel, but instead use "Multiply",
... then use "Add" mode for blending the 3 chanels again together,
so the "step by step" is something like that :
duplicate your original source 3 times, rename each layer Red, Green, and Blue,
to the Red layer, apply the B&W converter FX (R=255, G=0, B=0)
to the Green layer, apply the B&W converter FX (R=0, G=255, B=0)
to the Blue layer, apply the B&W converter FX (R=0, G=0, B=255),
now, paint over the whole Red Layer (rectangle fill) with the red color in Multiply mode,
idem on the Green layer with the green color, and on the Blue layer, with the blue color, all in multiply mode,
then, set the merge mode of the 2 top layers to "Add".

... or alternatively, use the Color "Shuffle" FX from the K-FramED plugin ...
RGBshuffle.png
:wink:
User avatar
ematecki
Site Admin
Posts: 2259
Joined: 15 Feb 2006, 14:32

Re: RGB: how to break up an image into these components?

Post by ematecki »

Peter Wassink wrote:no luck yet :(
rgbchannels.jpg
You have to set the background to "None", not "Color".
Quicktime is DEAD. Get over it and move on !
User avatar
Hervé
Site Admin
Posts: 3490
Joined: 08 Feb 2006, 17:00
Location: Metz France
Contact:

Re: RGB: how to break up an image into these components?

Post by Hervé »

ematecki wrote:
Peter Wassink wrote:no luck yet :(
rgbchannels.jpg
You have to set the background to "None", not "Color".
Or select a pure black as background color
Hervé ADAM, TVPaint Team
User avatar
Peter Wassink
Posts: 4437
Joined: 17 Feb 2006, 15:38
Location: Amsterdam
Contact:

Re: RGB: how to break up an image into these components?

Post by Peter Wassink »

ZigOtto wrote: Peter, don't use "Colorize" to get the color of your R, G and B chanel, but instead use "Multiply",
that was it. now it works

Super!
merci beaucoup Zig :D
Last edited by Peter Wassink on 14 Mar 2012, 09:14, edited 2 times in total.
Peter Wassink - 2D animator
• PC: Win11/64 Pro - AMD Ryzen 9 5900X 12-Core - 64Gb RAM
• laptop: Win10/64 Pro - i7-4600@2.1 GHz - 16Gb RAM
User avatar
Peter Wassink
Posts: 4437
Joined: 17 Feb 2006, 15:38
Location: Amsterdam
Contact:

Re: RGB: how to break up an image into these components?

Post by Peter Wassink »

ematecki wrote:
Peter Wassink wrote:no luck yet :(
rgbchannels.jpg
You have to set the background to "None", not "Color".
i did (though not in the screenshot :? )
but as Zig pointed out, the 3 grey channels have to colorized using Multiply and not colorize/tint and that was where i went wrong.

Thank you all
Peter Wassink - 2D animator
• PC: Win11/64 Pro - AMD Ryzen 9 5900X 12-Core - 64Gb RAM
• laptop: Win10/64 Pro - i7-4600@2.1 GHz - 16Gb RAM
Post Reply