001/******************************************************************************* 002 * This software is provided as a supplement to the authors' textbooks on digital 003 * image processing published by Springer-Verlag in various languages and editions. 004 * Permission to use and distribute this software is granted under the BSD 2-Clause 005 * "Simplified" License (see http://opensource.org/licenses/BSD-2-Clause). 006 * Copyright (c) 2006-2016 Wilhelm Burger, Mark J. Burge. All rights reserved. 007 * Visit http://imagingbook.com for additional details. 008 *******************************************************************************/ 009 010package imagingbook.pub.threshold.global; 011 012/** 013 * This is only a special case of a QuantileThresholder with b = 0.5. 014 */ 015public class MedianThresholder extends QuantileThresholder { 016 017 // b is fixed at 0.5 and cannot be set, so we do not 018 // provide a constructor with this parameter 019 public MedianThresholder() { 020 super(0.5); 021 } 022 023}