yuv and hsv mixer

131 views
Skip to first unread message

Dmitry Myshkov

unread,
Jan 16, 2023, 3:25:37 AMJan 16
to SCRATCH forum
Good time, everyone.
I'm probably boring everyone with my stupid questions. However, for myself I want to put a point in this question.
Is it possible?
In Davinci Resolve it is possible to set a color model other than yrgb. These are yrgb, hsl and hsv.
As I understand it, Assimilate Scratch has no such possibility.
If we talk about layers, there I can set the mode of blending and ..... and that's it.

In the title of the thread I wrote about the channel mixer, but it's not just about the channel mixer. In Davinci Resolve the channel mixer is called as rgb mixer and many tools are also called as red, green, blue "curve" etc, but when you assign a different color model to a node, all these tools start to behave following the rules assigned to them.
If we assign to a node a color model like yuv, all the tools that work with the red channel start working with the "y" channel, and so on.

Why do we need to change the color model, one would wonder.

I use these work options for two things:

1. Saturation thickening, so to speak.
It is better to see once than to read or hear a hundred times:
https://youtu.be/QdRjD-J72zg

2. change the color temperature in conjunction with the change in saturation, but the work is done in the paradigm of exactly yuv/hsv model. You can get very interesting results. If you have Davinci Resolve, try switching the node to yuv model and select "rgb mixer" tool. There is a similar tool for assimilate scratch - "salamifish matrix".
In the rgb mixer you will see sliders of different colors. There are 9 of them in total and they are divided into three sections, each responsible for one of the three channels. Within each section, in turn, there are three sliders. One of them is responsible for the saturation of the channel in which it is located, and two sliders which can be used to add or remove the saturation histogram from the neighboring channels - "sections".
If you translate the node we are working in into the yuv model, you can change both hue (hue) and saturation for each of these u and v channels in the last two sections if you work with the last two sliders in each.
I tried to bypass this approach with the hue and saturation curves in scratch, using qualifier, and it didn't work out well, unlike the yuv mixer.
In general, I am not a supporter of qualifier, unless of course we have the task of repainting the car in a different color, or do something similar, crude.

I began to think about what other options there were. Plus, under davinci resolve all these tools, as well as the program itself, you can get for free. There is no need to pay both for the program, or third-party modules, and for some other courses, where it is not yet known whether the "secret" will be revealed.
But why am I dragging all this stuff into someone else's backyard. Very simple - the program is not a pop. The less popular, the more intelligent people. The less false in people's minds or something. This is going to sound crazy, but the way I see it, the less garbage in a person's mind, the more beautiful the result of his work. I don't need the product to make money - to trick someone by telling them that what I do is cool, by proving something with a well-spoken language. I use the program for my friends and family, and the rest of the time I work, repairing computer networks, or working with network equipment. Color is just a little hobby for me. I manage to find time when everyone is celebrating the new year, or the weekend, I get into the program and process something, or study. It goes something like this.

Actually my question is, can anyone know some tricks to do something like this in Scratch? 

Tobias Wiedmer // Cine Chromatix

unread,
Jan 16, 2023, 4:22:13 AMJan 16
to scratc...@googlegroups.com
Hi Dmitry,

I agree it is elegant the way that you can just change the node colours space/model (although I have the feeling that davincis math is not always correct but need time to check that carefully).

In SCRATCH you can build colourspace sandwiches. if you take the conversion codes f.e. from easyrgb.com you can write simple conversion matchbox shaders which does exactly this. if you get the math of the inverse transform right you shouldn’t see a difference after applying the sandwich. all layers in between those layers work in the desired colours space-model then.

hope this helps a bit,
cheers,
Tobi

---
Tobias Wiedmer, CSI
Lead Colourist / Colour Scientist

Sent from (and probably misspelled by) my iPhone

On 16. Jan 2023, at 09:25, Dmitry Myshkov <esta...@gmail.com> wrote:

Good time, everyone.
--
ASSIMILATE homepage - www.assimilateinc.com
SCRATCH web - www.scratchweb.tv
Facebook - https://www.facebook.com/assimilateinc
Twitter - @assimilateinc
---
You received this message because you are subscribed to the Google Groups "SCRATCH forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scratch-list...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/scratch-list/fe3e7447-6698-49d7-bed8-c94931f15b51n%40googlegroups.com.

Dmitry Myshkov

unread,
Jan 16, 2023, 6:17:42 AMJan 16
to SCRATCH forum
О. I'm not good at this. About programming. But it's worth a try for the sake of the task.

Thanks for the tip.

понедельник, 16 января 2023 г. в 12:22:13 UTC+3, Tobias:

Levent ÖZTÜRK

unread,
Jan 16, 2023, 6:56:22 AMJan 16
to SCRATCH forum
Ls_Colourspace shader works great for me!

16 Ocak 2023 Pazartesi tarihinde saat 14:17:42 UTC+3 itibarıyla esta...@gmail.com şunları yazdı:
Capture3.PNG

Dmitry Myshkov

unread,
Jan 16, 2023, 7:30:41 AMJan 16
to SCRATCH forum

