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.morphology.old; 011 012import imagingbook.pub.morphology.old.BinMorpher; 013 014/** 015 * This class is obsolete (replaced by {@link imagingbook.pub.morphology.BinaryMorphologyFilter}). 016 * 017 */ 018@Deprecated 019public class BinMorpherBox extends BinMorpher { 020 021 BinMorpherBox(){ 022 makeBox(); 023 } 024 025 private void makeBox(){ 026 se = new int[3][3]; 027 for (int v = 0; v < 3; v++) { 028 for (int u = 0; u < 3; u++) { 029 se[v][u] = 1; 030 } 031 } 032 } 033 034}