A processing model for two-dimensional images based on the object-oriented paradigm