1. A method for representing a virtual object in a real environment, having the following steps: generating at least one two-dimensional image of a real environment by means of a recording device; ascertaining a position of the recording device relative to at least one component of the real environment, and providing three-dimensional information relating to the real environment based on the position of the recording device; segmenting at least one area of the real environment within the two-dimensional image to identify at least one segment of the real environment distinct from a remaining part of the real environment, wherein the segmenting is performed using graph cuts, which segmenting produces segmentation data; merging a virtual object with the two-dimensional image of the real environment or, by means of an optical, semitransparent element, directly with reality, with consideration of the segmentation data such that at least one part of the segmented area of the real environment is removed from the image of the real environment; identifying texture information within two-dimensional image using the th dimensional information; and concealing the removed part of the real environment in the image of the real environment using the texture information.