RetouchPRO

Go Back   RetouchPRO > Tools > Software
Register Blogs FAQ Site Nav Search Today's Posts Mark Forums Read


Software Photoshop, Lightroom, Paintshop Pro, Painter, etc., and all their various plugins. Of course, you can also discuss all other programs, as well.

PC/Win filter for Lab mode: Minor ab Manip

Reply
 
Thread Tools
  #11  
Old 09-25-2005, 05:13 AM
Cameraken's Avatar
Cameraken Cameraken is offline
Senior Member
 
Join Date: Feb 2005
Location: Lancashire (UK)
Posts: 1,158
Stroker.

I don’t understand some of that either But it’s probably the best explanation of LAB that I have ever read. Thanks. I’m sure it will make more sense as I use LAB more.

Have a look at this. One night of reading has got me this. It’s a bit coarse but it’s working.

%ffp

Title:"Shadow and Highlight"
Category:"Kens plug-ins"
Author:"Ken"
Description:"Shadow and Highlight"
Dialog:gradient=(blue,black)

ctl(0):"Shadows",range=(1,100)
ctl(1):"Highlights",range=(1,100)

R,G,B: (c < 128) ? c+c*ctl(0)/100 : c-c*ctl(1)/100



Ken.
Reply With Quote top
  #12  
Old 09-25-2005, 08:49 AM
Stroker's Avatar
Stroker Stroker is offline
Senior Member
 
Join Date: Jan 2005
Posts: 370
No worries. This kind of thing is what I do and I love it. It will make a lot more sense when I get better organized and add graphics. I get the feeling that I'm going to have to do for Lab what I did for Displace. Back when I was doing this kind of thing with Displace I had taken much harder knocks and it didn't phase me (because it's what I do and I love it).

Cameron, try something like this:

Code:
%ffp

ForEveryTile:{
// declares
int x,y;
int r,g,b,lum;

// cycle through the tile in Preview
for(y=y_start;y<y_end;y++){
for(x=x_start;x<x_end;x++){

// grab the values at current pixel
r=src(x,y,0);
g=src(x,y,1);
b=src(x,y,2);

// calculate luminosity
lum=r*0.30 + g*0.59 + b*0.11;

// write lum to rgb channels
pset(x,y,0,lum);
pset(x,y,1,lum);
pset(x,y,2,lum);

}}// end x y

return true;
}// end for every tile

// end ffp
It's a little more sophisticated, but shouldn't be too hard to read. Let me know when you are comfortable with that code and we'll see about adding a few things a little at a time. Of course, feel free to mess with it on your own.
Reply With Quote top
  #13  
Old 09-25-2005, 02:55 PM
Craig Walters's Avatar
Craig Walters Craig Walters is offline
Senior Member
 
Join Date: Apr 2005
Location: somewhere over there
Posts: 8,786
Blog Entries: 4
stroker,

no knocks from here. i love that you do this.

one request, if i may; i was testing this plugin on an image where the subject is set back in the scene quite a bit. so, even at 100% magnification it's difficult to see the results of adjusting the sliders. is it possible to add some extra magnification on the plugins so i could zoom in a bit more?

Craig
Reply With Quote top
  #14  
Old 09-25-2005, 05:14 PM
Stroker's Avatar
Stroker Stroker is offline
Senior Member
 
Join Date: Jan 2005
Posts: 370
The zoom thing is a limitation of Filter Meister. Alex said that the next beta of FM will allow zooming in. No idea when this will happen. For various reasons, Alex and Harold try not to commit to release dates.
Reply With Quote top
  #15  
Old 09-25-2005, 07:24 PM
Cameraken's Avatar
Cameraken Cameraken is offline
Senior Member
 
Join Date: Feb 2005
Location: Lancashire (UK)
Posts: 1,158
Stroker.

Thanks for taking the time to write that.

This is exactly what I need. It’s at the top end of my learning so far which is something the manuals are a little lacking. They seem to go from very easy to very hard.

I can read what you have written although I could not write it yet.
I understand VB but I’m still learning the syntax of C. But I do understand the logic.

I am going to persevere with filter. It seems to be the only one I need.

I tried to modify your code but I got lost. Looks like I need to do some more reading of the help files.

I have not bought this yet. But if you are using it for your own use then there is no need to ‘Make’ a 8bf file. It is great that you can see the code and the picture. It would be very easy to adjust code for specific pictures.


Ken. (But you can call me whatever you want)
Reply With Quote top
  #16  
Old 09-25-2005, 08:16 PM
Craig Walters's Avatar
Craig Walters Craig Walters is offline
Senior Member
 
Join Date: Apr 2005
Location: somewhere over there
Posts: 8,786
Blog Entries: 4
thanks stroker.

Craig
Reply With Quote top
Reply

  RetouchPRO > Tools > Software


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
PC/Win Filter: High Pass Lum Stroker Software 14 05-20-2010 05:39 AM
PHOTO ART: Photoshop Trace Contour filter DannyRaphael Photo-Based Art 0 07-20-2002 03:30 PM
Tutorial: Texturizer Filter tricks DannyRaphael Photo-Based Art 6 07-13-2002 03:13 PM


All times are GMT -6. The time now is 08:34 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
Copyright © 2016 Doug Nelson. All Rights Reserved