FIELD: image data processing.SUBSTANCE: invention relates to a method and apparatus for image processing, as well as to a three-dimensional imaging system. The technical result is achieved by obtaining a two-dimensional image subject to processing; combining said two-dimensional image with the model of the grid; using a grid matching table to match …