INTERFACE CrossFeatures2D; (* A trivial feature mapper that merely returns the pixel and its four "cross" neighbors. Each image layer generates 5 consecutive features. *) IMPORT FeatureMapper2D AS Mapper; FROM Mapper IMPORT NAT; TYPE T <: Public; Public = Mapper.T OBJECT METHODS init(NL: NAT): T; (* Initializes the mapper for "NL" layers. *) END; END CrossFeatures2D.