|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectac.essex.ca.neighbourhoods.Neighbourhood
ac.essex.ca.neighbourhoods.MooreNeighbourhood
public class MooreNeighbourhood
The Moore neighbourhood is a neighbourhood that manifests itself as a 3x3 grid around a central pixel.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version, provided that any use properly credits the author. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details at http://www.gnu.org
Field Summary |
---|
Fields inherited from class ac.essex.ca.neighbourhoods.Neighbourhood |
---|
positions |
Constructor Summary | |
---|---|
MooreNeighbourhood()
|
Method Summary | |
---|---|
void |
createNeighbourhood()
Creates a 3x3 Moore Neighbourhood surrounding the central pixel. |
Methods inherited from class ac.essex.ca.neighbourhoods.Neighbourhood |
---|
addPosition, getPositions |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MooreNeighbourhood()
Method Detail |
---|
public void createNeighbourhood()
createNeighbourhood
in class Neighbourhood
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |