MCPcopy Create free account
hub / github.com/AstroImageJ/astroimagej / od

Method od

ij/src/main/java/ij/plugin/GelAnalyzer.java:401–411  ·  view source on GitHub ↗
(double[] profile)

Source from the content-addressed store, hash-verified

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) {

Callers 1

plotLanesMethod · 0.95

Calls 1

logMethod · 0.45

Tested by

no test coverage detected