Bill,
Yes, darken works better. It expects 0<m<254, while
intensify uses 0<u<1, so I had a little trouble orienting.
Thank you.
On Sun, 27 May 2007, bill lam wrote:
+ Cliff(?) also suggested the following adverb to change level of lightness.
+
+ darken=: 1 : '<.0.5+(255%~255-m)*y'
+ imagelighten=: 1 : 'm+<.0.5+(255%~255-m)*y'
+ lighten=: 1 : 'm+<.0.5+(255%~255-m)*y'
+ lightenb=: 1 : 'a.{~m+<.0.5+(255%~255-m)*a.i.y'
+
+ Brian Schott wrote:
+ > http://www.jsoftware.com/pipermail/general/2002-November/011913.html
+ >
+ > In the message referenced above, an adverb
+ > intensify=:1 : '[: <. (**^&(-.u)@|)&.(<:@:((2%255)&*))'
+ > is recommended by Cliff Reiter. I would like to remove
+ > overexposure from an photo and this adverb does not seem to
+ > help with my problem. Any suggestions?
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm