YOUR ACCOUNT

Login or Register to post new topics or replies
Quasimondo
Quasimondo

Posts: 147
Filters: 32
There are a few things that I'd just like to know how they are handled internally - right now I've got two questions:

- When I extract a channel from an image I get a greyscale image - does Filter Forge internally treat this as 3 channels with equal content like Photoshop does or is this somehow optimized?

- When I plug a normal color image into an input that is usually handled by a slider ("offset" or "percentage" for example) - how is the color information of the image converted? Is it luminance, the brightness, the red channel?

  Details E-Mail
Kraellin
Kraellin

Posts: 12749
Filters: 99
all of the extract components extract channels the same way psp does, into grayscale bitmaps. therefore, you cant apply any color/hue/saturation operation to them and change them at all. photoshop does it differently in that you can see the represented colors added back in. psp, and apparently FF dont do that last step.

the content is not equal. the shades of gray of each channel correspond to a color value for that color channel. so, all you can alter when you split the channels in FF is the gray scale values. applying HUE to the grays wont do anything and the same with saturation.

so, the only thing you can change in an extracted channel is the lightness, which will affect the color of that channel.

craig
If wishes were horses... there'd be a whole lot of horse crap to clean up!

Craig
  Details E-Mail
byRo
an Englishman in Brazil

Posts: 138
Filters: 8
Quote
Quasimondo wrote:
- When I plug a normal color image into an input that is usually handled by a slider ("offset" or "percentage" for example) - how is the color information of the image converted? Is it luminance, the brightness, the red channel?

I had thought that the answer was simple - until I did some tests. (see attachment).
I had thought that it would be just the Luminosity (or it's correspondent channel), but now I am just plain confused.

Seems that I'll have to wait until onyXMaster comes along to un-befuddle me.

Rô

_________________________________
My favourite question is "Why?".
My second favourite is "Why not?"
  Details E-Mail
Vladimir Golovin
Administrator
Posts: 3446
Filters: 55
Quote
Quasimondo wrote:
does Filter Forge internally treat this as 3 channels with equal content like Photoshop


That's correct.

Quote
Quasimondo wrote:
ormal color image into an input that is usually handled by a slider ("offset" or "percentage" for example) - how is the color information of the image converted?


The default is non-weighted averaged RGB, but you can customize the conversion by simply converting the source image to B/W yourself before feeding it into the slider input.

For example, if you plug a Desaturation component between the source and the grayscale (slider) input, you'll be able to choose from 3 desaturation methods, one of which is weighted average.
  Details E-Mail
byRo
an Englishman in Brazil

Posts: 138
Filters: 8
Vladimir, thanks for un-befuddling me.

As we are talking about "Internal Workings", what mode does FF work in?

Here we have RGB (and unwieghted too!), for colour blending we have HSY.

If it's a "trade secret", I didn't ask. OK?

Rô
_________________________________
My favourite question is "Why?".
My second favourite is "Why not?"
  Details E-Mail
Quasimondo
Quasimondo

Posts: 147
Filters: 32
Vladimir - thank you very much for this information!
  Details E-Mail
Vladimir Golovin
Administrator
Posts: 3446
Filters: 55
Quote
byRo wrote:
what mode does FF work in?


If I understand the question correctly, the pipeline uses RGBA with double-precision floating point values for each component. Bitmap-based components (Blur, Motion Blur, Sharpen, High Pass) use single-precision for their caches except when they are plugged into the Height input (they use double in this case).

Quote
byRo wrote:
If it's a "trade secret", I didn't ask. OK?


It's hard to hide any trade secrets from you guys -- you'll figure them out anyway smile:)
  Details E-Mail
Vladimir Golovin
Administrator
Posts: 3446
Filters: 55
Quote
Vladimir Golovin wrote:
Quasimondo wrote: does Filter Forge internally treat this as 3 channels with equal content like Photoshop
That's correct.


UPDATE: The above quote is incorrect. Filter Forge uses an optimized single-channel grayscale. Sorry for the confusion.
  Details E-Mail
byRo
an Englishman in Brazil

Posts: 138
Filters: 8
Quote
Vladimir Golovin wrote:
If I understand the question correctly....
Yes you did, thank you. smile:D

So if I understood your answer correctly that means that when you do the math in HSY for the "Color" mode in the Blend component, that is an exception and not the rule. Especially considering that blending colour isn't something that comes "naturally" in RGB.

Rô
_________________________________
My favourite question is "Why?".
My second favourite is "Why not?"
  Details E-Mail
Vladimir Golovin
Administrator
Posts: 3446
Filters: 55
Quote
byRo wrote:
"Color" mode in the Blend component, that is an exception and not the rule


Correct.
  Details E-Mail

Join Our Community!

Filter Forge has a thriving, vibrant, knowledgeable user community. Feel free to join us and have fun!

33,711 Registered Users
+18 new in 30 days!

153,533 Posts
+38 new in 30 days!

15,348 Topics
+73 new in year!

Create an Account

Online Users Last minute:

15 unregistered users.