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.lib.image; 011 012/** 013 * Enumeration type representing the available strategies 014 * for accessing pixel locations outside the image bounds. 015 * 016 * @author WB 017 */ 018public enum OutOfBoundsStrategy { 019 DefaultValue, 020 NearestBorder, 021 MirrorImage, 022 Exception; 023 024// public static String[] getNames() { 025// List<String> en = new LinkedList<String>(); 026// for (Enum<?> m : OutOfBoundsStrategy.values()) { 027// en.add(m.name()); 028// } 029// return en.toArray(new String[0]); 030// } 031}