Decrack action and PS5.0
If somebody running 5.0 is interested enough, I could take the time to write down the steps and you could create a 5.0 version for everyone in the same boat...
I tried running your action in Photoshop 5.5 and it will not load, and it gives me the same error that others have reported.
If it is possible for you to write down the steps, I would be happy to create the action for you.
I have no idea what Doug's talking about, but I have 5.0 and I'd be more than willing to try it.
To save an action as text in Windows, you press and hold down the Alt+Shift key as you click the triangle to access the "Actions" menu. Then you select "Save Actions" and it will be saved as text.
You cannot import an action in TXT format in Photoshop 5.x.
Now back to Tim's Decrack action.
It will not load in Photoshop 5.x, so I used a plain text editor to view the contents.
I did figure out all the steps except two of them.
The first says "Make Layer Without Below" and the next step says "Paste Anti-alias: none."
What are these steps supposed to do? I just cannot find any steps in Photoshop 5.x to get this.
Anyone have any idea?
The "Make layer" is just the creation of a new empty layer.
The "Paste: Anti-alias: none" is just a normal paste.
The first few steps (up until the paste) are simply copying the currently visible layers into a single new layer... There's a simpler way to do this (a shortcut I saw somewhere), but I can't remember it right now. Essentially, I'm duplicating the document into a new, merged document, copying the contents, and pasting them back into the original document.
Also note the "without user mask linked" option in the "Set current layer" entry near the bottom... It makes sure that actions on the image don't affect the mask (and vice versa).
In PS6.0, the keys to allow .txt export of actions are Ctl-Alt rather than Alt-Shift... I'm glad this is possible! It saved a lot of typing.
Here's the complete action in text, for the curious:
Message: “Decrack v1.0 Nov. 2001 - Photoshop 6.1 (c) 2001, Tim J. Edwards Purpose: Auto-removal of high-contrast cracks and scratches when retouching photographs. (feel free to disable this dialog when you tire of it)”
Duplicate first document
Duplicate current layer
Message: “Adjust the high-pass filter such that image details are barely visible, but the target damage is more obvious. Smaller values are more conservative, preserving more image detail. Example settings: 0.3 (gentle) 1.5 (normal) 4.0 (he...
Radius: 1.5 pixels
Radius: 1 pixels
Message: “Adjust brightness such that image details are barely visible, while target damage is obvious. Default values: brightness +0, contrast +80 ”
To: RGB channel
By: 1 pixels
Delete current layer
At: mask channel
Using: reveal selection
Set current layer
Without User Mask Linked
Select RGB channel
Radius: 1 pixels
Radius: 1 pixels
Select mask channel
Select current channel
Delete current channel
It seems to work great with light cracks against dark background. Can it be inverted in some way or at some stage to clean dark cracks against a light background?
The secret is to swap the "Minimum" filter with the "Maximum" filter. The former grabs the value of the darkest of neighboring pixels, while the latter grabs the lightest.
The action already includes both filters, with only one active. Just duplicate the action, rename the copy "Decrack dark", uncheck "minimum" and check "maximum". Good luck!
You are right about the Ctrl-Alt key to save an action as a TXT file. I made a mistake. Sorry.
Thank you for the steps. I will try them and get back to you.
I did try it and there is a problem somewhere. It has to do with the "Set selection to RGB channel."
It is not available.
Here's what I think is happening:
You create a copy of the image, and merge all layers in that copy. You then copy this "flat" image on top of all layers in your original, and close that flat image.
You create a new layer and paste the "flat" image" on this new layer.
You then duplicate this layer and you desaturate this layer.
To this desaturated layer, you apply a "High Pass," "Solarize," "Median" filter, plus a "Brightness/Contrast" adjustment.
This is where the problem starts.
The RGB channel is already selected in the Channels palette.
Therefore the next step "Set selection to RGB channel" is not available.
At this point there is no selection to inverse.
If there were a selection then I would be able to expand it, and the rest of the action would work.
What are you trying to do at this point? Are you trying to select only the highlights (and not the shadows) in the desaturated image?
Maybe that works on a layer in Photoshop 6.0 but it does not in Photoshop 5.x.
However, if I do not close that extra "flat" document created at the beginning, and I convert that document to "Grayscale," then I can choose to "Load Selection" and target that Grayscale document, and it will load a selection.
From this point up to the end, it will work. But without some kind of selection, it does not.
I am just trying to figure out what is supposed to happen here. Is there supposed to be some type of selection?
|Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)|