/*
 * #%L
 * ImageJ software for multidimensional image processing and analysis.
 * %%
 * Copyright (C) 2009 - 2013 Board of Regents of the University of
 * Wisconsin-Madison, Broad Institute of MIT and Harvard, and Max Planck
 * Institute of Molecular Cell Biology and Genetics.
 * %%
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 * 
 * 1. Redistributions of source code must retain the above copyright notice,
 *    this list of conditions and the following disclaimer.
 * 2. Redistributions in binary form must reproduce the above copyright notice,
 *    this list of conditions and the following disclaimer in the documentation
 *    and/or other materials provided with the distribution.
 * 
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE
 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 * POSSIBILITY OF SUCH DAMAGE.
 * 
 * The views and conclusions contained in the software and documentation are
 * those of the authors and should not be interpreted as representing official
 * policies, either expressed or implied, of any organization.
 * #L%
 */

package imagej.core.commands.display.interactive.threshold;

/**
 * TODO
 * 
 * @author Barry DeZonia
 */
public interface Histogram {
  // NB: Marker interface.
}

@@ -1880,16 +1880,17 @@
 shold;%0A%0A
+%0A
 /**%0A * T
@@ -1937,55 +1937,626 @@
 lic 
-interface Histogram %7B%0A  // NB: Marker interface.
+class Histogram %7B%0A%09/*%0A%09 * Notes%0A%09 * - histogram has at its heart a discrete cdf. but different because it has%0A%09 *     area %3E 1.0%0A%09 * - bins might not be evenly spaced%0A%09 * - we want key value associated with a bin%0A%09 * - want left edge, center edge, right edge just beyond my bin%0A%09 * - map int to an edge%0A%09 * - map a double coord to an int%0A%09 * - calc cdf from data given ranges. w/o ranges make a pass through data%0A%09 *     and determine range. two buckets on ends when range given are wider%0A%09 *     than 1.0 units%0A%09 * - somehow we want 2d ones also%0A%09 * - if we could use BijectiveFunction%3CA,B%3E code it would be nice%0A%09 */%0A
 %0A%7D%0A

Add some histogram notes