public HitAndMiss( short[,] se )
{
int s = se.GetLength( 0 );
// check structuring element size
if ( ( s != se.GetLength( 1 ) ) || ( s < 3 ) || ( s > 99 ) || ( s % 2 == 0 ) )
throw new ArgumentException( );
this.se = se;
this.size = s;
// initialize format translation dictionary
formatTranslations[PixelFormat.Format8bppIndexed] = PixelFormat.Format8bppIndexed;
}