The HOLE filter. Can I place an image behind the hole created in another image?
The HOLE filter. Can I place an image behind the hole created in another image?
Here's an example of the hole filter composited against a background image. This filter will run in the Pixel Bender Toolkit.
<languageVersion : 1.0;>
kernel HoleCompositedAgainstBackground
<
namespace: "pb::forums";
vendor: "spotted chicken";
version: 1;
description: "Hole filter composited against a background image. The original 'Hole' filter was written by Jerrynet. See the Pixel Bender Exchange, <http://www.adobe.com/cfusion/exchange/index.cfm?event=extensionDetail&extid=1550519#> for more information.";
>
//< namespace : "net.Jerry.PixelBender";
// vendor : "[email protected]";
// version : 4;
// description : "A Hole Distortion Effect.";
//>
parameter float radius
<
minValue: float(0.0);
maxValue: float(1000.0);
defaultValue: float(100.0);
aeDisplayName: "Radius";
>;
parameter float2 center
<
minValue: float2(-800,-800.0);
maxValue: float2(1600.0,1600.0);
defaultValue: float2(120.0,120.0);
aeDisplayName: "Center";
>;
parameter float EdgeSmooth
<
minValue: float(0.0);
maxValue: float(3.0);
defaultValue: float(1.0);
aeDisplayName: "Edge smoothing";
>;
input image4 src;
input image4 background;
output pixel4 dst;
void
evaluatePixel()
float2 Pos_from_cen = outCoord() - center;
float p_length = length(Pos_from_cen);
float fun = (radius*radius)/abs(p_length);
float m = fun/sqrt(Pos_from_cen[0]*Pos_from_cen[0] + Pos_from_cen[1]*Pos_from_cen[1]);
float2 pp = -float2(m*Pos_from_cen[0], m*Pos_from_cen[1]) + outCoord();
pixel4 final = sampleLinear(src,pp);
if (p_length <= (radius+EdgeSmooth/2.0))
//smooth the circle edge
if (p_length >= (radius-EdgeSmooth/2.0))
final *= (p_length-radius+EdgeSmooth/2.0)/EdgeSmooth;
else
final = sampleNearest(background, center + Pos_from_cen);
dst = final;
Similar Messages
-
My iPod has a problem. I cannot fit the charger into the bottom of the device, nor can I fit it on to the docking station. It is as if the bottom mechanism has been bent out of shape. Where would I get it repaired? Would it be expensive?
Apple will exchange your iPod for a refurbished one for this price. They do not fix yours. The price depends upon model and capacity
Apple - iPod Repair price
A third-party place like the following may replace the doc connector for less. Google for more.
iPhone Repair, Service & Parts: iPod Touch, iPad, MacBook Pro Screens -
I have an iMac 10.8.2. When trying to download a photo attachment from an email I received the following : "You can't open application IPhoto because the classic environment is no longer supported." This occurred on 10/25/12 at about 11PM CST. The iPhoto icon in both the dock and the application folder is grayed out with the no or do not enter symbol. How can I resolve this so I can access my photos?
I have two iPhoto icons in applications. One is grayed out and has the no symbol, the date of last modification is Oct 25, 2012 11:07pm. The size is 110 KB and kind shows Applic…lassie). When I click on with CMD i it shows:
kind: Application (Classic)
size: 109,677 bytes (111 KB on disk)
Where: / Applications
Created: Thursday, October 25, 2012 11:07 PM
Modified: Thursday, October 25, 2012 11:07 PM
Version: --
More info: --
Name and extension: iPhoto.app
Hide extension is grayed out and checked
Preview shows a photo I had attempted to save to iPhoto
The second iPhoto icon is also grayed out, but the symbol is an envelope, the date of last modification is Oct 12, 2012 12:09PM. The size is 548 KB and kind is shown as an email message. When I clicked on it with CMD i it shows:
Kind: Email Message
Size: 547,665 bytes (549 KB on disk)
Where: /Applications
Created: Friday, October 12, 2012 12:09 PM
Modified: Friday, October 12, 2012 12:09 PM
Version: not listed
Name & Extension: iPhoto.eml
Hide Extension: checked
Open with: Mail
Preview shows a photo I had attempted to save to iPhoto -
Hello ,
I want to ask some question about ipads \
How powerful is the iPad?
How useful is it for reading books, newspaper or magazines or for surfing the web?
Can you identify any shortcomings of the device?
please help meit's less powerful than your average computer. THink of it like a netbook but with a better processor.
It'll do fine for surfing (although if you browse a lot of flash based sites you will need to get a third party browser since safari doesn't accommodate it)
You may do OK on reading books, papers or magazines, especially if they have apps, but the ipad's screen is backlit, so it doesn't work well outdoors and you may need to fiddle with the brightness so that you don't get eye strain (it's just like doing too much reading from a computer screen)
I would say the biggest short comings are data transfer. Apple's preferred work flow is that everything is done via iTunes or the internet....well people dont' always have 100% reliable always on internet access so you can find yourself in a situation where you can't get things on/off the iPad.
By and large, it's a good device for day to day stuff, but is not a computer replacement. -
I have a version 1 iPad. I would like to be able to use my LCD projector to display content to my students. I have the dongle to attach to the projector, but can't make it work. The process DOES work with my friend's iPad 2. Any advice? Thanks!
Expanding on what deggie said, with an iPad 1 the app you're using must support video out. Only the iPad 2 can mirror the screen. The apps included with the iPad that output to external monitors are given here:
http://support.apple.com/kb/HT4108
For third-party apps, consult the app's documentation or contact the developer.
Regards. -
I have an Iphone 3 and wish to upload my Icloud contacts onto the devise. Being that the Iphone 3 can not download IOS 5, I have to figure out another way of uploading my Icloud contacts onto my Iphone 3. Any suggestions?
If you have a Mac with OS X Lion or a PC with Outlook 2007 or 2010 synced with iCloud, you can. Connect your iPhone to the computer and sync it
-
I have a phone in Canada and one in the us. Can I use both phones on the us account and or the canadian account??
You have to be in a country to use its store (that is part of the store's terms), so whilst you are in the US you can use the phone(s) that you have with you to buy/download from the store, and similarly when you are in Canada and the Canadian store - you can use the same account on both phones.
-
We have purchased a movie via Apple TV (2) and its taking too long to load, so we want to watch movie on Itunes on the computer but can't find rented movies on the MAC iTunes
Movies rented on Apple TV aren't transferable to another device. If its taking awhile to load then its an issue with your network.
What is your speed via speedtest.net
1080p requires 8mbps
720p needs 6mbps
You can change to SD in settings
Interference can cause issues, verify via istumbler or netstumbler
Should be using ISPs DNS (settings - network - DNS should be automatic) -
The installed file can not be activated.
Since the system does not perform the registration.
What can I do?I have the same issue. When trying to open the acrobat XI Pro for the first time, you are obligated to sign in with your account. But signing in is taking about an hakf hour now, while I have no problems signin in trough adobe.com with the same username and password.
-
How do I find out if my ipod is subject to the recall? Can someone send a link to the site?
Click here for information.
(61553) -
I dropped my iPad & cracked the screen. Can this be repaired? Or the screen replaced? If so, the approximate cost?
See options in link below.
Troubleshooting 101
Some topics covered
-Basic troubleshooting steps
-Hard reset instructions
-Manual restore instructions
-Hardware troubleshooting
-Preventive Maintenance
-Anti-theft & recovery tips
-Battery-saving tips
-Repair options
-Contacting Apple
17" 2.2GHz i7 Quad-Core MacBook Pro 8G RAM 750G HD + OCZ Vertex 3 SSD Boot HD
Got problems with your Apple iDevice-like iPhone, iPad or iPod touch? Try Troubleshooting 101
In Memory of Steve Jobs -
I'm having trouble with importing them into iTunes and converting them at the same time. when i hold down option over the files i can't find where its supposed to say create new version. is this if you're in iTunes?
You can't do it in one step. Add to iTunes first, Once the tracks are in iTunes you may convert to a different format.
tt2 -
For Boot Camp, if you save a file when you are on the Windows side, when you return to the Mac side, can you see the file or can it only be "seen" on the operating side you create it in?
Why don't you (generic most every post lacks critical details) be clear and say you never used Mac OS etc.
But, I did try to anticipate and give you what you needed.
Excel is one of those rare programs that, if they are extremely large complex spreadsheets still tend to run better under Office for Windows.
A VM won't do for that but it does make it easier to transition. As in: install Windows natively, then use VMware Fusion or Parallels to attach to the partition and OS. That way you can run Windows as Guest OS VM under Mac; and still run Windows natively dual-boot when needed.
The word "see" was not what you wanted, was it? really? you want to open and make changes and keep it on Windows side rather than Save As or copy to Mac
You use Windows and don't know it has NTFS (NT FileSystem)?
http://en.wikipedia.org/wiki/NTFS
http://en.wikipedia.org/wiki/Hierarchical_File_System (HFS) native file system used by Apple
And there is much more UEFI style "bios" and other things I suppose.
Great thing about Google and encyclopedias or dictionary, you can look up what you don't know. -
Launch daemon's, I have deleted the files in the folder and can not log in to recover the files , safe book didn't help can you ?
- Can you use Target Disk Mode : How to use and troubleshoot FireWire target disk mode to assist to recover the files.
- Need another Mac and a Firewire cable
Cheers -
Create image which is filled in from another image*
Create image which is filled in from another image? How do I blend two images - using the outline of one and the coloring or background of the other?
Everything you want to do and more is available through the use of Photoshop Layers.
It's kind of beyond the scope of the forum to teach basic Photoshop layer usage, but you can find many tutorials online, and Photoshop itself comes with decent documentation (Help).
You can, for example, open one image, paste or place another over it as a second layer, then you can blend the two through many different Blending options, as well as 0 to 100% blending percentage. You can even use transparency or masking to make parts of a layer transparent, opaque, or anything in between.
Using selection and refinement tools, you can even put subjects on different backgrounds...
-Noel
Maybe you are looking for
-
How can I print out my album list from ITunes?
When I open up Itunes, I have over 400 albums and I would like to print out just the names of all my albums but I cant seem to figure out how. When I try to export my song list, it gives out way too much like every song on each album and it goes to w
-
Imovie 10.1 not responding
I was creating a new event when imovie crashed and it has stopped responding on my 13" macbook pro with mountain lion recently upgraded to maverick
-
SAP WM: Mixed pallet with putaway strategy "P"
Dear Experts, I am using putaway strategy P for a storage type and I have given X for Mixed storage field. I am not able to put multiple batches of same material in one bin, is it possible with putaway strategy P I am not using SU management. Thanks
-
Function Module to find Reference Employee Number (PERNR)
Hi All, Is there a FM to get employee's reference PERNR (employee number) in case employee was assigned a new employee number due to inter-company transfer or anyother reason. Thanks
-
Multiple (parallel) RFC Calls through one connection?
Hi SAP gurus, Is there a possibility for parallel RFC calls through one open connection via one SAP system user? As I know when calling RFCs it opens a new session and the dialog users have only 6 sessions permitted. Do you know any possible solution