Photoshop filters

 

Add on for product

Photoshop

Date

1997

Programming languages  

Filter Factory scripts

Company

Description

Just simple and wonderful filters for Photoshop dedicated to remote sensing image processing: Density slicing,

 

Filters pictures and scripts

 

Script Density Slicing:

put ( src(x,y,0),11),

put (get(11)/ctl(0),13),

put (get(11)%ctl(0),14), put((get(13))*ctl(0),15), put((get(13))*ctl(0),16),

get(14) != 0 ? get(15) :get(16)

 

 

Linear stretch:

put (r,0), put( (ctl(1) - ctl(0)),1),

put( (ctl(3) - ctl(2)),2),

put((get(2)/((get(1))))*(get(0)-ctl(0)) + ctl(2),3),

(r < ctl(4) ) || (r > ctl(5)) ? put(0,0) : put (get(3),0)

 

Chanel changer

R<MIN ? MIN : R>MAX ? MAX :  R

min = ctl(0)

max = ctl(1)

Změna kanálů

ctl(0) <=100 ? r : ctl(0) >200 ?b:g

 

Vegetation indices 1

 (((g+r)*ctl(0))/(r+ctl(1))) +

 (-128+ctl(2) )

Vegetation indices 2

 ((g-r)*ctl(0)) /  ((r+g) +ctl(1))+ctl(2)