View Full Version : Decrack action and PS5.0 Tim Edwards 12-11-2001, 08:58 AM For the folks using PS5.0 who couldn't load the action from the tutorial, you'll have to wait a bit longer... I can't get PS5.0 to install under Windows ME. PS6.0 works fine, but 5.0 won't even start.
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...
Regards,
_Tim Serge P. 12-16-2001, 03:58 PM Hi Tim
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.
Regards,
Serge Doug Nelson 12-16-2001, 06:42 PM PS6 has the capability of exporting actions to text files. That might work. Then someone else could duplicate them in 5.0. (I don't think they can be imported from text) DJ Dubovsky 12-16-2001, 09:07 PM Wow, you learn something new everyday. I didn't know you could do that.
DJ I have no idea what Doug's talking about, but I have 5.0 and I'd be more than willing to try it.
Ed Serge P. 12-16-2001, 10:27 PM 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?
Regards,
Serge Tim Edwards 12-17-2001, 08:17 AM Serge,
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:
Set: Decrack
Stop
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)”
With Continue
Duplicate first document
Name: “__s_n_a_p_s_h_o_t__”
With Merged
Set Selection
To: all
Copy
Close
Saving: no
Make layer
Without Below
Paste
Anti-alias: none
Duplicate current layer
Desaturate
Stop
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...
With Continue
High Pass
Radius: 1.5 pixels
Solarize
Levels
With Auto
Median
Radius: 1 pixels
Stop
Message: “Adjust brightness such that image details are barely visible, while target damage is obvious. Default values: brightness +0, contrast +80 ”
With Continue
Brightness/Contrast
Contrast: 80
Set Selection
To: RGB channel
Inverse
Expand
By: 1 pixels
Delete current layer
Make
New: channel
At: mask channel
Using: reveal selection
Set current layer
To: layer
Without User Mask Linked
Select RGB channel
Minimum
Radius: 1 pixels
Maximum
Radius: 1 pixels
Select mask channel
Select current channel
Delete current channel
With Apply DJ Dubovsky 12-17-2001, 08:41 AM Tim
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?
DJ Tim Edwards 12-17-2001, 09:21 AM DJ,
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!
_Tim Serge P. 12-17-2001, 10:27 AM Hi Tim
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?
Regards,
Serge Tim Edwards 12-17-2001, 03:13 PM Serge,
The step you're wondering about is actually making a mask-like selection of the current image. Hitting 'quick mask' with this selection active would result in a semi-transparent looking version of the image, in red. It's accomplished in 6.0 by pressing Ctl-Alt-Shift-~ (that last character is the tilde, right above the Tab key on my keyboard).
Hopefully it's available in 5.0 as well as 6.0. If not, you'll need to do something like make a temporary mask out of the (inverted) grayscale and then set the selection to that layer mask.
_Tim DJ Dubovsky 12-17-2001, 03:20 PM Oh great. Thanks Tim. I figured it must do the opposite effect by switching something during the process but this is even better.
DJ Serge P. 12-17-2001, 05:11 PM Hi Tim
You provided the proper clue. Your "Ctrl+Shift+Alt+~" shortcut worked.
I tried the action on the photo at http://www.retouchpro.com/tutorials/decrack/tut_1.jpg
and it seems to have done a good job.
Now... how do I send you this "action" that works in Photoshop 5.x?
Or is there a way to send it to this forum?
Regards,
Serge Tim Edwards 12-17-2001, 05:42 PM I'm sure the friendly janitor will put it in its proper place if you just attach it, Serge. Thanks for all the work!
_Tim Serge P. 12-17-2001, 05:54 PM Hi Tim
I'm trying to find an e-mail address?
Out of luck so far?
Any hints on where I can find it on this page?
Sorry about this post, I just found Doug Nelson's e-mail address.
Regards,
Serge Serge P. 12-17-2001, 07:05 PM Hi Tim
I have just attached the action.
This action works in Photoshop 5.x.
Regards,
Serge Thanks to both of you, I now have an action that will work in 5.0 (it's been tried). I've had a lot of company lately, and haven't had much time. Thanks again.
Ed Serge P. 12-19-2001, 01:17 PM Hi Ed
The action that I attached, is a set containing two actions.
The "Decrack" action is the same as the original. It has the MINIMUM filter activated, and is best used on white cracks.
The other action, I named "Decrack dark" and this one has the MAXIMUM filter active. It is best used on dark cracks.
I wish to thank Mr. Tim Edwards for sharing this action with us.
NOTE to Tim:
I hope you don't mind but I changed the "6.0" to "5.x" in your first STOP in the action. It reads:
"Decrack v1.0 Nov. 2001 - Photoshop 5.x (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)"
Regards,
Serge Doug Nelson 12-19-2001, 01:24 PM Will the 5.x version work just as easily in v6? Might be able to save some confusion if it does. Serge P. 12-19-2001, 02:02 PM Hi Doug
To my knowledge, most actions created in PS5.x do work in PS6.0. There are very few actions (created in PS5.x) that do not work in PS6.0. I believe that this action should work in PS6.0. You would need to try it out. I have Photoshop 5.5 so I cannot confirm if it will work in PS6.0.
PS6.0 actions do not work in PS5.x. Tim Edwards 12-19-2001, 05:57 PM I just downloaded the 5.5 action and tried it in 6.0, and it worked just fine! (Grandma Popo, 3 iterations at highpass 0.4 with other settings at their default values). Quite a bit of pervasive damage is removed, and you can even begin see the outlines of her hair and right eye.
Neato -- recovery of 'lost' parts of the picture!
Some judicious masking is required in high-contrast areas (eyes, hairline, blouse), and probably some work on the 'blocky' part of the background where the damage is the worst.
Comparing the 6.0 and 5.5 versions, there is a slight difference, but not in terms of the quality of the result.
Regards,
_Tim Tim Edwards 12-19-2001, 05:58 PM Grandma Popo is the subject of Restoration Challenge #20...
_Tim | |