Method and device for processing an image sequence to determine the thumbnails pursued within said image sequence
By determining vignette positions independently of image content and using a predicted global registration transformation, the method addresses computational complexity in vision-based navigation systems, ensuring efficient and precise tracking of vignettes in limited computing environments.
Patent Information
- Application Number
- FR2022008163
- Authority / Receiving Office
- FR · FR
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2022-08-08
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2042-08-08
AI Technical Summary
Existing vision-based navigation systems face significant computational complexity in determining and tracking characteristic vignettes in sequences of images, which is challenging for aerial or space vehicles with limited computing capabilities, making real-time or near-real-time tracking difficult.
A method that reduces calculation complexity by determining reference vignette positions independently of image content, using a predicted global registration transformation to facilitate tracking, and employing a robust estimator to maintain tracking precision.
The method significantly simplifies vignette detection and tracking while maintaining good performance and precision, reducing computational load without compromising estimation accuracy.
Smart Images

Figure 00000028_0000 
Figure 00000028_0001 
Figure 00000029_0000
Abstract
Description
Title of the invention: Method and device for processing a sequence of images for determining thumbnails continued in said sequence of images Technical field
[0001] The present invention belongs to the general field of image processing, and relates more particularly to a method for processing a sequence of images of a scene acquired by a vision sensor for the determination of thumbnails pursued in said sequence of images.
[0002] The present invention finds a particularly advantageous, although in no way limiting, application in the case of vision-based navigation systems ("Vision-Based Navigation" or VBN in the English literature), to estimate the movement relative to the scene of a machine carrying the vision sensor. State of the art
[0003] In vision-based navigation systems, it is known to determine characteristic vignettes tracked ("tracking" in the English literature) in a sequence of images acquired by a vision sensor of a machine, for example aerial or spatial.
[0004] In the solutions of the prior art, the characteristic vignettes in the images represent characteristic elements of the scene. A characteristic element of the scene is an element whose representation in the image, as a set of pixels, has the property of being able to be easily found from one image to another (increase in the probability of detection), for example by image correlation or by shape recognition, and of being able to be difficult to confuse with another part of the image (reduction in the probability of false alarm). A characteristic vignette of the image can be for example a vignette of a few pixels to a few hundred pixels in which there are variations in luminance or texture or contrast in at least two directions.
[0005] Thus, the first step in a vision-based navigation system consists of detecting characteristic thumbnails in an image of the sequence, by processing the content of the image to identify areas exhibiting good properties, for example autocorrelation.
[0006] The characteristic vignettes are then continued from one image to another. Due to the movement of the machine relative to the scene, the positions of the characteristic elements of the scene, represented by the characteristic vignettes, vary from one image to another (certain characteristic elements may disappear when they are not more visible). The movement of characteristic thumbnails in the images during the sequence, when they are supposed to represent immobile elements of the scene, makes it possible, for example, to estimate the movement of the machine in relation to the scene.
[0007] In such vision-based navigation systems, the image measurements (successive positions in the images of the tracked characteristic thumbnails) are generally combined with navigation measurements provided by navigation sensors (GPS receiver, accelerometer, odometer, gyroscope, etc.). Patent applications EP 2428934 A1 and EP 3227860 A1 describe examples of such navigation systems combining image measurements with navigation measurements.
[0008] However, the determination of characteristic vignettes tracked in a sequence of images requires significant computational complexity (in particular for the detection of characteristic vignettes in an image, but also for their tracking from one image to another). However, the computing capacities on board air or space vehicles are generally limited, so that it may prove difficult in certain cases to carry out the tracking of characteristic vignettes in real time or quasi-real time when necessary, as is generally the case in an air or space navigation context. Statement of the invention
[0009] The present invention aims to remedy all or part of the drawbacks of the prior art, in particular those set out above, by proposing a solution which makes it possible to reduce the computational complexity associated with the determination of tracked vignettes in a sequence of images, while maintaining good performance on the tracking and good precision on the estimation of the respective positions of the tracked vignettes in the images of the sequence.
[0010] To this end, and according to a first aspect, a method is proposed for processing a sequence of images of a scene, said images of the sequence being acquired successively by a vision sensor, said method comprising at least one determination, in a so-called reference image, of positions of so-called reference thumbnails, independently of a content of said reference image, and a tracking of said reference thumbnails in a plurality of so-called tracking images acquired after said reference image, the tracking of the reference thumbnails in each current tracking image comprising: • a determination of a predicted global registration transformation between the reference image and the current pursuit image, • a prediction of positions in the current pursuit image for the reference thumbnails, based on the positions in the reference image of said reference thumbnails and the global registration transformation predicted for the current chase image, • a search for reference thumbnails in the current tracking image, based on the predicted positions for the reference thumbnails.
[0011] Thus, the processing method proposes to significantly simplify the detection of the vignettes to be tracked, since their positions in an image are determined independently of the content of the image, for example randomly. There is therefore no processing of the content of the image to detect characteristic vignettes having good properties. The positions of the vignettes, called reference, are chosen arbitrarily in the image (or at least in sub-images thereof). Consequently, the reference vignettes are not guaranteed to have good properties for tracking. The computational complexity for detection is therefore significantly reduced (since no processing of the content of the image is required), but the quality for tracking the reference vignettes is not verified at the detection stage (unlike the characteristic vignettes of the prior art solutions).
[0012] However, several aspects of the processing method make it possible to achieve good performance, despite the unverified quality of the reference thumbnails associated with the arbitrarily determined positions.
[0013] First of all, the so-called reference image in which the positions of the reference thumbnails are determined is used to search for the reference thumbnails in a plurality of subsequent images, called tracking images. Such arrangements make it possible to reduce the accumulation of errors compared to solutions which systematically use the previous image for tracking in the current image.
[0014] Furthermore, the tracking includes a determination of a predicted global registration transformation between the current tracking image and the reference image. It should be noted that the registration transformation is called “global” simply to specify that it corresponds to the registration transformation with respect to the reference image.
[0015] Due to the movement of the craft and the fact that the same reference image is considered for a plurality of tracking images, the acquisition geometry of a tracking image may, over the course of acquisitions, become very different from that of the reference image, which may make tracking the reference thumbnails more difficult. The predicted global registration transformation is therefore used to match the pixels of the reference image with the pixels of the current tracking image.
[0016] In particular, the predicted global registration transformation makes it possible to predict the positions of the reference thumbnails in the current pursuit image, which makes it possible to facilitate and accelerate their search in the current pursuit image.
[0017] Thus, the combination of these characteristics (determination of the positions of the reference thumbnails independently of the content of the reference image, use of the same reference image for several pursuit images, determination of a predicted global registration transformation to predict the positions of the reference thumbnails in the following pursuit image) makes it possible to reduce the amount of calculations required while maintaining good performance on the pursuit and good precision on the estimation of the respective positions of the reference thumbnails pursued in the images of the sequence.
[0018] In particular embodiments, the treatment method may further comprise, optionally, one or more of the following characteristics, taken in isolation or in all technically possible combinations.
[0019] In particular embodiments, the predicted global registration transformation comprises a motion model introduced by relative motion between the vision sensor and the scene.
[0020] In particular embodiments, the motion model corresponds to a homography.
[0021] Such a homography, which models the movement of a plane by assuming that the elements of the scene represented by the reference thumbnails are located in the same plane, is therefore based on an approximation of the general geometry of the scene. However, such an approximation proves sufficient in many cases and such a homography also has the advantage of being able to be estimated with limited complexity.
[0022] In particular embodiments, the predicted global registration transformation includes a model of optical distortion introduced by the vision sensor.
[0023] Such arrangements are advantageous because they make it possible to take into account geometric deformations, introduced by an optic of the vision sensor, which depend on the positions of the elements of the scene in a field of view of the optic.
[0024] In particular embodiments, for the pursuit images from the second pursuit image following the reference image, the predicted global registration transformation for the current pursuit image is determined as a function of an estimated global registration transformation between the reference image and an image which precedes said current pursuit image in the sequence of images, the estimated global registration transformation being determined, by means of a robust estimator, as a function of positions of reference thumbnails found in said previous image as a function of the positions of the reference thumbnails in the reference image.
[0025] In particular embodiments, the predicted global registration transformation for the current pursuit image corresponds to the estimated global registration transformation between the reference image and the image preceding the pursuit image. in progress in the image sequence.
[0026] In particular embodiments, determining the predicted global registration transformation for the current tracking image comprises: • an estimate of a so-called local registration transformation between the two images which precede the current pursuit image in the image sequence, • a combination of said estimated local registration transformation and the estimated global registration transformation between the reference image and the image preceding the current pursuit image in the image sequence.
[0027] In particular embodiments, the robust estimator assigns, to each reference vignette found in a pursuit image, an indicator of compatibility with the estimated global registration transformation, and only found reference vignettes which are compatible with the estimated global registration transformation according to their compatibility indicators are retained as found reference vignettes.
[0028] In particular modes of implementation, the robust estimator is of the RANSAC type.
[0029] In particular modes of implementation, the search for reference thumbnails in the current tracking image comprises: • a re-alignment of the reference image by applying to said reference image the global re-alignment transformation predicted for the current pursuit image, • a pursuit of the reference thumbnails in the current pursuit image using the re-registered reference image.
[0030] In particular embodiments, only the reference thumbnails of the reference image are registered by applying the predicted global registration transformation.
[0031] In particular embodiments, the registration of a reference vignette uses a local approximation of the predicted global registration transformation obtained by a limited development of said predicted global registration transformation at the predicted position for said reference vignette in the current tracking image.
[0032] In particular embodiments, the positions of the reference thumbnails are determined randomly in the reference image.
[0033] In particular embodiments, the reference image being decomposed into a plurality of sub-images, the positions of the reference thumbnails are determined so that each sub-image among a plurality of sub-images of the reference image comprises at least one reference thumbnail.
[0034] In particular embodiments, the predicted positions are estimated by applying the predicted global registration transformation to the positions of the reference thumbnails in the reference image.
[0035] In particular embodiments, the processing method comprises a selection of a new reference image when a predetermined reference image renewal criterion is verified.
[0036] In particular embodiments, the reference image renewal criterion is verified when a proportion of reference thumbnails that can be pursued in the following pursuit image is less than a predetermined threshold and / or when the reference thumbnails that can be pursued in the following pursuit image have an insufficient spatial distribution in said following pursuit image.
[0037] In particular embodiments, the reference thumbnails for the new reference image comprise reference thumbnails of the previous reference image which could have been continued up to the new reference image, supplemented by reference thumbnails whose positions are determined in said new reference image independently of a content of said new reference image.
[0038] In particular modes of implementation, the search for reference thumbnails in a tracking image implements a Kanade-Lucas-Tomasi, KLT, type tracking algorithm.
[0039] According to a second aspect, a method is proposed for estimating the movement of an air or spacecraft, said movement being estimated at least as a function of positions, in a sequence of images acquired by a vision sensor on board said craft, of thumbnails tracked in said sequence of images, the positions of said thumbnails tracked in the sequence of images being determined according to a processing method according to any one of the embodiments of the present disclosure.
[0040] According to a third aspect, there is provided a computer program product comprising instructions which, when executed by at least one processor, configure said at least one processor to implement a processing method according to any one of the embodiments of the present disclosure.
[0041] According to a fourth aspect, a computing device is proposed comprising at least one processor and at least one memory, said at least one processor being configured to implement a processing method according to any one of the embodiments of the present disclosure.
[0042] According to a fifth aspect, there is provided an aerial or spacecraft, comprising at least at least one vision sensor and a computing device according to any of the embodiments of the present disclosure. It should be noted that spacecraft means any craft operating outside the Earth's atmosphere, including a craft operating on the ground on a celestial body other than Earth (satellite, space shuttle, rover, etc.). Presentation of figures
[0043] The invention will be better understood on reading the following description, given by way of non-limiting example, and made with reference to the figures which represent: • [Fig. 1][Fig. 1]: a schematic representation of a machine carrying a vision sensor for acquiring images of a scene relative to which the machine is likely to move, • [Fig.2][Fig.2]: a diagram illustrating the main steps of an example of implementing a method for processing a sequence of images acquired by a vision sensor, • [Fig.3] [Fig.3]: a schematic representation of pixels of two images re presenting the same elements of a scene, • [Fig.4][Fig.4]: a schematic representation of trajectories, in a plane focal length of the vision sensor, of reference vignettes pursued in a sequence of images, • [Fig.5][Fig.5]: a diagram illustrating the main steps of an example of implementing a search for reference thumbnails in a tracking image, • [Fig.6][Fig.6]: a diagram illustrating the main stages of another example of implementation of a method for processing a sequence of images acquired by a vision sensor, • [Fig.7][Fig.7]: a diagram illustrating the main stages of another example of implementation of a method for processing a sequence of images acquired by a vision sensor, • [Fig.8][Fig.8]: a diagram illustrating the main steps of an example implementation of a method for estimating the movement of an air or spacecraft.
[0044] In these figures, identical references from one figure to another designate identical or similar elements. For reasons of clarity, the elements shown are not to scale, unless otherwise indicated.
[0045] Furthermore, the order of steps shown in these figures is given solely as a non-limiting example of the present disclosure which may be applied with the same steps performed in a different order. Description of the embodiments
[0046] As indicated above, the present invention relates to a method 20 for processing a sequence of images of a scene.
[0047] The sequence of images is acquired by a vision sensor 11, which is for example embedded in a space or aerial vehicle 10 capable of moving relative to said scene. It should be noted that space vehicle is understood to mean any vehicle moving outside the Earth's atmosphere, including a vehicle moving on the ground on a celestial body other than the Earth (satellite, space shuttle, rover, etc.). An aerial vehicle can be any vehicle flying in the Earth's atmosphere (airplane, helicopter, drone, etc.).
[0048] [Fig. 1] schematically represents an exemplary embodiment of a space or air vehicle 10. As illustrated by [Fig. 1], the vehicle 10 comprises the vision sensor 11 and a computing device 12.
[0049] The vision sensor 11 may be of any type suitable for acquiring two-dimensional (2D) images of the scene, for example an optical camera, an infrared camera, an imaging radar, etc. The images are in the form of a matrix of pixels providing physical information on the area of the scene placed in the field of view of said vision sensor 11. The images are for example matrices of Nx x Ny pixels, Nx and Ny being for example each of the order of a few hundred to a few tens of thousands of pixels. The images are acquired recurrently by the vision sensor 11, for example periodically with a frequency which is for example of the order of a few Hertz (Hz) to a few hundred Hz.
[0050] It should be noted that a monocular vision system (as opposed in particular to stereoscopic), comprising a single vision sensor 11, is sufficient for implementing the processing method 20. In the remainder of the description, we consider the non-limiting case where the space or air vehicle 10 has a single vision sensor 11 adapted to provide 2D images of the scene. However, nothing excludes, according to other examples, having a vehicle 10 having several vision sensors 11 adapted to provide 2D images of the scene and / or having at least one vision sensor adapted to provide 3D images of said scene.
[0051] The computing device 12 is configured to implement all or part of the steps of the method 20 for processing the sequence of images acquired by the vision sensor 11. In the non-limiting example illustrated by [Fig. 1], the computing device 12 is on board the space or air vehicle 10. It is however possible, in other examples, to have a computing device 12 which is not on board the vehicle 10 and which is remote from said vehicle 10. Where appropriate, the images acquired by the vision sensor are transmitted to the computing device 12 by any type of suitable communication means.
[0052] The computing device 12 comprises for example one or more processors (CPU, DSP, GPU, FPGA, ASIC, etc.). In the case of several processors, these can be integrated into the same equipment and / or integrated into materially distinct equipment. The computing device 12 also comprises one or more memories (magnetic hard disk, electronic memory, optical disk, etc.) in which is stored, for example, a computer program product, in the form of a set of program code instructions to be executed by the processor(s) to implement the different steps of the processing method 20.
[0053] [Fig. 2] schematically represents the main steps of a method 20 for processing a sequence of images acquired by the vision sensor 11 on board the space or air vehicle 10, said sequence of images representing a scene in relation to which the space or air vehicle 10 is likely to move.
[0054] As indicated above, the processing method 20 aims to follow elements of the scene from one image to another (said elements being generally considered as immobile relative to the scene), by following from one image to another thumbnails representing these elements. Generally speaking, the term “thumbnail” (“patch” in the English literature) is understood to mean a set of adjacent pixels of an image, comprising a number of pixels much lower than the total number (Nx x Ny) of pixels of the image, for example of the order of a few tens of pixels to a few hundred pixels.If the pose (position and orientation) of the vision sensor 11 relative to the scene varies during the acquisition of the sequence of images, for example due to a movement of the craft 10 relative to said scene, then the variations in the positions of the thumbnails from one image to another in the sequence make it possible, for example, to estimate the movement of the space or air craft 10 relative to the scene, at least in part. Consequently, the tracking of thumbnails in a sequence of images can be used in the case of vision-based navigation systems, to estimate the movement of the craft 10 relative to the scene, possibly in combination with navigation measurements provided by navigation sensors (GPS receiver, accelerometer, odometer, gyroscope, etc.) embedded in the craft 10.
[0055] As illustrated by [Fig.2], the processing method 20 comprises a step S20 of determining, in a so-called reference image (for example the first image of the sequence), positions of so-called reference thumbnails. In order to limit the complexity linked to the identification of the reference thumbnails and their positions, these are determined independently of a content of said reference image. In other words, there is no processing of the content of the reference image to detect characteristic thumbnails having good properties for tracking. The positions of the reference thumbnails are chosen arbitrarily in the reference image.
[0056] According to an example of implementation, the positions of the reference thumbnails are predefined, that is to say that they are known a priori in a deterministic manner. For example, these can be predefined positions spatially distributed regularly in the reference image.
[0057] In preferred embodiments, the positions of the reference thumbnails are determined randomly in the reference image. Thus, the positions of the reference thumbnails are chosen randomly in the reference image, and vary from one reference image to another. The positions of the reference thumbnails are therefore in principle not spatially distributed regularly in the reference image.
[0058] In some cases, it is possible, optionally, to decompose the reference image into a plurality of disjoint sub-images, preferably having a predetermined regular distribution. For example, all the sub-images have the same dimensions. The reference image then corresponds to the union of the sub-images and the positions of the reference thumbnails are preferably determined so that each sub-image of the reference image comprises at least one reference thumbnail. Such arrangements make it possible to ensure that the positions of the reference thumbnails are spatially distributed throughout the reference image, even when said positions are determined randomly in each sub-image. This therefore makes it possible to avoid having reference thumbnails all grouped together in one part of the reference image.It should be noted that it is possible to avoid certain parts of the reference image, for example the parts located near the edge of the reference image, which represent elements of the scene which have a greater probability of disappearing from one image to another of the sequence, following the movement of the machine 10. In other words, the positions of the reference thumbnails can be determined by considering all the sub-images of the reference image (each sub-image comprising at least one reference thumbnail) or by considering only some of said sub-images among all the sub-images composing the reference image.
[0059] It should be noted that it is also possible, in certain cases, to combine deterministically determined positions and randomly determined positions for the reference thumbnails.
[0060] Each reference thumbnail therefore corresponds to a set of pixels located, in the reference image, at a position thus determined independently of the content of the reference image. For example, the position thus determined corresponds to the position of a reference pixel of the reference thumbnail, for example the pixel located in the center of said reference thumbnail, or a pixel located on an edge of said reference thumbnail, for example a predetermined corner of said reference thumbnail.
[0061] Each position determined during step S20 therefore determines a set of pixels forming a reference thumbnail, and the reference thumbnails thus determined will then be pursued in a plurality of images which follow the reference image in the sequence, called pursuit images.
[0062] In certain embodiments, it is possible to consider, in addition to the reference vignettes determined independently of the content of the image, characteristic vignettes determined by analyzing the content of the reference image having good properties for tracking. Where appropriate, the number of characteristic vignettes is preferably less than the number of reference vignettes, in order to limit the computational complexity for detecting the characteristic vignettes. In the remainder of the description, it is considered in a non-limiting manner that only reference vignettes (determined independently of the content of the reference image) are determined and tracked from one image to another.
[0063] As indicated above, the reference thumbnails, determined for the reference image, are then tracked in a plurality of tracking images acquired after said reference image. As illustrated by [Fig.2], the tracking of the reference thumbnails comprises a plurality of steps which are repeated for each tracking image. More particularly, for the tracking image in which the tracking is carried out, called the current tracking image, the tracking of the reference thumbnails comprises: • a step S21 of determining a predicted global registration transformation between the reference image and the current tracking image, • a step S22 prediction of positions in the current pursuit image for the reference thumbnails, as a function of the positions in the reference image of said reference thumbnails and of the global registration transformation predicted for the current pursuit image, • a step S23 of searching for reference thumbnails in the current tracking image, from the predicted positions for the reference thumbnails.
[0064] Step S21 aims to determine a predicted global registration transformation between the current tracking image and the reference image, making it possible to bring the reference image into an acquisition geometry close to the acquisition geometry of the current tracking image.
[0065] The registration transformation is called “global” to specify that it corresponds to the registration transformation with respect to the reference image. It is therefore the same reference image which is considered for the pursuit in the plurality of pursuit images. The global registration transformation is called “predicted” for the current pursuit image because it is determined independently of the content of said current pursuit image, before having found in the current pursuit image the scene elements represented by the reference thumbnails. The predicted global registration transformation is precisely implemented to facilitate the search for these scene elements in the current pursuit image.
[0066] For each of all or part of the pixels of the reference image, the predicted global registration transformation makes it possible to predict the pixel of the current pursuit image theoretically representing the same element of the scene. Indeed, the positions of the pixels representing the same element of the scene can vary from one image to another due in particular to the change in pose of the vision sensor 11 relative to the scene. Figure 3 schematically represents two successive images and, in these images, pixels representing the same elements of the scene. More particularly, the pixel and the pixel p'{ represent the same element of the scene, the pixel P2 and the pixel p 2 represent the same element of the scene, and the pixel P3 and the pixel p'3 represent the same element of the scene. However, the position of the pixel Py in the left image is different from the position of the pixel p^ in the right image (same for the pixels P2 and p'2, and for the pixels P3 and p'^.The predicted global registration transformation aims to try to predict, from the position of a pixel in the reference image, the position of the pixel representing the same element of the scene in the current pursuit image.
[0067] Preferably, the predicted global registration transformation comprises at least one motion model introduced by a relative movement between the vision sensor 11 and the scene. The motion model models the displacements of pixels from one image to another which are due to a change in the pose of the vision sensor 11 relative to said scene. In order to limit the complexity of the motion model, the latter can model the movement approximately, by making simplifying assumptions in particular on the geometry of the scene.
[0068] For example, the motion model corresponds, in preferred embodiments, to a homography. In a manner known per se, a homography models the motion by assuming that the elements of the scene represented by the reference thumbnails are located in the same plane, that is to say by assuming that the scene is generally a flat surface. Such a homography can be modeled in a simple manner and also proves to be sufficient in many cases.
[0069] In other examples, the geometry of the scene may be modeled differently from a flat surface. For example, in the case of distant navigation relative to a celestial body, the scene may be modeled by another type of surface, for example in the form of a sphere. It is also possible to use a more precise 3D model of the scene, which may be known a priori or estimated, for example by means of simultaneous mapping and localization algorithms. (“Simultaneous Localization and Mapping” or SLAM in Anglo-Saxon literature).
[0070] Other phenomena influence the positions of the pixels representing the same element of the scene from one image to another. In particular, the vision sensor 11 typically comprises an optic which is capable of introducing geometric deformations which depend on a viewing angle between the vision sensor 11 and an element of the scene. In preferred embodiments, the predicted global registration transformation further comprises an optical distortion model introduced by the vision sensor. [Fig. 4] schematically represents the trajectories, in the focal plane of the vision sensor 11, of the successive positions of several reference vignettes which could be tracked. Part a) represents the case where the optical distortion model was taken into account and part b) represents the case where the optical distortion model was not taken into account. As illustrated by [Fig.4], taking into account the optical distortion model makes it possible to improve the tracking of reference vignettes, and in particular to track a greater number of reference vignettes, in particular in the central part of the focal plane and at the edge of said focal plane.
[0071] If we consider N 4-1 images h, 0 < k < among which the reference image corresponds to the image and the pursuit images correspond to the images In, 1 < n < N, then we designate by fG the predicted global registration transformation for the current pursuit image In. The motion model, which predicts the displacement of the pixels, induced by the relative movement between the vision sensor 11 and the scene, between the current pursuit image If! and the reference image A), is for example designated by In certain embodiments, the predicted global registration transformation fG is reduced to the motion model between the current pursuit image In and the reference image A), and 4-6 _ In certain embodiments, the predicted global registration transformation also integrates an optical distortion model DOPT. Where appropriate, the predicted global registration transformation is for example given by the expression y'0 _ J)opT o MG O [
[0072] During step step S22, the positions of the reference thumbnails in the current tracking image In are predicted by means of the predicted global registration transformation fG, which is applied to the positions of said reference thumbnails in * n the reference image 70.
[0073] These predicted positions of the reference thumbnails in the current tracking image, even if approximate, make it easier to search for the reference thumbnails during step S23.
[0074] Generally speaking, step S23 of searching for reference thumbnails in the current tracking image can implement any type of tracking algorithm known to the person skilled in the art, and the choice of a particular type of tracking algorithm corresponds only to a non-limiting example of implementation. In preferred embodiments, the tracking algorithm is of the Kanade-Lucas-Tomasi, KLT, type.
[0075] [Fig. 5] schematically represents the main steps of a preferred embodiment of step S23 of searching for reference thumbnails in the current tracking image. As shown in [Fig. 5], the search for reference thumbnails in the current tracking image comprises: • a step S230 of resetting the reference image by applying to said reference image the global resetting transformation predicted for the current tracking image, • a step S231 of tracking the reference thumbnails in the current tracking image using the realigned reference image.
[0076] It should be noted that the tracking step S231 corresponds to the implementation of a tracking algorithm, such as the KLT type tracking algorithm. In the present case, however, it is the recalibrated reference image (brought as close as possible to the acquisition geometry of the current tracking image) which is taken into account by the tracking algorithm used.
[0077] By applying the predicted global registration transformation to the reference image (i.e. by registering it with the current pursuit image), then the reference image is brought as close as possible to the acquisition geometry of the current pursuit image. The appearance of an element of the scene in an image varies according to the point of view from which this image is acquired. This registration therefore makes it possible to obtain reference thumbnails which, in principle, more closely resemble the thumbnails representing the same elements of the scene in the current pursuit image. In this example, the predicted global registration transformation is therefore used both to predict the positions of the reference thumbnails in the current pursuit image (during step S22) and to bring all or part of the reference image as close as possible to the acquisition geometry of the current pursuit image (during step S230).
[0078] In addition, tracking algorithms (including the KLT-type tracking algorithm) generally search for thumbnails centered on a characteristic element. In the present case, a reference thumbnail does not a priori have good properties for tracking, so the tracking algorithm will tend to track the most characteristic part of the reference thumbnail, which will not necessarily be at the center of the reference thumbnail. Without special processing, this offset from the center of the reference thumbnail would introduce an error in the estimation of the position of the reference thumbnail in the tracking images of the order of the dimensions of the reference thumbnail. This error is greatly reduced by the registration of the reference image. Such arrangements therefore make it possible to improve the accuracy of the estimated positions of the reference thumbnails found in the tracking image.
[0079] It should be noted that the search for reference thumbnails in a current pursuit image relies on positions that are predicted, for these reference thumbnails, by means of the predicted global registration transformation. A reference thumbnail (registered by means of the predicted global registration transformation) will generally be found in the current pursuit image at a position that may differ from the predicted position for this reference thumbnail. The position at which a reference thumbnail is found in the current pursuit image is sometimes referred to hereinafter as the “estimated position” of said reference thumbnail (as opposed to “predicted position”).
[0080] In order to reduce the computational complexity related to the registration of the reference image with the current tracking image, it is possible, in preferred embodiments, to bring only the reference thumbnails of the reference image into an acquisition geometry close to the acquisition geometry of the current tracking image. Thus, rather than trying to register all the pixels of the reference image, only pixels of the reference thumbnails are registered, which makes it possible to greatly reduce the number of pixels to be registered and therefore the associated computational complexity.
[0081] The registered reference thumbnails are then compared to respective thumbnails of the current pursuit image, each thumbnail of the current pursuit image being positioned at the predicted position of the registered reference thumbnail to which said thumbnail of the current pursuit image is compared. For example, it is possible to select, in the current pursuit image, a group of pixels centered on the predicted position for a reference thumbnail. This group of pixels corresponds to the thumbnail of the current pursuit image which must be compared to the registered reference thumbnail. For example, for each pixel of this group of pixels, it is possible to identify the pixel of the reference thumbnail which is supposed to represent the same element of the scene, for example by applying to the position of this pixel the inverse predicted global registration transformation r ^G]"1. It is thus possible to identify, * K in the reference image, the pixels of the reference thumbnail that will be projected into the current pursuit image onto the group of pixels centered on the predicted position of this reference thumbnail. It is possible to only realign these pixels of the thumbnail reference to form a registered reference tile having the same shape as the pixel group in the current pursuit image, and whose pixel values correspond respectively to the values of the pixels identified in the reference image by means of the inverse predicted global registration transformation r -g 2 n
[0082] In order to further reduce the computational complexity associated with the registration of pixels of a reference thumbnail, it is possible to use a local approximation of the predicted global registration transformation obtained by a limited development of said predicted global registration transformation locally at the position of the associated reference thumbnail. It should be noted that the approximation is called “local” because it depends on the position considered in an image and is a priori only valid in a neighborhood of this position.
[0083]
[0084] For example, in the case where the predicted global registration transformation includes a motion model corresponding to a homography, such a homography may be difficult to compute because it involves divisions. However, since the reference tiles to be registered are typically small (e.g., of the order of 15 x 15 pixels), the homography can be approximated by a limited expansion, for example to the first order, locally at the position of the reference tile to be registered. In other words, a local approximation is determined for each reference tile to be registered. For example, if we consider a local approximation in the neighborhood of a pixel at position yj, then it is possible to determine a local approximation yj of the registration transformation predicted global ■pG in the vicinity of / rvj by a development limited by 1 n \A0' Tq / ' first-order example, so that tg(xy) ~ x0 yj (xy) ' s' (-E j) csl close to y j. For example, it is possible to use the predicted global registration transform to predict the positions of the reference tiles in the pursuit image in * n course. For a predicted position yj of a reference thumbnail in the image of ongoing pursuit, it is possible to determine a local approximation ^Gr , i'1 of the inverse predicted global registration transformation r ^g"]"1 to the n [-¾ 30 JJ « neighborhood of ( rv E The local approximation ^Gr ii can then be used \ G' - QJ 1 n [-¾ y^] to identify, for each pixel of the group of pixels positioned in , the pixel of the reference thumbnail which is supposed to represent the same element of the scene, in
[0085]
[0086]
[0087] applying said local approximation ^Gr y1 to the position of this pixel in ^[-¾ Vo] the current chase image, as shown above. Figure 6 schematically represents the main steps of a preferred embodiment of the processing method 20 for determining the predicted global registration transformation. As illustrated in Figure 6, the tracking of the reference thumbnails in a current tracking image also comprises a step S24 of determining an estimated global registration transformation between the reference image A) and the image of * n current pursuit In, based on the (estimated) positions of the reference thumbnails found (during the search step S23) in the current pursuit image ïn and based on the positions of these reference thumbnails in the reference image Iq. This estimated global registration transformation yG will be used to determine the * n predicted global registration transformation for the next pursuit image / „+1 (at least). Step S21 of determining the predicted global registration transformation for the current tracking image In uses the registration transformation * n estimated global determined for the previous pursuit frame (at least). 1 nl Advantageously, the estimated global registration transformation between the reference image Iq and the current tracking image In is determined using a robust estimator. Due to the use of a robust estimator, the contribution of outliers to the estimation is reduced, and outliers can also be identified. In the present case, the estimated global registration transformation is determined based on the * n positions of the reference tiles in the reference image Iq and the (estimated) positions of the reference tiles found in the current tracking image In. Therefore, the outlier measurements will correspond mainly to reference tiles that have not been correctly tracked, i.e. mainly reference tiles with insufficient quality for tracking. Thus, although no quality check of the reference tiles is performed when their positions are initially determined arbitrarily, the robust estimator used to determine the estimated global registration transformation intrinsically allows to discard (and possibly identify), * fl at the tracking stage, the reference vignettes which present insufficient quality for tracking. In a manner known per se, the robust estimator can assign, to each reference vignette found in a tracking image, an in compatibility indicator with the estimated global registration transformation, and it is possible to keep as found reference tiles only found reference tiles that are compatible with the estimated global registration transformation according to their compatibility indicators. According to a non-limiting example, it is possible to use a predetermined threshold on a distance between the estimated position of a reference tile and the predicted position obtained by applying the estimated global registration transformation to the position of this * n reference thumbnail in the reference image. If this distance is greater than the predetermined threshold, then the compatibility indicator for this reference thumbnail is for example set to 0, meaning that this reference thumbnail is not compatible with the estimated global registration transformation. In the opposite case (distance equal to or less than the predetermined threshold), then the compatibility indicator is for example set to 1, meaning that this reference thumbnail is indeed compatible with the estimated global registration transformation. The predetermined threshold is for example chosen to take into account the different sources of errors that influence the calculated distance independently of the compatibility with the estimated global registration transformation, such as measurement noise and / or the modeling error of the scene geometry.For example, the predetermined threshold may be in the order of 5 to 25 pixels, to maintain a margin against these sources of error.
[0088] Furthermore, a simple motion model such as a homography can be estimated from the estimated positions of four (4) reference vignettes found in the current pursuit image In. In practice, and thanks in particular to the fact that the positions of the reference vignettes in the current pursuit image In are predicted, the number of reference vignettes found will be much greater than four, allowing the robust estimator to determine the estimated global registration transformation. * n best models the movement of pixels between the reference image / q and the current pursuit image ln.
[0089] Generally, the present disclosure may use any type of robust estimator known to those skilled in the art, and the choice of a particular type of robust estimator corresponds only to a non-limiting example of implementation of the present disclosure. In preferred embodiments, the robust estimator is of the RANSAC type.
[0090] In the example illustrated by Figure 6, the predicted global registration transformation for the current pursuit image ln uses the global registration transformation estimated determined for the previous (at least) pursuit image In_i. 1 n-1
[0091] Following a first example, the predicted global registration transformation for n the current pursuit image In corresponds to the global registration transformation estimated, i.e. ^g _ . In other words, it is assumed that the pixels * «-1 -t w_}
[0092]
[0093]
[0094] move little image to next one. As another example, it is possible to further estimate a so-called local registration transformation between the two images preceding the current pursuit image In in the image sequence, i.e. between the images and / ,^2, this estimated local registration transformation being designated by p . This transformation of recalibration is called “local” because it is a recalibration transformation between two consecutive images of the sequence, regardless of whether one of these images is the reference image / q (as opposed to "global" which is necessarily relative to the reference image / q)- Then, the predicted global registration transformation fG is for example determined by combining the registration transformation LH estimated global (for the previous image) and the local registration transformation n-1 estimated 7 ( (for the previous image), for example according to the expression: Thus, the estimated local registration transformation & । for image / „1 previous is used as a prediction of the local registration transformation between the previous image and the current pursuit image ln. The transformation of The predicted global registration in this case anticipates the movement of pixels in the current tracking image In relative to the previous image / „.1. For example, the estimated local registration transformation । is determined based on the estimated global registration transformations ag and a,g of the images I„_i and Par 1 h-1 7 n-2 example, in particular when the considered motion model corresponds to a homography, the estimated local registration transformation f can be determined according to the following expression: For example, it is possible to consider that the predicted global registration transformation fG for the pursuit image (acquired immediately after the reference image Iq) corresponds to the identity (i.e., no motion), at least for the motion model i.e., = Id- In the case where a transformation estimated local registration transformation is used, then the estimated local registration transformation for the pursuit image corresponds directly to the transformation estimated global registration for the pursuit image Ij, and 7 1 Q ZA AGAGAG
[0095] As indicated above, the same reference image is used to search for the reference thumbnails in a plurality of tracking images. However, it may sometimes be necessary to select a new reference image, as described below.
[0096] [Fig. 7] schematically represents the main steps of an example of implementation of the processing method 20. In addition to the steps described with reference to [Fig. 2], the processing method 20 comprises a step S25 of evaluating a predetermined reference image renewal criterion. In the example illustrated by [Fig. 7], the evaluation step S25 is executed for each tracking image, but it is also possible to evaluate the reference image renewal criterion independently of the tracking images and / or at a lower frequency / recurrence.
[0097] As illustrated by [Fig.7], when the reference image renewal criterion is not verified (reference S25a in [Fig.7]), the same reference image is kept for the next tracking image.
[0098] If the reference image renewal criterion is verified (reference S25b in [Fig.7]), then the processing method 20 comprises a step S26 of selecting a new reference image. For example, the new reference image corresponds to the current tracking image, or to the next image in the sequence of images acquired by the vision sensor 11 of the space or air vehicle 10.
[0099] Step S20 of determining reference thumbnail positions is then executed for the new reference image, and it is this new reference image which is used to search for the reference thumbnails in a plurality of subsequent images of the image sequence. In preferred embodiments it is possible to retain, as reference thumbnails of the new reference image, reference thumbnails of the previous reference image which could be continued to the new reference image. Indeed, if these reference thumbnails of the previous reference image could be continued to the new reference image, it is because they probably have good properties for tracking.Preferably, however, these reference tiles are supplemented by other reference tiles whose positions are determined in said new reference image independently of its content, as described above. Furthermore, in a vision-based navigation context, the positions of reference tiles pursued are typically provided to a navigation filter, and it is preferable with respect to this navigation filter not to reset all the reference tiles.
[0100] Generally, the present disclosure may implement different types of reference image renewal criteria, and the choice of one or more particular types corresponds only to a non-limiting example of implementation of the present disclosure.
[0101] According to a first example, the reference image renewal criterion can be considered as verified when the reference image has been used for a predetermined number of pursuit images. For example, when the pursuit image is reached, the reference image renewal criterion can be considered as verified. Such a reference image renewal criterion is therefore evaluated independently of the content of the pursuit images.
[0102] Alternatively or in addition, the reference image renewal criterion can be considered as verified when a proportion of reference vignettes that can be pursued in the following pursuit image is lower than a predetermined threshold. Indeed, because the reference vignettes do not necessarily have good properties for pursuit, but also simply because of the movement of the vision sensor 11 relative to the scene, the number of reference vignettes that can be pursued will tend to decrease over the pursuit images. It may therefore prove interesting to renew the reference image when the proportion of reference vignettes that can be pursued risks becoming too low.
[0103] A non-limiting example of determining the proportion of reference vignettes that can be pursued in the following pursuit image is now described.
[0104] First, it should be noted that the estimated global registration transformation for * n the current pursuit image In can be used to determine a proportion of reference thumbnails that correspond to elements of the scene that are no longer visible in the current pursuit image ln, and therefore to determine a proportion of reference thumbnails that correspond to elements of the scene that are still visible in the current pursuit image In. The proportion of reference thumbnails corresponding to elements of the scene that are still visible in the current pursuit image In is representative of the maximum number of reference thumbnails that can be found in the current pursuit image In.The number of reference tiles that could actually be found in the current pursuit image In can then be compared to this maximum number to determine a success rate (typically equal to the ratio between the number of reference tiles found and the maximum number of reference tiles that can be found).
[0105] Then, the predicted global registration transformation for the next chase image / „+] can be used to determine a proportion of reference thumbnails which correspond to elements of the scene which should always be visible in the following chase image In¥i. The proportion of reference vignettes which can be chased in the following chase image corresponds, for example, to the product between, on the one hand, the previously calculated success rate and, on the other hand, the proportion of reference vignettes corresponding to elements of the scene which should always be visible in the following chase image. The proportion of reference vignettes which can be chased in the following chase image 7„+i thus calculated can then be compared with the predetermined threshold to assess whether the reference image renewal criterion is satisfied. It is also possible, according to other examples, not to consider the success rate in the calculation of the proportion of reference vignettes which can be chased in the following chase image.
[0106] Alternatively or in addition, the reference image renewal criterion may be considered to be verified when the reference thumbnails that can be pursued in the following pursuit image have an insufficient spatial distribution in said following pursuit image. For example, it is possible to consider a decomposition of the following pursuit image into a plurality of sub-images, in order to verify that at least a predetermined proportion of sub-images comprises at least one reference thumbnail. In such a case, the spatial distribution in the following pursuit image may be considered to be insufficient when the proportion of sub-images comprising at least one reference thumbnail is less than a predetermined threshold. An example of decomposition into sub-images is for example a predetermined grid of the pursuit image.
[0107] In certain embodiments, it is also possible to carry out spatial filtering of the reference vignettes being tracked, in order to avoid tracking reference vignettes that are too close. Thus, when two tracked reference vignettes have positions estimated to be close (i.e. having a distance between them less than a predetermined threshold), it is advantageous to keep only one of these reference vignettes for the continuation of the tracking. Such spatial filtering, when implemented, can influence the proportion of reference vignettes that can be tracked in the following tracking image (and therefore the evaluation of the reference image renewal criterion) since certain reference vignettes can be discarded by this spatial filtering.Such spatial filtering can also be implemented after determining reference tile positions for a new reference image, especially when reference tiles from the previous reference image are retained, to avoid chasing reference tiles that are too close to each other.
[0108] As indicated previously, the treatment method 20 finds an application particularly advantageous, although in no way limiting, in the case of vision-based navigation systems (“Vision-Based Navigation” or VBN in the English literature), to estimate the movement relative to the scene of a machine carrying the vision sensor.
[0109] [Fig.8] schematically represents the main steps of a method 60 for estimating, by the calculation device 12, the movement of the air or spacecraft 10 relative to the scene.
[0110] As illustrated by [Fig.8], the estimation method 60 comprises a step S60 of determining positions of thumbnails tracked in a sequence of images acquired by the vision sensor 11 on board the craft 10, which implements the processing method 20 described above. Then, the estimation method 60 comprises a step S61 of estimating the movement of the space or air craft 10 as a function of said positions of said thumbnails tracked in the sequence of images. As indicated previously, the estimation step S61 can also take as input measurements made by one or more navigation sensors on board the space or air craft 10 (see for example patent applications EP 2428934 A1 and EP 3227860 A1).
[0111] More generally, it should be noted that the implementation and embodiment modes considered above have been described as non-limiting examples, and that other variants are consequently conceivable.
Claims
Claims
1. Method (20) for processing a sequence of images of a scene, said images of the sequence being acquired successively by a vision sensor (11), said method being characterized in that it comprises at least: - a determination (S20), in a so-called reference image, of positions of so-called reference thumbnails, said determination of the positions of the reference thumbnails in the reference image being carried out independently of the content of said reference image, and - a tracking of said reference thumbnails, from the positions of the reference thumbnails in the reference image, in each of a plurality of so-called tracking images acquired after said reference image, the tracking of the reference thumbnails comprising, for each current tracking image: • a determination (S21) of a predicted global registration transformation between the reference image and the current tracking image,• a prediction (S22) of the positions of the reference thumbnails, in the current pursuit image, as a function of the positions of the reference thumbnails in the reference image and of the predicted global registration transformation for the current pursuit image, • a search (S23) of the reference thumbnails in the current pursuit image, from the predicted positions of the reference thumbnails.,
2. The method (20) of claim 1, wherein the predicted global registration transformation comprises a motion model introduced by relative motion between the vision sensor and the scene.
3. The method (20) of claim 2, wherein the motion model corresponds to a homography.
4. The method (20) of claim 2 or 3, wherein the predicted global registration transformation includes a model of optical distortion introduced by the vision sensor.
5. A method (20) according to any preceding claim, wherein, for the tracking images from the second image of pursuit following the reference image, the predicted global registration transformation for the current pursuit image is determined as a function of an estimated global registration transformation between the reference image and an image which precedes said current pursuit image in the sequence of images, the estimated global registration transformation being determined, by means of a robust estimator, as a function of positions of reference thumbnails found in said previous image and as a function of the positions of the reference thumbnails in the reference image.
6. The method (20) of claim 5, wherein the predicted global registration transformation for the current pursuit image corresponds to the estimated global registration transformation between the reference image and the image preceding the current pursuit image in the image sequence.
7. Method (20) according to claim 5, in which the determination of the predicted global registration transformation for the current pursuit image comprises: • an estimation of a so-called local registration transformation between the two images which precede the current pursuit image in the sequence of images, • a combination of said estimated local registration transformation and the estimated global registration transformation between the reference image and the image which precedes the current pursuit image in the sequence of images.
8. Method (20) according to any one of claims 5 to 7, in which the robust estimator assigns, to each reference vignette found in a tracking image, an indicator of compatibility with the estimated global registration transformation, and in which only found reference vignettes which are compatible with the estimated global registration transformation according to their compatibility indicators are kept as found reference vignettes.
9. Method (20) according to any one of the preceding claims, in which the search for the reference thumbnails in the current pursuit image comprises: • a resetting (S230) of the reference image by applying to said reference image the global resetting transformation predicted for the current pursuit image, • a pursuit (S231) of the reference thumbnails in the current pursuit image using the registered reference image.
10. The method (20) of claim 9, wherein only the reference thumbnails of the reference image are registered by applying the predicted global registration transformation.
11. The method (20) of claim 10, wherein the registration of a reference tile uses a local approximation of the predicted global registration transformation obtained by a limited expansion of said predicted global registration transformation at the predicted position for said reference tile in the current tracking image.
12. A method (20) according to any preceding claim, wherein the positions of the reference thumbnails are randomly determined in the reference image.
13. Method (20) according to any one of the preceding claims, wherein, the reference image being decomposed into a plurality of sub-images, the positions of the reference thumbnails are determined so that each sub-image among the plurality of sub-images of the reference image comprises at least one reference thumbnail.
14. Method (20) according to any one of the preceding claims, comprising a selection of a new reference image when a predetermined reference image renewal criterion is verified.
15. Method (20) according to claim 14, wherein the reference image renewal criterion is verified when a proportion of reference thumbnails that can be tracked in the next tracking image is less than a predetermined threshold and / or when the reference thumbnails that can be tracked in the next tracking image have insufficient spatial distribution in said next tracking image.
16. A method (20) according to claim 14 or 15, wherein the reference thumbnails for the new reference image comprise reference thumbnails of the previous reference image which could have been continued to the new reference image, supplemented by reference thumbnails whose positions are determined in said new reference image independently of a content of said new reference image.
17. Method (60) for estimating the movement of an air or space craft (10), said movement being estimated at least as a function of positions, in a sequence of images acquired by a vision sensor (11) on board said craft, of thumbnails tracked in said sequence of images, the positions of said thumbnails tracked in the sequence of images being determined according to a method (20) according to any one of the preceding claims.
18. A computer program product comprising instructions which, when executed by at least one processor, configure said at least one processor to implement a method (20, 60) according to any one of claims 1 to 17.
19. Computing device (12) comprising at least one processor and at least one memory, said at least one processor being configured to implement a method (20, 60) according to any one of claims 1 to 17
20. Air or spacecraft (10), comprising at least one vision sensor (11) and a calculation device (12) according to claim 19.
