Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
filobilo  
#1 Posted : Wednesday, June 15, 2011 6:33:33 AM(UTC)
filobilo

Rank: Newbie

Groups: Member
Joined: 6/14/2011(UTC)
Posts: 2

Hello,

I'd like to implement a function for applying effects we do on photoshop.

The Photoshop function is ColorBalance, but i don't find an equivalent function in GraphicMill.

I tried The ChannelBalance but the results are not the same.

Any Idea ?

filobilo attached the following image(s):
color-balance.jpg
Dmitry.Obukhov  
#2 Posted : Friday, June 17, 2011 8:23:55 PM(UTC)
Dmitry.Obukhov

Rank: Advanced Member

Groups: Member
Joined: 5/29/2010(UTC)
Posts: 1,310

Thanks: 8 times
Was thanked: 111 time(s) in 111 post(s)
Hello Philippe,

In this case, you need to use AdjustHsl.Hue property. Hue is measured in degrees (from 0 degree to 360 degrees), where
0 degree is corresponded to Red color,
60 degrees to Yellow,
120 degrees to Green,
180 degrees to Cyan,
240 degrees to Blue,
300 degrees to Magenta. Please learn more in HSL model section.

In Graphics Mill values of Hue properties are in range [-1 1] (i.e. normalized at 360). Thus, you need to use -1 to set it to red, -2/3 to set it to Yellow, -1/3 to Green, etc. To implement functionality like Color Balance in Photoshop, you need to iterate values of Hue between 0 and -1 (Cyan <-> Red), between 2/3 and -1/3 (Magenta <-> Green), and between -2/3 and 1/3 (Yellow <-> Blue).
Best regards,
Dmitry Obukhov
Technical Support. Aurigma, Inc.
filobilo  
#3 Posted : Monday, August 8, 2011 2:51:41 AM(UTC)
filobilo

Rank: Newbie

Groups: Member
Joined: 6/14/2011(UTC)
Posts: 2

Ok thanks.

I implemented a soft with the use of colorBalance, the graphists will see if they can do what they want with it.

I'll implement the Hsl function if ColorBalance is not enough for our use.

Thanks.
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.