Selecting feature lines in generalized dissimilarity representations for pattern recognition