Very interesting.
1. I added a layer and added a Ls_Colourspace one.
2. Chose to convert from srgb to lab. Left the gamma as 1. It was supposed to make the image look like it was going to be "gnarly". Nothing happened.
I tried changing the curve of the green channel, nothing.
Then I added a second and third layer.
4. I applied the same plugin to the third layer and did a reverse lab>srgb conversion.
5. In the second layer I started to twist the curves - they behaved in the usual way. Red was responsible for the red channel, etc. As in rgb.

What am I doing wrong?
понедельник, 16 января 2023 г. в 14:56:22 UTC+3, sinema...@gmail.com:

Mazze Aderhold

unread,
Jan 16, 2023, 8:50:56 AMJan 16
to scratc...@googlegroups.com
You might need to disable alpha channel for the plugin layers inside Fill/Matte menu for them to have an effect.
Works fine here.


Cheers,
Mazze


> Dmitry Myshkov <esta...@gmail.com> hat am 16.01.2023 13:30 CET geschrieben:
>
>
>
> Very interesting.
> 1. I added a layer and added a Ls_Colourspace one.
> 2. Chose to convert from srgb to lab. Left the gamma as 1. It was supposed to make the image look like it was going to be "gnarly". Nothing happened.
> I tried changing the curve of the green channel, nothing.
> Then I added a second and third layer.
> 4. I applied the same plugin to the third layer and did a reverse lab>srgb conversion.
> 5. In the second layer I started to twist the curves - they behaved in the usual way. Red was responsible for the red channel, etc. As in rgb.
>
> What am I doing wrong?
>
> понедельник, 16 января 2023 г. в 14:56:22 UTC+3, sinema...@gmail.com:
> > Ls_Colourspace shader works great for me!
> >
> >
> > 16 Ocak 2023 Pazartesi tarihinde saat 14:17:42 UTC+3 itibarıyla esta...@gmail.com şunları yazdı:
> > > О. I'm not good at this. About programming. But it's worth a try for the sake of the task.
> > >
> > > Thanks for the tip.
> > >
> > >
> > > понедельник, 16 января 2023 г. в 12:22:13 UTC+3, Tobias:
> > > > Hi Dmitry,
> > > >
> > > > I agree it is elegant the way that you can just change the node colours space/model (although I have the feeling that davincis math is not always correct but need time to check that carefully).
> > > >
> > > > In SCRATCH you can build colourspace sandwiches. if you take the conversion codes f.e. from easyrgb.com (http://easyrgb.com) you can write simple conversion matchbox shaders which does exactly this. if you get the math of the inverse transform right you shouldn’t see a difference after applying the sandwich. all layers in between those layers work in the desired colours space-model then.
> > > >
> > > > hope this helps a bit,
> > > > cheers,
> > > > Tobi
> > > >
> > > >
> > > > ---
> > > > Tobias Wiedmer, CSI
> > > > Lead Colourist / Colour Scientist
> > > > www.cine-chromatix.de (http://www.cine-chromatix.de)
> > > >
> > > > Sent from (and probably misspelled by) my iPhone
> > > >
> > > >
> > > > > On 16. Jan 2023, at 09:25, Dmitry Myshkov <esta...@gmail.com> wrote:
> > > > >
> > > > > Good time, everyone.
> > > > >
> > > > > I'm probably boring everyone with my stupid questions. However, for myself I want to put a point in this question.
> > > > > Is it possible?
> > > > > In Davinci Resolve it is possible to set a color model other than yrgb. These are yrgb, hsl and hsv.
> > > > > As I understand it, Assimilate Scratch has no such possibility.
> > > > > If we talk about layers, there I can set the mode of blending and ..... and that's it.
> > > > >
> > > > > In the title of the thread I wrote about the channel mixer, but it's not just about the channel mixer. In Davinci Resolve the channel mixer is called as rgb mixer and many tools are also called as red, green, blue "curve" etc, but when you assign a different color model to a node, all these tools start to behave following the rules assigned to them.
> > > > > If we assign to a node a color model like yuv, all the tools that work with the red channel start working with the "y" channel, and so on.
> > > > >
> > > > > Why do we need to change the color model, one would wonder.
> > > > >
> > > > > I use these work options for two things:
> > > > >
> > > > > 1. Saturation thickening, so to speak.
> > > > > It is better to see once than to read or hear a hundred times:
> > > > > https://youtu.be/QdRjD-J72zg
> > > > >
> > > > > 2. change the color temperature in conjunction with the change in saturation, but the work is done in the paradigm of exactly yuv/hsv model. You can get very interesting results. If you have Davinci Resolve, try switching the node to yuv model and select "rgb mixer" tool. There is a similar tool for assimilate scratch - "salamifish matrix".
> > > > > In the rgb mixer you will see sliders of different colors. There are 9 of them in total and they are divided into three sections, each responsible for one of the three channels. Within each section, in turn, there are three sliders. One of them is responsible for the saturation of the channel in which it is located, and two sliders which can be used to add or remove the saturation histogram from the neighboring channels - "sections".
> > > > > If you translate the node we are working in into the yuv model, you can change both hue (hue) and saturation for each of these u and v channels in the last two sections if you work with the last two sliders in each.
> > > > > I tried to bypass this approach with the hue and saturation curves in scratch, using qualifier, and it didn't work out well, unlike the yuv mixer.
> > > > > In general, I am not a supporter of qualifier, unless of course we have the task of repainting the car in a different color, or do something similar, crude.
> > > > >
> > > > > I began to think about what other options there were. Plus, under davinci resolve all these tools, as well as the program itself, you can get for free. There is no need to pay both for the program, or third-party modules, and for some other courses, where it is not yet known whether the "secret" will be revealed.
> > > > > But why am I dragging all this stuff into someone else's backyard. Very simple - the program is not a pop. The less popular, the more intelligent people. The less false in people's minds or something. This is going to sound crazy, but the way I see it, the less garbage in a person's mind, the more beautiful the result of his work. I don't need the product to make money - to trick someone by telling them that what I do is cool, by proving something with a well-spoken language. I use the program for my friends and family, and the rest of the time I work, repairing computer networks, or working with network equipment. Color is just a little hobby for me. I manage to find time when everyone is celebrating the new year, or the weekend, I get into the program and process something, or study. It goes something like this.
> > > > >
> > > > > Actually my question is, can anyone know some tricks to do something like this in Scratch? 
> > > > >
> > > > > --
> > > > > ASSIMILATE homepage - www.assimilateinc.com (http://www.assimilateinc.com)
> > > > > SCRATCH web - www.scratchweb.tv (http://www.scratchweb.tv)
> > > > > Facebook - https://www.facebook.com/assimilateinc
> > > > > Twitter - @assimilateinc
> > > > > ---
> > > > > You received this message because you are subscribed to the Google Groups "SCRATCH forum" group.
> > > > > To unsubscribe from this group and stop receiving emails from it, send an email to scratch-list...@googlegroups.com.
> > > > > To view this discussion on the web visit https://groups.google.com/d/msgid/scratch-list/fe3e7447-6698-49d7-bed8-c94931f15b51n%40googlegroups.com (https://groups.google.com/d/msgid/scratch-list/fe3e7447-6698-49d7-bed8-c94931f15b51n%40googlegroups.com?utm_medium=email&utm_source=footer).
> > > > >
>
> --
> ASSIMILATE homepage - www.assimilateinc.com
> SCRATCH web - www.scratchweb.tv
> Facebook - https://www.facebook.com/assimilateinc
> Twitter - @assimilateinc
> ---
> You received this message because you are subscribed to the Google Groups "SCRATCH forum" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to scratch-list...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/scratch-list/82c29960-3239-43ca-a218-941f4fd3bd81n%40googlegroups.com (https://groups.google.com/d/msgid/scratch-list/82c29960-3239-43ca-a218-941f4fd3bd81n%40googlegroups.com?utm_medium=email&utm_source=footer).
>

Dmitry Myshkov

unread,
Jan 16, 2023, 9:27:55 AMJan 16
to SCRATCH forum
Contact made!)
But me need will begin anew from what I saw)
It look gangsta! It is working like a charm.

Thank you! !!!
понедельник, 16 января 2023 г. в 16:50:56 UTC+3, Mazze:

Dmitry Myshkov

unread,
Jan 16, 2023, 10:06:37 AMJan 16
to SCRATCH forum
And you can change the color density through the hue/saturation mask, but you have to remember how to do it in 3dlut creator. All that's left is the photo itself.
4xsvAt29-s-9ahmoeWt_M98aK_e1BGgFp8oS-_Y-GjQXN9ViBscCCyQ_43H24SMgdBHye-bb.jpg

because the hsl/hsv behaves unpredictably with the salamifish matrix. Through the mask is even much better than in the video above.

понедельник, 16 января 2023 г. в 17:27:55 UTC+3, Dmitry Myshkov:

Dmitry Myshkov

unread,
Jan 25, 2023, 9:46:13 AMJan 25
to SCRATCH forum
In my joy, I realized that such a design could be used. Alas, I observe incomprehensible artifacts.  If in the shadows, it is as if some stars. If in the lights, it was as if they were smeared with coal.
Design:
srgb>luv>salamifish matrix>luv>srgb
I tried putting hsv parameter instead of srgb. Change gamma on the input and output converters, although the sense if it is nowhere changed before.
As soon as I turn on the layer with salamifish matrix, I see the artifacts that I stipulated above.
And that or in the plugin itself has not yet begun to change. Any values.
And yes. Even if I would not observe artifacts, the parameter "preserve luminance" would not work. Here, unlike Davinci, if the layer works in the lyv model, then everything in it will work in lyv))

Has anyone had the practice of manipulating the color models in  the rgb mixer  way?

понедельник, 16 января 2023 г. в 18:06:37 UTC+3, Dmitry Myshkov:

Tobias Wiedmer // Cine Chromatix

unread,
Jan 25, 2023, 10:20:24 AMJan 25
to scratc...@googlegroups.com
sounds like negative values. a “clamp”’fixes that. you can try that with the softclip tools in the lut menu.

---
Tobias Wiedmer, CSI
Lead Colourist / Colour Scientist

Sent from (and probably misspelled by) my iPhone

On 25. Jan 2023, at 15:46, Dmitry Myshkov <esta...@gmail.com> wrote:

In my joy, I realized that such a design could be used. Alas, I observe incomprehensible artifacts.  If in the shadows, it is as if some stars. If in the lights, it was as if they were smeared with coal.

Dmitry Myshkov

unread,
Jan 25, 2023, 10:31:22 AMJan 25
to SCRATCH forum
Sounds logical, but then the picture should be compressed very much in gamma. You can do it through softclip (lut), or simply by reducing the contrast etc.
I can of course play around with the edge compression (light and shadow) inside the luv model itself, but that doesn't make it any easier, even if you try to change all the edge channels. Unpredictable shifts in hue and saturation.
среда, 25 января 2023 г. в 18:20:24 UTC+3, Tobias:

Mazze Aderhold

unread,
Jan 25, 2023, 10:37:05 AMJan 25
to scratc...@googlegroups.com
You don't have to use soft clip all the way.
By just adding 0.0001 points of clip, it will clips the signal at 0/1 and get rid of the artifacts without
having a noticeable impact on the image.


Cheers,
Mazze


> Dmitry Myshkov <esta...@gmail.com> hat am 25.01.2023 16:31 CET geschrieben:
>
>
> Sounds logical, but then the picture should be compressed very much in gamma. You can do it through softclip (lut), or simply by reducing the contrast etc.
> I can of course play around with the edge compression (light and shadow) inside the luv model itself, but that doesn't make it any easier, even if you try to change all the edge channels. Unpredictable shifts in hue and saturation.
>
> среда, 25 января 2023 г. в 18:20:24 UTC+3, Tobias:
> > sounds like negative values. a “clamp”’fixes that. you can try that with the softclip tools in the lut menu.
> >
> >
> > ---
> > Tobias Wiedmer, CSI
> > Lead Colourist / Colour Scientist
> > www.cine-chromatix.de (http://www.cine-chromatix.de)
> >
> > Sent from (and probably misspelled by) my iPhone
> >
> >
> > > On 25. Jan 2023, at 15:46, Dmitry Myshkov <esta...@gmail.com> wrote:
> > >
> > > In my joy, I realized that such a design could be used. Alas, I observe incomprehensible artifacts. If in the shadows, it is as if some stars. If in the lights, it was as if they were smeared with coal.
> > >
> > > Design:
> > > srgb>luv>salamifish matrix>luv>srgb
> > > I tried putting hsv parameter instead of srgb. Change gamma on the input and output converters, although the sense if it is nowhere changed before.
> > > As soon as I turn on the layer with salamifish matrix, I see the artifacts that I stipulated above.
> > > And that or in the plugin itself has not yet begun to change. Any values.
> > > And yes. Even if I would not observe artifacts, the parameter "preserve luminance" would not work. Here, unlike Davinci, if the layer works in the lyv model, then everything in it will work in lyv))
> > >
> > > Has anyone had the practice of manipulating the color models in the rgb mixer way?
> > >
> > >
> > > понедельник, 16 января 2023 г. в 18:06:37 UTC+3, Dmitry Myshkov:
> > > > And you can change the color density through the hue/saturation mask, but you have to remember how to do it in 3dlut creator. All that's left is the photo itself.
> > > >
> > > >
> > > > > > > > > > In SCRATCH you can build colourspace sandwiches. if you take the conversion codes f.e. from easyrgb.com (http://easyrgb.com) (http://easyrgb.com) you can write simple conversion matchbox shaders which does exactly this. if you get the math of the inverse transform right you shouldn’t see a difference after applying the sandwich. all layers in between those layers work in the desired colours space-model then.
> > > > > > > > > >
> > > > > > > > > > hope this helps a bit,
> > > > > > > > > > cheers,
> > > > > > > > > > Tobi
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > ---
> > > > > > > > > > Tobias Wiedmer, CSI
> > > > > > > > > > Lead Colourist / Colour Scientist
> > > > > > > > > > www.cine-chromatix.de (http://www.cine-chromatix.de) (http://www.cine-chromatix.de)
> > > > > > > > > >
> > > > > > > > > > Sent from (and probably misspelled by) my iPhone
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > > On 16. Jan 2023, at 09:25, Dmitry Myshkov <esta...@gmail.com> wrote:
> > > > > > > > > > >
> > > > > > > > > > > Good time, everyone.
> > > > > > > > > > >
> > > > > > > > > > > I'm probably boring everyone with my stupid questions. However, for myself I want to put a point in this question.
> > > > > > > > > > > Is it possible?
> > > > > > > > > > > In Davinci Resolve it is possible to set a color model other than yrgb. These are yrgb, hsl and hsv.
> > > > > > > > > > > As I understand it, Assimilate Scratch has no such possibility.
> > > > > > > > > > > If we talk about layers, there I can set the mode of blending and ..... and that's it.
> > > > > > > > > > >
> > > > > > > > > > > In the title of the thread I wrote about the channel mixer, but it's not just about the channel mixer. In Davinci Resolve the channel mixer is called as rgb mixer and many tools are also called as red, green, blue "curve" etc, but when you assign a different color model to a node, all these tools start to behave following the rules assigned to them.
> > > > > > > > > > > If we assign to a node a color model like yuv, all the tools that work with the red channel start working with the "y" channel, and so on.
> > > > > > > > > > >
> > > > > > > > > > > Why do we need to change the color model, one would wonder.
> > > > > > > > > > >
> > > > > > > > > > > I use these work options for two things:
> > > > > > > > > > >
> > > > > > > > > > > 1. Saturation thickening, so to speak.
> > > > > > > > > > > It is better to see once than to read or hear a hundred times:
> > > > > > > > > > > https://youtu.be/QdRjD-J72zg
> > > > > > > > > > >
> > > > > > > > > > > 2. change the color temperature in conjunction with the change in saturation, but the work is done in the paradigm of exactly yuv/hsv model. You can get very interesting results. If you have Davinci Resolve, try switching the node to yuv model and select "rgb mixer" tool. There is a similar tool for assimilate scratch - "salamifish matrix".
> > > > > > > > > > > In the rgb mixer you will see sliders of different colors. There are 9 of them in total and they are divided into three sections, each responsible for one of the three channels. Within each section, in turn, there are three sliders. One of them is responsible for the saturation of the channel in which it is located, and two sliders which can be used to add or remove the saturation histogram from the neighboring channels - "sections".
> > > > > > > > > > > If you translate the node we are working in into the yuv model, you can change both hue (hue) and saturation for each of these u and v channels in the last two sections if you work with the last two sliders in each.
> > > > > > > > > > > I tried to bypass this approach with the hue and saturation curves in scratch, using qualifier, and it didn't work out well, unlike the yuv mixer.
> > > > > > > > > > > In general, I am not a supporter of qualifier, unless of course we have the task of repainting the car in a different color, or do something similar, crude.
> > > > > > > > > > >
> > > > > > > > > > > I began to think about what other options there were. Plus, under davinci resolve all these tools, as well as the program itself, you can get for free. There is no need to pay both for the program, or third-party modules, and for some other courses, where it is not yet known whether the "secret" will be revealed.
> > > > > > > > > > > But why am I dragging all this stuff into someone else's backyard. Very simple - the program is not a pop. The less popular, the more intelligent people. The less false in people's minds or something. This is going to sound crazy, but the way I see it, the less garbage in a person's mind, the more beautiful the result of his work. I don't need the product to make money - to trick someone by telling them that what I do is cool, by proving something with a well-spoken language. I use the program for my friends and family, and the rest of the time I work, repairing computer networks, or working with network equipment. Color is just a little hobby for me. I manage to find time when everyone is celebrating the new year, or the weekend, I get into the program and process something, or study. It goes something like this.
> > > > > > > > > > >
> > > > > > > > > > > Actually my question is, can anyone know some tricks to do something like this in Scratch?
> > > > > > > > > > >
> > > > > > > > > > > --
> > > > > > > > > > > ASSIMILATE homepage - www.assimilateinc.com (http://www.assimilateinc.com) (http://www.assimilateinc.com)
> > > > > > > > > > > SCRATCH web - www.scratchweb.tv (http://www.scratchweb.tv) (http://www.scratchweb.tv)
> > > > > > > > > > > Facebook - https://www.facebook.com/assimilateinc
> > > > > > > > > > > Twitter - @assimilateinc
> > > > > > > > > > > ---
> > > > > > > > > > > You received this message because you are subscribed to the Google Groups "SCRATCH forum" group.
> > > > > > > > > > > To unsubscribe from this group and stop receiving emails from it, send an email to scratch-list...@googlegroups.com.
> > > > > > > > > > > To view this discussion on the web visit https://groups.google.com/d/msgid/scratch-list/fe3e7447-6698-49d7-bed8-c94931f15b51n%40googlegroups.com (https://groups.google.com/d/msgid/scratch-list/fe3e7447-6698-49d7-bed8-c94931f15b51n%40googlegroups.com?utm_medium=email&utm_source=footer).
> > > > > > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > ASSIMILATE homepage - www.assimilateinc.com (http://www.assimilateinc.com)
> > > > > > > SCRATCH web - www.scratchweb.tv (http://www.scratchweb.tv)
> > > > > > > Facebook - https://www.facebook.com/assimilateinc
> > > > > > > Twitter - @assimilateinc
> > > > > > > ---
> > > > > > > You received this message because you are subscribed to the Google Groups "SCRATCH forum" group.
> > > > > > > To unsubscribe from this group and stop receiving emails from it, send an email to scratch-list...@googlegroups.com.
> > > ASSIMILATE homepage - www.assimilateinc.com (http://www.assimilateinc.com)
> > > SCRATCH web - www.scratchweb.tv (http://www.scratchweb.tv)
> > > Facebook - https://www.facebook.com/assimilateinc
> > > Twitter - @assimilateinc
> > > ---
> > > You received this message because you are subscribed to the Google Groups "SCRATCH forum" group.
> > > To unsubscribe from this group and stop receiving emails from it, send an email to scratch-list...@googlegroups.com.
> > > To view this discussion on the web visit https://groups.google.com/d/msgid/scratch-list/a1ee11aa-60a3-4b64-ab83-5c1322622ff2n%40googlegroups.com (https://groups.google.com/d/msgid/scratch-list/a1ee11aa-60a3-4b64-ab83-5c1322622ff2n%40googlegroups.com?utm_medium=email&utm_source=footer).
> > >
>
> --
> ASSIMILATE homepage - www.assimilateinc.com
> SCRATCH web - www.scratchweb.tv
> Facebook - https://www.facebook.com/assimilateinc
> Twitter - @assimilateinc
> ---
> You received this message because you are subscribed to the Google Groups "SCRATCH forum" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to scratch-list...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/scratch-list/8d6fd68d-fd8c-4d02-b07c-5c2897ef6ea5n%40googlegroups.com (https://groups.google.com/d/msgid/scratch-list/8d6fd68d-fd8c-4d02-b07c-5c2897ef6ea5n%40googlegroups.com?utm_medium=email&utm_source=footer).
>

Dmitry Myshkov

unread,
Jan 25, 2023, 10:57:21 AMJan 25
to SCRATCH forum
That's understandable.
Stealing a picture in safe volts. Doesn't help. You have to work very hard with lift and gain, or cut the edges to avoid artifacts.
Maybe it has something to do with the space the program works in.
What I did:
Before these three layers created a layer and tried to "remove clipping" > lut>clip levels>from 1 to 0.6 ;]]
The lights became a black spot. Why is this so? I don't know. Because if the three layers that come after the layer where I worked so with clipping, turn off, the lights just shrink. But they don't turn black in any way. It's not like they're going to turn black.

среда, 25 января 2023 г. в 18:37:05 UTC+3, Mazze:

Dmitry Myshkov

unread,
Jan 25, 2023, 11:09:40 AMJan 25
to SCRATCH forum

I still don't understand one thing about converters. It's not quite clear what to supply to the input. Of course there is srgb, the program works in axis, and the material can also be different. There is no "project profile/color" etc.
среда, 25 января 2023 г. в 18:57:21 UTC+3, Dmitry Myshkov:

Mazze Aderhold

unread,
Jan 25, 2023, 11:29:12 AMJan 25
to scratc...@googlegroups.com
You set the input color space / EOTF to whatever the underlying clip is.
If you load a ProRes from an ARRI Alexa, the input is Alexa Wide Gamut and ARRI LogC.
If you load a RED RAW file and debayer it to RED Wide Gamut and Log3G10, the input is that.
If you load an MP4 that is in Sony S-Gamut3.Cine and S-Log3, but you apply a LUT that takes it to Rec709/Gamma 2.4,
and apply the color space converter *after* the LUT (on another layer), then it's input is effectively Rec709/Gamma 2.4.


Cheers,
Mazze

> Dmitry Myshkov <esta...@gmail.com> hat am 25.01.2023 17:09 CET geschrieben:
>
>
>
> I still don't understand one thing about converters. It's not quite clear what to supply to the input. Of course there is srgb, the program works in axis, and the material can also be different. There is no "project profile/color" etc.
>
> среда, 25 января 2023 г. в 18:57:21 UTC+3, Dmitry Myshkov:
> > That's understandable.
> > Stealing a picture in safe volts. Doesn't help. You have to work very hard with lift and gain, or cut the edges to avoid artifacts.
> > Maybe it has something to do with the space the program works in.
> > What I did:
> > Before these three layers created a layer and tried to "remove clipping" > lut>clip levels>from 1 to 0.6 ;]]
> > The lights became a black spot. Why is this so? I don't know. Because if the three layers that come after the layer where I worked so with clipping, turn off, the lights just shrink. But they don't turn black in any way. It's not like they're going to turn black.
> >
> >
> > среда, 25 января 2023 г. в 18:37:05 UTC+3, Mazze:
> > > You don't have to use soft clip all the way.
> > > By just adding 0.0001 points of clip, it will clips the signal at 0/1 and get rid of the artifacts without
> > > having a noticeable impact on the image.
> > >
> > >
> > > Cheers,
> > > Mazze
> > >
> > >
> > > > Dmitry Myshkov <esta...@gmail.com> hat am 25.01.2023 16:31 CET geschrieben:
> > > >
> > > >
> > > > Sounds logical, but then the picture should be compressed very much in gamma. You can do it through softclip (lut), or simply by reducing the contrast etc.
> > > > I can of course play around with the edge compression (light and shadow) inside the luv model itself, but that doesn't make it any easier, even if you try to change all the edge channels. Unpredictable shifts in hue and saturation.
> > > >
> > > > среда, 25 января 2023 г. в 18:20:24 UTC+3, Tobias:
> > > > > sounds like negative values. a “clamp”’fixes that. you can try that with the softclip tools in the lut menu.
> > > > >
> > > > >
> > > > > ---
> > > > > Tobias Wiedmer, CSI
> > > > > Lead Colourist / Colour Scientist
> > > > > www.cine-chromatix.de (http://www.cine-chromatix.de) (http://www.cine-chromatix.de)
> > > > > > > > > > > > > In SCRATCH you can build colourspace sandwiches. if you take the conversion codes f.e. from easyrgb.com (http://easyrgb.com) (http://easyrgb.com) (http://easyrgb.com) you can write simple conversion matchbox shaders which does exactly this. if you get the math of the inverse transform right you shouldn’t see a difference after applying the sandwich. all layers in between those layers work in the desired colours space-model then.
> > > > > > > > > > > > >
> > > > > > > > > > > > > hope this helps a bit,
> > > > > > > > > > > > > cheers,
> > > > > > > > > > > > > Tobi
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > ---
> > > > > > > > > > > > > Tobias Wiedmer, CSI
> > > > > > > > > > > > > Lead Colourist / Colour Scientist
> > > > > > > > > > > > > www.cine-chromatix.de (http://www.cine-chromatix.de) (http://www.cine-chromatix.de) (http://www.cine-chromatix.de)
> > > > > > > > > > > > >
> > > > > > > > > > > > > Sent from (and probably misspelled by) my iPhone
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > > On 16. Jan 2023, at 09:25, Dmitry Myshkov <esta...@gmail.com> wrote:
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Good time, everyone.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > I'm probably boring everyone with my stupid questions. However, for myself I want to put a point in this question.
> > > > > > > > > > > > > > Is it possible?
> > > > > > > > > > > > > > In Davinci Resolve it is possible to set a color model other than yrgb. These are yrgb, hsl and hsv.
> > > > > > > > > > > > > > As I understand it, Assimilate Scratch has no such possibility.
> > > > > > > > > > > > > > If we talk about layers, there I can set the mode of blending and ..... and that's it.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > In the title of the thread I wrote about the channel mixer, but it's not just about the channel mixer. In Davinci Resolve the channel mixer is called as rgb mixer and many tools are also called as red, green, blue "curve" etc, but when you assign a different color model to a node, all these tools start to behave following the rules assigned to them.
> > > > > > > > > > > > > > If we assign to a node a color model like yuv, all the tools that work with the red channel start working with the "y" channel, and so on.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Why do we need to change the color model, one would wonder.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > I use these work options for two things:
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > 1. Saturation thickening, so to speak.
> > > > > > > > > > > > > > It is better to see once than to read or hear a hundred times:
> > > > > > > > > > > > > > https://youtu.be/QdRjD-J72zg
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > 2. change the color temperature in conjunction with the change in saturation, but the work is done in the paradigm of exactly yuv/hsv model. You can get very interesting results. If you have Davinci Resolve, try switching the node to yuv model and select "rgb mixer" tool. There is a similar tool for assimilate scratch - "salamifish matrix".
> > > > > > > > > > > > > > In the rgb mixer you will see sliders of different colors. There are 9 of them in total and they are divided into three sections, each responsible for one of the three channels. Within each section, in turn, there are three sliders. One of them is responsible for the saturation of the channel in which it is located, and two sliders which can be used to add or remove the saturation histogram from the neighboring channels - "sections".
> > > > > > > > > > > > > > If you translate the node we are working in into the yuv model, you can change both hue (hue) and saturation for each of these u and v channels in the last two sections if you work with the last two sliders in each.
> > > > > > > > > > > > > > I tried to bypass this approach with the hue and saturation curves in scratch, using qualifier, and it didn't work out well, unlike the yuv mixer.
> > > > > > > > > > > > > > In general, I am not a supporter of qualifier, unless of course we have the task of repainting the car in a different color, or do something similar, crude.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > I began to think about what other options there were. Plus, under davinci resolve all these tools, as well as the program itself, you can get for free. There is no need to pay both for the program, or third-party modules, and for some other courses, where it is not yet known whether the "secret" will be revealed.
> > > > > > > > > > > > > > But why am I dragging all this stuff into someone else's backyard. Very simple - the program is not a pop. The less popular, the more intelligent people. The less false in people's minds or something. This is going to sound crazy, but the way I see it, the less garbage in a person's mind, the more beautiful the result of his work. I don't need the product to make money - to trick someone by telling them that what I do is cool, by proving something with a well-spoken language. I use the program for my friends and family, and the rest of the time I work, repairing computer networks, or working with network equipment. Color is just a little hobby for me. I manage to find time when everyone is celebrating the new year, or the weekend, I get into the program and process something, or study. It goes something like this.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Actually my question is, can anyone know some tricks to do something like this in Scratch?
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > --
> > > > > > > > > > > > > > ASSIMILATE homepage - www.assimilateinc.com (http://www.assimilateinc.com) (http://www.assimilateinc.com) (http://www.assimilateinc.com)
> > > > > > > > > > > > > > SCRATCH web - www.scratchweb.tv (http://www.scratchweb.tv) (http://www.scratchweb.tv) (http://www.scratchweb.tv)
> > > > > > > > > > > > > > Facebook - https://www.facebook.com/assimilateinc
> > > > > > > > > > > > > > Twitter - @assimilateinc
> > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > You received this message because you are subscribed to the Google Groups "SCRATCH forum" group.
> > > > > > > > > > > > > > To unsubscribe from this group and stop receiving emails from it, send an email to scratch-list...@googlegroups.com.
> > > > > > > > > > > > > > To view this discussion on the web visit https://groups.google.com/d/msgid/scratch-list/fe3e7447-6698-49d7-bed8-c94931f15b51n%40googlegroups.com (https://groups.google.com/d/msgid/scratch-list/fe3e7447-6698-49d7-bed8-c94931f15b51n%40googlegroups.com?utm_medium=email&utm_source=footer).
> > > > > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > --
> > > > > > > > > > ASSIMILATE homepage - www.assimilateinc.com (http://www.assimilateinc.com) (http://www.assimilateinc.com)
> > > > > > > > > > SCRATCH web - www.scratchweb.tv (http://www.scratchweb.tv) (http://www.scratchweb.tv)
> > > > > > > > > > Facebook - https://www.facebook.com/assimilateinc
> > > > > > > > > > Twitter - @assimilateinc
> > > > > > > > > > ---
> > > > > > > > > > You received this message because you are subscribed to the Google Groups "SCRATCH forum" group.
> > > > > > > > > > To unsubscribe from this group and stop receiving emails from it, send an email to scratch-list...@googlegroups.com.
> > > > > > ASSIMILATE homepage - www.assimilateinc.com (http://www.assimilateinc.com) (http://www.assimilateinc.com)
> > > > > > SCRATCH web - www.scratchweb.tv (http://www.scratchweb.tv) (http://www.scratchweb.tv)
> > > > > > Facebook - https://www.facebook.com/assimilateinc
> > > > > > Twitter - @assimilateinc
> > > > > > ---
> > > > > > You received this message because you are subscribed to the Google Groups "SCRATCH forum" group.
> > > > > > To unsubscribe from this group and stop receiving emails from it, send an email to scratch-list...@googlegroups.com.
> > > > ASSIMILATE homepage - www.assimilateinc.com (http://www.assimilateinc.com)
> > > > SCRATCH web - www.scratchweb.tv (http://www.scratchweb.tv)
> > > > Facebook - https://www.facebook.com/assimilateinc
> > > > Twitter - @assimilateinc
> > > > ---
> > > > You received this message because you are subscribed to the Google Groups "SCRATCH forum" group.
> > > > To unsubscribe from this group and stop receiving emails from it, send an email to scratch-list...@googlegroups.com.
> > > > To view this discussion on the web visit https://groups.google.com/d/msgid/scratch-list/8d6fd68d-fd8c-4d02-b07c-5c2897ef6ea5n%40googlegroups.com (https://groups.google.com/d/msgid/scratch-list/8d6fd68d-fd8c-4d02-b07c-5c2897ef6ea5n%40googlegroups.com?utm_medium=email&utm_source=footer).
> > > >
>
> --
> ASSIMILATE homepage - www.assimilateinc.com
> SCRATCH web - www.scratchweb.tv
> Facebook - https://www.facebook.com/assimilateinc
> Twitter - @assimilateinc
> ---
> You received this message because you are subscribed to the Google Groups "SCRATCH forum" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to scratch-list...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/scratch-list/a0c19d40-050c-42df-b2d0-9038b55f36e5n%40googlegroups.com (https://groups.google.com/d/msgid/scratch-list/a0c19d40-050c-42df-b2d0-9038b55f36e5n%40googlegroups.com?utm_medium=email&utm_source=footer).
>
Message has been deleted
Message has been deleted
Message has been deleted

Dmitry

unread,
Feb 6, 2023, 5:35:01 AMFeb 6
to SCRATCH forum
These are all the options that are in the converter. I don't know what you're talking about.

среда, 25 января 2023 г. в 19:29:12 UTC+3, Mazze:

Dmitry

unread,
Feb 6, 2023, 5:35:44 AMFeb 6
to SCRATCH forum
Screenshot_1.jpg

понедельник, 6 февраля 2023 г. в 13:35:01 UTC+3, Dmitry:

Dmitry

unread,
Feb 6, 2023, 6:04:11 AMFeb 6
to SCRATCH forum
before.jpgafter.jpg

понедельник, 6 февраля 2023 г. в 13:35:44 UTC+3, Dmitry:

Oscar Martinez

unread,
Feb 14, 2023, 3:49:14 AMFeb 14
to scratc...@googlegroups.com
Dmitry.
In addition to what Tobias Said you can build an rgb mixer within scratch itself.  Need to assign the channels in the balance menu and  build a group  for each primary with three layers for the components.
image.png
image.png

This way you can change the weight of each component for each channel. Attached you will find a ccr so you can investigate

Good luck
 
Oscar Martinez
Senior Colorist
Moving Forward Studios

RGB_MIXER.ccr

Dmitry

unread,
Feb 14, 2023, 5:10:22 AMFeb 14
to SCRATCH forum
Interesting. Thank you, oscar.
So I understand that in order to do something, you need to switch between layers?

вторник, 14 февраля 2023 г. в 11:49:14 UTC+3, oscar:

Dmitry

unread,
Feb 14, 2023, 12:18:08 PMFeb 14
to SCRATCH forum
I take rGreen.
Nothing in it is adjustable with sliders. None of the channels. Although... I agree that the adjustment should happen with that mapping.
Only the basic rRed, gGreen, bBlue are adjustable.

вторник, 14 февраля 2023 г. в 13:10:22 UTC+3, Dmitry:

Dmitry

unread,
Feb 14, 2023, 12:39:18 PMFeb 14
to SCRATCH forum
Transparency for these channels is set to 0. Then I do not understand why they are needed at all.

вторник, 14 февраля 2023 г. в 20:18:08 UTC+3, Dmitry:

Oscar Martinez

unread,
Mar 14, 2023, 8:51:37 AMMar 14
to scratc...@googlegroups.com
Dmitry.
The channel mixer makes new R G or B channel mixing values from the other channels. You can do it using transparency of each layer and adjusting later the luminance.
This is not a plugging,  only math with layers.


Oscar Martinez
Senior Colorist
Moving Forward Studios

Dmitry

unread,
Mar 18, 2023, 3:12:09 AMMar 18
to SCRATCH forum
Yeah, I get it. But it is terribly not convenient to work, unlike the tool "rgb mixer" (davinci resolve). I'm not talking about "channels" in 3dlut creator.
But, as I understand it, this tool is not much needed for the audience, which chose the program Scratch.
The point is to lose a moment of immediacy when working. Switching between layers is time consuming.
I might as well work in 3DLUT Creator, which has lots of tools, but I'm not going to do that when working with video. It's the same way here.

вторник, 14 марта 2023 г. в 15:51:37 UTC+3, oscar:
Reply all
Reply to author
Forward
0 new messages