It is currently 20 Jun 2013, 12:30

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: RGBA_Smooth_Keyer
PostPosted: 28 Dec 2011, 21:51 
Offline
Moderator
User avatar

Joined: 26 Sep 2009, 15:51
Posts: 782
Location: Bonn, Germany
RGBA_Smooth_Keyer

Attachment:
rsk.jpg
rsk.jpg [ 160.64 KiB | Viewed 1391 times ]


Isolates a color based on either it being inside a RGBA color range, or using key color+HSV tolerance values. Works similar to the the built-in RGBA_Keyer node, but works in HSV space and allows not only a boolean output (inside/outside of color range), but a gradient output depending on a falloff around the user defined color range. Installed in Render Tree/Image Processing/Processing. Compound format so it can be easily modified.

Outputs isolated/matte color and a scalar 0 to 1 value.

Download:
Attachment:
RGBA_Smooth_Keyer.1.6.xsirtcompound [45.02 KiB]
Downloaded 117 times


some "notes"...
  • If the result you want is easy seperable by one channel (for example only hue, only red, or only value) then you can also use the built-in Color_Matte node
  • If you don't need a blending area around the resuilt & it's separable by RGBA range, you can also use the built-in RGBA_keyer node.
  • The "Falloff location" parameter specifies where the falloff begins. Using "Outside", the user defined range is fully included, and the falloff begins at the range limits, falling off as the values go further outside the range. Using "Inside", the falloff begins inside the range and ENDS at the range limits. "Border" is in-between, meaning that the center of the falloff is exactly on the range limits.
  • when using a range, if you want the Alpha channel ignored, just set it to 0 for "From", and to 1 for "To"

_________________
Image rray.de, a resource site for softimage, updated apr 13th


Top
 Profile  
 
 Post subject: Re: RGBA_Smooth_Keyer
PostPosted: 05 Jan 2012, 19:34 
Offline

Joined: 09 Jun 2009, 23:47
Posts: 88
Hi Reinhard,

thanks a lot for sharing, this is really neat!


Top
 Profile  
 
 Post subject: Re: RGBA_Smooth_Keyer
PostPosted: 06 Jan 2012, 00:55 
Offline
Moderator
User avatar

Joined: 26 Sep 2009, 15:51
Posts: 782
Location: Bonn, Germany
Hi Fabricio, glad you find it useful!

Updated in Version 1.6

* separated methods inside the compound: should render faster
* falloff is reduced by factor 5 for hue component because hue goes through 6 "areas" for the 0-1 range, instead of 2 "areas" for saturation and value==>better blending
* fixed alpha bug for range method
* option for inverting color output (create matte/isolated color), example:
Attachment:
rsk2.jpg
rsk2.jpg [ 101.34 KiB | Viewed 1377 times ]

_________________
Image rray.de, a resource site for softimage, updated apr 13th


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group