Friday, December 28, 2007
Quartz Composer Patch : Image Registration: ARGB Polar(radius,theta)
/* Published by b-l-a-c-k-o-p.com
Copyright (c) 2007-2009

SAMPLE: QameraBetterPopArt3.qtz
This Core Image page 'de-registers' the color planes of an image. A common technique among graphic designers when running traditional print jobs. Of course, with PhotoShop, nobody does it at the printer anymore.

float as_radians(const float in_degrees)
return in_degrees * (3.14597/180.0);

vec2 from_polar(const float in_radius, const float in_theta)
float x = in_radius * sin(as_radians(in_theta));
float y = in_radius * cos(as_radians(in_theta));
return vec2(x,y);

kernel vec4 msBlackPolarRegistration(sampler input_image, float radius_r, float angle_r, float radius_g, float angle_g, float radius_b, float angle_b)
vec2 r_delta = from_polar(radius_r, angle_r);
vec2 g_delta = from_polar(radius_g, angle_g);
vec2 b_delta = from_polar(radius_b, angle_b);

vec2 center = samplerCoord(input_image);
vec4 pixel = sample(input_image, center);
vec4 red = sample(input_image, center + r_delta);
vec4 green = sample(input_image, center + g_delta);
vec4 blue = sample(input_image, center + b_delta);

pixel.r = red.r;
pixel.g = green.g;
pixel.b = blue.b;
return pixel;

By : Ms. Black Image Registration: ARGB Polar(radius,theta)




 B-L-A-C-K-O-P NEWS   
 B-L-A-C-K-O-P HOME   
 DIY Greenscreen   
 3D Webcam Mac   
 USB 3D webcam   
 CamCamX Blog   
 CatEye Blog   
 DotMatrix Blog   
 GrabberRaster Blog   
 Qamera Blog   
 Watermarks Blog   
 PDF Watermarking Mac   
 PDF Combine Mac   
 Combine PDF Files   
 Create iTunes Booklet   
 Share Your Pictures   
 Washington DC   
 Universal Binary   
 Cocoa Programming   
 Cocoa Software   
 Screen Capture   
 Screen Grab Mac   
 iSight download   
 iSight software   
 PhotoBooth download   
 MacBook Camera   
 iMac Camera   
 CamCamX compatibility   
 Fake WebCam Mac   
 VJ Software Mac   
 Video Mixer Mac   
 Live Video Switcher   
 Apple Webcam Effects   
 Webcam Video Effects   
 Free iChat Video Effects   
 Skype Video Effects Mac   
 Video Effects Stickam   
 iSight Virtualizer Mac   
 Webcast Streaming Mac   
 Best Screencast Mac   
 Desktop Streaming Mac   
 Screencast Streaming Mac   
 Broadcast Live Streaming Video Mac   
 QuickTime Broadcaster   
 Quartz Composer   
 Quartz Composer Plugins   
 Quartz Composer Patches   
 Mogulus Video FX   
 Video Effects Ustream   
 Operator11 Video FX   
 Youtube Video Effects   
 Facebook Video Effects   
 Polaroid Camera Emulator   
 No recording device found   
 Photo Booth cannot open the camera   
 Free Download/Telechargez   
 Liberi Trasferimento   
 Libere la Transferencia   

Copyright © 2005-2009
All Rights Reserved