(double[] profile)
| 399 | } |
| 400 | |
| 401 | double[] od(double[] profile) { |
| 402 | double v; |
| 403 | for (int i=0; i<profile.length; i++) { |
| 404 | v = 0.434294481*Math.log(255.0/(255.0-profile[i])); |
| 405 | //v = 0.434294481*Math.log(255.0/v); |
| 406 | if (v<odMin) odMin = v; |
| 407 | if (v>odMax) odMax = v; |
| 408 | profile[i] = v; |
| 409 | } |
| 410 | return profile; |
| 411 | } |
| 412 | |
| 413 | void outlineLanes() { |
| 414 | if (gel==null || overlay==null) { |