Methods for compressing image data
By dividing image data into sub-areas based on metadata, the method enhances compression efficiency by preserving relevant creative aspects while aggressively compressing irrelevant areas, addressing the inefficiencies of traditional methods.
Patent Information
- Application Number
- DE102023111069
- Authority / Receiving Office
- DE · DE
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-04-28
- Publication Date
- 2024-10-31
AI Technical Summary
Existing image compression methods do not consider additional information about the creative intent or design intention of the image, leading to inefficient compression that may affect the image's creative effect.
A method that divides image data into sub-areas based on metadata such as depth information, object content, and lens parameters, allowing for different compression strategies tailored to the relevance of each area for the creative effect.
Improves compression efficiency by ensuring that image areas relevant to the creative intent are preserved with minimal loss, while irrelevant areas are compressed more aggressively, maintaining image quality.
Smart Images

Figure 00000000_0000_ABST
Abstract
Description
[0001] The invention relates to a method for compressing image data, in particular moving image data.
[0002] Such image data can be generated by means of a camera, in particular an electronic motion picture camera which can be part of an image recording system. The image data, which is available in digital form, is Generation is usually either stored locally or forwarded to a transferred to another location.
[0003] Such image data can be very extensive, especially in the case of very high-quality Image data, such as those generated in professional digital film productions. Therefore, it is advisable to To compress image data for storage or transmission and thereby reduce the size of the data to be stored or There are numerous different compression methods available that can be used to Such data reduction can be achieved. According to the principles of information theory, a distinction is made between Redundancy reduction and irrelevance reduction are distinguished, whereby these two reduction principles can also be combined can be.
[0004] Redundancy reduction takes advantage of the fact that the information contained in the original data is Rule contains redundancies that can be eliminated (e.g. by clever summarization) because they are Complete reconstruction of the original data is not required. Since the compressed data can be used to original data can be restored, a compression based (exclusively) on redundancy reduction lossless.
[0005] Irrelevance reduction, on the other hand, takes advantage of the fact that part of the information contained in the original data Information regarding the intended use of the data is irrelevant or at least relatively little relevant. Omitting this part of the information therefore does not affect the intended use of the data or only slightly affected. However, due to the omission of irrelevant information, it is usually (if the irrelevant information is not redundant) it is not possible to extract from data compressed in this way to completely restore the original data. For this reason, a method based on irrelevance reduction Compression is usually lossy.
[0006] If the data to be compressed is image data, the determination is based on what is to be regarded as irrelevant and therefore negligible, in known methods typically due to peculiarities of the human visual perception. According to the principle of irrelevance reduction, the part of the image information that known to be impossible or hardly perceptible to the human eye, for the purpose of compression. This negligible image information includes, for example, fine Color differences or certain frequencies within the image, the absence of which is not or only barely noticeable by a viewer is noticed.
[0007] Based on the characteristics of human visual perception, which are basically known and predetermined, The image information considered irrelevant can be automatically identified as such within the image data and removed from the Image data is removed. This means that no additional information is used to compress the image data or required, but it can be determined purely on the basis of the image data itself (e.g. based on calculations). what is to be considered irrelevant and discarded and what is not. An encoder, which is typically used for the Compressing image data and performing the respective compression process, therefore need Basically, only the image data itself is transferred.
[0008] Depending on the type of encoder, compression parameters can also be passed, which In particular, you can set how much the image data should be compressed; depending on the desired degree of Compression allows the encoder to classify a larger or smaller portion of the image information as irrelevant and discard. But even if the threshold for distinguishing between relevant and irrelevant parts of the Image information can be shifted to a certain extent, the identification of irrelevant and thus negligible parts of the image information contained in the image data solely on the basis of the scale of the human visual perception.
[0009] However, parts of the image information may also be lost for reasons other than those inherent in the image data itself. be irrelevant for the further use of the image data or, according to the respective In any case, the design intention can tolerate a greater loss of information as a result of compression, without This significantly impairs the creative effect of the image. For example, when using digital Cameras for a creative design task (photography, film and media production) do not always cover the entire captured image for the further design process This is because it may be that one or more parts of the image (for example, parts that have a so-called keying background) for creative reasons with other content (for example, with other recorded content or computer-generated content). In this respect, such parts are also free from further use the image data is irrelevant.
[0010] However, common methods for compressing image data do not take into account such additional information about whether certain parts of the image information are irrelevant, for example due to a certain design Intention or for other reasons that cannot be derived from the image data itself. This creates potential for a fundamentally possible improvement in compression efficiency is wasted.
[0011] It is an object of the invention to provide a method for compressing image data and an image recording system that offer improved compression efficiency.
[0012] The object is achieved by a method having the features of claim 1 and by a Image recording system with the features of claim 19. Advantageous embodiments of the invention result from the dependent claims, the present description and the figures.
[0013] The method according to the invention for compressing image data, in particular moving image data, comprises following steps: Providing image data of a recorded scene; Providing metadata that Additional information about the recorded scene, the circumstances of the recording of the scene and / or the Include object content of the image data; depending on the metadata, divide the image data into different sub-areas; and generating compressed image data by compressing the image data, wherein the various Sub-areas are compressed differently.
[0014] The image data may in particular be a data set of image signal values which are a measure of the Intensity of the light emanating from a particular point in the scene (of a particular colour or The image data can also comprise several pixels, particularly arranged in rows and columns which each represent a point of the scene and to which one or more image signal values are assigned In particular, each pixel can be assigned one image signal value, three image signal values or four image signal values The image data can be raw image data, but the image data can also be be preprocessed, for example interpolation, white balance and / or (non-linear) amplification have gone through.
[0015] The image data are the result of recording the said scene. Such recording includes in particular that the image information of the scene is captured and image data is generated which represents the recorded scene represent visually. This can be done in particular by means of a camera of an image recording system. The mentioned image signal values can be generated by an image sensor of the camera, onto which the scene is projected by means of a lens of the camera and which then converts the image information of the scene pixel by pixel into image signal values These image signal values can then be combined (if necessary after further processing) to form the image data corresponding to an image (or in the case of moving image data, several images) of the scene. In particular, the Image sensor may be designed as a CMOS or CCD sensor comprising a plurality of light-sensitive sensor cells (so-called pixels), which generate electrical charge depending on the intensity of the incident light. Each of the light-sensitive sensor cells may comprise a color filter so that each sensor cell corresponds to one of several color channels. To read out an image (e.g. a single image from an image sequence), the Sensor cells are addressed one after the other and a voltage proportional to the respective electrical charge of the sensor cells is Voltage is passed to a signal output of the image sensor. The image data generated in this way can thus be called Mosaic data (with only one image signal value for each sensor cell of the image sensor), or by interpolation Color image data can be generated that includes several image signal values for each sensor cell of the image sensor (especially three image signal values, e.g. red, green and blue).
[0016] The metadata mentioned are assigned to the image data, but are not part of the image data, but contain Additional information that supplements the image data with information that goes beyond the mere image information. In particular, the additional information is information that does not come from the image data itself, such as can be derived directly through simple calculations based on the image signal values.
[0017] The additional information about the recorded scene that may be included in the metadata can in particular information about the type, dimensions and / or arrangement of objects in the scene and distances from points of the scene to the camera used; the metadata, if any, Additional information about the circumstances of the recording of the scene may include, in particular, characteristics and Settings of the camera used for recording and of accessories or other elements used on it of the respective image recording system; and the metadata, if any, Additional information about the object content of the image data (ie the objective content of the image data as opposed to to mere image information based on the image signal values, which are essentially only a measure of the intensity of the light incident on a respective sensor cell, possibly a specific one of the respective sensor cell assigned spectral range) can in particular provide information about the type, shape and position of objects in the picture. Any objective element of the scene can form an object of the scene, for example Surfaces that can limit the space of the scene, such as a background, a ground or a ceiling or a sky of the scene.
[0018] The metadata may, for example, be one or more of the following additional information: Focal length, focus setting, aperture, type and / or optical characteristics of a camera used to record the scene lens, noise characteristics of an image sensor used to record the scene, position and / or movement a camera used to record the scene, depth information about the recorded scene, Object information about objects in the scene or the object content of the scene image, as well as object masking information and / or area masking information about objects in the scene or image areas of the image data that serve as placeholders function.
[0019] The metadata may be provided together with the image data. For example, the metadata and the image data must be stored in a single file. Alternatively, the metadata can contain a reference to the contain image data and / or conversely the image data contains a reference to the metadata.
[0020] How the metadata is obtained is not necessarily part of the process. In principle, it is advantageous if they can be generated as automatically as possible. However, since the metadata in many cases is design intention, may be used to generate metadata, at least for parts of Manual entry of the additional information (particularly for assigning relevance levels) may be necessary.
[0021] According to the invention, the image data are processed as a function of the metadata, in particular as a function of at least one of the additional information contained in the metadata about the recorded scene, the circumstances of recording the scene and / or the object content of the image data, divided into different sub-areas, which be compressed differently.
[0022] This is a significant difference between the present invention and known methods for compression of image data that does not take such additional information into account, but is based solely on the pure Image information of the image data identify and reduce redundant and irrelevant information within the image data. Even with such known methods, it can be provided that parts of the image data are processed differently compressed, but the decision on how the sub-areas are defined and in which The way they are compressed is based exclusively on criteria inherent in the image, ie on criteria that are mathematically derived from the Image data itself, in particular from image signal values included in the image data. Therefore, the only sources for parameterization of a compression method used for conventional compression Encoders the peculiarities of the human eye’s ability to perceive image content and, where appropriate, existing correlations within the image.
[0023] The present invention, however, also makes it possible to use the information contained in the metadata about for reasons other than purely mathematical ones, differ in terms of their significance for the design effect of the image-rated parts of the image data to improve compression efficiency. This makes it possible to The method according to the invention is also able to classify image content with regard to the relevance of the image data for which can only be determined based on external information which cannot be readily identified as such in the recorded image data. can be recognized, to assess their significance for the creative effect of the image. This is used additional information, especially in the process step of dividing into the various sub-areas, whereby differently evaluated sub-areas in the subsequent compression differently (namely according to their respective the established significance for the creative effect of the image). In this respect, In the context of the relevance of a particular sub-area of the image data, the significance of this sub-area in to understand the creative intention of the image.
[0024] Dividing the image data into sub-areas does not necessarily mean that the different sub-areas separated from each other, but can only be understood in the sense of an assignment to In other words, the splitting may include assigning each pixel of the image data to a respective one of the In this case, only two sub-areas (one sub-area with relevant image information and a sub-area with irrelevant image information) or even more sub-areas (with Image information of a certain respective degree of relevance). The sub-areas include a subset of the pixels of the image data. In the case of moving image data, the resulting sub-areas cannot only spatial subsets, but also temporal subsets or both spatial and temporal subsets of the Image data. In the case of a spatial subset of the pixels of the image data, the subarea can in particular be a spatially connected area of the image information; however, this is not mandatory. In this way, a kind of segmentation or classification of the image data is carried out based on the information derived from the metadata. Relevance / irrelevance of different parts of the image data.
[0025] Different subsets of the image data that are spatially and / or temporally separated from each other can based on the metadata, the same or at least a similar relevance in terms of their impact on the creative effect of the image and are therefore assigned to the same sub-area in the aforementioned division A particular sub-area does not necessarily have to be spatially and / or temporally connected, but can also be formed by several spatially and / or temporally disjoint subsets of the image data.
[0026] Since the division of the image data into the sub-areas is expediently carried out according to the metadata Relevance / irrelevance of different parts of the image data, in each sub-area all those parts (pixels) of the image data that have a certain degree of relevance corresponding to the respective sub-area In this respect, especially through the metadata (through a direct assignment or by deriving a such assignment), each sub-area is assigned a respective relevance class, so that a respective sub-area includes all those parts of the image data whose relevance (according to the underlying design intention) of the respective relevance class.
[0027] The method according to the invention may require manual input, by which, in particular for each recorded scene individually, which metadata is taken into account in each case for splitting should be divided into how many sub-areas the image data should be divided into, which threshold values should be used should be and / or which relevance class a respective sub-area should be assigned to.
[0028] Finally, the method according to the invention then generates compressed image data by compressing the image data In principle, a known compression method can be used, whereby However, the invention provides that the various sub-areas are combined differently. In particular, each sub-area can be assigned to the respective sub-area depending on the As a result, parts of the image data that are of varying relevance are also compressed differently. Conversely, however, each sub-area is preferably compressed uniformly.
[0029] It is not absolutely necessary that all image data is already divided into the different sub-areas have been completed before compressing the image data. In some embodiments, such image data that has already been assigned to a particular sub-area is compressed, while other Image data (especially of the same image) can still be divided into different sub-areas.
[0030] The fact that the different sub-areas are compressed differently may mean that they are to different degrees, using different methods and / or with different compression parameters, especially to varying degrees of compression.
[0031] The compression of the various sub-areas can be particularly important with regard to the respective The degree of compression (compression factor, compression rate) can vary. For example, for compressing Overall, a (lossy) compression method is used, in which the degree of compression is Target parameters can be specified, with different compression levels being specified for different sub-areas The degree of compression can be adjusted, for example, by setting a (with many lossy compression method) quantization of a respective size finer (with more quantization levels or smaller step intervals) or coarser (with fewer quantization steps or larger step intervals) It can also be provided that at least one sub-area that is highly relevant based on the metadata is compressed losslessly, while one or more other sub-areas (to varying degrees) are lossy be compressed.
[0032] One compression can be stronger than another compression in particular in that reconstructed image data that by compressing original image data and then decompressing (reverse compression) the resulting compressed image data, compared to the original image data when compressed more strongly, a greater loss of image information than with other compression.
[0033] One of the sub-areas may comprise those parts of the image data which, based on the metadata, are considered to be further use of the image data are considered completely irrelevant. Compressing this part of the image may then differ from the compression of the other sub-areas in that this sub-area is extremely compressed, namely at least essentially discarded. In other words, the Compressing the image data in such a case that one of the partial areas is completely discarded. This can means that this sub-area (or the image information corresponding to this sub-area) is included in the compressed image data is not included at all. Alternatively, the partial area can be completely discarded that the image information corresponding to this sub-area is reduced to a minimum (and thus maximum compressible) extent, which can be achieved, for example, by reducing the image information of this sub-area is equated with a constant value corresponding to an image content of zero, a transparency or a constant color.
[0034] The present method does not exclude the possibility that image-immanent Irrelevances of the image data can be exploited to reduce the amount of data. In particular, such image-immanent irrelevancies when compressing a respective sub-area in addition to its respective determined Relevance with regard to its influence on the creative effect of the image should be taken into account. In this respect, it can also happen that a sub-area contains image data that can be identified based on the metadata were assessed as being relevant in terms of design, but which show a high degree of irrelevance inherent to the image (for example, because it is a defocused image area), and is therefore more compressed as a result than a Sub-area with image data rated as less relevant in terms of design, but with a low image-immanent irrelevance (for example, because it is a sharply imaged area).
[0035] According to an advantageous embodiment, the metadata comprises depth information according to which each Each pixel of the image data is assigned a spatial depth of a point in the scene represented by this pixel. This depth information is one of the additional information mentioned, which is included in the metadata and which supplement the mere image information of the image data with additional information.
[0036] Specifically, the depth information includes spatial information about the scene, which can be obtained, for example, by means of a distance sensor that is part of a camera used to record the scene or (e.g. as an accessory for such a camera) is part of an image recording system. Alternatively to using a Distance sensor, the depth information can also be obtained stereoscopically, ie from the Disparity between two (or more) different images of the scene taken from different angles with known relative alignment of the optical axes, one of the methods used to record these images used cameras can also be used to generate the image data to be compressed. Spatial depth can be defined, for example, in relation to a lens used to record the scene (the camera). However, the depth information can also be defined at another reference point, such as the image plane of the Preferably, however, for each pixel of the image data, a distance of the object from this Calculate the distance of the scene point represented by the image point to the lens from the depth information.
[0037] Another way to obtain depth information is to use an image sensor with so-called PDAF pixels, where PDAF stands for Phase Detection Auto Focus. A PDAF pixel can, for example, formed by arranging two or more ordinary pixels under a common microlens, or by partially covering a pixel, for example half, with a mask. It can then determine whether there is a phase difference between different areas of the respective PDAF pixel. The magnitude and sign of the phase difference can then be used to determine the position of the determine the point of the scene corresponding to the respective PDAF pixel relative to the plane of focus, i.e. the plane whose contents are sharply imaged by the lens used at the focus set when recording the scene The depth information can be considered as relative depth information, namely as the respective spatial depth relative to the current focal plane. If the set focus is known, it is generally It is conceivable to convert the relative depth information based on the focus (at least approximately) into absolute depth information, especially in distances from the lens.
[0038] The depth information can generally have a lower resolution than the image data, so that several neighboring pixels are assigned the same spatial depth. This does not change the fact that the Depth information can be used to determine a spatial depth for each pixel. In addition, the depth information only contain concrete values for a part of the image data, for example if only for a central and / or important In this case, pixels for which no specific value is available are an indeterminate spatial depth is assigned by the depth information, which, like a concrete value, serves as a criterion can be taken into account for dividing the image data into the different sub-areas.
[0039] According to an advantageous development of this embodiment, the division of the image data into the different sub-areas, that each pixel depends on which of several distance ranges the spatial depth assigned to this pixel according to the depth information lies in a respective one of the sub-areas is assigned.
[0040] Determining in which distance range a spatial depth assigned to a respective pixel lies, may require that the spatial depth is first converted into a distance, for example into a Distance of the point of the scene that the respective pixel represents from a point used to record the scene used lens. The distance ranges can be determined in particular by one or more threshold values (limit distances) that separate adjacent distance ranges from each other. Distance ranges can be predefined. Alternatively, the distance ranges can also be dynamically be specified, ie defined as part of the procedure, as is the case, for example, with the This is the case in embodiments where the distance ranges depend on lens parameters.
[0041] Dynamically specified distance ranges can also result automatically from the fact that the Depth information is defined in relation to a dynamic parameter. For example, the depth information can be explained above relative to a plane of focus (depending on the set focus of the lens used) be defined so that the depth information can be used to distinguish whether a pixel is in a distance range, which includes the plane of focus, in a lens arranged in front of it (i.e. closer to the lens in comparison) distance range or in a range located behind it (i.e. further away from the lens in comparison) The pixels can then be determined depending on which of these at least three relative to the The respective pixel lies in the distance ranges defined by the focal plane according to the depth information, a respective of the above-mentioned sub-areas.
[0042] By taking depth information into account, image contents can be classified according to their position in space with regard to their relevance to the creative effect of the image. This makes it possible, for example, to classify image content in far away, at least in certain scenes, as less relevant (and thus more compressed) than close image content. Depending on the scene, it can also be the other way around. In addition, for example, particularly Near and especially far image content is classified as less relevant than image content in a medium However, it is particularly advantageous if depth information is not the only criterion for the division of the image data into the different sub-areas to be compressed is used, but further Additional information may be considered. The following embodiments are examples.
[0043] According to an advantageous embodiment, the metadata further comprises lens parameters of a Recording the scene of the lens used and the distance ranges mentioned are dependent on the lens parameters. The provided metadata therefore included, in addition to the depth information, further Additional information about the lens parameters mentioned. The lens parameters can be adjustable parameters, such as the aperture set when recording the scene and / or the focus of the respective lens, and / or permanent parameters, such as the type, focal length and / or optical characteristics of the For example, the lens parameters can include a so-called point spread function of the lens, which describes the type and degree of blurring across the entire image area, describes how a point in the scene is affected by the light depending on its distance from the lens. lens and thus distributed over several pixels. This also includes the so-called bokeh behavior of the lens, which determines how an object outside the focal plane appears in the image, especially what external shape a light point has that has been expanded due to the blurred image.
[0044] This metadata can provide information about the creative intention of the recording. For example, The position of the focal plane and the depth of field can be determined based on the lens parameters. This provides information about which distance range should be sharply depicted according to the design intention. This Distance range can be defined, for example, by the limits of the depth of field. Pixels of the image data to which the depth information mentioned assigns a spatial depth that lies in this distance range, can therefore be be assigned to the first sub-area, which is comparatively little compressed, whereas other pixels, whose spatial depth lies outside this distance range, can be assigned to another sub-area that is compressed comparatively more. Depending on the distance from the image to be sharply imaged, Distance range, further distance ranges can be defined, which become increasingly stronger with increasing distance be compressed.
[0045] In this way, parts of the image information with low sharpness can be treated differently than those with higher sharpness, especially when compressing the partial areas, the image information with higher sharpness contain, a greater proportion of high spatial frequencies is retained than in the sub-areas containing image information with low spiciness.
[0046] It is important to note that the procedure described does not affect the actual sharpness in the image based on the image information (for example by calculating a local contrast) and then used for splitting the image data into different sub-areas to be compressed; but it is based on the Lens parameters determine the design intention, which distance ranges are sharp and which are less sharp or should be blurred (basically regardless of whether they actually have the respective sharpness), as Criterion for the relevance assessment is taken into account and based on the depth information on corresponding parts of the This way, for example, it is possible to avoid low-contrast images that are not suitable for the intended design The image content relevant to the effect of the image is compressed excessively. Overall, the described This procedure ensures that the degree of compression of the respective parts of the image data is actually based on the creative intention of the recording, which is purely based on the image data, i.e. without the inventive dependence of the division of the image data on the metadata would not be possible.
[0047] According to a further advantageous embodiment, the division of the image data into the various Sub-areas that, based on the depth information, spatially and / or temporally at least essentially uniform Image areas are identified and each pixel is determined depending on whether it is located in one of the spatially and / or temporally at least essentially uniform image areas, assigned to a respective one of the sub-areas This dependency can be particularly in addition to the aforementioned dependency on the distance ranges present, so that for the decision as to which sub-area a particular pixel is assigned, both takes into account in which of several distance ranges the spatial depth assigned to this pixel lies, i.e. whether the pixel lies in one of the identified uniform image areas.
[0048] An image area can be uniform in particular insofar as the spatial position of several adjacent pixels of this image area over a certain spatial extent are comparatively similar and / or as the spatial position of a respective pixel of this image area over a certain temporal extension comparatively little changed (whether there is similarity or a slight change can be determined in each case with reference to a threshold value). Such a uniform image area can be interpreted as an indication that the The image information contained in this image area is comparatively irrelevant. Above all, however, the consideration of Such uniform image areas may be advantageous in conjunction with additional metadata.
[0049] According to an advantageous further development, the metadata further comprises a noise characteristic of a Recording the scene used image sensor, wherein at least one partial area to which pixels are assigned which are in one of the spatially and / or temporally at least essentially uniform image areas, in The noise characteristic is therefore part of the data captured by the metadata For example, the noise characteristics can be stored in a look-up table that contains a standard deviation for each pixel or sensor cell of the image sensor. The standard deviations may have been determined by temporal measurements. This may include, in particular, that over a certain period Period under defined conditions, for example with at least essentially uniform illumination of the image sensor, image signal values are recorded and for each pixel or sensor cell the standard deviation of all during this time space at the respective pixel or image signal values generated by the respective sensor cell.
[0050] Based on image data alone, it is not possible to distinguish whether spatially or temporally high-frequency components of the Image information in certain areas of the image may simply be a result of noise from the device used to record the scene and are therefore irrelevant or are part of relevant image information. If However, such an image area can be classified as spatially and / or temporally at least essentially uniform image area can be identified, especially in conjunction with the noise characteristic, this can It can be concluded that the high-frequency components are caused exclusively by noise. This knowledge can can then be used for particularly effective compression of a corresponding sub-area of the image data.
[0051] According to a further advantageous embodiment, the metadata further comprises scene information about the spatial arrangement of objects in the scene, whereby the depth information and the scene information are used to create a Object information is derived from the object content of the image data, according to which at least some pixels of the Image data is assigned to a respective object of the scene, and wherein the division of the image data into the various Sub-areas include that each pixel in (additional) dependence on its assignment to a respective object the scene is assigned to one of the sub-areas.
[0052] The scene information can, for example, be defined manually (e.g. as a kind of computer model of the scene) and Another way to generate the scene information is to have the scene (for example, using a LIDAR scan) and then various connected structures, whose spatial arrangement within the scene has been determined in this way, manually or (at least partially) automatically identified as different objects. As a further possibility to generate, it is also possible to use image information that may have been recorded by additional cameras, to be evaluated photogrammetrically.
[0053] The scene information and the object information are additional information. In this embodiment, however, the metadata does not directly include the object information; instead, the Metadata (at least) contains the depth information mentioned above and the scene information. Scene information can be used to add depth information with knowledge about where within the scene what kind of object is located and the space it occupies, in order to determine the to obtain object information.
[0054] Based on the object information, at least some pixels, preferably each pixel, can then be Image data can be assigned to a particular object in the scene. If a particular pixel is If no object is assigned, this also represents an assignment. In this respect, according to the object information, each Each pixel of the image data is assigned to a respective object or no object in the scene.
[0055] In the case of moving image data, the assignment of a respective pixel to a respective object does not necessarily remain constant, but can change. Based on the object information, the assignment of respective pixels to a The respective object can also be traced over time. Therefore, the object information advantageously also make it possible to detect the movement of a respective object within the recorded image track.
[0056] The assignment of pixels to objects makes it possible to identify image data relating to specific objects in the scene to compress differently than image data that refers to other objects in the scene, namely in particular in Dependence on the influence of the respective object on the creative effect of the image. This is achieved by When dividing the image data into the different sub-areas, the allocation of the pixels to a respective Partial area depending on the assignment of the respective pixel to a respective object in the scene This dependency can be in addition to one or more other Dependencies (for example, in addition to the mentioned dependency on the position of the respective pixel assigned spatial depth in a distance range).
[0057] However, the described object information about the object content of the image data does not necessarily need to be derived from other be derived from the additional information contained in the metadata, but can also be directly derived from the metadata. It is also conceivable that object information can be derived from the image data itself For example, through object recognition methods based on machine learning or artificial intelligence can be based on.
[0058] In this respect, according to an advantageous embodiment, the metadata can contain object information about the Object content of the image data, according to which at least some pixels of the image data are assigned to a respective object of the scene (in particular According to the image information, each pixel can be assigned either a particular object of the scene or no object), or It may be provided that such object information is derived from the image data. In both cases, the Dividing the image data into the different sub-areas then involves each pixel in (additional) Depending on its assignment to a respective object of the scene, it is assigned to a respective sub-area This dependency is in particular in addition to at least one of the above-mentioned dependencies separating the image data from the metadata.
[0059] If an object information is ultimately available - be it directly included in the metadata, from other derived from the additional information contained in the metadata or derived from the image data - it can especially in conjunction with (other) additional information for classifying the image data according to their relevance be useful for the creative intent of the image. The following embodiments are examples.
[0060] According to an advantageous embodiment, the metadata further comprises movement information about a Movement of a camera used to record the scene during recording, whereby the splitting of the Image data into the various sub-areas that, based on the movement information and the object information Movements of the objects in the scene are correlated with the movement of the camera and each pixel of the image data is (additional) dependence on its assignment to a particular object in the scene and the degree of correlation of the The movement of this object is assigned to the movement of the camera in each of the sub-areas. Movement information is one of the additional information included in the metadata. The said dependency may in particular be in addition to one or more further dependencies of the division of the Image data from metadata. The dependence on a degree of correlation can, for example, include the correlation determined for each pixel is compared with one or more threshold values.
[0061] In this embodiment, it is exploited that, based on the object information, movements of individual objects and The camera's movements can be tracked using the motion information. In this way, these Movements are then correlated with each other, so that for each object the respective degree of Correlation allows us to determine the intensity of its movement relative to the camera. For example, identify areas of the image data where (due to strong relative movement) motion blur is to be expected (basically regardless of whether this motion blur actually exists or not). The corresponding sub-area of the image data can then be determined based on the motion blur with regard to its Relevance for the creative effect of the image can be assessed differently and therefore differently, for example stronger, be compressed than other sub-areas.
[0062] According to a further advantageous embodiment, the metadata comprises object masking information, according to which one or more objects of the scene are assigned the function of a placeholder, whereby the Dividing the image data into the different sub-areas means that each pixel is (additionally) dependent whether it is assigned to an object according to the object information to which, according to the object masking information, the The function of a placeholder is assigned to a respective sub-area. Object masking information is one of the additional information included in the metadata. Preferably, sub-areas that correspond to an object that has the function of a placeholder assigned, more compressed than those that do not correspond to such an object. In particular, it may be provided that all Pixels that are assigned to an object according to the object information, which according to the object masking information the function of a placeholder is assigned to a single common sub-area.
[0063] Using the object masking information, one or more objects in the scene can be used as placeholders An object can have the function of such a placeholder in particular if, according to the creative intention of the recording, the image information within the image data that relates to this object refers to, will be replaced or discarded in the further use of the image data. The object can be a background (which can be formed by a wall surface) or a background somewhere within the scene placed object (item, person). It is a common practice to use such placeholder objects to color the scene uniformly according to the well-known green screen principle (for example by covering it with a appropriately colored fabric), so that they can be easily identified based on the image data alone. Additional information about the image data Object masking information can advantageously identify objects regardless of whether they are were specifically colored or not, may be marked as placeholders.
[0064] For example, the object masking information may include that an object in the recorded scene The virtual background contained in the image is assigned the function of a placeholder. On such a virtual Background, which is also called an artificial background and can be created, for example, by an LED wall or a projection surface, various image contents not actually contained in the scene can be These may in particular be (possibly simplified) representations of image content which are ultimately only meant to be seen out of focus or which are subsequently with higher quality and / or modified content should be inserted into the image data, but this image content should also be visible during recording, for example to allow actors to interact with these image contents and / or to realistically recreate the influence of these image contents on the lighting of the scene.
[0065] Since the object information, which for example consists of the mentioned depth information and the mentioned Scene information can be obtained, assigns a respective object of the scene to a respective pixel of the image data, can be determined together with the object masking information for a respective pixel of the image data, whether it is assigned to an object that acts as a placeholder. Based on this determination, the respective pixel assessed in terms of its relevance to the intended creative effect of the image and accordingly assigned to a In particular, it can be provided that when dividing the Image data into the different parts of the compressed image elements, which are assigned a Object is assigned to which the function of a placeholder is assigned according to the object masking information, a be assigned to a sub-area that is particularly strong, especially in comparison to all other sub-areas on strongest, is compressed, whereby this can also mean that the image information contained in this part of the is completely discarded.
[0066] According to a further advantageous embodiment, the metadata comprises a Area masking information, according to which one or more image areas of the image data are assigned the function of a placeholder, whereby the division of the image data into the different sub-areas includes that each Pixel in (additional) dependence on whether it lies in an image area which, according to the Area masking information is assigned the function of a placeholder, a respective one of the subareas The area masking information is one of the metadata Preferably, sub-areas corresponding to an image area to which the function a placeholder are compressed more than those that do not correspond to such an image area. In particular It can be provided that all pixels that lie in an image area that is assigned to the Area masking information is assigned the function of a placeholder, a single common subarea be assigned.
[0067] This embodiment largely corresponds to the previous embodiment. The essential The difference is that the area masking information is not assigned to objects in the scene, but to image areas of the Image data is assigned the function of a placeholder. The area masking information can therefore, unlike the Object masking information, independent of the assignment of the pixels to objects in the scene (according to a Instead, image areas can be used as placeholders simply by their position in the image These can, for example, be image areas at the outer edges of the image that are recorded, but ultimately not intended to be displayed. In principle, the Area masking information can also mark image areas as placeholders that belong to one or more correspond to certain (especially static) objects in the scene, such as a virtual background. However, the assignment to the function of a placeholder is not based on the fact that for a particular pixel is not that it corresponds to a specific object in the scene, but that the respective pixel in a specific image area.
[0068] It can further be provided that the metadata include the said lens parameters and that a Area masking information of the type mentioned is derived (at least among other things) from the lens parameters In this respect, the area masking information can be a piece of additional information It is particularly advantageous if the area masking information (at least partially) automatically derived from the lens parameters. For example, the lens parameters information about it (as direct information or as a derivation from various parameters contained in the lens parameters contained) that a central image area is much sharper than the respective lens is imaged as a peripheral image area. This information can then be used to divide the image data into the different sub-areas are taken into account.
[0069] The metadata may include both area masking information and object masking information, which then takes both into account for dividing the image data into the different sub-areas to be compressed In particular, it can be provided that all pixels that correspond to an object according to the object information which, according to the object masking information, is assigned the function of a placeholder, or which is in an image area to which the function of a placeholder is assigned according to the area masking information, be assigned to a single common sub-area. In this sub-area, all placeholders functioning parts of the image are summarized.
[0070] According to a further advantageous embodiment, the compression of the image data comprises an encoder for Generation of the compressed image data is controlled, whereby the encoder is given the sub-areas and parameters for the different compression of the different sub-areas. If necessary, the encoder Together with the sub-areas, the relevance class assigned to the respective sub-area is also passed on.
[0071] The fact that the sub-areas are transferred to the encoder means in particular that the encoder, either consecutively or at least partially in parallel, a respective one of the sub-areas of the image data as to be compressed receives data and is then controlled to compress this part of the range. That the encoder parameters for the Compress means in particular that the encoder uses these parameters as control information In other words, the encoder is controlled to control a particular section with a value to compress the respective sub-area-specific parameterization.
[0072] The encoder can be hardware and / or software-based. A hardware-based encoder can, for example, by an integrated circuit (IC), a microprocessor, a central processing unit (CPU), a Graphics processing unit (GPU), an application-specific integrated circuit (ASIC) or a field-programmable gate Array (FPGA). Parameters that adjust the degree of compression performed by the encoder, can, for example, be a quantization specification (for example a quantization matrix) and / or a In principle, the encoder can also comprise several different coding units, which different compression methods, whereby the compression of the different sub-areas then (among other things) by the fact that at least one of the sub-areas is identified by means of one of the coding units and at least another of the sub-areas is compressed by means of another of the coding units.
[0073] According to a further advantageous embodiment, the method further comprises the step of: storing and / or Output of the compressed image data together with information about the division of the image data into the sub-areas as well as the different compression of the different sub-areas. In particular, the information can be Subsection must contain the parameters mentioned with which the respective subsection has been compressed. The compressed image data together with the above information can also be transferred, for example, Example of streaming of image data.
[0074] Preferably, together with the compressed image data, not only the said information but also The metadata is stored and / or output. The image data together with the above information and where appropriate, the metadata is stored and / or output, may in particular include that this data be summarized in a common data format. However, it is not mandatory that the Metadata is stored and / or output together with the compressed image data, since the metadata is into the encoding process, which includes compression, but for the decoding process, which includes decompression are not absolutely necessary, because the encoding and decoding processes can be be designed so that the stored or output data contains all the information required for decompressing This is also possible if the stored or output data is image data with include differently compressed sub-areas.
[0075] Storing the image data together with the above-mentioned information and, where applicable, the metadata can locally (in particular in the camera used or in a recorder located at the location of the camera and is connected to the camera either wired or wirelessly), or at a location remote from the camera in use Place (in particular via a wired and / or wireless connection, in data packets or in a continuous data stream). In this context, a wired connection can in particular electrical or fiber optic cable.
[0076] The method according to the invention is not limited to the fact that already generated image data are processed using existing Metadata can be compressed, but can also include the generation of this data.
[0077] According to an advantageous embodiment, providing the image data comprises: recording the scene and Generating image data of the scene using an image recording system; and includes providing the metadata: Collecting additional information about the recorded scene, the circumstances of the recording of the scene and / or about the object content of the image data using the image recording system. The image recording system can in particular comprise an image sensor (a camera of the image recording system) onto which a lens (the Camera) of the image recording system the scene is imaged and the one responsible for the said recording of the scene and used to generate the image data. Furthermore, the image recording system can have one or more Include metadata capture devices used for the aforementioned capture of additional information. For example, the image recording system may include a distance sensor as such a metadata acquisition device to capture depth information. The provided metadata can then be derived from the captured Additional information is created.
[0078] In addition, the image recording system may comprise input means with which, as part of the metadata For example, criteria for dividing the image data into the different sub-areas and / or assignments between the sub-areas and the relevance classes mentioned. In particular, the provision of the Metadata therefore includes information that can be specified by a user via input devices of the image recording system can, on the basis of which additional information and according to which criteria the division of the image data into the various sub-areas and / or how (to what extent, with what parameterization) the different sub-areas should be compressed differently.
[0079] According to an advantageous embodiment, the method further comprises that one or more objects of the scene be marked, wherein said acquisition of additional information then comprises that the image recording system, Preferably automated, object masking information is generated based on the marking. The marking can especially before recording the scene (as a kind of calibration step), so that the Object masking information may already be present before the image data. It may also (additionally or alternatively) It should be provided that the marking takes place during recording. For example, the marking can be done in one or several blanking intervals, ie between two consecutive individual image recordings. In principle, Marking can also only be done after the scene has been recorded.
[0080] As described above, the object masking information can assign the Assign the function of a placeholder. Marking the objects can therefore be used in particular to assign one or To assign the function of a placeholder to several of the objects in the scene, for example, all those objects are marked which, according to the object masking information, have the function of a placeholder while the remaining objects are not marked. The object masking information, i.e. Information about which object is assigned the function of a placeholder and which is not, can, however, also result from the fact that the objects are marked differently.
[0081] The marking of the objects can be done, for example, by illuminating the objects in a special way for example in a specific colour (possibly outside the visible spectral range) and / or with a specific spatial and / or temporal pattern.
[0082] If, for example, a virtual background is to be marked so that it is assigned a color according to the Object masking information can be assigned the function of a placeholder, the virtual background can be For this purpose, it can be controlled to display a specific calibration pattern, which clearly distinguishes it from other objects in the scene. It can also be provided that the calibration pattern is temporally alternating with other image content on the virtual background. The calibration pattern can be Image blanking intervals as a kind of intermediate image between image contents, which, for example, correspond to the lighting of the scene and / or to support actors in their interaction with virtual objects or persons, so that the virtual background can be marked by the calibration pattern, the calibration pattern itself but is not recorded. The calibration pattern does not necessarily have to be a complex pattern For example, it can be formed by a single-colored area. However, it is important that the Calibration pattern is as clearly distinguishable as possible from the rest of the scene in order to clearly mark the virtual background for its assignment to the function of a placeholder.
[0083] The object masking information does not necessarily have to be generated exclusively based on the marking, but may be based on further information. In particular, the object masking information may be based on the mentioned depth information, on the mentioned scene information and / or on the mentioned object information Deriving object masking information from the depth information, the scene information and / or the Object information is then supplemented and supported by the aforementioned marking of the respective objects in order to to obtain particularly precise object masking information.
[0084] The object masking information may be the object masking information mentioned above. This embodiment is therefore particularly suitable in conjunction with one of the embodiments described above where the division of the image data depends (among other things) on whether a particular pixel corresponds to a Object to which the function of a placeholder is assigned according to the object masking information.
[0085] In addition or alternatively to the above embodiment, the method according to a further advantageous embodiment further comprises that one or more image areas are marked, wherein said detection of additional information includes that the image recording system, preferably automated, uses the marking an area masking information is generated. Marking can be done especially before recording the scene (as a kind of calibration step), so that the area masking information can be available before the image data. It may also be possible (additionally or alternatively) to mark during recording. For example, Marking can be done in one or more blanking intervals, ie between two consecutive Single-frame recordings. In principle, marking can also be done after the scene has been recorded.
[0086] As described above, the area masking information may be assigned to one or more image areas of the image data assign the function of a placeholder.
[0087] The marking of the image areas can in particular serve to assign one or more image areas of the To assign the function of a placeholder to image data. For example, all those image areas be marked, which are assigned the function of a placeholder according to the image area masking information while the remaining image areas are not marked. The image area masking information, i.e. information about which image area is assigned the function of a placeholder and which is not, can also This results in the image areas being marked differently.
[0088] In this embodiment, too, the marking can be carried out, for example, by special or different Illumination of different parts of the scene. However, while in the previous embodiment, a the respective object identifiable by the corresponding marking is assigned the function of a placeholder, it is assigned to the respective image area of the image data that the corresponding marker within the recorded This results in a difference particularly in the movement of objects and / or a camera of the image recording system used to record the scene. The placeholders Image areas remain static, i.e. permanently in the same place within the image, whereas placeholders objects change their position within the frame due to their own movement and / or due to camera movement. In conjunction with additional information, such as the depth information mentioned above and / or the mentioned object information, the objects can then be tracked within the image.
[0089] The marking of the image areas does not necessarily have to take place within the real scene, but can be purely related to the format of the recorded image and thus fundamentally completely independent of the content of the respective scene. For example, it can be provided that a user of the image recording system can several image areas based on their respective contours, for example by outlining a corresponding area on a screen or other input device, can be specified largely freely. Alternatively or additionally, It should be provided that a user can select an image format as the intended target image format that is smaller than the one of an image sensor of the image recording system is the maximum possible image format (´´open gate´´), whereby the image data still recorded at full sensor resolution or at least in a larger format than the target image format The image area corresponding to the excess of this larger format compared to the target image format can be will then automatically be marked as a placeholder whose content has a lesser or is irrelevant and can therefore be compressed more heavily or discarded during compression. Furthermore, the Marking can be assisted based on other additional information. For example, the metadata Lens parameters include which It can be seen that a central image area is much sharper than one or more peripheral Image areas, whereby the marking can then consist of specifying one or more boundary radii or a or several boundary contours clearly demarcate these image areas from one another.
[0090] The area masking information may be the above-mentioned area masking information This embodiment is therefore particularly suitable in conjunction with one of the embodiments described above useful in cases where the division of the image data depends (among other things) on whether a particular pixel in a Image area to which the function of a placeholder is assigned according to the area masking information.
[0091] The image recording system according to the invention comprises: an image sensor for recording a scene and Generating image data of the recorded scene, which may in particular be part of a camera of the image recording system a metadata capture device for capturing additional information about the recorded scene, the circumstances of recording the scene and / or the object content of the image data; an encoder that is designed to compress image data according to predetermined control information and in this way to extract image data to generate compressed image data; and a control device which is designed to convert the image data into Depending on at least one of the additional information, divide the data into different sub-areas and use the encoder to to control the different sub-areas to compress them differently. For this purpose, the control device In particular, it should be designed to provide the encoder with the sub-areas and parameters for different compression of the various sub-areas. In particular, the encoder can use these parameters as control information controlled so that it can configure each of the sub-areas with a parameterization specific to the respective sub-area compressed. The control device can be, for example, an integrated circuit (IC), a microprocessor, a central processing unit (CPU), a graphics processing unit (GPU), an application-specific integrated circuit (ASIC) or a Field Programmable Gate Array (FPGA), which in some embodiments also includes the encoder and / or the metadata capture device or parts thereof.
[0092] Furthermore, the image recording system according to the invention can also be otherwise designed to Inventive method for compressing (moving) image data, in particular according to one of the above described embodiments.
[0093] The invention will be further explained below by way of example only with reference to the figures. Fig. 1 shows a schematic representation of an embodiment of an inventive Image recording system together with a scene to be recorded. Fig. 2 shows a schematic representation of an image from image data taken from the scene shown in Fig. 1 were recorded. Fig. 3 shows a schematic representation of the process of an embodiment of the inventive procedure.
[0094] The image recording system 11 according to the invention shown in Fig. 1 comprises a camera 13, which is a motion picture camera and which comprises an image sensor 15. The image sensor 15 has a plurality of lines and columns arranged light-sensitive sensor cells (not shown) and is designed to be connected to a certain refresh rate depending on the intensity of the light incident on the respective sensor cell A lens 17 is connected to the camera 13, by means of which a 13 located scene 19 can be imaged onto the image sensor 15, so that the image sensor 15 generates image signal values, which correspond to the scene 19 recorded in this way and which together form image data 21 of the scene 19. The The image data 21 generated by recording the scene 19 are illustrated in Fig. 2, where a single still image of the Scene 19 is shown as an example.
[0095] The exemplary scene 19 comprises several objects 23, namely a first object 23.1 and a second object 23.2, which are each shown as simple cuboids of different shapes and sizes, as well as a virtual background 23.3, which is designed as an LED wall that can be controlled to display any image content. The first object 23.1 is closer to camera 13 than the second object 23.2. The virtual background 23.3 is viewed behind the other two objects 23.1, 23.2.
[0096] The image data 21 generated by the recorded scene 19 comprise, according to the image sensor 15, a A plurality of pixels arranged in rows and columns, each representing a point of the scene 19, namely the point that has been imaged by the lens 17 onto the sensor cell of the image sensor 15, which Image signal value underlying the pixel, or at least one of the image signal values underlying the pixel lie, creates As a result, part of the image data 21 illustrated in Fig. 2 represents the first object 23.1, another part the second object 23.2 and another part the virtual background 23.3, these parts being shown in Fig. 2 with the same Reference symbols are marked like the actual objects 23 of the scene 19 that they represent.
[0097] The image recording system 11 generates not only image data 21, but also metadata and includes a Metadata acquisition device 25. This metadata acquisition device 25 in turn comprises a Distance sensor 27, which is connected to the camera 13, and on the other hand a distance sensor 27, which is integrated in the camera 13 Lens parameter acquisition device 29. In addition, the metadata acquisition device 25 can further Include single detection devices that are not necessarily directly connected to the camera 13 or integrated into the camera 13 must be integrated.
[0098] By means of the distance sensor 27, the distances of the objects 23 of the scene 19 from the camera 13 continuously recorded. This provides additional information in addition to the image data 21, depth information about the Scene 19, according to which each pixel of the image data 21 is assigned a spatial depth of the represented point of the scene 19. The distance sensor 27 can measure the depth information in a planar manner (ie two-dimensional), or by line-by-line or point-like iterative scanning (scan), for example as Ultrasonic, LIDAR, or radar sensor. In principle, the depth information could also be obtained stereoscopically, so that the distance sensor 27 can then be dispensed with.
[0099] In addition, the lens parameter detection device 29 continuously measures parameters of the lens 17 recorded, so that lens parameters are available as additional information (e.g. according to an electronic Lens data system, such as the ARRI Lens Data System).
[0100] The depth information and the lens parameters represent metadata that goes beyond the image information of the image data 21. In principle, the image recording system 11 can be designed to include further Additional information, in particular about the recorded scene 19 and / or the circumstances of the recording of the Scene 19. In addition, the image recording system 11 can also be designed to, if necessary, based on acquired additional information, to analyze the image data 21 in order to, for example, by methods of Object recognition, to obtain additional information about the object content of the image data 21. All this additional information can then be summarized in the metadata mentioned.
[0101] The image recording system 11 further comprises an encoder 31 which is designed to convert the image data 21 according to predetermined control information and in this way to create compressed image data from the image data 21 In addition, the image recording system 11 comprises a control device 33 which is designed to Image data 21 depending on the metadata mentioned, in particular depending on the Additional information, into different sub-areas and to control the encoder 31 to display the different To compress sub-areas differently.
[0102] The encoder 31 and the control device 33 can be integrated into the camera 13 or as accessories to the camera 13. In this way, the image data 21 can be advantageously be continuously compressed during a recording. In principle, the encoder 31 and the Control device 33 can also be designed separately from the camera 13. Due to these different possibilities the encoder 31 and the control device 33 in Fig. 1 are shown with broken lines as in or on the camera 13 are shown arranged.
[0103] The image recording system 11 is designed to implement a method 35 according to the invention for compressing image data, the basic procedure of which is shown in Fig. 3. However, the procedure 35 does not necessarily require an image recording system 11 and does not necessarily include recording a scene 19 or capturing of metadata, because it can also be limited to comparing already generated image data 21 with already recorded Metadata to be compressed. Therefore, the image data 21 does not have to be the image data 21 shown in Fig. 1 shown scene 19. Nevertheless, in Fig. 3 the same reference symbols will continue to be used for the same terms used.
[0104] In a step 37 of the method 35, the image data 21 of the recorded scene 19 are provided and in In a step 39 of the method 35, the metadata, the additional information about the recorded scene 19, is the circumstances of recording the scene 19 and / or about the object content of the image data 21. In this case, the step 37 of providing the image data 21 may comprise the step 41 in which the scene 19 is recorded and the image data 21 of the scene 19 are generated by means of an image recording system 11. Step 39 of the Providing the metadata may include step 43, in which by means of the image recording system 11, for example by means of its distance sensor 27 and / or its Lens parameter detection device 29, additional information about the recorded scene 19, about the circumstances of recording the scene 19 and / or via the object content of the image data 21. Since steps 41 and 43 are not present in every embodiment, they are symbolized with a broken line.
[0105] The provided image data 21 and the provided metadata are processed in a step 45 of the method 35 used in which the image data 21 is divided into different sub-areas depending on the metadata. In In a further step 47 of the method 35, compressed image data 21 are then generated by compressing the image data generated, whereby the different sub-areas are compressed differently. The process carried out in step 47 Compression is therefore in turn dependent on the metadata, in particular on the metadata mentioned in the metadata additional information contained.
[0106] As a further step 49, the method 35 may finally comprise that the data generated in step 47 compressed image data together with information about the division of the image data 21 into the sub-areas as well as about the different compression of the different sub-areas. Since step 49 is optional, it is symbolized in Fig. 3 with a broken line similar to steps 41 and 43.
[0107] A possible embodiment of the method 35 is explained below by a concrete example.
[0108] Based on the information acquired by the lens parameter acquisition device 29 and contained in the metadata Lens parameters, especially the set values for the focus and aperture of the lens 17, a The distance range that should be in focus when recording scene 19 is determined. From the depth information recorded by the distance sensor 27, it can then be determined that of the objects 23 in the scene, 19 For example, only the second object 23.2 lies within this distance range. In addition, the Metadata an object masking information, according to which the virtual background 23.3 is assigned the function of a placeholder, since its image content is to be replaced during post-processing of the image data 21. the depth information in conjunction with scene information about the spatial arrangement of the objects 23 in the Scene 19 allows the pixels of the image data 21 recorded by the scene 19 to be assigned to the various objects 23 assign.
[0109] Based on this information, the image data 21 are divided into three sub-areas: A first The pixels of the image data 21 are assigned to the sub-area whose spatial depth lies within the specified distance range (including all pixels that are the second object located in this distance range 23.2 represent); a second sub-area is assigned those pixels of the image data 21 which, due to their spatial depth can be assigned to the virtual background 23.3, which acts as a placeholder; and a third All remaining pixels are assigned to the sub-area (including all pixels representing the first object 23.1).
[0110] After this division of the image data 21 into the three sub-areas, the sub-areas are displayed differently compressed, whereby the metadata determines the different relevance of their respective image information for the creative effect of the image can be taken into account. For example, the encoder 31 can be Control device 33 can be controlled to select the first partial area due to its obviously relevant (since sharp to be displayed) in a lossless or comparatively low-loss manner, the third Sub-area due to the comparatively lower relevance of its image information to a comparatively to compress in a more lossy way and to exclude the second part due to its irrelevant (since ultimately replacing) image content completely. The compression of the individual parts can be done by means of a common compression method, which in turn is carried out within the pure image data 21 of the respective Redundancies inherent in the image and content irrelevant to visual perception are identified and based on then carries out a redundancy and / or irrelevance reduction.
[0111] By dividing the image data 21 into the sub-areas according to the invention and the Different compression of these sub-areas is done by taking into account additional knowledge about the Relevance of the image content for the creative effect of the image from the metadata compared to the common compression process significantly improves the overall compression efficiency without the relevant parts The image information loses excessive quality. Thus, the method according to the invention individually adapted and particularly balanced compression with high image quality is achieved. Reference symbol 11 Image recording system 13 Camera 15 image sensor 17 Lens Scene 19 21 Image data 23 objects 23.1 first object 23.2 second object 23.3 virtual background 25 Metadata capture device 27 Distance sensor 29 Lens parameter detection device 31 encoders 33 Control device 35 methods for compressing image data 37-49 Procedural steps
Claims
1. Method (35) for compressing image data, in particular moving image data, comprising the steps: - providing (37) image data (21) of a recorded scene (19); - Providing (39) metadata containing additional information about the recorded scene (19), about the circumstances of the Recording the scene (19) and / or the object content of the image data (21); - depending on the metadata, dividing (45) the image data (21) into different sub-areas; and - generating (47) compressed image data by compressing the image data (21), wherein the various sub-areas be compressed differently.
2. Method according to claim 1, wherein each of the different sub-areas is assigned a respective relevance class and each of the different sub-areas depending on the relevance class assigned to the respective sub-area is compressed.
3. The method according to claim 1 or 2, wherein compressing the image data (21) comprises at least one of the various sub-areas are completely rejected.
4. Method according to one of the preceding claims, wherein the metadata comprises depth information according to which assigns to each pixel of the image data (21) a spatial depth of a point of the Scene (19) is assigned.
5. The method according to claim 4, wherein the division (45) of the image data (21) into the different sub-areas comprises each pixel depending on which of several distance ranges the image point assigned to it spatial depth is assigned to one of the different sub-areas.
6. Method according to claim 5, wherein the metadata further includes lens parameters of a lens (17) used to record the scene (19) include, and The distance ranges mentioned are determined depending on the lens parameters.
7. Method according to one of claims 4 to 6, wherein the division (45) of the image data (21) into the various Sub-areas include that based on the depth information spatially and / or temporally at least essentially uniform image areas are identified and each pixel is classified depending on whether it is in one of the uniform image areas, is assigned to each of the different sub-areas.
8. The method of claim 7, wherein the metadata further comprises a noise characteristic of a signal used to record the scene (19) used image sensor (15), and wherein at least one partial area to which pixels are assigned which are in one of the uniform image areas, is compressed depending on the noise characteristics.
9. Method according to one of claims 4 to 6, wherein the metadata further comprises scene information about the spatial arrangement of objects (23) of the scene (19) include, where the depth information and the scene information are used to create object information about the object content of the image data (21) is derived, according to which at least some pixels of the image data (21) a respective object (23) of the scene (19) is assigned, and wherein the division (45) of the image data (21) into the different sub-areas comprises that each pixel in Depending on its assignment to a respective object (23) of the scene (19) to a respective one of the various sub-areas are assigned.
10. Method according to one of claims 1 to 8, wherein the metadata comprises object information about the object content of the image data (21), according to which at least a respective object (23) of the scene (19) is assigned to some pixels of the image data (21), or wherein Image data (21) an object information about the object content of the image data (21) is derived, according to which at least a respective object (23) of the scene (19) is assigned to some pixels of the image data (21); and wherein the division (45) of the image data (21) into the different sub-areas comprises that each pixel is determined as a function of from its assignment to a respective object (23) of the scene (19) to a respective one of the different sub-areas is assigned.
11. Method according to claim 9 or 10, wherein the metadata further comprises motion information about a movement of a device used for recording the scene (19) used camera (13) during recording, and wherein the division (45) of the image data (21) into the different sub-areas comprises that, based on the Movement information and object information movements of the objects (23) of the scene (19) with the movement of the Camera (13) are correlated and each pixel of the image data (21) is correlated depending on its assignment to a respective object (23) of the scene (19) and the degree of correlation of the movement of this object (23) to the movement of the Camera (13) is assigned to each of the different sub-areas.
12. Method according to one of claims 9 to 11, wherein the metadata comprises object masking information according to which one or more objects (23) the scene (19) is assigned the function of a placeholder, and wherein the division (45) of the image data (21) into the different sub-areas comprises that each pixel is determined as a function of whether it is assigned to an object (23) according to the object information, to which, according to the Object masking information is assigned the function of a placeholder, a respective one of the various sub-areas are assigned.
13. Method according to one of the preceding claims, wherein the metadata comprises area masking information according to which one or more image areas the image data (21) is assigned the function of a placeholder, and wherein the division (45) of the image data (21) into the different sub-areas comprises that each pixel is determined as a function of whether it lies in an image area that, according to the area masking information, has the function of a placeholder is assigned to one of the various sub-areas.
14. Method according to one of the preceding claims, wherein compressing the image data (21) comprises a Encoder (31) is controlled to generate the compressed image data, wherein the encoder (31) is provided with the various Sub-areas as well as parameters for the different compression of the different sub-areas are passed.
15. The method according to any one of the preceding claims, further comprising the step: - storing and / or outputting (49) the compressed image data together with information about the division of the Image data (21) into the different sub-areas as well as the different compression of the different Sub-areas.
16. Method according to one of the preceding claims, wherein the providing (37) of the image data comprises: - recording (41) the scene (19) and generating image data (21) of the scene (19) by means of an image recording system (11); and wherein providing (39) the metadata comprises: - capturing (43) additional information about the recorded scene (19), about the circumstances of the recording of the Scene (19) and / or about the object content of the image data (21) by means of the image recording system (11).
17. Method according to claim 16, wherein, preferably before recording (41) the scene (19), one or more objects (23) of the scene (19) are marked become, and wherein the acquisition (43) of additional information comprises that the image recording system (11) uses the marking an object masking information is generated.
18. Method according to claim 16 or 17, wherein, preferably before recording (41) the scene (19), one or more image areas are marked, and wherein the acquisition (43) of additional information comprises that the image recording system (11) uses the marking generates area masking information.
19. Image recording system (11) with: - an image sensor (15) for recording (41) a scene (19) and generating image data (21) of the scene (19); - a metadata acquisition device (25) for capturing (43) additional information about the recorded scene (19), about the circumstances of the Recording the scene (19) and / or the object content of the image data (21); - an encoder (31) designed to compress image data (21) according to predetermined control information and in this way to generate compressed image data from the image data (21); and - a control device (33) which is designed to process the image data (21) in dependence on at least one of the additional information into different sub-areas and to control the encoder (31) to display the different To compress sub-areas differently.
20. Image recording system according to claim 19, which is designed to implement a method (35) according to one of claims 1 to 18.
Citation Information
Patent Citations
Method and apparatus for enhancing digital images utilizing non-image data
EP1361747A2
Method and device for three-dimensional graphics to two-dimensional video encoding
US20060056717A1
System and method for improving video encoding using content information
US20140092209A1
