WO2022141531A1 - Image registration evaluation method and apparatus, and electronic device and readable storage medium - Google Patents

Image registration evaluation method and apparatus, and electronic device and readable storage medium Download PDF

Info

Publication number
WO2022141531A1
WO2022141531A1 PCT/CN2020/142430 CN2020142430W WO2022141531A1 WO 2022141531 A1 WO2022141531 A1 WO 2022141531A1 CN 2020142430 W CN2020142430 W CN 2020142430W WO 2022141531 A1 WO2022141531 A1 WO 2022141531A1
Authority
WO
WIPO (PCT)
Prior art keywords
registration
image
target
confidence
similarity measure
Prior art date
Application number
PCT/CN2020/142430
Other languages
French (fr)
Chinese (zh)
Inventor
闫浩
罗春
李金升
Original Assignee
西安大医集团股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 西安大医集团股份有限公司 filed Critical 西安大医集团股份有限公司
Priority to PCT/CN2020/142430 priority Critical patent/WO2022141531A1/en
Priority to CN202080108422.4A priority patent/CN116868233A/en
Publication of WO2022141531A1 publication Critical patent/WO2022141531A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/30Determination of transform parameters for the alignment of images, i.e. image registration
    • G06T7/38Registration of image sequences

Definitions

  • the present application relates to the field of medical technology, and in particular, to an image registration evaluation method, apparatus, electronic device, and computer-readable storage medium.
  • Medical image registration technology is the basis of medical image processing, and plays a very important role in the fields of image information fusion, auxiliary diagnosis, surgical planning, and basic medical theory research.
  • image registration is the process of spatially matching two images.
  • To register image A to image B use B as a reference image and A as a floating image.
  • By continuously moving floating image A and reference image B The registration is performed, and when the similarity between the floating image A and the reference image B is the largest, an image registration result is output, and the registration result may include the deformation field of the image A registered to the image B.
  • the user cannot measure the accuracy of the image registration result, and it is easy to use the image registration result with low accuracy or even wrong for further image processing.
  • the present application provides an image registration evaluation method, device, electronic device and computer-readable storage medium, which saves time for image registration evaluation and improves the efficiency of image registration evaluation.
  • the present application provides an image registration evaluation method
  • the image registration evaluation method includes:
  • the target registration position refers to the position when the similarity between the target image and a preset reference image satisfies a preset registration condition during the registration process
  • the target confidence of the target registration position is determined according to a confidence evaluation factor to evaluate the accuracy of image registration, wherein the confidence evaluation factor is a plurality of factors for evaluating the accuracy of image registration.
  • the confidence evaluation factor includes at least one of an absolute value of the similarity measure, a change speed of the similarity measure, and a degree of fluctuation of the similarity measure.
  • the determining the target confidence of the target registration position according to the confidence evaluation factor includes:
  • the target confidence level of the target registration position is determined according to the fluctuation degree of the N+1 similarity measures.
  • the obtaining the similarity measure of the target image and the reference image for N registration iterations before the i-th registration iteration includes:
  • the acquiring the similarity measure of the target image and the reference image for N registration iterations after the ith registration iteration includes:
  • the acquiring the similarity measure of the target image and the reference image for N registration iterations before the ith registration iteration and after the ith registration iteration include:
  • n1 is an integer less than or equal to the i
  • the degree of fluctuation of the N+1 similarity measures is determined by any one of the following methods: the variance of the N+1 similarity measures, the standard deviation of the N+1 similarity measures, The range of the N+1 similarity measures, the interquartile difference of the N+1 similarity measures, the average difference of the N+1 similarity measures, or the N+1 similarity measures coefficient of variation.
  • the determining the target confidence of the target registration position according to the confidence evaluation factor includes:
  • the target confidence level of the target registration position is determined according to the change speed of the N+1 similarity measures.
  • determining the change speed of N+1 similarity measures according to the similarity measure of the ith registration iteration and the similarity measure of the N registration iterations includes:
  • the determining the target confidence of the target registration position according to the confidence evaluation factor further includes:
  • an image registration result is displayed, and the image registration result includes the target registration position of the target image and/or all registered positions of the target image. the target image and the reference image.
  • the outputting prompt information indicating that the image registration accuracy of the target image and the reference image is low and further includes:
  • An image registration result of the target image and the reference image is displayed.
  • the determining the target confidence of the target registration position according to the confidence evaluation factor further includes:
  • the image registration result of the target image and the reference image is displayed, and the target confidence is displayed.
  • the present application also provides an image registration evaluation device, the image registration evaluation device includes:
  • the acquiring unit is configured to acquire the target registration position of the target image, wherein the target registration position refers to the time when the similarity between the target image and the preset reference image satisfies the preset registration condition during the registration process.
  • the evaluation unit is configured to determine the target confidence of the target registration position according to the confidence evaluation factor, so as to evaluate the accuracy of the image registration, wherein the confidence evaluation factor is a plurality of factors for evaluating the accuracy of the image registration. factor.
  • the evaluation unit is specifically used for:
  • the target confidence level of the target registration position is determined to evaluate the accuracy of image registration.
  • the evaluation unit is specifically used for:
  • the target confidence level of the target registration position is determined according to the fluctuation degree of the N+1 similarity measures.
  • the evaluation unit is specifically used for:
  • the evaluation unit is specifically used for:
  • the evaluation unit is specifically used for:
  • n1 is an integer less than or equal to the i
  • the evaluation unit is specifically used for:
  • the degree of volatility of the N+1 similarity measures is determined by any of the following methods: variance of the N+1 similarity measures, standard deviation of the N+1 similarity measures, the N+1 similarity measures The range of the measure, the interquartile range of the N+1 similarity measures, the mean difference of the N+1 similarity measures, or the coefficient of variation of the N+1 similarity measures.
  • the evaluation unit is specifically used for:
  • the target confidence level of the target registration position is determined according to the change speed of the N+1 similarity measures.
  • the evaluation unit is specifically used for:
  • the image registration evaluation apparatus further includes a display unit, and after the step of determining the target confidence of the target registration position according to the confidence evaluation factor, the display unit specifically uses At:
  • an image registration result is displayed, and the image registration result includes the target registration position of the target image and/or all registered positions of the target image. the target image and the reference image.
  • the image registration evaluation apparatus further includes a prompt unit, and the display prompt is specifically used for:
  • the display unit after the step of outputting prompt information indicating that the image registration accuracy of the target image and the reference image is low, the display unit is specifically configured to:
  • An image registration result of the target image and the reference image is displayed.
  • the display unit is specifically configured to:
  • the image registration result of the target image and the reference image is displayed, and the target confidence is displayed.
  • the present application also provides an electronic device, the electronic device comprising:
  • processors one or more processors
  • One or more application programs wherein the one or more application programs are stored in the memory and configured to be executed by the processor to implement the steps in the image registration evaluation method described above.
  • the present application also provides a computer-readable storage medium on which a computer program is stored, and the computer program is loaded by a processor to execute the steps in the image registration evaluation method.
  • the target confidence of the target registration position is determined according to the confidence evaluation factor to evaluate the accuracy of the image registration, because the target confidence of the target registration position can reflect the actual matching between the target image and the reference image to a certain extent.
  • the accuracy of the image registration can be avoided to display the image registration results with low accuracy or even wrong, or it can let the user know the accuracy of the image registration results, which can avoid the use of low accuracy or even wrong registration results to a certain extent.
  • the image registration results are subject to further image processing.
  • FIG. 1 is a schematic diagram of a scene of an image registration evaluation system provided by an embodiment of the present application.
  • FIG. 2 is a schematic flowchart of an embodiment of an image registration evaluation method provided by an embodiment of the present application
  • FIG. 3 is a schematic diagram of a scene of an image registration process provided in an embodiment of the present application.
  • FIG. 4 is a schematic diagram of the variation of the similarity measure of the ith registration iteration in the embodiment of the present application.
  • FIG. 5 is a schematic structural diagram of an embodiment of an image registration evaluation device in an embodiment of the present application.
  • FIG. 6 is a schematic structural diagram of an embodiment of an electronic device in an embodiment of the present application.
  • first and second are only used for descriptive purposes, and should not be construed as indicating or implying relative importance or implying the number of indicated technical features. Thus, features defined as “first”, “second” may expressly or implicitly include one or more of said features. In the description of the present application, “plurality” means two or more, unless otherwise expressly and specifically defined.
  • Embodiments of the present application provide an image registration evaluation method, apparatus, electronic device, and computer-readable storage medium, which will be described in detail below.
  • FIG. 1 is a schematic diagram of a scene of an image registration evaluation system provided by an embodiment of the present application.
  • the image registration evaluation system may include an image acquisition device 100 and an electronic device 200, and a network of the image acquisition device 100 and the electronic device 200. Connected, the electronic device 200 is integrated with an image registration evaluation device, such as the electronic device in FIG.
  • the electronic device 200 is mainly used to obtain the target registration position of the target image, where the target registration position refers to that the similarity between the target image and the preset reference image satisfies a predetermined level during the registration process.
  • the image acquisition device 100 may be a CT device, a CBCT device, or other medical imaging devices, such as an ultrasound device (such as a B-ultrasound device or a color ultrasound device), a magnetic resonance imaging (Magnetic Resonance Imaging, MRI) device, etc.
  • an ultrasound device such as a B-ultrasound device or a color ultrasound device
  • a magnetic resonance imaging Magnetic Resonance Imaging, MRI
  • the preset reference image is an image generated by CBCT in radiotherapy equipment
  • the target image can be an image generated by CT equipment, CBCT equipment, or other medical imaging equipment (eg, ultrasound equipment, MRI equipment).
  • the electronic device 200 may be a device including receiving and transmitting hardware, that is, a device having receiving and transmitting hardware capable of performing two-way communication on a two-way communication link.
  • Such devices may include cellular or other communication devices with a single-line display or a multi-line display or a cellular or other communication device without a multi-line display.
  • the specific electronic device 200 may specifically be a desktop terminal or a mobile terminal, and the electronic device 200 may specifically be one of a mobile phone, a tablet computer, a notebook computer, and the like.
  • FIG. 1 is only an application scenario of the solution of the present application, and does not constitute a limitation on the application scenario of the solution of the present application.
  • Other application environments may also include more than those shown in FIG. 1 . More or less electronic devices, or the network connection relationship of electronic devices, for example, only one electronic device and one image acquisition device are shown in FIG.
  • one electronic device 200 is connected to multiple image capturing devices 100, that is, one electronic device 200 displays multiple image capturing devices 100, or one image acquisition device 100 is connected to multiple electronic devices 200, that is, the images collected by one image acquisition device 100 are output to multiple electronic devices 200 for display, which is not specifically limited here.
  • the image registration evaluation system may further include a memory 300 for storing data, such as medical image data, such as medical image data collected by the image acquisition device 100 .
  • FIG. 1 the schematic diagram of the scene of the image registration evaluation system shown in FIG. 1 is only an example, and the image registration evaluation system and the scene described in the embodiments of the present application are for the purpose of illustrating the technical solutions of the embodiments of the present application more clearly. This does not constitute a limitation on the technical solutions provided by the embodiments of the present application. Those of ordinary skill in the art know that with the evolution of the image registration evaluation system and the emergence of new business scenarios, the technical solutions provided by the embodiments of the present application are not suitable for similar technologies. question, the same applies.
  • an embodiment of the present application provides an image registration evaluation method, including: acquiring a target registration position of a target image, wherein the target registration position refers to the target image and a preset in the registration process. The position when the similarity of the reference image satisfies the preset registration condition; according to the confidence evaluation factor, the target confidence of the target registration position is determined to evaluate the accuracy of image registration, wherein the confidence evaluation factor Multiple factors for evaluating image registration accuracy.
  • FIG. 2 it is a schematic flowchart of an embodiment of the image registration evaluation method in the embodiment of the present application.
  • the image registration evaluation method includes steps 201-202, wherein:
  • Step 201 Acquire the target registration position of the target image.
  • the image registration process simply maps one image (moving image) to another image (reference image, fixed image) by finding a spatial transformation , so that the points corresponding to the same position in space in the two pictures are in a one-to-one correspondence.
  • the target image is a floating image in the image registration process
  • the preset reference image is the reference image in the image registration process
  • the target registration position is the position when the similarity between the target image and the preset reference image satisfies the preset registration condition during the image registration process
  • the target registration position of the target image can be the position when the preset registration condition is met.
  • the absolute position of the target image such as the actual position of the target image in the image coordinate system
  • the target registration position can also be the relative position of the target image when the preset registration conditions are met, such as the position of the target image relative to the reference image.
  • the similarity between the target image and the preset reference image it is the degree of similarity between the reference area of the reference image and the target area of the target image during the image registration process, which can be measured by the similarity measure between the reference area and the target area
  • the similarity between the target image and the preset reference image includes: mutual information, mean square error, Kappa statistics, and the like.
  • the reference area can be part or all of the image area in the reference image
  • the target area is the image area that is searched for each time in the image registration process and compared with the reference image.
  • the target area is varied.
  • the preset registration condition it is the maximum similarity between the target image and the reference image during the image registration process, that is, the maximum similarity between the target area in the target image and the reference area in the reference image.
  • step 202 there are various ways to obtain the target registration position of the target image, which are exemplary, including:
  • the target registration position of the target image is obtained.
  • the target registration position of the target image is saved in the preset database.
  • Obtaining the target registration position of the target image includes: obtaining the target registration position of the target image from a preset database.
  • Step 202 Determine the target confidence of the target registration position according to the confidence evaluation factor, so as to evaluate the accuracy of the image registration.
  • a confidence evaluation factor is obtained, wherein the confidence evaluation factor is a plurality of factors for evaluating the accuracy of image registration, which may include at least one of a similarity measure, a change speed of the similarity measure, a fluctuation degree of the similarity measure, etc.
  • the confidence evaluation factors can be preset and stored in the database.
  • the confidence evaluation factors are obtained from the database, and according to the confidence obtained from the database
  • the degree evaluation factor is used to determine the target confidence of the target registration position.
  • the target confidence of the target registration position can be determined according to the confidence evaluation factor, so as to evaluate the accuracy of image registration.
  • the higher the target confidence level for example, the target confidence level is 99%, it indicates that the image registration accuracy of the target image and the reference image is higher, and conversely, the target confidence level is lower, for example, the target confidence level is 60%. , it indicates that the image registration accuracy of the target image and the reference image is low.
  • the target image in practical applications, in order to improve the speed of image registration, the target image will be locally searched for the area with the greatest similarity to the reference area in the reference image.
  • the target image is considered to be in the target registration position.
  • the target registration position is only the locally optimal registration position, not the globally optimal registration position. In this way, it is not accurate to evaluate the accuracy of image registration by similarity.
  • the concept of confidence is introduced to comprehensively evaluate the accuracy of the target registration position of the target image.
  • the target confidence of the target registration position is determined according to the confidence evaluation factor, so as to evaluate the accuracy of image registration. Since the target confidence of the target registration position can reflect the accuracy of the actual registration between the target image and the reference image to a certain extent, compared with directly evaluating the accuracy of image registration by the similarity between the target image and the preset reference image, The target confidence level objectively evaluates the actual accuracy of the registration of the target image and the reference image from different angles. It allows users to know the accuracy of the image registration result, and to a certain extent avoids the problem of using the image registration result with low accuracy or even wrong for further image processing.
  • the confidence evaluation factor can be implemented in multiple ways, for example, it may be one or more of the similarity measure, the change speed of the similarity measure, the fluctuation degree of the similarity measure, etc., which will be described with examples below.
  • the similarity measure is an important factor reflecting the degree of image registration, it can reflect the accuracy of the image registration result to a certain extent. Therefore, the confidence evaluation factors including the similarity measure can evaluate the accuracy of image registration to a certain extent, and then allow users to understand the accuracy of image registration, and to a certain extent avoid the use of low accuracy or even wrong The image registration results are used for further image processing.
  • the similarity between the target image and the reference image may be evaluated by a similarity measure.
  • a similarity measure is a measure that comprehensively evaluates the degree of similarity between two things.
  • the similarity measure may have various forms, for example, mutual information, mean square error, kappa statistics, and the like.
  • step 202 may specifically include steps 2021A to 2022A:
  • Step 2021A Obtain a target similarity measure between the target image and the reference image at the target registration position.
  • acquiring the similarity measure between the target image and the reference image at the target registration position may include: calculating the similarity measure between the reference area and the target area at the target registration position, as The similarity measure of the target image and the reference image at the target registration position.
  • the value range of the similarity measure may be 0-1, or may be 0-100, and of course, it may also be set as required.
  • Step 2022A Determine the target confidence of the target registration position according to the target similarity measure.
  • step 2022A includes: determining the target confidence level according to the target similarity measure, the preset relationship between the similarity measure and the confidence level.
  • the similarity measure between the target image and the reference image is positively correlated with the similarity, that is, the smaller the similarity measure between the target image and the reference image, the smaller the similarity between the target image and the reference image, the smaller the similarity between the target image and the reference image, the greater the similarity between the target image and the reference image,
  • the target confidence and the similarity measure are positively correlated, that is, the smaller the similarity measure, the smaller the target confidence, and the greater the similarity measure. larger, the greater the target confidence.
  • step 2022A may specifically include step a1:
  • Step a1 Determine the similarity measure as the target confidence of the target registration position.
  • step 2022A may specifically include steps b1-b2:
  • Step b1 Process the similarity measure to obtain a processed similarity measure.
  • Step b2 Determine the processed similarity measure as the target confidence of the target registration position.
  • the processed similarity measure may be 1-k*
  • ) 0.8.
  • ) 0.82.
  • the similarity measure between the target image and the reference image is negatively correlated with the similarity, that is, the smaller the similarity measure between the target image and the reference image, the greater the similarity between the target image and the reference image, the greater the similarity between the target image and the reference image.
  • the greater the similarity measure with the reference image the smaller the similarity between the target image and the reference image; at this time, the target confidence and the similarity measure are negatively correlated, that is, the smaller the similarity measure, the greater the target confidence, and the greater the similarity measure. The larger the target confidence, the smaller the target confidence.
  • the similarity measure when the similarity measure is mutual information, the similarity measure is usually a negative value, and the smaller the similarity measure is, the greater the similarity is; when the similarity measure is the mean square error, the similarity measure is usually a positive value, The smaller the similarity measure, the greater the similarity. It can be seen that the similarity measure can be a positive value or a negative value, but the smaller the similarity measure, the greater the similarity.
  • step 2022A may specifically include steps c1-c2:
  • Step c1 Determine the similarity measure as the target confidence of the target registration position.
  • 0.9.
  • step 2022A may specifically include steps d1-d2:
  • Step d1 processing the similarity measure to obtain a processed similarity measure.
  • Step d2 determining the processed similarity measure as the target confidence of the target registration position.
  • the confidence evaluation factors include the degree of fluctuation of the similarity measure, so that the user can know the accuracy of the image registration, and to a certain extent, avoid using the image registration results with low accuracy or even wrong for further image processing. .
  • the similarity measure of the target registration position is the similarity measure of the target image and the reference image at the target registration position.
  • the similarity measure at other locations is the similarity measure between the target image and the reference image at other locations.
  • the other positions are the positions where the target image is located in addition to the target registration position during the image registration process.
  • step 202 may specifically include steps 2021B to 2024B:
  • Step 2021B Obtain the similarity measure of the ith registration iteration between the target image and the reference image.
  • the target image is located at the target registration position during the ith registration iteration, and i is an integer greater than 0.
  • the image registration process is essentially a process of continuously searching for similar regions in the target image. Each time a search is performed, that is, a position is moved, the similarity measure (between the target area and the reference area) is calculated once, and then the direction of the next move is determined according to this similarity measure and the similarity measures of all previous positions. This process is called a registration iteration.
  • the ith registration iteration is the process of searching and calculating the similarity measure for the ith in the process of image registration.
  • the similarity measure of the ith registration iteration is the similarity measure of the target image and the reference image at the ith registration iteration.
  • acquiring the similarity measure of the ith registration iteration between the target image and the reference image may specifically include: when the target image is located at the target registration position, calculating the similarity between the target area and the reference area metric as the similarity measure for the ith registration iteration.
  • Step 2022B Obtain the similarity measure of the target image and the reference image for N registration iterations before the ith registration iteration and/or after the ith registration iteration.
  • the similarity measure of the N registration iterations includes the similarity measure of the target image and the reference image at each registration and registration iteration in the N registration iterations.
  • Step 2022B includes the following three situations:
  • the acquiring the similarity measure of the target image and the reference image for N registration iterations before the i-th registration iteration may also specifically include: acquiring the target A similarity measure of the ith to ith registration iterations between the image and the reference image.
  • N is greater than i.
  • it may include: acquiring similarity metrics of the target image and the reference image from the ith+1th to the ith+Nth registration iteration.
  • acquiring similarity metrics of the target image and the reference image from the ith+1th to the ith+Nth registration iteration There are many ways to obtain the similarity measure between the target image and the reference image from the i+1th to the i+Nth registration iteration. The following examples illustrate:
  • acquiring the similarity measure of the registration iteration from the i+1th to the i+Nth registration iteration between the target image and the reference image may specifically include: Set the region to perform local search, that is, search for any N target regions in the preset region, and calculate the similarity measure between the target region and the reference region from the i+1th to the i+Nth registration iteration, as N The similarity measure of the second registration iteration; wherein, the preset area is an image area within a preset range in the target image, and the image area includes the target area searched in the ith registration iteration.
  • acquiring the similarity measure of the registration iteration from the i+1th to the i+Nth registration iteration between the target image and the reference image may specifically include: Set the region to perform a global search, that is, traverse the entire preset region, and calculate the similarity measure between the target region and the reference region from the i+1th to the i+Nth registration iteration, as the N registration iterations where the preset area is an image area within a preset range in the target image, and the image area includes the target area searched in the ith registration iteration.
  • the acquiring the similarity measure of the target image and the reference image for N registration iterations before the i-th registration iteration and after the i-th registration iteration may specifically be: Including steps e1 ⁇ e2:
  • Step e1 Obtain the similarity measure of the registration iteration from the i-n1th to the i-1th registration iteration between the target image and the reference image.
  • n1 is an integer less than or equal to i.
  • Step e2 Obtain the similarity measure of the registration iteration from the i+1th to the i+n2th registration iteration between the target image and the reference image.
  • n2 is an integer greater than 0, and the sum of n1 and n2 is N.
  • acquiring the similarity metric of the registration iteration from the i+1th to the i+n2th registration iteration between the target image and the reference image may specifically include: performing on a preset area in the target image Local search, that is, search for any N target areas in the preset area, and calculate the similarity measure between the target area and the reference area from the i+1th to i+n2th registration iterations respectively, and obtain n2 registration iterations where the preset area is an image area within a preset range in the target image, and the image area includes the target area searched in the ith registration iteration.
  • acquiring the similarity metric of the registration iteration from the i+1th to the i+n2th registration iteration between the target image and the reference image may specifically include: performing on a preset area in the target image From the i+1th to i+n2th registration iterations, and calculate the similarity measure of the target area and the reference area from the i+1th to i+n2th registration iterations respectively, and obtain the n2 registration iterations. similarity measure; wherein, the preset area is an image area within a preset range in the target image, and the image area includes the target area searched for in the ith registration iteration.
  • the acquiring the similarity measure of the target image and the reference image for N registration iterations before the i-th registration iteration and after the i-th registration iteration may specifically be: Including steps f1 ⁇ f2:
  • Step f1 obtain the similarity measure of any n1 iterations before the ith registration iteration between the target image and the reference image.
  • n1 is an integer less than or equal to i.
  • Step f2 Obtain the similarity measure of the registration iteration from the i+1th to the i+n2th registration iteration between the target image and the reference image.
  • Step b2 is similar to the above-mentioned step a2.
  • Step b2 is similar to the above-mentioned step a2.
  • Step 2023B Determine the degree of fluctuation of N+1 similarity measures according to the similarity measure of the ith registration iteration and the similarity measure of the N registration iterations.
  • N+1 similarity measures for example, the variance of N+1 similarity measures, the standard deviation of N+1 similarity measures, N+1 Range of similarity measures, interquartile range of N+1 similarity measures, mean difference of N+1 similarity measures, or coefficient of variation of N+1 similarity measures as N+1 similarity
  • the degree of volatility of the measure for example, the variance of N+1 similarity measures, the standard deviation of N+1 similarity measures, N+1 Range of similarity measures, interquartile range of N+1 similarity measures, mean difference of N+1 similarity measures, or coefficient of variation of N+1 similarity measures as N+1 similarity
  • Variance It is one of the most commonly used measures to measure the degree of data fluctuation.
  • the variance is the average of the squared values of the difference between each sample value and the average of the overall sample values.
  • the similarity measures of the target image and the reference image from the 1st to 9th registration iterations are: 0.5, 0.6, 0.5, 0.7, 0.6, 0.9, 0.8, 0.1, 0, respectively.
  • the similarity measure of the sixth registration iteration the similarity measure of the two registration iterations before the sixth registration iteration, and the The similarity measure of the 2 registration iterations after the 6 registration iterations, the 5 similarity measures obtained from the 4th to the 8th registration iteration are respectively: 0.7, 0.6, 0.9, 0.8, 0.1.
  • Standard deviation It is also one of the most commonly used measures to measure the degree of data fluctuation. The standard deviation is obtained by taking the square root of the variance.
  • Extreme difference also called full distance, refers to the difference between the maximum value and the minimum value in the data set, which can reflect the discrete situation of the data set to a certain extent.
  • Average difference It is one of the values that indicates the degree of difference between the values of each variable, which can reflect the degree of fluctuation of a set of data to a certain extent.
  • the mean difference is the arithmetic mean of the absolute value of the deviation of all units in the population from its arithmetic mean.
  • Coefficient of variation It is used to measure the degree of fluctuation of categorical data, and to measure the degree of representation of the mode to a set of data.
  • the coefficient of variation is the ratio of the standard deviation of the raw data to the mean of the raw data.
  • Step 2024B Determine the target confidence level of the target registration position according to the fluctuation degree of the N+1 similarity measures.
  • the target confidence is positively correlated with the fluctuation degree of N+1 similarity measures.
  • Determining the target confidence level of the target registration position according to the fluctuation degree of the N+1 similarity measures may specifically include: according to a preset relationship between the fluctuation degree and the confidence degree, and N+1 similarity measures The degree of fluctuation of the target is determined to determine the target confidence of the target registration position.
  • the preset relationship between the fluctuation degree and the confidence level may be represented by a preset relationship mapping table.
  • a preset relationship mapping table there is a relationship between the degree of fluctuation and the degree of confidence as shown in Table 1 below. If the degree of fluctuation of the N+1 similarity measures is below 0.005, the target confidence degree can be determined to be 0; If the degree of fluctuation is above 0.05, the confidence level of the target can be determined to be 1.
  • the preset relationship between the fluctuation degree and the confidence level may be represented by a preset functional relationship.
  • y represents the confidence
  • x represents the degree of volatility. If the fluctuation degree of N+1 similarity measures is 0.01, the target confidence level can be determined to be 0.2.
  • the degree of change between the similarity measure of the target registration position and the similarity measure of other positions can reflect the registration accuracy of the target registration position to a certain extent.
  • the degree of data fluctuation can reflect the degree of change in the data, and the target is determined by the degree of fluctuation between N+1 similarity measures (including the similarity measures of N other positions and the similarity measure of the target registration position).
  • the confidence of the registration position is used to evaluate the accuracy of image registration at the target registration position, which can avoid relying on a single similarity measure as the measurement standard of image registration, thereby improving the accuracy of image registration results to a certain extent. Accuracy.
  • the degree of fluctuation of the value (that is, the intensity of the change) is proportional to the amplitude of the fluctuation and inversely proportional to the length of the amplitude change
  • the fluctuation amplitude and the time of the amplitude change are divided, which is the speed of change in the physical sense.
  • the rate of change of the value is still proportional to the degree of fluctuation. Therefore, the speed of change between the similarity measure of the target registration position and the similarity measure of other positions can reflect the degree of change between the similarity measure of the target registration position and the similarity measure of other positions to a certain extent , which can reflect the registration accuracy of the target registration position to a certain extent.
  • step 202 may specifically include steps 2021C to 2024C:
  • Step 2021C is similar to the above-mentioned step 2021B.
  • Step 2022C is similar to the above step 2022B. For details, reference may be made to the description and examples of the above step 2022B, which will not be repeated here.
  • determining the change speed of N+1 similarity measures according to the similarity measure of the ith registration iteration and the similarity measure of the N registration iterations may specifically include: according to the The similarity measure of the i-th registration iteration and the similarity measure of the N registration iterations are constructed, and the change curves of N+1 similarity measures are constructed; each piecewise derivative of the change curve is obtained; The sum of the absolute values of the respective piecewise derivatives is taken as the rate of change of the N+1 similarity measures.
  • the degree of curve fluctuation is proportional to the amplitude of the fluctuation and inversely proportional to the duration of the amplitude change
  • the division of the fluctuation amplitude and the time of the amplitude change is the slope in a physical sense. Therefore, the slope of the curve formed between the N+1 similarity measures can be used to reflect the change speed of the N+1 similarity measures.
  • a plurality of observation points are extracted from the change curves of the N+1 similarity measures, and the interval between two adjacent observation points is taken as a point. segments; compute the slope of each segment to determine the rate of change of the N+1 similarity measures.
  • the piecewise derivative refers to the slope between two adjacent observation points in the change curve of N+1 similarity measures.
  • the following takes N+1 similarity measures obtained from the i-n1th to i+n2th registration iterations between the target image and the reference image, and the similarity measure of each registration iteration as an observation point, to introduce how to Calculate the rate of change of N+1 similarity measures.
  • the target image is at the target registration position in the sixth registration iteration, take the similarity measure of the sixth registration iteration, the similarity measure of the two registration iterations before the sixth registration iteration, and the sixth registration iteration
  • the similarity measures of the 2 registration iterations after the first registration iteration, the 5 similarity measures of the 4th to 8th registration iterations are obtained: 0.7, 0.6, 0.9, 0.8, 0.1.
  • the change curve of the similarity measure of points P4 to P8 as shown in Figure 4 can be constructed.
  • P4, P5, P6, P7, and P8 represent the similarity measures of the 4th, 5th, 6th, 7th, and 8th registration iterations, respectively.
  • the piecewise derivative is the slope between the point where the similarity measure of the xth registration iteration is located and the point where the similarity measure of the x+1th registration iteration is located in the change curve of the similarity measure.
  • 4 ⁇ x ⁇ 7 That is, there is a segment between P4 and P5, between P5 and P6, and between P7 and P8.
  • the target confidence is positively correlated with the rate of change of N+1 similarity measures.
  • determining the target confidence of the target registration position according to the change speed of the N+1 similarity measures may specifically include: according to a preset relationship between the change speed and the confidence, and N +1 rate of change of similarity measure to determine target confidence for target registration location.
  • the preset relationship between the change speed and the confidence level may be represented by a preset relationship mapping table. Exemplarily, there is a relationship between the change speed and the confidence level as shown in Table 2 below. If the change speed of the N+1 similarity measures is 1.1, the target confidence level can be determined to be 0.1; if the change of the N+1 similarity measures If the speed is 1.3, the target confidence can be determined to be 0.3.
  • the preset relationship between the change speed and the confidence level may be represented by a preset functional relationship.
  • y is the confidence level and x is the rate of change. If the rate of change of the N+1 similarity measures is 1.1, the target confidence level can be determined to be 0.11.
  • the degree of change between the similarity measure of the target registration position and the similarity measure of other positions can reflect the registration accuracy of the target registration position to a certain extent.
  • the speed of data change can reflect the severity of the data change, and the target is determined according to the speed of change between N+1 similarity measures (including the similarity measures of N other positions and the similarity measure of the target registration position).
  • the confidence of the registration position is used to evaluate the accuracy of image registration at the target registration position, which can avoid relying on a single similarity measure as the measurement standard of image registration, thereby improving the accuracy of image registration results to a certain extent. Accuracy.
  • the target confidence determined when the confidence evaluation factor is the similarity measure the target confidence determined when the confidence evaluation factor is the fluctuation degree of the similarity measure
  • the confidence evaluation factor is the addition of two or three of the target confidences determined when the similarity measure changes speed according to a certain weight ratio, as the target confidence of the final target registration position.
  • the target confidence when the confidence evaluation factor is the similarity measure, the target confidence is 0.9; when the confidence evaluation factor is the fluctuation degree of the similarity measure, the target confidence is 0.8; the confidence evaluation factor is the change speed of the similarity measure.
  • h1, h2, h3 respectively represent the target confidence determined when the above confidence evaluation factor is the similarity measure
  • the confidence evaluation factor is the target confidence determined when the confidence evaluation factor is the fluctuation degree of the similarity measure
  • the confidence evaluation factor is the similarity
  • the target confidence is determined when the metric changes speed
  • h represents the target confidence of the final target registration position.
  • 0.4, 0.3, and 0.3 are the weight coefficients of h1, h2, and h3, respectively.
  • the weight coefficients of h1, h2, and h3 can be adjusted according to the actual situation and needs. This is just an example, not a limitation.
  • the image registration result in order to improve the referability of the image registration result, when the similarity between the target image and the preset reference image satisfies the preset registration conditions, that is, when the target registration position is located, The image registration result is output only if the target confidence at the registration position in front of the target is high. If the target confidence of the target registration position is low, the image registration result is not output. In order to avoid users adopting lower accuracy or even wrong image registration results for further image processing.
  • step 202 it may further include: detecting whether the target confidence is greater than or equal to a preset confidence threshold; when it is detected that the target confidence is greater than or equal to the preset confidence When the degree threshold is reached, the image registration result is displayed, and the image registration result includes the target registration position of the target image and/or the registered target image and the reference image.
  • the target confidence level ranges from 0% to 100%. The higher the confidence level, the higher the accuracy of the image registration result.
  • a preset confidence threshold such as 50%, it is considered to be registered. The amount of information in the image data is insufficient, and the image registration result is not displayed.
  • the target confidence is greater than or equal to 50%, the image registration result is displayed, for example, the target registration position of the target image and/or the registered target image and the reference image are displayed.
  • the preset reliability threshold may be set according to actual requirements, which is not limited here.
  • the step of "outputting prompt information indicating that the image registration accuracy of the target image and the reference image is low" further includes: acquiring a display instruction requesting to display the image registration result; displaying the target image Image registration result with the reference image.
  • the image registration result of the target image and the reference image is displayed, and the target confidence level of the target registration position is displayed. So that the user can know the accuracy of the displayed image registration result, and determine whether to use the displayed image registration result for further image processing according to actual needs. That is, in some embodiments of the present application, after step 202, it may further include: displaying an image registration result between the target image and the reference image, and displaying the target confidence.
  • an image registration evaluation device is also provided in the embodiment of the present application, as shown in FIG.
  • Evaluation device 500 includes:
  • the obtaining unit 501 is configured to obtain a target registration position of a target image, wherein the target registration position refers to when the similarity between the target image and a preset reference image satisfies a preset registration condition during the registration process s position;
  • the evaluation unit 502 is configured to determine the target confidence of the target registration position according to the confidence evaluation factor, so as to evaluate the accuracy of the image registration, wherein the confidence evaluation factor is a number of factors for evaluating the accuracy of the image registration. a factor.
  • the evaluation unit 502 is specifically configured to:
  • the target confidence level of the target registration position is determined to evaluate the accuracy of image registration.
  • the evaluation unit 502 is specifically configured to:
  • the target confidence level of the target registration position is determined according to the fluctuation degree of the N+1 similarity measures.
  • the evaluation unit 502 is specifically configured to:
  • the evaluation unit 502 is specifically configured to:
  • the evaluation unit 502 is specifically configured to:
  • n1 is an integer less than or equal to the i
  • the evaluation unit 502 is specifically configured to:
  • the degree of volatility of the N+1 similarity measures is determined by any of the following methods: variance of the N+1 similarity measures, standard deviation of the N+1 similarity measures, the N+1 similarity measures The range of the measure, the interquartile range of the N+1 similarity measures, the mean difference of the N+1 similarity measures, or the coefficient of variation of the N+1 similarity measures.
  • the evaluation unit 502 is specifically configured to:
  • the target confidence level of the target registration position is determined according to the change speed of the N+1 similarity measures.
  • the evaluation unit 502 is specifically configured to:
  • the image registration evaluation apparatus 500 further includes a display unit (not shown in the figure), and in the step of determining the target confidence of the target registration position according to the confidence evaluation factor After that, the display unit is specifically used for:
  • an image registration result is displayed, and the image registration result includes the target registration position of the target image and/or all registered positions of the target image. the target image and the reference image.
  • the image registration evaluation apparatus 500 further includes a prompt unit (not shown in the figure), and the display prompt is specifically used for:
  • the display unit after the step of outputting prompt information indicating that the image registration accuracy of the target image and the reference image is low, the display unit is specifically configured to:
  • An image registration result of the target image and the reference image is displayed.
  • the display unit is specifically configured to:
  • the image registration result of the target image and the reference image is displayed, and the target confidence is displayed.
  • the above units can be implemented as independent entities, or can be arbitrarily combined to be implemented as the same or several entities.
  • the specific implementation of the above units can refer to the previous method embodiments, which will not be repeated here.
  • the image registration evaluation device can perform the steps in the image registration evaluation method in any embodiment of the present application, it can achieve the beneficial effects that can be achieved by the image registration evaluation method in any embodiment of the present application. description, which is not repeated here.
  • the embodiment of the present application further provides an electronic device that integrates any of the methods provided in the embodiment of the present application.
  • the electronic equipment comprises:
  • processors one or more processors
  • the embodiments of the present application further provide an electronic device that integrates any of the image registration evaluation methods provided by the embodiments of the present application.
  • FIG. 6 shows a schematic structural diagram of an electronic device involved in an embodiment of the present application, specifically:
  • the electronic device may include a processor 601 of one or more processing cores, a memory 602 of one or more computer-readable storage media, a power supply 603 and an input unit 604 and other components.
  • a processor 601 of one or more processing cores may include a processor 601 of one or more processing cores, a memory 602 of one or more computer-readable storage media, a power supply 603 and an input unit 604 and other components.
  • FIG. 6 does not constitute a limitation on the electronic device, and may include more or less components than the one shown, or combine some components, or arrange different components. in:
  • the processor 601 is the control center of the electronic device, uses various interfaces and lines to connect various parts of the entire electronic device, runs or executes the software programs and/or modules stored in the memory 602, and invokes the software programs stored in the memory 602. Data, perform various functions of electronic equipment and process data, so as to conduct overall monitoring of electronic equipment.
  • the processor 601 may include one or more processing cores; preferably, the processor 601 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, etc. , the modem processor mainly deals with wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into the processor 601.
  • the memory 602 can be used to store software programs and modules, and the processor 601 executes various functional applications and data processing by running the software programs and modules stored in the memory 602 .
  • the memory 602 may mainly include a stored program area and a stored data area, wherein the stored program area may store an operating system, an application program (such as a sound playback function, an image playback function, etc.) required for at least one function, and the like; Data created by the use of electronic equipment, etc.
  • memory 602 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, memory 602 may also include a memory controller to provide processor 601 access to memory 602 .
  • the electronic device also includes a power supply 603 for supplying power to various components.
  • the power supply 603 can be logically connected to the processor 601 through a power management system, so as to manage charging, discharging, and power consumption management functions through the power management system.
  • Power source 603 may also include one or more DC or AC power sources, recharging systems, power failure detection circuits, power converters or inverters, power status indicators, and any other components.
  • the electronic device may also include an input unit 604 that may be used to receive input numerical or character information and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.
  • an input unit 604 may be used to receive input numerical or character information and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.
  • the electronic device may further include a display unit and the like, which will not be described here.
  • the processor 601 in the electronic device loads the executable files corresponding to the processes of one or more application programs into the memory 602 according to the following instructions, and the processor 601 executes the execution and stores the executable files in the memory 602 .
  • the target registration position refers to the position when the similarity between the target image and a preset reference image satisfies a preset registration condition during the registration process
  • the target confidence of the target registration position is determined according to a confidence evaluation factor to evaluate the accuracy of image registration, wherein the confidence evaluation factor is a plurality of factors for evaluating the accuracy of image registration.
  • an embodiment of the present application provides a computer-readable storage medium, and the storage medium may include: a read-only memory (ROM, Read Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk or an optical disk, etc. .
  • a computer program is stored thereon, and the computer program is loaded by the processor to execute the steps in any of the image registration evaluation methods provided in the embodiments of the present application.
  • the computer program being loaded by the processor may perform the following steps:
  • the target registration position refers to the position when the similarity between the target image and a preset reference image satisfies a preset registration condition during the registration process
  • the target confidence of the target registration position is determined according to a confidence evaluation factor to evaluate the accuracy of image registration, wherein the confidence evaluation factor is a plurality of factors for evaluating the accuracy of image registration.
  • the above units or structures can be implemented as independent entities, or can be arbitrarily combined to be implemented as the same or several entities.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Image Analysis (AREA)

Abstract

Disclosed are an image registration evaluation method and apparatus, and an electronic device and a computer-readable storage medium. The image registration evaluation method comprises: acquiring a target registration position of a target image, wherein the target registration position refers to a position when the similarity between the target image and a preset reference image meets a preset registration condition during a registration process; and according to confidence level evaluation factors, determining a target confidence level of the target registration position, so as to evaluate the accuracy of image registration, wherein the confidence level evaluation factors are a plurality of factors for evaluating the accuracy of image registration. In the embodiments of the present application, a target confidence level of a target registration position can reflect the accuracy of the actual registration of a target image and a reference image, so that an image registration result with a low accuracy and even an incorrect image registration result can be prevented from being displayed, or a user can know the accuracy of an image registration result, thereby avoiding, to a certain extent, the problem of using an image registration result with a low accuracy and even an incorrect image registration result to perform further image processing.

Description

图像配准评估方法、装置、电子设备及可读存储介质Image registration evaluation method, device, electronic device and readable storage medium 技术领域technical field
本申请涉及医疗技术领域,具体涉及一种图像配准评估方法、装置、电子设备及计算机可读存储介质。The present application relates to the field of medical technology, and in particular, to an image registration evaluation method, apparatus, electronic device, and computer-readable storage medium.
背景技术Background technique
医学影像配准技术是医学影像处理的基础,在图像信息融合、辅助诊断、手术规划以及医学基础理论研究等领域发挥着十分重要的作用。Medical image registration technology is the basis of medical image processing, and plays a very important role in the fields of image information fusion, auxiliary diagnosis, surgical planning, and basic medical theory research.
通常,图像配准是将两幅图像进行空间匹配的过程,若要将图像A配准到图像B,则是将B作为参考图像,A作为浮动图像,通过不断移动浮动图像A与参考图像B进行配准,在浮动图像A与参考图像B的相似度最大时,输出图像配准结果,该配准结果可以包括图像A配准到图像B的变形场。Generally, image registration is the process of spatially matching two images. To register image A to image B, use B as a reference image and A as a floating image. By continuously moving floating image A and reference image B The registration is performed, and when the similarity between the floating image A and the reference image B is the largest, an image registration result is output, and the registration result may include the deformation field of the image A registered to the image B.
相关技术中,无论图像配准结果的准确度程度,均输出给用户。然而,用户并不清楚该图像配准结果是否足够准确,会采用准确度较低甚至是错误的图像配准结果(即准确度非常低的图像配准结果)作进一步的影像处理,如医学影像处理。In the related art, regardless of the degree of accuracy of the image registration result, it is output to the user. However, the user does not know whether the image registration result is accurate enough, and will use the image registration result with low accuracy or even wrong (that is, the image registration result with very low accuracy) for further image processing, such as medical imaging deal with.
技术问题technical problem
由上可知,相关技术中用户无法衡量图像配准结果的准确度,容易采用准确度较低甚至是错误的图像配准结果作进一步的影像处理。As can be seen from the above, in the related art, the user cannot measure the accuracy of the image registration result, and it is easy to use the image registration result with low accuracy or even wrong for further image processing.
技术解决方案technical solutions
本申请提供一种图像配准评估方法、装置、电子设备及计算机可读存储介质,节省了图像配准评估的时间,提高了图像配准评估的效率。The present application provides an image registration evaluation method, device, electronic device and computer-readable storage medium, which saves time for image registration evaluation and improves the efficiency of image registration evaluation.
一方面,本申请提供一种图像配准评估方法,所述图像配准评估方法包括:On the one hand, the present application provides an image registration evaluation method, the image registration evaluation method includes:
获取目标图像的目标配准位置,其中,所述目标配准位置是指在配准过程中所述目标图像与预设的参考图像的相似度满足预设配准条件时的位置;Obtaining a target registration position of the target image, wherein the target registration position refers to the position when the similarity between the target image and a preset reference image satisfies a preset registration condition during the registration process;
根据置信度评价因素,确定所述目标配准位置的目标置信度,以评估图像配准的准确度,其中,所述置信度评价因素为评估图像配准准确度的多个因素。The target confidence of the target registration position is determined according to a confidence evaluation factor to evaluate the accuracy of image registration, wherein the confidence evaluation factor is a plurality of factors for evaluating the accuracy of image registration.
在本申请一些实施方式中,所述置信度评价因素包括相似性度量的绝对值、相似性度量的变化速度、相似性度量的波动程度中的至少一者。In some embodiments of the present application, the confidence evaluation factor includes at least one of an absolute value of the similarity measure, a change speed of the similarity measure, and a degree of fluctuation of the similarity measure.
在本申请一些实施方式中,所述置信度评价因素包括相似性度量的波动程度的情况下,所述根据置信度评价因素,确定所述目标配准位置的目标置信度,包括:In some embodiments of the present application, when the confidence evaluation factor includes the degree of fluctuation of the similarity measure, the determining the target confidence of the target registration position according to the confidence evaluation factor includes:
获取所述目标图像与所述参考图像第i次配准迭代的相似性度量,其中,所述第i次配准迭代时所述目标图像位于所述目标配准位置,所述i为大于0的整数;Obtain the similarity measure of the ith registration iteration between the target image and the reference image, wherein the target image is located at the target registration position during the ith registration iteration, and the i is greater than 0 the integer;
获取所述目标图像与所述参考图像所述第i次配准迭代之前和/或所述第i次配准迭代之后的N次配准迭代的相似性度量,其中,所述N为大于0的整数;Obtain the similarity measure of the target image and the reference image for N registration iterations before the ith registration iteration and/or after the ith registration iteration, where N is greater than 0 the integer;
根据所述第i次配准迭代的相似性度量和所述N次配准迭代的相似性度量,确定N+1个相似性度量的波动程度;According to the similarity measure of the ith registration iteration and the similarity measure of the N registration iterations, determine the degree of fluctuation of N+1 similarity measures;
根据所述N+1个相似性度量的波动程度确定所述目标配准位置的目标置信度。The target confidence level of the target registration position is determined according to the fluctuation degree of the N+1 similarity measures.
在本申请一些实施方式中,所述获取所述目标图像与所述参考图像所述第i次配准迭代之前N次配准迭代的相似性度量,包括:In some embodiments of the present application, the obtaining the similarity measure of the target image and the reference image for N registration iterations before the i-th registration iteration includes:
获取所述目标图像与所述参考图像的第i-N次到第i-1次配准迭代的相似性度量,所述N小于等于所述i。Obtain the similarity measure between the target image and the reference image from the i-Nth to the i-1th registration iteration, where N is less than or equal to the i.
在本申请一些实施方式中,,所述获取所述目标图像与所述参考图像所述第i次配准迭代之后N次配准迭代的相似性度量,包括:In some embodiments of the present application, the acquiring the similarity measure of the target image and the reference image for N registration iterations after the ith registration iteration includes:
获取所述目标图像与所述参考图像的第i+1次到第i+N次配准迭代的相似性度量,所述N大于所述i。Obtain the similarity measure of the registration iteration from the i+1th to the i+Nth registration iteration between the target image and the reference image, where N is greater than the i.
在本申请一些实施方式中,所述获取所述目标图像与所述参考图像所述第i次配准迭代之前和所述第i次配准迭代之后的N次配准迭代的相似性度量,包括:In some embodiments of the present application, the acquiring the similarity measure of the target image and the reference image for N registration iterations before the ith registration iteration and after the ith registration iteration, include:
获取所述目标图像与所述参考图像的第i-n1次到第i-1次配准迭代的相似 性度量,所述n1为小于等于所述i的整数;Obtain the similarity measure of the i-n1th to the i-1th registration iteration of the target image and the reference image, and the n1 is an integer less than or equal to the i;
获取所述目标图像与所述参考图像的第i+1次到第i+n2次配准迭代的相似性度量,所述n2为大于0的整数,且所述n1和所述n2的和为所述N。Obtain the similarity measure of the registration iteration from the i+1th to the i+n2th time between the target image and the reference image, where the n2 is an integer greater than 0, and the sum of the n1 and the n2 is the N.
在本申请一些实施方式中,通过以下任一方式确定N+1个相似性度量的波动程度:所述N+1个相似性度量的方差、所述N+1个相似性度量的标准差、所述N+1个相似性度量的极差、所述N+1个相似性度量的四分位差、所述N+1个相似性度量的平均差或所述N+1个相似性度量的变异系数。In some embodiments of the present application, the degree of fluctuation of the N+1 similarity measures is determined by any one of the following methods: the variance of the N+1 similarity measures, the standard deviation of the N+1 similarity measures, The range of the N+1 similarity measures, the interquartile difference of the N+1 similarity measures, the average difference of the N+1 similarity measures, or the N+1 similarity measures coefficient of variation.
在本申请一些实施方式中,所述置信度评价因素包括相似性度量的变化速度的情况下,所述根据置信度评价因素,确定所述目标配准位置的目标置信度,包括:In some embodiments of the present application, in the case that the confidence evaluation factor includes the change speed of the similarity measure, the determining the target confidence of the target registration position according to the confidence evaluation factor includes:
获取所述目标图像与所述参考图像第i次配准迭代的相似性度量,其中,所述第i次配准迭代时所述目标图像位于所述目标配准位置,所述i为大于0的整数;Obtain the similarity measure of the ith registration iteration between the target image and the reference image, wherein the target image is located at the target registration position during the ith registration iteration, and the i is greater than 0 the integer;
获取所述目标图像与所述参考图像所述第i次配准迭代之前和/或所述第i次配准迭代之后的N次配准迭代的相似性度量,其中,所述N为大于0的整数;Obtain the similarity measure of the target image and the reference image for N registration iterations before the ith registration iteration and/or after the ith registration iteration, where N is greater than 0 the integer;
根据所述第i次配准迭代的相似性度量和所述N次配准迭代的相似性度量,确定N+1个相似性度量的变化速度;According to the similarity measure of the ith registration iteration and the similarity measure of the N registration iterations, determine the change speed of N+1 similarity measures;
根据所述N+1个相似性度量的变化速度确定所述目标配准位置的目标置信度。The target confidence level of the target registration position is determined according to the change speed of the N+1 similarity measures.
在本申请一些实施方式中,所述根据所述第i次配准迭代的相似性度量和所述N次配准迭代的相似性度量,确定N+1个相似性度量的变化速度,包括:In some embodiments of the present application, determining the change speed of N+1 similarity measures according to the similarity measure of the ith registration iteration and the similarity measure of the N registration iterations includes:
根据所述第i次配准迭代的相似性度量和所述N次配准迭代的相似性度量,构建N+1个相似性度量的变化曲线;According to the similarity measure of the ith registration iteration and the similarity measure of the N registration iterations, constructing change curves of N+1 similarity measures;
获取所述变化曲线的各个分段导数;obtaining each piecewise derivative of the variation curve;
获取所述各个分段导数的绝对值之和,以作为所述N+1个相似性度量的变化速度。The sum of the absolute values of the respective piecewise derivatives is obtained as the rate of change of the N+1 similarity measures.
在本申请一些实施方式中,所述根据置信度评价因素,确定所述目标配准位置的目标置信度,之后还包括:In some embodiments of the present application, the determining the target confidence of the target registration position according to the confidence evaluation factor further includes:
检测所述目标置信度是否大于或等于预设置信度阈值;Detecting whether the target confidence is greater than or equal to a preset reliability threshold;
当检测到所述目标置信度大于或等于所述预设置信度阈值时,显示图像配准结果,所述图像配准结果包括所述目标图像的目标配准位置和/或配准后的所述目标图像和所述参考图像。When it is detected that the confidence of the target is greater than or equal to the preset confidence threshold, an image registration result is displayed, and the image registration result includes the target registration position of the target image and/or all registered positions of the target image. the target image and the reference image.
在本申请一些实施方式中,还包括:In some embodiments of the present application, it also includes:
当检测到所述目标置信度小于所述预设置信度阈值时,输出指示所述目标图像与所述参考图像的图像配准准确度低的提示信息。When it is detected that the target confidence is less than the preset confidence threshold, prompt information indicating that the image registration accuracy of the target image and the reference image is low is output.
在本申请一些实施方式中,所述输出指示所述目标图像与所述参考图像的图像配准准确度低的提示信息,之后还包括:In some embodiments of the present application, the outputting prompt information indicating that the image registration accuracy of the target image and the reference image is low, and further includes:
获取请求显示图像配准结果的显示指令;Obtain the display instruction requesting to display the image registration result;
显示所述目标图像与所述参考图像的图像配准结果。An image registration result of the target image and the reference image is displayed.
在本申请一些实施方式中,所述根据置信度评价因素,确定所述目标配准位置的目标置信度,之后还包括:In some embodiments of the present application, the determining the target confidence of the target registration position according to the confidence evaluation factor further includes:
显示所述目标图像与所述参考图像的图像配准结果,并显示所述目标置信度。The image registration result of the target image and the reference image is displayed, and the target confidence is displayed.
另一方面,本申请还提供一种图像配准评估装置,所述图像配准评估装置包括:On the other hand, the present application also provides an image registration evaluation device, the image registration evaluation device includes:
获取单元,用于获取目标图像的目标配准位置,其中,所述目标配准位置是指在配准过程中所述目标图像与预设的参考图像的相似度满足预设配准条件时的位置;The acquiring unit is configured to acquire the target registration position of the target image, wherein the target registration position refers to the time when the similarity between the target image and the preset reference image satisfies the preset registration condition during the registration process. Location;
评估单元,用于根据置信度评价因素,确定所述目标配准位置的目标置信度,以评估图像配准的准确度,其中,所述置信度评价因素为评估图像配准准确度的多个因素。The evaluation unit is configured to determine the target confidence of the target registration position according to the confidence evaluation factor, so as to evaluate the accuracy of the image registration, wherein the confidence evaluation factor is a plurality of factors for evaluating the accuracy of the image registration. factor.
在本申请一些实施方式中,所述评估单元具体用于:In some embodiments of the present application, the evaluation unit is specifically used for:
根据相似性度量的绝对值、相似性度量的变化速度、相似性度量的波动程度中的至少一者,确定所述目标配准位置的目标置信度,以评估图像配准的准确度。According to at least one of the absolute value of the similarity measure, the change speed of the similarity measure, and the fluctuation degree of the similarity measure, the target confidence level of the target registration position is determined to evaluate the accuracy of image registration.
在本申请一些实施方式中,所述评估单元具体用于:In some embodiments of the present application, the evaluation unit is specifically used for:
获取所述目标图像与所述参考图像第i次配准迭代的相似性度量,其中,所述第i次配准迭代时所述目标图像位于所述目标配准位置,所述i为大于0的整数;Obtain the similarity measure of the ith registration iteration between the target image and the reference image, wherein the target image is located at the target registration position during the ith registration iteration, and the i is greater than 0 the integer;
获取所述目标图像与所述参考图像所述第i次配准迭代之前和/或所述第i次配准迭代之后的N次配准迭代的相似性度量,其中,所述N为大于0的整数;Obtain the similarity measure of the target image and the reference image for N registration iterations before the ith registration iteration and/or after the ith registration iteration, where N is greater than 0 the integer;
根据所述第i次配准迭代的相似性度量和所述N次配准迭代的相似性度量,确定N+1个相似性度量的波动程度;According to the similarity measure of the ith registration iteration and the similarity measure of the N registration iterations, determine the degree of fluctuation of N+1 similarity measures;
根据所述N+1个相似性度量的波动程度确定所述目标配准位置的目标置信度。The target confidence level of the target registration position is determined according to the fluctuation degree of the N+1 similarity measures.
在本申请一些实施方式中,所述评估单元具体用于:In some embodiments of the present application, the evaluation unit is specifically used for:
获取所述目标图像与所述参考图像的第i-N次到第i-1次配准迭代的相似性度量,所述N小于等于所述i。Obtain the similarity measure between the target image and the reference image from the i-Nth to the i-1th registration iteration, where N is less than or equal to the i.
在本申请一些实施方式中,所述评估单元具体用于:In some embodiments of the present application, the evaluation unit is specifically used for:
获取所述目标图像与所述参考图像的第i+1次到第i+N次配准迭代的相似性度量,所述N大于所述i。Obtain the similarity measure of the registration iteration from the i+1th to the i+Nth registration iteration between the target image and the reference image, where N is greater than the i.
在本申请一些实施方式中,所述评估单元具体用于:In some embodiments of the present application, the evaluation unit is specifically used for:
获取所述目标图像与所述参考图像的第i-n1次到第i-1次配准迭代的相似性度量,所述n1为小于等于所述i的整数;obtaining the similarity measure of the registration iteration from the i-n1th to the i-1th registration iteration between the target image and the reference image, where n1 is an integer less than or equal to the i;
获取所述目标图像与所述参考图像的第i+1次到第i+n2次配准迭代的相似性度量,所述n2为大于0的整数,且所述n1和所述n2的和为所述N。Obtain the similarity measure of the registration iteration from the i+1th to the i+n2th time between the target image and the reference image, where the n2 is an integer greater than 0, and the sum of the n1 and the n2 is the N.
在本申请一些实施方式中,所述评估单元具体用于:In some embodiments of the present application, the evaluation unit is specifically used for:
通过以下任一方式确定N+1个相似性度量的波动程度:所述N+1个相似性度量的方差、所述N+1个相似性度量的标准差、所述N+1个相似性度量的极差、所述N+1个相似性度量的四分位差、所述N+1个相似性度量的平均差或所述N+1个相似性度量的变异系数。The degree of volatility of the N+1 similarity measures is determined by any of the following methods: variance of the N+1 similarity measures, standard deviation of the N+1 similarity measures, the N+1 similarity measures The range of the measure, the interquartile range of the N+1 similarity measures, the mean difference of the N+1 similarity measures, or the coefficient of variation of the N+1 similarity measures.
在本申请一些实施方式中,所述评估单元具体用于:In some embodiments of the present application, the evaluation unit is specifically used for:
获取所述目标图像与所述参考图像第i次配准迭代的相似性度量,其中,所述第i次配准迭代时所述目标图像位于所述目标配准位置,所述i为大于0的整数;Obtain the similarity measure of the ith registration iteration between the target image and the reference image, wherein the target image is located at the target registration position during the ith registration iteration, and the i is greater than 0 the integer;
获取所述目标图像与所述参考图像所述第i次配准迭代之前和/或所述第i次配准迭代之后的N次配准迭代的相似性度量,其中,所述N为大于0的整数;Obtain the similarity measure of the target image and the reference image for N registration iterations before the ith registration iteration and/or after the ith registration iteration, where N is greater than 0 the integer;
根据所述第i次配准迭代的相似性度量和所述N次配准迭代的相似性度量,确定N+1个相似性度量的变化速度;According to the similarity measure of the ith registration iteration and the similarity measure of the N registration iterations, determine the change speed of N+1 similarity measures;
根据所述N+1个相似性度量的变化速度确定所述目标配准位置的目标置信度。The target confidence level of the target registration position is determined according to the change speed of the N+1 similarity measures.
在本申请一些实施方式中,所述评估单元具体用于:In some embodiments of the present application, the evaluation unit is specifically used for:
根据所述第i次配准迭代的相似性度量和所述N次配准迭代的相似性度量,构建N+1个相似性度量的变化曲线;According to the similarity measure of the ith registration iteration and the similarity measure of the N registration iterations, constructing change curves of N+1 similarity measures;
获取所述变化曲线的各个分段导数;obtaining each piecewise derivative of the variation curve;
获取所述各个分段导数的绝对值之和,以作为所述N+1个相似性度量的变化速度。The sum of the absolute values of the respective piecewise derivatives is obtained as the rate of change of the N+1 similarity measures.
在本申请一些实施方式中,所述图像配准评估装置还包括显示单元,在所述根据置信度评价因素,确定所述目标配准位置的目标置信度的步骤之后,所述显示单元具体用于:In some embodiments of the present application, the image registration evaluation apparatus further includes a display unit, and after the step of determining the target confidence of the target registration position according to the confidence evaluation factor, the display unit specifically uses At:
检测所述目标置信度是否大于或等于预设置信度阈值;Detecting whether the target confidence is greater than or equal to a preset reliability threshold;
当检测到所述目标置信度大于或等于所述预设置信度阈值时,显示图像配准结果,所述图像配准结果包括所述目标图像的目标配准位置和/或配准后的所述目标图像和所述参考图像。When it is detected that the confidence of the target is greater than or equal to the preset confidence threshold, an image registration result is displayed, and the image registration result includes the target registration position of the target image and/or all registered positions of the target image. the target image and the reference image.
在本申请一些实施方式中,所述图像配准评估装置还包括提示单元,所述显示提示具体用于:In some embodiments of the present application, the image registration evaluation apparatus further includes a prompt unit, and the display prompt is specifically used for:
当检测到所述目标置信度小于所述预设置信度阈值时,输出指示所述目标图像与所述参考图像的图像配准准确度低的提示信息。When it is detected that the target confidence is less than the preset confidence threshold, prompt information indicating that the image registration accuracy of the target image and the reference image is low is output.
在本申请一些实施方式中,在所述输出指示所述目标图像与所述参考图像的图像配准准确度低的提示信息的步骤之后,所述显示单元具体用于:In some embodiments of the present application, after the step of outputting prompt information indicating that the image registration accuracy of the target image and the reference image is low, the display unit is specifically configured to:
获取请求显示图像配准结果的显示指令;Obtain the display instruction requesting to display the image registration result;
显示所述目标图像与所述参考图像的图像配准结果。An image registration result of the target image and the reference image is displayed.
在本申请一些实施方式中,在所述根据置信度评价因素,确定所述目标配准位置的目标置信度的步骤之后,所述显示单元具体用于:In some embodiments of the present application, after the step of determining the target confidence of the target registration position according to the confidence evaluation factor, the display unit is specifically configured to:
显示所述目标图像与所述参考图像的图像配准结果,并显示所述目标置信度。The image registration result of the target image and the reference image is displayed, and the target confidence is displayed.
另一方面,本申请还提供一种电子设备,所述电子设备包括:On the other hand, the present application also provides an electronic device, the electronic device comprising:
一个或多个处理器;one or more processors;
存储器;以及memory; and
一个或多个应用程序,其中所述一个或多个应用程序被存储于所述存储器中,并配置为由所述处理器执行以实现上述图像配准评估方法中的步骤。One or more application programs, wherein the one or more application programs are stored in the memory and configured to be executed by the processor to implement the steps in the image registration evaluation method described above.
另一方面,本申请还提供一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器进行加载,以执行所述的图像配准评估方法中的步骤。On the other hand, the present application also provides a computer-readable storage medium on which a computer program is stored, and the computer program is loaded by a processor to execute the steps in the image registration evaluation method.
有益效果beneficial effect
本申请中根据置信度评价因素,确定目标配准位置的目标置信度,以评估图像配准的准确度,由于目标配准位置的目标置信度可以在一定程度上反映目标图像与参考图像实际配准的准确度,进而可以避免显示准确度较低甚至是错误的图像配准结果,或者可以让用户了解到图像配准结果的准确度,在一定程度上避免了采用准确度较低甚至是错误的图像配准结果作进一步的影像处理的问题。In this application, the target confidence of the target registration position is determined according to the confidence evaluation factor to evaluate the accuracy of the image registration, because the target confidence of the target registration position can reflect the actual matching between the target image and the reference image to a certain extent. The accuracy of the image registration can be avoided to display the image registration results with low accuracy or even wrong, or it can let the user know the accuracy of the image registration results, which can avoid the use of low accuracy or even wrong registration results to a certain extent. The image registration results are subject to further image processing.
附图说明Description of drawings
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions in the embodiments of the present application more clearly, the following briefly introduces the drawings that are used in the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present application. For those skilled in the art, other drawings can also be obtained from these drawings without creative effort.
图1是本申请实施例提供的图像配准评估系统的场景示意图;1 is a schematic diagram of a scene of an image registration evaluation system provided by an embodiment of the present application;
图2是本申请实施例提供的图像配准评估方法的一个实施例流程示意图;2 is a schematic flowchart of an embodiment of an image registration evaluation method provided by an embodiment of the present application;
图3是本申请实施例中提供的图像配准过程的一种场景示意图;3 is a schematic diagram of a scene of an image registration process provided in an embodiment of the present application;
图4是本申请实施例中第i次配准迭代的相似性度量的变化示意图。FIG. 4 is a schematic diagram of the variation of the similarity measure of the ith registration iteration in the embodiment of the present application.
图5是本申请实施例中图像配准评估装置的一个实施例结构示意图;5 is a schematic structural diagram of an embodiment of an image registration evaluation device in an embodiment of the present application;
图6是本申请实施例中电子设备的一个实施例结构示意图。FIG. 6 is a schematic structural diagram of an embodiment of an electronic device in an embodiment of the present application.
本申请的实施方式Embodiments of the present application
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work fall within the protection scope of the present application.
在本申请的描述中,需要理解的是,术语“中心”、“纵向”、“横向”、“长度”、“宽度”、“厚度”、“上”、“下”、“前”、“后”、“左”、“右”、“竖直”、“水平”、“顶”、“底”、“内”、“外”等指示的方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述本申请和简化描述,而不是指示或暗示所指的装置或元件必须具有特定的方位、以特定的方位构造和操作,因此不能理解为对本申请的限制。此外,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个所述特征。在本申请的描述中,“多个”的含义是两个或两个以上,除非另有明确具体的限定。In the description of this application, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "upper", "lower", "front", " The orientation or positional relationship indicated by "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", etc. is based on the orientation shown in the drawings Or the positional relationship is only for the convenience of describing the present application and simplifying the description, rather than indicating or implying that the indicated device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be construed as a limitation on the present application. In addition, the terms "first" and "second" are only used for descriptive purposes, and should not be construed as indicating or implying relative importance or implying the number of indicated technical features. Thus, features defined as "first", "second" may expressly or implicitly include one or more of said features. In the description of the present application, "plurality" means two or more, unless otherwise expressly and specifically defined.
在本申请中,“示例性”一词用来表示“用作例子、例证或说明”。本申请中被描述为“示例性”的任何实施例不一定被解释为比其它实施例更优选或更具优势。为了使本领域任何技术人员能够实现和使用本申请,给出了以下描述。在以下描述中,为了解释的目的而列出了细节。应当明白的是,本领域普通技术人员可以认识到,在不使用这些特定细节的情况下也可以实现本申请。在其它实例中,不会对公知的结构和过程进行详细阐述,以避免不必要的细节使本申请的描述变得晦涩。因此,本申请并非旨在限于所示的实施例,而是与符合本申请所公开的原理和特征的最广范围相一致。In this application, the word "exemplary" is used to mean "serving as an example, illustration, or illustration." Any embodiment described in this application as "exemplary" is not necessarily to be construed as preferred or advantageous over other embodiments. The following description is presented to enable any person skilled in the art to make and use the present application. In the following description, details are set forth for the purpose of explanation. It is to be understood that one of ordinary skill in the art can realize that the present application may be practiced without the use of these specific details. In other instances, well-known structures and procedures have not been described in detail so as not to obscure the description of the present application with unnecessary detail. Therefore, this application is not intended to be limited to the embodiments shown but is to be accorded the widest scope consistent with the principles and features disclosed herein.
本申请实施例提供一种图像配准评估方法、装置、电子设备及计算机可读存储介质,以下分别进行详细说明。Embodiments of the present application provide an image registration evaluation method, apparatus, electronic device, and computer-readable storage medium, which will be described in detail below.
请参阅图1,图1为本申请实施例所提供的图像配准评估系统的场景示意图,该图像配准评估系统可以包括图像采集设备100和电子设备200,图像采集 设备100和电子设备200网络连接,电子设备200中集成有图像配准评估装置,如图1中的电子设备,图像采集设备100可以采集图像(如人体的医学图像),并输出到访问电子设备200。Please refer to FIG. 1. FIG. 1 is a schematic diagram of a scene of an image registration evaluation system provided by an embodiment of the present application. The image registration evaluation system may include an image acquisition device 100 and an electronic device 200, and a network of the image acquisition device 100 and the electronic device 200. Connected, the electronic device 200 is integrated with an image registration evaluation device, such as the electronic device in FIG.
本申请实施例中电子设备200主要用于获取目标图像的目标配准位置,其中,所述目标配准位置是指在配准过程中所述目标图像与预设的参考图像的相似度满足预设配准条件时的位置;根据置信度评价因素,确定所述目标配准位置的目标置信度,以评估图像配准的准确度,其中,所述置信度评价因素为评估图像配准准确度的多个因素。In the embodiment of the present application, the electronic device 200 is mainly used to obtain the target registration position of the target image, where the target registration position refers to that the similarity between the target image and the preset reference image satisfies a predetermined level during the registration process. The position when the registration conditions are set; according to the confidence evaluation factor, the target confidence of the target registration position is determined to evaluate the accuracy of image registration, wherein the confidence evaluation factor is to evaluate the accuracy of image registration of multiple factors.
本申请实施例中,图像采集设备100可以是CT设备,CBCT设备或者其他医学成像设备,例如超声设备(如B超设备或彩超设备)、磁共振成像(Magnetic Resonance Imaging,MRI)设备等,具体此处不作限定。在一个具体应用场景中,预设的参考图像为放疗设备中CBCT所产生的图像,目标图像可以是CT设备,CBCT设备或者其他医学成像设备(例如超声设备、MRI设备)产生的图像。In the embodiment of the present application, the image acquisition device 100 may be a CT device, a CBCT device, or other medical imaging devices, such as an ultrasound device (such as a B-ultrasound device or a color ultrasound device), a magnetic resonance imaging (Magnetic Resonance Imaging, MRI) device, etc. Specifically, There is no limitation here. In a specific application scenario, the preset reference image is an image generated by CBCT in radiotherapy equipment, and the target image can be an image generated by CT equipment, CBCT equipment, or other medical imaging equipment (eg, ultrasound equipment, MRI equipment).
本申请实施例中,该电子设备200可以是包括接收和发射硬件的设备,即具有能够在双向通信链路上,执行双向通信的接收和发射硬件的设备。这种设备可以包括:蜂窝或其他通信设备,其具有单线路显示器或多线路显示器或没有多线路显示器的蜂窝或其他通信设备。具体的电子设备200具体可以是台式终端或移动终端,电子设备200具体还可以是手机、平板电脑、笔记本电脑等中的一种。In this embodiment of the present application, the electronic device 200 may be a device including receiving and transmitting hardware, that is, a device having receiving and transmitting hardware capable of performing two-way communication on a two-way communication link. Such devices may include cellular or other communication devices with a single-line display or a multi-line display or a cellular or other communication device without a multi-line display. The specific electronic device 200 may specifically be a desktop terminal or a mobile terminal, and the electronic device 200 may specifically be one of a mobile phone, a tablet computer, a notebook computer, and the like.
本领域技术人员可以理解,图1中示出的应用环境,仅仅是本申请方案一种应用场景,并不构成对本申请方案应用场景的限定,其他的应用环境还可以包括比图1中所示更多或更少的电子设备,或者电子设备网络连接关系,例如图1中仅示出1个电子设备和1个图像采集设备,可以理解的,该图像配准评估系统还可以包括一个或多个其他电子设备,或/且一个或多个与电子设备网络连接的其他图像采集设备,具体的,例如一个电子设备200连接多个图像采集设备100,即一个电子设备200显示多个图像采集设备100采集的医学图像,或者一个图像采集设备100连接多电子设备200,即一个图像采集设备100采集的 图像输出到多个电子设备200进行显示,具体此处不作限定。Those skilled in the art can understand that the application environment shown in FIG. 1 is only an application scenario of the solution of the present application, and does not constitute a limitation on the application scenario of the solution of the present application. Other application environments may also include more than those shown in FIG. 1 . More or less electronic devices, or the network connection relationship of electronic devices, for example, only one electronic device and one image acquisition device are shown in FIG. other electronic devices, or/and one or more other image capturing devices connected to the electronic device network, specifically, for example, one electronic device 200 is connected to multiple image capturing devices 100, that is, one electronic device 200 displays multiple image capturing devices 100, or one image acquisition device 100 is connected to multiple electronic devices 200, that is, the images collected by one image acquisition device 100 are output to multiple electronic devices 200 for display, which is not specifically limited here.
另外,如图1所示,该图像配准评估系统还可以包括存储器300,用于存储数据,如存储医学图像数据,例如图像采集设备100采集的医学图像数据。In addition, as shown in FIG. 1 , the image registration evaluation system may further include a memory 300 for storing data, such as medical image data, such as medical image data collected by the image acquisition device 100 .
需要说明的是,图1所示的图像配准评估系统的场景示意图仅仅是一个示例,本申请实施例描述的图像配准评估系统以及场景是为了更加清楚的说明本申请实施例的技术方案,并不构成对于本申请实施例提供的技术方案的限定,本领域普通技术人员可知,随着图像配准评估系统的演变和新业务场景的出现,本申请实施例提供的技术方案对于类似的技术问题,同样适用。It should be noted that the schematic diagram of the scene of the image registration evaluation system shown in FIG. 1 is only an example, and the image registration evaluation system and the scene described in the embodiments of the present application are for the purpose of illustrating the technical solutions of the embodiments of the present application more clearly. This does not constitute a limitation on the technical solutions provided by the embodiments of the present application. Those of ordinary skill in the art know that with the evolution of the image registration evaluation system and the emergence of new business scenarios, the technical solutions provided by the embodiments of the present application are not suitable for similar technologies. question, the same applies.
首先,本申请实施例中提供一种图像配准评估方法,包括:获取目标图像的目标配准位置,其中,所述目标配准位置是指在配准过程中所述目标图像与预设的参考图像的相似度满足预设配准条件时的位置;根据置信度评价因素,确定所述目标配准位置的目标置信度,以评估图像配准的准确度,其中,所述置信度评价因素为评估图像配准准确度的多个因素。First, an embodiment of the present application provides an image registration evaluation method, including: acquiring a target registration position of a target image, wherein the target registration position refers to the target image and a preset in the registration process. The position when the similarity of the reference image satisfies the preset registration condition; according to the confidence evaluation factor, the target confidence of the target registration position is determined to evaluate the accuracy of image registration, wherein the confidence evaluation factor Multiple factors for evaluating image registration accuracy.
如图2所示,为本申请实施例中图像配准评估方法的一个实施例流程示意图,该图像配准评估方法包括步骤201~202,其中:As shown in FIG. 2, it is a schematic flowchart of an embodiment of the image registration evaluation method in the embodiment of the present application. The image registration evaluation method includes steps 201-202, wherein:
步骤201、获取目标图像的目标配准位置。Step 201: Acquire the target registration position of the target image.
对于一组医学图像数据集中的两幅图像,图像配准过程简单来说就是通过寻找一种空间变换把一幅图像(浮动图像,moving image)映射到另一幅图像(参考图像,fixed image)上,使得两幅图中对应于空间同一位置的点一一对应起来。For two images in a set of medical image datasets, the image registration process simply maps one image (moving image) to another image (reference image, fixed image) by finding a spatial transformation , so that the points corresponding to the same position in space in the two pictures are in a one-to-one correspondence.
在本申请实施例中,目标图像为图像配准过程中的浮动图像,预设的参考图像为图像配准过程中的参考图像。相应的,目标配准位置是图像配准过程中目标图像与预设的参考图像的相似度满足预设配准条件时的位置,目标图像的目标配准位置可以是满足预设配准条件时目标图像的绝对位置,例如目标图像在图像坐标系中的实际位置,目标配准位置也可以是满足预设配准条件时目标图像的相对位置,例如目标图像相对于参考图像的位置。In the embodiment of the present application, the target image is a floating image in the image registration process, and the preset reference image is the reference image in the image registration process. Correspondingly, the target registration position is the position when the similarity between the target image and the preset reference image satisfies the preset registration condition during the image registration process, and the target registration position of the target image can be the position when the preset registration condition is met. The absolute position of the target image, such as the actual position of the target image in the image coordinate system, and the target registration position can also be the relative position of the target image when the preset registration conditions are met, such as the position of the target image relative to the reference image.
下面对于“目标图像与预设的参考图像的相似度”和“预设配准条件”的 概念进行解释说明:The concepts of "similarity between the target image and the preset reference image" and "preset registration conditions" are explained below:
关于目标图像与预设的参考图像的相似度,它是图像配准过程中参考图像的参考区域与目标图像的目标区域之间的相似程度,可以通过参考区域与目标区域的相似性度量来衡量目标图像与预设的参考图像的相似度。其中,衡量目标图像与预设的参考图像的相似度的相似性度量包括:互信息、均方差、Kappa统计等等。Regarding the similarity between the target image and the preset reference image, it is the degree of similarity between the reference area of the reference image and the target area of the target image during the image registration process, which can be measured by the similarity measure between the reference area and the target area The similarity between the target image and the preset reference image. The similarity measure for measuring the similarity between the target image and the preset reference image includes: mutual information, mean square error, Kappa statistics, and the like.
这里,参考区域可以是参考图像中局部或全部图像区域,目标区域是图像配准过程中每次搜索的、与参考图像比对相似度的图像区域,在每次搜索比对中,目标图像中的目标区域是变化的。Here, the reference area can be part or all of the image area in the reference image, and the target area is the image area that is searched for each time in the image registration process and compared with the reference image. The target area is varied.
关于预设配准条件,它是图像配准过程中目标图像与参考图像相似度最大,也就是说,目标图像中目标区域与参考图像中的参考区域的相似度最大。Regarding the preset registration condition, it is the maximum similarity between the target image and the reference image during the image registration process, that is, the maximum similarity between the target area in the target image and the reference area in the reference image.
在步骤202中,获取目标图像的目标配准位置的方式有多种,示例性的,包括:In step 202, there are various ways to obtain the target registration position of the target image, which are exemplary, including:
(1)在图像配准过程中获取目标图像的目标配准位置。(1) Obtain the target registration position of the target image during the image registration process.
在图像配准过程中,当目标图像与参考图像的相似度满足预设配准条件时,获取目标图像的目标配准位置。In the image registration process, when the similarity between the target image and the reference image satisfies the preset registration condition, the target registration position of the target image is obtained.
(2)从预设数据库中获取目标图像的目标配准位置。(2) Obtain the target registration position of the target image from the preset database.
在图像配准过程中,当目标图像与预设的参考图像的相似度满足预设配准条件时,将目标图像的目标配准位置保存至预设的数据库中。获取目标图像的目标配准位置包括:从预设的数据库中获取目标图像的目标配准位置。During the image registration process, when the similarity between the target image and the preset reference image satisfies the preset registration condition, the target registration position of the target image is saved in the preset database. Obtaining the target registration position of the target image includes: obtaining the target registration position of the target image from a preset database.
需要说明的是,上述获取目标图像的目标配准位置的方式仅是示例性的说明,本申请实施例并不限于上述列举方式。It should be noted that the foregoing manner of acquiring the target registration position of the target image is only an exemplary description, and the embodiments of the present application are not limited to the foregoing manner of enumeration.
步骤202、根据置信度评价因素,确定所述目标配准位置的目标置信度,以评估图像配准的准确度。Step 202: Determine the target confidence of the target registration position according to the confidence evaluation factor, so as to evaluate the accuracy of the image registration.
首先,获取置信度评价因素,其中,置信度评价因素为评估图像配准准确度的多个因素,可以包括相似性度量、相似性度量的变化速度、相似性度量的波动程度等中的至少一者。First, a confidence evaluation factor is obtained, wherein the confidence evaluation factor is a plurality of factors for evaluating the accuracy of image registration, which may include at least one of a similarity measure, a change speed of the similarity measure, a fluctuation degree of the similarity measure, etc. By.
在本申请的一实施例中,置信度评价因素可以预先设定存储至数据库中, 需要评估图像配准的准确度时,就从数据库中获取置信度评价因素,并根据从数据库中获取的置信度评价因素,确定目标配准位置的目标置信度。In an embodiment of the present application, the confidence evaluation factors can be preset and stored in the database. When the accuracy of image registration needs to be evaluated, the confidence evaluation factors are obtained from the database, and according to the confidence obtained from the database The degree evaluation factor is used to determine the target confidence of the target registration position.
在获取置信度评级因素之后,就可以根据置信度评价因素,确定出目标配准位置的目标置信度,用以评估图像配准的准确度。示例性的,目标置信度越高,例如目标置信度为99%,则表明目标图像与参考图像的图像配准的准确度越高,反之,目标置信度越低,例如目标置信度为60%,则表明目标图像与参考图像的图像配准的准确度较低。After the confidence rating factor is obtained, the target confidence of the target registration position can be determined according to the confidence evaluation factor, so as to evaluate the accuracy of image registration. Exemplarily, the higher the target confidence level, for example, the target confidence level is 99%, it indicates that the image registration accuracy of the target image and the reference image is higher, and conversely, the target confidence level is lower, for example, the target confidence level is 60%. , it indicates that the image registration accuracy of the target image and the reference image is low.
实际应用中,为了提高图像配准的速度,会在目标图像中局部搜索与参考图像中的参考区域相似度最大的区域,当在目标图像中搜索到的区域与参考区域的相似度最大时,认为目标图像处于目标配准位置。但是,由于不是在目标图像中全局搜索与参考图像中的参考区域相似度最大的区域,因此,目标配准位置只是局部最优的配准位置,而不是全局最优的配准位置。如此,若通过相似度来评价图像配准的准确度并不是准确的。In practical applications, in order to improve the speed of image registration, the target image will be locally searched for the area with the greatest similarity to the reference area in the reference image. When the search area in the target image has the greatest similarity with the reference area, The target image is considered to be in the target registration position. However, since the region with the greatest similarity to the reference region in the reference image is not globally searched in the target image, the target registration position is only the locally optimal registration position, not the globally optimal registration position. In this way, it is not accurate to evaluate the accuracy of image registration by similarity.
在本申请实施例中,为了客观全面的评价图像配准的准确度,提高图像配准结果的可参考性,引入了置信度的概念,用于综合评估目标图像的目标配准位置的准确度。通过获取目标图像的目标配准位置,根据置信度评价因素确定目标配准位置的目标置信度,以评估图像配准的准确度。由于目标配准位置的目标置信度可以在一定程度上反映目标图像与参考图像实际配准的准确度,相比直接通过目标图像与预设的参考图像的相似度评价图像配准的准确度,该目标置信度从不同角度客观的评价目标图像与参考图像配准的实际准确度,图像配准评估的准确度更高,进而可以避免显示准确度较低甚至是错误的图像配准结果,或者可以让用户了解到图像配准结果的准确度,在一定程度上避免了采用准确度较低甚至是错误的图像配准结果作进一步的影像处理的问题。In the embodiment of the present application, in order to objectively and comprehensively evaluate the accuracy of image registration and improve the referentiality of image registration results, the concept of confidence is introduced to comprehensively evaluate the accuracy of the target registration position of the target image. . By obtaining the target registration position of the target image, the target confidence of the target registration position is determined according to the confidence evaluation factor, so as to evaluate the accuracy of image registration. Since the target confidence of the target registration position can reflect the accuracy of the actual registration between the target image and the reference image to a certain extent, compared with directly evaluating the accuracy of image registration by the similarity between the target image and the preset reference image, The target confidence level objectively evaluates the actual accuracy of the registration of the target image and the reference image from different angles. It allows users to know the accuracy of the image registration result, and to a certain extent avoids the problem of using the image registration result with low accuracy or even wrong for further image processing.
本申请实施例中,置信度评价因素有多种实现方式,例如可以是相似性度量、相似性度量的变化速度、相似性度量的波动程度等中的一个或多个,下面分别举例进行说明。In the embodiment of the present application, the confidence evaluation factor can be implemented in multiple ways, for example, it may be one or more of the similarity measure, the change speed of the similarity measure, the fluctuation degree of the similarity measure, etc., which will be described with examples below.
(1)置信度评价因素包括相似性度量。(1) Confidence evaluation factors include similarity measure.
由于相似性度量是反映图像配准程度的一个重要因素,能在一定程度上反映图像配准结果的准确度。因此,置信度评价因素包括相似性度量可以在一定程度上评估出图像配准的准确度,进而可以让用户了解到图像配准的准确度,在一定程度上避免采用准确度较低甚至是错误的图像配准结果作进一步的影像处理。Since the similarity measure is an important factor reflecting the degree of image registration, it can reflect the accuracy of the image registration result to a certain extent. Therefore, the confidence evaluation factors including the similarity measure can evaluate the accuracy of image registration to a certain extent, and then allow users to understand the accuracy of image registration, and to a certain extent avoid the use of low accuracy or even wrong The image registration results are used for further image processing.
在本申请的一些实施例中,可以通过相似性度量评价目标图像与参考图像的相似度。相似性度量,即综合评定两个事物之间相近程度的一种度量。本申请实施例中,相似性度量可以有多种表现形式,比如,可以是互信息、均方差、kappa统计等等。In some embodiments of the present application, the similarity between the target image and the reference image may be evaluated by a similarity measure. A similarity measure is a measure that comprehensively evaluates the degree of similarity between two things. In this embodiment of the present application, the similarity measure may have various forms, for example, mutual information, mean square error, kappa statistics, and the like.
在本申请实施例中,如图3所示,步骤202具体可以包括步骤2021A~2022A:In this embodiment of the present application, as shown in FIG. 3 , step 202 may specifically include steps 2021A to 2022A:
步骤2021A、获取在所述目标配准位置时所述目标图像与所述参考图像的目标相似性度量。Step 2021A: Obtain a target similarity measure between the target image and the reference image at the target registration position.
本申请实施例中,获取在所述目标配准位置时所述目标图像与所述参考图像的相似性度量可以包括:计算在目标配准位置时参考区域与目标区域的相似性度量,以作为在目标配准位置时目标图像与参考图像的相似性度量。In this embodiment of the present application, acquiring the similarity measure between the target image and the reference image at the target registration position may include: calculating the similarity measure between the reference area and the target area at the target registration position, as The similarity measure of the target image and the reference image at the target registration position.
这里,相似性度量的取值范围可以是0~1,也可以是0-100,当然,也可以根据需要进行设置。Here, the value range of the similarity measure may be 0-1, or may be 0-100, and of course, it may also be set as required.
步骤2022A、根据所述目标相似性度量确定所述目标配准位置的目标置信度。Step 2022A: Determine the target confidence of the target registration position according to the target similarity measure.
进一步的,步骤2022A包括:根据所述目标相似性度量、相似性度量与置信度的预设关系,确定目标置信度。Further, step 2022A includes: determining the target confidence level according to the target similarity measure, the preset relationship between the similarity measure and the confidence level.
其中,相似性度量与置信度的预设关系可以为置信度关于相似性度量的函数。比如,y=f(x),其中,x为相似性度量,y为置信度。The preset relationship between the similarity measure and the confidence level may be a function of the confidence level on the similarity measure. For example, y=f(x), where x is the similarity measure and y is the confidence level.
第一种情况,当目标图像与参考图像的相似性度量与相似度正相关的情况下,即目标图像与参考图像的相似性度量越小,目标图像与参考图像的相似度越小,目标图像与参考图像的相似性度量越大,目标图像与参考图像的相似度越大;这时目标置信度与相似性度量正相关,即相似性度量越小,目标置信度越小,相似性度量越大,目标置信度越大。In the first case, when the similarity measure between the target image and the reference image is positively correlated with the similarity, that is, the smaller the similarity measure between the target image and the reference image, the smaller the similarity between the target image and the reference image, the smaller the similarity between the target image and the reference image, The greater the similarity measure with the reference image, the greater the similarity between the target image and the reference image; at this time, the target confidence and the similarity measure are positively correlated, that is, the smaller the similarity measure, the smaller the target confidence, and the greater the similarity measure. larger, the greater the target confidence.
当相似性度量为正值时,步骤2022A具体可以包括步骤a1:When the similarity measure is a positive value, step 2022A may specifically include step a1:
步骤a1、将所述相似性度量确定为所述目标配准位置的目标置信度。Step a1: Determine the similarity measure as the target confidence of the target registration position.
示例性地,相似性度量与置信度的预设关系可以为置信度关于相似性度量的函数y=k*x,其中,k为大于0的预设系数,x为相似性度量,y为置信度。Exemplarily, the preset relationship between the similarity measure and the confidence level may be a function y=k*x of the confidence level on the similarity measure, where k is a preset coefficient greater than 0, x is the similarity measure, and y is the confidence level. Spend.
作为一种实施方式,相似性度量可以是在目标配准位置时目标图像与参考图像的相似性度量。例如,当函数y=k*x中的k取值为1时,若在目标配准位置时目标图像与参考图像的相似性度量为1,则认为目标配准位置的目标置信度为1。As an embodiment, the similarity measure may be the similarity measure of the target image and the reference image at the target registration position. For example, when the value of k in the function y=k*x is 1, if the similarity measure between the target image and the reference image at the target registration position is 1, the target confidence level of the target registration position is considered to be 1.
作为另一种实施方式,相似性度量也可以是在目标配准位置时目标图像与参考图像的相似性度量与预设系数的乘积。比如,当函数y=k*x中的k取值为非1时,如预设系数为0.9,若在目标配准位置时目标图像与参考图像的相似性度量为1,则目标配准位置的目标置信度为1*0.9=0.9。As another implementation manner, the similarity measure may also be the product of the similarity measure of the target image and the reference image and a preset coefficient at the target registration position. For example, when the value of k in the function y=k*x is non-1, such as the preset coefficient is 0.9, if the similarity measure between the target image and the reference image is 1 at the target registration position, then the target registration position The target confidence of is 1*0.9=0.9.
当相似性度量为负值时,步骤2022A具体可以包括步骤b1~b2:When the similarity measure is a negative value, step 2022A may specifically include steps b1-b2:
步骤b1、对所述相似性度量进行处理,得到处理后的相似性度量。Step b1: Process the similarity measure to obtain a processed similarity measure.
步骤b2、将所述处理后的相似性度量确定为所述目标配准位置的目标置信度。Step b2: Determine the processed similarity measure as the target confidence of the target registration position.
示例性地,相似性度量与置信度的预设关系可以为置信度关于相似性度量的函数y=1-k*|x|,其中,k为大于0的预设系数,x大于等于负1,x为相似性度量,y为置信度。Exemplarily, the preset relationship between the similarity measure and the confidence degree may be a function of the confidence degree on the similarity measure y=1-k*|x|, where k is a preset coefficient greater than 0, and x is greater than or equal to negative 1 , x is the similarity measure, and y is the confidence.
处理后的相似性度量可以是1-k*|x|,其中,|x|是在目标配准位置时目标图像与参考图像的相似性度量的绝对值。The processed similarity measure may be 1-k*|x|, where |x| is the absolute value of the similarity measure of the target image and the reference image at the target registration position.
作为一种实施方式,当函数y=1-k*|x|中的k取值为1时,将(1-|x|)作为处理后的相似性度量。然后,将处理后的相似性度量(1-|x|)确定为目标配准位置的目标置信度。例如,当函数y=1-k*|x|中的k取值为1时,若在目标配准位置时目标图像与参考图像的相似性度量为-0.2,则认为目标配准位置的目标置信度为(1-|-0.2|)=0.8。As an embodiment, when the value of k in the function y=1-k*|x| is 1, (1-|x|) is used as the similarity measure after processing. Then, the processed similarity measure (1-|x|) is determined as the target confidence for the target registration location. For example, when the value of k in the function y=1-k*|x| is 1, if the similarity measure between the target image and the reference image at the target registration position is -0.2, it is considered that the target at the target registration position The confidence level is (1-|-0.2|)=0.8.
作为另一种实施方式,当函数y=1-k*|x|中的k取值为非1时,将(1-k*|x|)作为处理后的相似性度量。然后,将处理后的相似性度量(1-k*|x|)确定为目 标配准位置的目标置信度。例如,当函数y=1-k*|x|中的k取值为0.9时,若在目标配准位置时目标图像与参考图像的相似性度量为-0.2,则认为目标配准位置的目标置信度为(1-0.9*|-0.2|)=0.82。As another implementation manner, when the value of k in the function y=1-k*|x| is non-1, (1-k*|x|) is used as the similarity measure after processing. Then, the processed similarity measure (1-k*|x|) is determined as the target confidence for the target alignment location. For example, when the value of k in the function y=1-k*|x| is 0.9, if the similarity measure between the target image and the reference image at the target registration position is -0.2, it is considered that the target at the target registration position The confidence level is (1-0.9*|-0.2|)=0.82.
第二种情况,当目标图像与参考图像的相似性度量与相似度负相关的情况下,即目标图像与参考图像的相似性度量越小,目标图像与参考图像的相似度越大,目标图像与参考图像的相似性度量越大,目标图像与参考图像的相似度越小;这时目标置信度与相似性度量负相关,即相似性度量越小,目标置信度越大,相似性度量越大,目标置信度越小。In the second case, when the similarity measure between the target image and the reference image is negatively correlated with the similarity, that is, the smaller the similarity measure between the target image and the reference image, the greater the similarity between the target image and the reference image, the greater the similarity between the target image and the reference image. The greater the similarity measure with the reference image, the smaller the similarity between the target image and the reference image; at this time, the target confidence and the similarity measure are negatively correlated, that is, the smaller the similarity measure, the greater the target confidence, and the greater the similarity measure. The larger the target confidence, the smaller the target confidence.
示例性的,当相似性度量为互信息时,相似性度量通常是负值,相似性度量越小,相似度反而越大;当相似性度量为均方差时,相似性度量通常是正值,相似性度量越小,相似度反而越大。由此可见,相似性度量可以是正值,也可以是负值,但均是相似性度量越小,相似度越大。Exemplarily, when the similarity measure is mutual information, the similarity measure is usually a negative value, and the smaller the similarity measure is, the greater the similarity is; when the similarity measure is the mean square error, the similarity measure is usually a positive value, The smaller the similarity measure, the greater the similarity. It can be seen that the similarity measure can be a positive value or a negative value, but the smaller the similarity measure, the greater the similarity.
当相似性度量为负值时,步骤2022A具体可以包括步骤c1~c2:When the similarity measure is a negative value, step 2022A may specifically include steps c1-c2:
步骤c1、将所述相似性度量确定为所述目标配准位置的目标置信度。Step c1: Determine the similarity measure as the target confidence of the target registration position.
示例性地,相似性度量与置信度的预设关系可以为置信度关于相似性度量的函数y=k*|x|,其中,k为大于0的预设系数,x为相似性度量,y为置信度。Exemplarily, the preset relationship between the similarity measure and the confidence level may be a function y=k*|x| of the confidence level on the similarity measure, where k is a preset coefficient greater than 0, x is the similarity measure, and y for confidence.
作为一种实施方式,相似性度量可以是在目标配准位置时目标图像与参考图像的相似性度量的绝对值。例如,当函数y=k*|x|中的k取值为1时,若在目标配准位置时目标图像与参考图像的相似性度量为-1,则认为目标配准位置的目标置信度为1。As an embodiment, the similarity measure may be the absolute value of the similarity measure of the target image and the reference image at the target registration position. For example, when the value of k in the function y=k*|x| is 1, if the similarity measure between the target image and the reference image at the target registration position is -1, the target confidence level of the target registration position is considered to be is 1.
作为另一种实施方式,相似性度量也可以是在目标配准位置时目标图像与参考图像的相似性度量的绝对值与预设系数的乘积。比如,当函数y=k*|x|中的k取值为非1时,如预设系数为0.9,若在目标配准位置时目标图像与参考图像的相似性度量为-1,则目标配准位置的目标置信度为0.9*|-1|=0.9。As another implementation manner, the similarity measure may also be the product of the absolute value of the similarity measure of the target image and the reference image at the target registration position and a preset coefficient. For example, when the value of k in the function y=k*|x| is non-1, such as the preset coefficient is 0.9, if the similarity measure between the target image and the reference image at the target registration position is -1, then the target The target confidence for the registered position is 0.9*|-1|=0.9.
当相似性度量为正值时,步骤2022A具体可以包括步骤d1~d2:When the similarity measure is a positive value, step 2022A may specifically include steps d1-d2:
步骤d1、对所述相似性度量进行处理,得到处理后的相似性度量。Step d1, processing the similarity measure to obtain a processed similarity measure.
步骤d2、将所述处理后的相似性度量确定为所述目标配准位置的目标置信度。Step d2, determining the processed similarity measure as the target confidence of the target registration position.
示例性地,相似性度量与置信度的预设关系可以为置信度关于相似性度量的函数y=1-k*x,其中,k为大于0的预设系数,x小于等于1,x为相似性度量,y为置信度。Exemplarily, the preset relationship between the similarity measure and the confidence degree may be a function of the confidence degree on the similarity measure y=1-k*x, where k is a preset coefficient greater than 0, x is less than or equal to 1, and x is Similarity measure, y is confidence.
处理后的相似性度量可以是y=1-k*x,其中,x是在目标配准位置时目标图像与参考图像的相似性度量的绝对值。The processed similarity measure may be y=1-k*x, where x is the absolute value of the similarity measure of the target image and the reference image at the target registration position.
作为一种实施方式,当函数y=1-k*x中的k取值为1时,将(1-x)作为处理后的相似性度量。然后,将处理后的相似性度量(1-x)确定为目标配准位置的目标置信度。例如,当函数y=1-k*x中的k取值为1时,若在目标配准位置时目标图像与参考图像的相似性度量为0.2,则认为目标配准位置的目标置信度为(1-0.2)=0.8。As an embodiment, when the value of k in the function y=1-k*x is 1, (1-x) is used as the similarity measure after processing. Then, the processed similarity measure (1-x) is determined as the target confidence for the target registration location. For example, when the value of k in the function y=1-k*x is 1, if the similarity measure between the target image and the reference image at the target registration position is 0.2, the target confidence of the target registration position is considered to be (1-0.2)=0.8.
作为另一种实施方式,当函数y=1-k*x中的k取值为非1时,将(1-k*x)作为处理后的相似性度量。然后,将处理后的相似性度量(1-k*x)确定为目标配准位置的目标置信度。例如,当函数y=1-k*x中的k取值为0.9时,若在目标配准位置时目标图像与参考图像的相似性度量为0.2,则认为目标配准位置的目标置信度为(1-0.9*0.2)=0.82。As another embodiment, when the value of k in the function y=1-k*x is non-1, (1-k*x) is used as the similarity measure after processing. Then, the processed similarity measure (1-k*x) is determined as the target confidence for the target registration location. For example, when the value of k in the function y=1-k*x is 0.9, if the similarity measure between the target image and the reference image at the target registration position is 0.2, then the target confidence of the target registration position is considered to be (1-0.9*0.2)=0.82.
(2)置信度评价因素包括相似性度量的波动程度。(2) Confidence evaluation factors include the degree of fluctuation of the similarity measure.
由于目标配准位置的相似性度量与其他位置的相似性度量之间的波动程度,可以在一定程度上反映目标配准位置的相似性度量与其他位置的相似性度量之间变化的剧烈程度,进而可以在一定程度上反映目标配准位置的配准准确度。因此,置信度评价因素包括相似性度量的波动程度,进而可以让用户了解到图像配准的准确度,在一定程度上避免采用准确度较低甚至是错误的图像配准结果作进一步的影像处理。Since the degree of fluctuation between the similarity measure of the target registration position and the similarity measure of other positions can reflect the degree of change between the similarity measure of the target registration position and the similarity measure of other positions to a certain extent, In turn, the registration accuracy of the target registration position can be reflected to a certain extent. Therefore, the confidence evaluation factors include the degree of fluctuation of the similarity measure, so that the user can know the accuracy of the image registration, and to a certain extent, avoid using the image registration results with low accuracy or even wrong for further image processing. .
这里,目标配准位置的相似性度量为在目标配准位置时目标图像和参考图像的相似性度量。其他位置的相似性度量为在其他位置时目标图像和参考图像的相似性度量。其他位置是图像配准过程中除目标配准位置外目标图像所处于的位置。Here, the similarity measure of the target registration position is the similarity measure of the target image and the reference image at the target registration position. The similarity measure at other locations is the similarity measure between the target image and the reference image at other locations. The other positions are the positions where the target image is located in addition to the target registration position during the image registration process.
当置信度评价因素包括相似性度量的波动程度时,步骤202具体可以包括步骤2021B~2024B:When the confidence evaluation factor includes the degree of fluctuation of the similarity measure, step 202 may specifically include steps 2021B to 2024B:
步骤2021B、获取所述目标图像与所述参考图像第i次配准迭代的相似性度量。Step 2021B: Obtain the similarity measure of the ith registration iteration between the target image and the reference image.
其中,第i次配准迭代时目标图像位于目标配准位置,i为大于0的整数。Among them, the target image is located at the target registration position during the ith registration iteration, and i is an integer greater than 0.
请参照图3,通常,图像配准过程实质是不断搜索目标图像中相似区域的过程。每搜索一次,也就是移动一次位置,就会计算一次(目标区域与参考区域之间的)相似性度量,再根据这个相似性度量以及之前所有位置的相似性度量,确定下一步移动的方向,这个过程即为一次配准迭代。Referring to FIG. 3 , generally, the image registration process is essentially a process of continuously searching for similar regions in the target image. Each time a search is performed, that is, a position is moved, the similarity measure (between the target area and the reference area) is calculated once, and then the direction of the next move is determined according to this similarity measure and the similarity measures of all previous positions. This process is called a registration iteration.
其中,第i次配准迭代是在图像配准的过程中,第i次搜索、计算相似性度量的过程。第i次配准迭代的相似性度量是第i次配准迭代时目标图像与参考图像的相似性度量。Among them, the ith registration iteration is the process of searching and calculating the similarity measure for the ith in the process of image registration. The similarity measure of the ith registration iteration is the similarity measure of the target image and the reference image at the ith registration iteration.
在一些实施例中,获取所述目标图像与所述参考图像第i次配准迭代的相似性度量,具体可以包括:当目标图像位于目标配准位置时,计算目标区域与参考区域的相似性度量,以作为第i次配准迭代的相似性度量。In some embodiments, acquiring the similarity measure of the ith registration iteration between the target image and the reference image may specifically include: when the target image is located at the target registration position, calculating the similarity between the target area and the reference area metric as the similarity measure for the ith registration iteration.
步骤2022B、获取所述目标图像与所述参考图像所述第i次配准迭代之前和/或所述第i次配准迭代之后的N次配准迭代的相似性度量。Step 2022B: Obtain the similarity measure of the target image and the reference image for N registration iterations before the ith registration iteration and/or after the ith registration iteration.
其中,N为大于0的整数。N次配准迭代的相似性度量包括N次配准迭代中每次配准配准迭代时目标图像与参考图像的相似性度量。Wherein, N is an integer greater than 0. The similarity measure of the N registration iterations includes the similarity measure of the target image and the reference image at each registration and registration iteration in the N registration iterations.
步骤2022B中包括以下三种情况:Step 2022B includes the following three situations:
第一种情况、获取目标图像与参考图像第i次配准迭代之前N次配准迭代的相似性度量,获取的方式有多种,下面举例说明:In the first case, the similarity measure of N registration iterations before the ith registration iteration between the target image and the reference image is obtained. There are many ways to obtain them. The following examples illustrate:
(1)在一种实施方式中,所述获取所述目标图像与所述参考图像所述第i次配准迭代之前N次配准迭代的相似性度量,具体可以包括:获取所述目标图像与所述参考图像所述第i次配准迭代之前的任意N次迭代的相似性度量。例如,N=5,第10次配准迭代时目标图像位于目标配准位置,可以获取第1次配准迭代的相似性度量、第3次配准迭代的相似性度量、第6次配准迭代的相似性度量、第7次配准迭代的相似性度量、第8次配准迭代的相似性度量,共5次配准迭代的相似性度量。(1) In an embodiment, the acquiring the similarity measure of the target image and the reference image for N registration iterations before the i-th registration iteration may specifically include: acquiring the target image A similarity measure for any N iterations preceding the ith registration iteration with the reference image. For example, N=5, the target image is located at the target registration position in the 10th registration iteration, the similarity measure of the first registration iteration, the similarity measure of the third registration iteration, and the sixth registration iteration can be obtained. The iterative similarity measure, the similarity measure of the seventh registration iteration, the similarity measure of the eighth registration iteration, and the similarity measure of a total of 5 registration iterations.
(2)在一种实施方式中,所述获取所述目标图像与所述参考图像所述第i 次配准迭代之前N次配准迭代的相似性度量,也可以具体包括:获取所述目标图像与所述参考图像的第i-N次到第i-1次配准迭代的相似性度量。其中,N大于i。例如,N=5,第10次配准迭代时目标图像位于目标配准位置,可以获取第5次配准迭代的相似性度量、第6次配准迭代的相似性度量、第7次配准迭代的相似性度量、第8次配准迭代的相似性度量、第9次配准迭代的相似性度量,共5次配准迭代的相似性度量。(2) In an embodiment, the acquiring the similarity measure of the target image and the reference image for N registration iterations before the i-th registration iteration may also specifically include: acquiring the target A similarity measure of the ith to ith registration iterations between the image and the reference image. where N is greater than i. For example, N=5, the target image is located at the target registration position in the 10th registration iteration, the similarity measure of the 5th registration iteration, the similarity measure of the 6th registration iteration, and the 7th registration iteration can be obtained. The iterative similarity measure, the similarity measure of the 8th registration iteration, the similarity measure of the ninth registration iteration, and the similarity measure of a total of 5 registration iterations.
第二种情况、所述获取所述目标图像与所述参考图像所述第i次配准迭代之后N次配准迭代的相似性度量。In the second case, obtaining the similarity measure of the target image and the reference image for N registration iterations after the i-th registration iteration.
具体可以包括:获取所述目标图像与所述参考图像的第i+1次到第i+N次配准迭代的相似性度量。获取目标图像与参考图像的第i+1次到第i+N次配准迭代的相似性度量的方式有多种,下面举例说明:Specifically, it may include: acquiring similarity metrics of the target image and the reference image from the ith+1th to the ith+Nth registration iteration. There are many ways to obtain the similarity measure between the target image and the reference image from the i+1th to the i+Nth registration iteration. The following examples illustrate:
(1)在一种实施方式中,获取所述目标图像与所述参考图像的第i+1次到第i+N次配准迭代的相似性度量,具体可以包括:在目标图像中对预设区域执行局部搜索,也就是搜索预设区域中任意N个目标区域,并分别计算第i+1次到第i+N次配准迭代时目标区域与参考区域的相似性度量,以作为N次配准迭代的相似性度量;其中,预设区域是目标图像中预设范围内的图像区域,该图像区域包含第i次配准迭代时搜索的目标区域。(1) In one embodiment, acquiring the similarity measure of the registration iteration from the i+1th to the i+Nth registration iteration between the target image and the reference image may specifically include: Set the region to perform local search, that is, search for any N target regions in the preset region, and calculate the similarity measure between the target region and the reference region from the i+1th to the i+Nth registration iteration, as N The similarity measure of the second registration iteration; wherein, the preset area is an image area within a preset range in the target image, and the image area includes the target area searched in the ith registration iteration.
(2)在一种实施方式中,获取所述目标图像与所述参考图像的第i+1次到第i+N次配准迭代的相似性度量,具体可以包括:在目标图像中对预设区域执行全局搜索,也就是遍历搜索整个预设区域,并分别计算第i+1次到第i+N次配准迭代时目标区域与参考区域的相似性度量,以作为N次配准迭代的相似性度量;其中,预设区域是目标图像中预设范围内的图像区域,该图像区域包含第i次配准迭代时搜索的目标区域。(2) In an embodiment, acquiring the similarity measure of the registration iteration from the i+1th to the i+Nth registration iteration between the target image and the reference image may specifically include: Set the region to perform a global search, that is, traverse the entire preset region, and calculate the similarity measure between the target region and the reference region from the i+1th to the i+Nth registration iteration, as the N registration iterations where the preset area is an image area within a preset range in the target image, and the image area includes the target area searched in the ith registration iteration.
第三种情况、获取目标图像与参考图像第i次配准迭代之前和第i次配准迭代之后的N次配准迭代的相似性度量,获取的方式有多种。In the third case, to obtain the similarity measure of the target image and the reference image for N registration iterations before the ith registration iteration and after the ith registration iteration, there are many ways to obtain them.
在一些实施方式中,所述获取所述目标图像与所述参考图像所述第i次配准迭代之前和所述第i次配准迭代之后的N次配准迭代的相似性度量,具体可以包括步骤e1~e2:In some implementation manners, the acquiring the similarity measure of the target image and the reference image for N registration iterations before the i-th registration iteration and after the i-th registration iteration may specifically be: Including steps e1~e2:
步骤e1、获取所述目标图像与所述参考图像的第i-n1次到第i-1次配准迭代的相似性度量。Step e1: Obtain the similarity measure of the registration iteration from the i-n1th to the i-1th registration iteration between the target image and the reference image.
其中,n1为小于等于i的整数。Among them, n1 is an integer less than or equal to i.
例如,N=5,n1=3,第10次配准迭代时目标图像位于目标配准位置,可以获取第7次配准迭代的相似性度量、第8次配准迭代的相似性度量、第9次配准迭代的相似性度量,共3次配准迭代的相似性度量。For example, N=5, n1=3, the target image is located at the target registration position in the 10th registration iteration, the similarity measure of the seventh registration iteration, the similarity measure of the eighth registration iteration, the The similarity measure of 9 registration iterations, for a total of 3 registration iterations.
步骤e2、获取所述目标图像与所述参考图像的第i+1次到第i+n2次配准迭代的相似性度量。Step e2: Obtain the similarity measure of the registration iteration from the i+1th to the i+n2th registration iteration between the target image and the reference image.
其中,n2为大于0的整数,且n1与n2的和为N。Wherein, n2 is an integer greater than 0, and the sum of n1 and n2 is N.
与获取目标图像与参考图像第i次配准迭代之后N次配准迭代的相似性度量类似,获取目标图像与参考图像的第i+1次到第i+n2次配准迭代的相似性度量的方式也有多种,下面列举说明。Similar to obtaining the similarity measure of N registration iterations after the ith registration iteration between the target image and the reference image, obtain the similarity measure of the target image and the reference image from the i+1th to i+n2th registration iterations There are also many ways, which are listed below.
在一种实施方式中,获取所述目标图像与所述参考图像的第i+1次到第i+n2次配准迭代的相似性度量,具体可以包括:在目标图像中对预设区域执行局部搜索,也就是搜索预设区域中任意N个目标区域,并分别计算第i+1次到第i+n2次配准迭代时目标区域与参考区域的相似性度量,得到n2次配准迭代的相似性度量;其中,预设区域是目标图像中预设范围内的图像区域,该图像区域包含第i次配准迭代时搜索的目标区域。In an implementation manner, acquiring the similarity metric of the registration iteration from the i+1th to the i+n2th registration iteration between the target image and the reference image may specifically include: performing on a preset area in the target image Local search, that is, search for any N target areas in the preset area, and calculate the similarity measure between the target area and the reference area from the i+1th to i+n2th registration iterations respectively, and obtain n2 registration iterations where the preset area is an image area within a preset range in the target image, and the image area includes the target area searched in the ith registration iteration.
在一种实施方式中,获取所述目标图像与所述参考图像的第i+1次到第i+n2次配准迭代的相似性度量,具体可以包括:在目标图像中对预设区域执行第i+1次到第i+n2次配准迭代,并分别计算第i+1次到第i+n2次配准迭代时目标区域与参考区域的相似性度量,得到n2次配准迭代的相似性度量;其中,预设区域是目标图像中预设范围内的图像区域,该图像区域包含第i次配准迭代时搜索的目标区域。In an implementation manner, acquiring the similarity metric of the registration iteration from the i+1th to the i+n2th registration iteration between the target image and the reference image may specifically include: performing on a preset area in the target image From the i+1th to i+n2th registration iterations, and calculate the similarity measure of the target area and the reference area from the i+1th to i+n2th registration iterations respectively, and obtain the n2 registration iterations. similarity measure; wherein, the preset area is an image area within a preset range in the target image, and the image area includes the target area searched for in the ith registration iteration.
在一些实施方式中,所述获取所述目标图像与所述参考图像所述第i次配准迭代之前和所述第i次配准迭代之后的N次配准迭代的相似性度量,具体可以包括步骤f1~f2:In some implementation manners, the acquiring the similarity measure of the target image and the reference image for N registration iterations before the i-th registration iteration and after the i-th registration iteration may specifically be: Including steps f1~f2:
步骤f1、获取目标图像与参考图像第i次配准迭代之前的任意n1次迭代的相 似性度量。Step f1, obtain the similarity measure of any n1 iterations before the ith registration iteration between the target image and the reference image.
其中,n1为小于等于i的整数。获取目标图像与参考图像第i次配准迭代之前的任意n1次迭代的相似性度量,与获取目标图像与参考图像第i次配准迭代之前的任意N次迭代的相似性度量类似,具体可以参照上述说明及举例,此处不再赘述。Among them, n1 is an integer less than or equal to i. Obtaining the similarity measure between the target image and the reference image for any n1 iterations before the ith registration iteration is similar to obtaining the similarity measure for any N iterations between the target image and the reference image before the ith registration iteration. Specifically, you can Referring to the above descriptions and examples, details are not repeated here.
步骤f2、获取所述目标图像与所述参考图像的第i+1次到第i+n2次配准迭代的相似性度量。Step f2: Obtain the similarity measure of the registration iteration from the i+1th to the i+n2th registration iteration between the target image and the reference image.
其中,n2为大于0的整数,且n1与n2的和为N。步骤b2与上述步骤a2类似,具体可以参照上述步骤a2的说明及举例,此处不再赘述。Wherein, n2 is an integer greater than 0, and the sum of n1 and n2 is N. Step b2 is similar to the above-mentioned step a2. For details, reference may be made to the description and examples of the above-mentioned step a2, which will not be repeated here.
步骤2023B、根据所述第i次配准迭代的相似性度量和所述N次配准迭代的相似性度量,确定N+1个相似性度量的波动程度。Step 2023B: Determine the degree of fluctuation of N+1 similarity measures according to the similarity measure of the ith registration iteration and the similarity measure of the N registration iterations.
本申请实施例中,确定N+1个相似性度量的波动程度的方式有多种,例如可以以N+1个相似性度量的方差、N+1个相似性度量的标准差、N+1个相似性度量的极差、N+1个相似性度量的四分位差、N+1个相似性度量的平均差或N+1个相似性度量的变异系数,作为N+1个相似性度量的波动程度。In the embodiment of the present application, there are many ways to determine the degree of fluctuation of N+1 similarity measures, for example, the variance of N+1 similarity measures, the standard deviation of N+1 similarity measures, N+1 Range of similarity measures, interquartile range of N+1 similarity measures, mean difference of N+1 similarity measures, or coefficient of variation of N+1 similarity measures as N+1 similarity The degree of volatility of the measure.
下面以目标图像与参考图像的第i-n1次到第i+n2次配准迭代得到的N+1个相似性度量为例,分别介绍如何计算N+1个相似性度量的方差、N+1个相似性度量的标准差、N+1个相似性度量的极差、N+1个相似性度量的四分位差、N+1个相似性度量的平均差或N+1个相似性度量的变异系数。Taking the N+1 similarity measures obtained from the i-n1th to the i+n2th registration iteration between the target image and the reference image as an example, we will introduce how to calculate the variance, N+ Standard deviation of 1 similarity measure, range of N+1 similarity measures, interquartile range of N+1 similarity measures, mean difference of N+1 similarity measures, or N+1 similarity The coefficient of variation for the measure.
1、方差:是测度数据波动程度的最常用测度值之一。方差(样本方差)是每个样本值与全体样本值的平均数之差的平方值的平均数。1. Variance: It is one of the most commonly used measures to measure the degree of data fluctuation. The variance (sample variance) is the average of the squared values of the difference between each sample value and the average of the overall sample values.
如图4所示,目标图像和参考图像第1次至第9次配准迭代的相似性度量分别为:0.5、0.6、0.5、0.7、0.6、0.9、0.8、0.1、0。As shown in Figure 4, the similarity measures of the target image and the reference image from the 1st to 9th registration iterations are: 0.5, 0.6, 0.5, 0.7, 0.6, 0.9, 0.8, 0.1, 0, respectively.
例如,i=6,N=4、N+1=5,n1=2,n2=2。若第6次配准迭代时目标图像位于目标配准位置,则取第6次配准迭代的相似性度量、第6次配准迭代之前的2次配准迭代的相似度性量、以及第6次配准迭代之后的2次配准迭代的相似度性量,得到第4次到第8次配准迭代的5个相似性度量分别为:0.7、0.6、0.9、0.8、0.1。For example, i=6, N=4, N+1=5, n1=2, n2=2. If the target image is located at the target registration position in the sixth registration iteration, the similarity measure of the sixth registration iteration, the similarity measure of the two registration iterations before the sixth registration iteration, and the The similarity measure of the 2 registration iterations after the 6 registration iterations, the 5 similarity measures obtained from the 4th to the 8th registration iteration are respectively: 0.7, 0.6, 0.9, 0.8, 0.1.
此时,5个相似性度量的平均值为:(0.7+0.6+0.9+0.8+0.1)/5=0.62,可以计算5个相似性度量的方差为:[(0.7-0.62) 2+(0.6-0.62) 2+(0.9-0.62) 2+(0.8-0.62) 2+(0.1-0.62) 2]/5=0.097 At this time, the average value of the five similarity measures is: (0.7+0.6+0.9+0.8+0.1)/5=0.62, and the variance of the five similarity measures can be calculated as: [(0.7-0.62) 2 +(0.6 -0.62) 2 +(0.9-0.62) 2 +(0.8-0.62) 2 +(0.1-0.62) 2 ]/5=0.097
2、标准差:也是测度数据波动程度的最常用测度值之一。标准差是对方差取开方后得到。2. Standard deviation: It is also one of the most commonly used measures to measure the degree of data fluctuation. The standard deviation is obtained by taking the square root of the variance.
此时,5个相似性度量的标准差为:
Figure PCTCN2020142430-appb-000001
At this point, the standard deviation of the 5 similarity measures is:
Figure PCTCN2020142430-appb-000001
3、极差:也叫全距,指数据集中的最大值与最小值之差,能从一定程度上反映数据集的离散情况。3. Extreme difference: also called full distance, refers to the difference between the maximum value and the minimum value in the data set, which can reflect the discrete situation of the data set to a certain extent.
此时,5个相似性度量的极差为:0.9-0.1=0.8。At this time, the range of the five similarity measures is: 0.9-0.1=0.8.
4、平均差:是表示各个变量值之间差异程度的数值之一,可以在一定程度上反映一组数据的波动程度。平均差是总体所有单位与其算术平均数的离差绝对值的算术平均数。4. Average difference: It is one of the values that indicates the degree of difference between the values of each variable, which can reflect the degree of fluctuation of a set of data to a certain extent. The mean difference is the arithmetic mean of the absolute value of the deviation of all units in the population from its arithmetic mean.
此时,(N+1)=5个相似性度量的平均差为:0.216。At this time, the average difference of (N+1)=5 similarity measures is: 0.216.
5、变异系数:用于测度分类数据的波动程度,衡量众数对一组数据的代表程度。变异系数是原始数据标准差与原始数据平均数的比。5. Coefficient of variation: It is used to measure the degree of fluctuation of categorical data, and to measure the degree of representation of the mode to a set of data. The coefficient of variation is the ratio of the standard deviation of the raw data to the mean of the raw data.
此时,5个相似性度量的变异系数为:
Figure PCTCN2020142430-appb-000002
At this point, the coefficients of variation of the five similarity measures are:
Figure PCTCN2020142430-appb-000002
上述方差、标准差、极差、四分位差、平均差或变异系数表示N+1个相似性度量的波动程度有着各自的优势,实际应用时可以根据需求而选择,当然也可以选择其他能反映波动程度的统计度量。The above variance, standard deviation, range, quartile, mean difference or coefficient of variation indicate that the fluctuation degree of N+1 similarity measures has their own advantages, and can be selected according to the actual application, and of course other functions can be selected. A statistical measure that reflects the degree of volatility.
步骤2024B、根据所述N+1个相似性度量的波动程度确定所述目标配准位置的目标置信度。Step 2024B: Determine the target confidence level of the target registration position according to the fluctuation degree of the N+1 similarity measures.
其中,目标置信度与N+1个相似性度量的波动程度呈正相关。Among them, the target confidence is positively correlated with the fluctuation degree of N+1 similarity measures.
根据所述N+1个相似性度量的波动程度确定所述目标配准位置的目标置信度,具体可以包括:根据波动程度和置信度之间的预设关系、以及N+1个相似性度量的波动程度,确定目标配准位置的目标置信度。Determining the target confidence level of the target registration position according to the fluctuation degree of the N+1 similarity measures may specifically include: according to a preset relationship between the fluctuation degree and the confidence degree, and N+1 similarity measures The degree of fluctuation of the target is determined to determine the target confidence of the target registration position.
在一种实施方式中,波动程度和置信度之间的预设关系可以通过预设的关系映射表表示。示例性地,波动程度和置信度存在如下表1所示关系,若N+1个相似性度量的波动程度为0.005以下,则可以确定目标置信度为0;若N+1个 相似性度量的波动程度为0.05以上,则可以确定目标置信度为1。In one embodiment, the preset relationship between the fluctuation degree and the confidence level may be represented by a preset relationship mapping table. Exemplarily, there is a relationship between the degree of fluctuation and the degree of confidence as shown in Table 1 below. If the degree of fluctuation of the N+1 similarity measures is below 0.005, the target confidence degree can be determined to be 0; If the degree of fluctuation is above 0.05, the confidence level of the target can be determined to be 1.
表1Table 1
波动程度degree of volatility 置信度Confidence
0.005以下Below 0.005 00
0.0150.015 0.30.3
0.020.02 0.60.6
...... ......
0.05以上0.05 or more 11
在一种实施方式中,波动程度和置信度之间的预设关系可以通过预设的函数关系表示。示例性地,波动程度和置信度之间存在如下函数关系:y=f(x)=20*x。其中,y表示置信度,x表示波动程度。若N+1个相似性度量的波动程度为0.01,则可以确定目标置信度为0.2。In one embodiment, the preset relationship between the fluctuation degree and the confidence level may be represented by a preset functional relationship. Exemplarily, the following functional relationship exists between the degree of fluctuation and the confidence: y=f(x)=20*x. Among them, y represents the confidence, and x represents the degree of volatility. If the fluctuation degree of N+1 similarity measures is 0.01, the target confidence level can be determined to be 0.2.
本申请实施例中认为目标配准位置的相似性度量与其他位置的相似性度量之间变化的剧烈程度,可以在一定程度上反映目标配准位置的配准准确度。而数据波动程度可以反映数据的变化剧烈程度,通过根据N+1个相似性度量(包括N个其他位置的相似性度量、与目标配准位置的相似性度量)之间的波动程度,确定目标配准位置的置信度,以评估在目标配准位置时图像配准的准确度,可以避免依赖单一的相似性度量作为图像配准的衡量标准,进而在一定程度上提高了图像配准结果的准确度。In the embodiment of the present application, it is considered that the degree of change between the similarity measure of the target registration position and the similarity measure of other positions can reflect the registration accuracy of the target registration position to a certain extent. The degree of data fluctuation can reflect the degree of change in the data, and the target is determined by the degree of fluctuation between N+1 similarity measures (including the similarity measures of N other positions and the similarity measure of the target registration position). The confidence of the registration position is used to evaluate the accuracy of image registration at the target registration position, which can avoid relying on a single similarity measure as the measurement standard of image registration, thereby improving the accuracy of image registration results to a certain extent. Accuracy.
(3)置信度评价因素包括相似性度量的变化速度。(3) Confidence evaluation factors include the change speed of similarity measure.
由于数值的波动程度(即变化的剧烈程度)与波动幅值成正比、与幅值变化的时间长短成反比,波动幅值与幅值变化的时间两者一除,物理意义上来说就是变化速度,并且数值的变化速度与波动程度依然成正比。因此,目标配准位置的相似性度量与其他位置的相似性度量之间的变化速度,可以在一定程度上反映目标配准位置的相似性度量与其他位置的相似性度量之间变化的剧烈程度,进而可以在一定程度上反映目标配准位置的配准准确度。Since the degree of fluctuation of the value (that is, the intensity of the change) is proportional to the amplitude of the fluctuation and inversely proportional to the length of the amplitude change, the fluctuation amplitude and the time of the amplitude change are divided, which is the speed of change in the physical sense. , and the rate of change of the value is still proportional to the degree of fluctuation. Therefore, the speed of change between the similarity measure of the target registration position and the similarity measure of other positions can reflect the degree of change between the similarity measure of the target registration position and the similarity measure of other positions to a certain extent , which can reflect the registration accuracy of the target registration position to a certain extent.
当置信度评价因素包括相似性度量的变化速度时,如图8所示,步骤202具体可以包括步骤2021C~2024C:When the confidence evaluation factor includes the change speed of the similarity measure, as shown in FIG. 8 , step 202 may specifically include steps 2021C to 2024C:
2021C、获取所述目标图像与所述参考图像第i次配准迭代的相似性度量。2021C. Obtain the similarity measure of the ith registration iteration between the target image and the reference image.
其中,第i次配准迭代时所述目标图像位于目标配准位置,i为大于0的整数。步骤2021C与上述步骤步骤2021B类似,具体可以参照上述步骤步骤2021B的说明及举例,此处不再赘述。Wherein, in the ith registration iteration, the target image is located at the target registration position, and i is an integer greater than 0. Step 2021C is similar to the above-mentioned step 2021B. For details, reference may be made to the description and examples of the above-mentioned step and step 2021B, which will not be repeated here.
2022C、获取所述目标图像与所述参考图像所述第i次配准迭代之前和/或所述第i次配准迭代之后的N次配准迭代的相似性度量。2022C. Obtain similarity metrics of the target image and the reference image for N registration iterations before the ith registration iteration and/or after the ith registration iteration.
其中,N为大于0的整数。步骤2022C与上述步骤步骤2022B类似,具体可以参照上述步骤步骤2022B的说明及举例,此处不再赘述。Wherein, N is an integer greater than 0. Step 2022C is similar to the above step 2022B. For details, reference may be made to the description and examples of the above step 2022B, which will not be repeated here.
2023C、根据所述第i次配准迭代的相似性度量和所述N次配准迭代的相似性度量,确定N+1个相似性度量的变化速度。2023C. Determine, according to the similarity measure of the ith registration iteration and the similarity measure of the N registration iterations, the change rates of N+1 similarity measures.
在一些实施例中,根据所述第i次配准迭代的相似性度量和所述N次配准迭代的相似性度量,确定N+1个相似性度量的变化速度,具体可以包括:根据所述第i次配准迭代的相似性度量和所述N次配准迭代的相似性度量,构建N+1个相似性度量的变化曲线;获取所述变化曲线的各个分段导数;获取所述各个分段导数的绝对值之和,以作为所述N+1个相似性度量的变化速度。In some embodiments, determining the change speed of N+1 similarity measures according to the similarity measure of the ith registration iteration and the similarity measure of the N registration iterations may specifically include: according to the The similarity measure of the i-th registration iteration and the similarity measure of the N registration iterations are constructed, and the change curves of N+1 similarity measures are constructed; each piecewise derivative of the change curve is obtained; The sum of the absolute values of the respective piecewise derivatives is taken as the rate of change of the N+1 similarity measures.
由于曲线波动程度与波动幅值成正比、与幅值变化的时间长短成反比,波动幅值与幅值变化的时间两者一除,从物理意义上来说也就是斜率。因此,可以采用N+1个相似性度量之间所构成曲线的斜率,来反映N+1个相似性度量的变化速度。Since the degree of curve fluctuation is proportional to the amplitude of the fluctuation and inversely proportional to the duration of the amplitude change, the division of the fluctuation amplitude and the time of the amplitude change is the slope in a physical sense. Therefore, the slope of the curve formed between the N+1 similarity measures can be used to reflect the change speed of the N+1 similarity measures.
本申请实施例中,为了观察N+1个相似性度量的变化速度,在N+1个相似性度量的变化曲线上抽取多个观察点,并将相邻两个观察点之间作为一个分段;计算每个分段的斜率来确定N+1个相似性度量的变化速度。In the embodiment of the present application, in order to observe the change speed of the N+1 similarity measures, a plurality of observation points are extracted from the change curves of the N+1 similarity measures, and the interval between two adjacent observation points is taken as a point. segments; compute the slope of each segment to determine the rate of change of the N+1 similarity measures.
其中,分段导数是指N+1个相似性度量的变化曲线中相邻两个观察点之间的斜率。Among them, the piecewise derivative refers to the slope between two adjacent observation points in the change curve of N+1 similarity measures.
下面以目标图像与参考图像的第i-n1次到第i+n2次配准迭代得到的N+1个相似性度量、每次配准迭代的相似性度量作为一个观察点为例,介绍如何计算N+1个相似性度量的变化速度。The following takes N+1 similarity measures obtained from the i-n1th to i+n2th registration iterations between the target image and the reference image, and the similarity measure of each registration iteration as an observation point, to introduce how to Calculate the rate of change of N+1 similarity measures.
请继续参照图4,例如,i=6,N=4、N+1=5,n1=2,n2=2。若第6次配准 迭代时目标图像位于目标配准位置,则取第6次配准迭代的相似性度量、第6次配准迭代之前的2次配准迭代的相似性度量、以及第6次配准迭代之后的2次配准迭代的相似性度量,得到第4次到第8次配准迭代的5个相似性度量分别为:0.7、0.6、0.9、0.8、0.1。Please continue to refer to FIG. 4 , for example, i=6, N=4, N+1=5, n1=2, n2=2. If the target image is at the target registration position in the sixth registration iteration, take the similarity measure of the sixth registration iteration, the similarity measure of the two registration iterations before the sixth registration iteration, and the sixth registration iteration The similarity measures of the 2 registration iterations after the first registration iteration, the 5 similarity measures of the 4th to 8th registration iterations are obtained: 0.7, 0.6, 0.9, 0.8, 0.1.
根据5个相似性度量:0.7、0.6、0.9、0.8、0.1,可以构建如图4所示P4~P8点的相似性度量的变化曲线。其中,P4、P5、P6、P7、P8分别表示第4、5、6、7、8次配准迭代的相似性度量。According to 5 similarity measures: 0.7, 0.6, 0.9, 0.8, 0.1, the change curve of the similarity measure of points P4 to P8 as shown in Figure 4 can be constructed. Among them, P4, P5, P6, P7, and P8 represent the similarity measures of the 4th, 5th, 6th, 7th, and 8th registration iterations, respectively.
此时,分段导数是相似性度量的变化曲线中,第x次配准迭代的相似性度量所在点与第x+1次配准迭代的相似性度量所在点之间的斜率。其中,4≤x≤7。即P4和P5之间、P5和P6之间、P7和P8之间分别为一个分段。At this time, the piecewise derivative is the slope between the point where the similarity measure of the xth registration iteration is located and the point where the similarity measure of the x+1th registration iteration is located in the change curve of the similarity measure. Among them, 4≤x≤7. That is, there is a segment between P4 and P5, between P5 and P6, and between P7 and P8.
分别计算P4与P5点之间的斜率:(0.7-0.6)/1=0.1、P5与P6点之间的斜率:(0.6-0.9)/1=-0.3、P6与P7点之间的斜率:(0.9-0.8)/1=0.1、P7与P8点之间的斜率:(0.8-0.1)/1=0.7。并计算各个分段导数的绝对值之和:0.1+|-0.3|+0.1+0.7=1.2,以作为5个相似性度量的变化速度。Calculate the slope between points P4 and P5: (0.7-0.6)/1=0.1, the slope between points P5 and P6: (0.6-0.9)/1=-0.3, the slope between points P6 and P7: (0.9-0.8)/1=0.1, slope between points P7 and P8: (0.8-0.1)/1=0.7. And calculate the sum of the absolute value of each piecewise derivative: 0.1+|-0.3|+0.1+0.7=1.2, as the change speed of 5 similarity measures.
2024C、根据所述N+1个相似性度量的变化速度确定所述目标配准位置的目标置信度。2024C. Determine a target confidence level of the target registration position according to the change speed of the N+1 similarity measures.
其中,目标置信度与N+1个相似性度量的变化速度呈正相关。Among them, the target confidence is positively correlated with the rate of change of N+1 similarity measures.
在一些实施例中,根据所述N+1个相似性度量的变化速度确定所述目标配准位置的目标置信度,具体可以包括:根据变化速度和置信度之间的预设关系、以及N+1个相似性度量的变化速度,确定目标配准位置的目标置信度。In some embodiments, determining the target confidence of the target registration position according to the change speed of the N+1 similarity measures may specifically include: according to a preset relationship between the change speed and the confidence, and N +1 rate of change of similarity measure to determine target confidence for target registration location.
在一种实施方式中,变化速度和置信度之间的预设关系可以通过预设的关系映射表表示。示例性地,变化速度和置信度存在如下表2所示关系,若N+1个相似性度量的变化速度为1.1,则可以确定目标置信度为0.1;若N+1个相似性度量的变化速度为1.3,则可以确定目标置信度为0.3。In one embodiment, the preset relationship between the change speed and the confidence level may be represented by a preset relationship mapping table. Exemplarily, there is a relationship between the change speed and the confidence level as shown in Table 2 below. If the change speed of the N+1 similarity measures is 1.1, the target confidence level can be determined to be 0.1; if the change of the N+1 similarity measures If the speed is 1.3, the target confidence can be determined to be 0.3.
表2Table 2
变化速度speed of change 置信度Confidence
1.11.1 0.10.1
1.21.2 0.20.2
1.31.3 0.30.3
...... ......
在一种实施方式中,变化速度和置信度之间的预设关系可以通过预设的函数关系表示。示例性地,变化速度和置信度之间存在如下函数关系:y=f(x)=0.1*x。其中,y表示置信度,x表示变化速度。若N+1个相似性度量的变化速度为1.1,则可以确定目标置信度为0.11。In one embodiment, the preset relationship between the change speed and the confidence level may be represented by a preset functional relationship. Exemplarily, the following functional relationship exists between the rate of change and the confidence: y=f(x)=0.1*x. where y is the confidence level and x is the rate of change. If the rate of change of the N+1 similarity measures is 1.1, the target confidence level can be determined to be 0.11.
本申请实施例中认为目标配准位置的相似性度量与其他位置的相似性度量之间变化的剧烈程度,可以在一定程度上反映目标配准位置的配准准确度。而数据变化速度可以反映数据的变化剧烈程度,通过根据N+1个相似性度量(包括N个其他位置的相似性度量、与目标配准位置的相似性度量)之间的变化速度,确定目标配准位置的置信度,以评估在目标配准位置时图像配准的准确度,可以避免依赖单一的相似性度量作为图像配准的衡量标准,进而在一定程度上提高了图像配准结果的准确度。In the embodiment of the present application, it is considered that the degree of change between the similarity measure of the target registration position and the similarity measure of other positions can reflect the registration accuracy of the target registration position to a certain extent. The speed of data change can reflect the severity of the data change, and the target is determined according to the speed of change between N+1 similarity measures (including the similarity measures of N other positions and the similarity measure of the target registration position). The confidence of the registration position is used to evaluate the accuracy of image registration at the target registration position, which can avoid relying on a single similarity measure as the measurement standard of image registration, thereby improving the accuracy of image registration results to a certain extent. Accuracy.
进一步地,为了提高图像配准评估的准确度,还可以将置信度评价因素是相似性度量时确定的目标置信度、置信度评价因素是相似性度量的波动程度时确定的目标置信度、以及置信度评价因素是相似性度量的变化速度时确定的目标置信度中两者或三者按照一定的权重比例相加,作为最终的目标配准位置的目标置信度。Further, in order to improve the accuracy of image registration evaluation, the target confidence determined when the confidence evaluation factor is the similarity measure, the target confidence determined when the confidence evaluation factor is the fluctuation degree of the similarity measure, and The confidence evaluation factor is the addition of two or three of the target confidences determined when the similarity measure changes speed according to a certain weight ratio, as the target confidence of the final target registration position.
例如,置信度评价因素是相似性度量时确定的目标置信度为0.9、置信度评价因素是相似性度量的波动程度时确定的目标置信度为0.8、置信度评价因素是相似性度量的变化速度时确定的目标置信度为0.8。根据预设的加权公式h=0.4*h1+0.3*h2+0.3*h3,可以确定最终的目标配准位置的目标置信度为:0.4*0.9+0.3*0.8+0.3*0.8=0.84。For example, when the confidence evaluation factor is the similarity measure, the target confidence is 0.9; when the confidence evaluation factor is the fluctuation degree of the similarity measure, the target confidence is 0.8; the confidence evaluation factor is the change speed of the similarity measure. The target confidence level was determined to be 0.8. According to the preset weighting formula h=0.4*h1+0.3*h2+0.3*h3, the target confidence level of the final target registration position can be determined as: 0.4*0.9+0.3*0.8+0.3*0.8=0.84.
其中,h1、h2、h3分别表示上述置信度评价因素是相似性度量时确定的目标置信度、置信度评价因素是相似性度量的波动程度时确定的目标置信度、置信度评价因素是相似性度量的变化速度时确定的目标置信度,h表示最终的目标配准位置的目标置信度。0.4、0.3、0.3分别h1、h2、h3的权重系数,h1、h2、h3的权重系数可以根据实际情况和需求而调整,此处仅为举例,不以此为限。Among them, h1, h2, h3 respectively represent the target confidence determined when the above confidence evaluation factor is the similarity measure, the confidence evaluation factor is the target confidence determined when the confidence evaluation factor is the fluctuation degree of the similarity measure, and the confidence evaluation factor is the similarity The target confidence is determined when the metric changes speed, and h represents the target confidence of the final target registration position. 0.4, 0.3, and 0.3 are the weight coefficients of h1, h2, and h3, respectively. The weight coefficients of h1, h2, and h3 can be adjusted according to the actual situation and needs. This is just an example, not a limitation.
在本申请的一些实施例中,为了提高图像配准结果的可参考性,目标图像与预设的参考图像的相似度满足预设配准条件时的位置时,即在目标配准位置时,若目标前配准位置的目标置信度较高,才输出图像配准结果。若目标配准位置的目标置信度较低时,不输出图像配准结果。以避免用户采用准确度较低甚至是错误的图像配准结果作进一步的影像处理。In some embodiments of the present application, in order to improve the referability of the image registration result, when the similarity between the target image and the preset reference image satisfies the preset registration conditions, that is, when the target registration position is located, The image registration result is output only if the target confidence at the registration position in front of the target is high. If the target confidence of the target registration position is low, the image registration result is not output. In order to avoid users adopting lower accuracy or even wrong image registration results for further image processing.
即在本申请的一些实施例中,在步骤202之后还可以包括:检测所述目标置信度是否大于或等于预设置信度阈值;当检测到所述目标置信度大于或等于所述预设置信度阈值时,显示图像配准结果,所述图像配准结果包括所述目标图像的目标配准位置和/或配准后的所述目标图像和所述参考图像。That is, in some embodiments of the present application, after step 202, it may further include: detecting whether the target confidence is greater than or equal to a preset confidence threshold; when it is detected that the target confidence is greater than or equal to the preset confidence When the degree threshold is reached, the image registration result is displayed, and the image registration result includes the target registration position of the target image and/or the registered target image and the reference image.
进一步地,为了便于用户了解图像配准的情况,当检测到所述目标置信度小于所述预设置信度阈值时,输出指示所述目标图像与所述参考图像的图像配准准确度低的提示信息。Further, in order to facilitate the user to understand the situation of image registration, when it is detected that the target confidence is less than the preset confidence threshold, output a message indicating that the image registration accuracy of the target image and the reference image is low. prompt information.
例如,目标置信度的取值范围为0%~100%,置信度越高代表图像配准结果的准确度越高,当目标置信度小于预设置信度阈值如50%时,认为待配准的图像数据信息量不足,不显示图像配准结果。当目标置信度大于或等于50%时,显示图像配准结果,比如显示目标图像的目标配准位置和/或配准后的目标图像和参考图像。For example, the target confidence level ranges from 0% to 100%. The higher the confidence level, the higher the accuracy of the image registration result. When the target confidence level is less than a preset confidence threshold such as 50%, it is considered to be registered. The amount of information in the image data is insufficient, and the image registration result is not displayed. When the target confidence is greater than or equal to 50%, the image registration result is displayed, for example, the target registration position of the target image and/or the registered target image and the reference image are displayed.
其中,预设置信度阈值可以根据实际需求而设置,在此不做限定。The preset reliability threshold may be set according to actual requirements, which is not limited here.
进一步地,若目标配准位置的目标置信度较低时,不自动显示图像配准结果,但用户可以自主选择显示图像配准结果。此时,“所述输出指示所述目标图像与所述参考图像的图像配准准确度低的提示信息”的步骤之后还包括:获取请求显示图像配准结果的显示指令;显示所述目标图像与所述参考图像的图像配准结果。Further, if the target confidence of the target registration position is low, the image registration result is not automatically displayed, but the user can choose to display the image registration result independently. At this time, the step of "outputting prompt information indicating that the image registration accuracy of the target image and the reference image is low" further includes: acquiring a display instruction requesting to display the image registration result; displaying the target image Image registration result with the reference image.
在本申请的一些实施例中,无论图像配准结果如何,均显示目标图像与参考图像的图像配准结果,并显示目标配准位置的目标置信度。以便于用户可以了解到所显示的图像配准结果的准确度,并根据实际需求确定是否采用所显示的图像配准结果作进一步的影像处理。即在本申请的一些实施例中,在步骤202之后还可以包括:显示所述目标图像与所述参考图像的图像配准结果,并 显示所述目标置信度。In some embodiments of the present application, regardless of the image registration result, the image registration result of the target image and the reference image is displayed, and the target confidence level of the target registration position is displayed. So that the user can know the accuracy of the displayed image registration result, and determine whether to use the displayed image registration result for further image processing according to actual needs. That is, in some embodiments of the present application, after step 202, it may further include: displaying an image registration result between the target image and the reference image, and displaying the target confidence.
为了更好实施本申请实施例中图像配准评估方法,在图像配准评估方法基础之上,本申请实施例中还提供一种图像配准评估装置,如图5所示,该图像配准评估装置500包括:In order to better implement the image registration evaluation method in the embodiment of the present application, on the basis of the image registration evaluation method, an image registration evaluation device is also provided in the embodiment of the present application, as shown in FIG. Evaluation device 500 includes:
获取单元501,用于获取目标图像的目标配准位置,其中,所述目标配准位置是指在配准过程中所述目标图像与预设的参考图像的相似度满足预设配准条件时的位置;The obtaining unit 501 is configured to obtain a target registration position of a target image, wherein the target registration position refers to when the similarity between the target image and a preset reference image satisfies a preset registration condition during the registration process s position;
评估单元502,用于根据置信度评价因素,确定所述目标配准位置的目标置信度,以评估图像配准的准确度,其中,所述置信度评价因素为评估图像配准准确度的多个因素。The evaluation unit 502 is configured to determine the target confidence of the target registration position according to the confidence evaluation factor, so as to evaluate the accuracy of the image registration, wherein the confidence evaluation factor is a number of factors for evaluating the accuracy of the image registration. a factor.
在本申请一些实施方式中,所述评估单元502具体用于:In some embodiments of the present application, the evaluation unit 502 is specifically configured to:
根据相似性度量的绝对值、相似性度量的变化速度、相似性度量的波动程度中的至少一者,确定所述目标配准位置的目标置信度,以评估图像配准的准确度。According to at least one of the absolute value of the similarity measure, the change speed of the similarity measure, and the fluctuation degree of the similarity measure, the target confidence level of the target registration position is determined to evaluate the accuracy of image registration.
在本申请一些实施方式中,所述评估单元502具体用于:In some embodiments of the present application, the evaluation unit 502 is specifically configured to:
获取所述目标图像与所述参考图像第i次配准迭代的相似性度量,其中,所述第i次配准迭代时所述目标图像位于所述目标配准位置,所述i为大于0的整数;Obtain the similarity measure of the ith registration iteration between the target image and the reference image, wherein the target image is located at the target registration position during the ith registration iteration, and the i is greater than 0 the integer;
获取所述目标图像与所述参考图像所述第i次配准迭代之前和/或所述第i次配准迭代之后的N次配准迭代的相似性度量,其中,所述N为大于0的整数;Obtain the similarity measure of the target image and the reference image for N registration iterations before the ith registration iteration and/or after the ith registration iteration, where N is greater than 0 the integer;
根据所述第i次配准迭代的相似性度量和所述N次配准迭代的相似性度量,确定N+1个相似性度量的波动程度;According to the similarity measure of the ith registration iteration and the similarity measure of the N registration iterations, determine the degree of fluctuation of N+1 similarity measures;
根据所述N+1个相似性度量的波动程度确定所述目标配准位置的目标置信度。The target confidence level of the target registration position is determined according to the fluctuation degree of the N+1 similarity measures.
在本申请一些实施方式中,所述评估单元502具体用于:In some embodiments of the present application, the evaluation unit 502 is specifically configured to:
获取所述目标图像与所述参考图像的第i-N次到第i-1次配准迭代的相似性度量,所述N小于等于所述i。Obtain the similarity measure between the target image and the reference image from the i-Nth to the i-1th registration iteration, where N is less than or equal to the i.
在本申请一些实施方式中,所述评估单元502具体用于:In some embodiments of the present application, the evaluation unit 502 is specifically configured to:
获取所述目标图像与所述参考图像的第i+1次到第i+N次配准迭代的相似性度量,所述N大于所述i。Obtain the similarity measure of the registration iteration from the i+1th to the i+Nth registration iteration between the target image and the reference image, where N is greater than the i.
在本申请一些实施方式中,所述评估单元502具体用于:In some embodiments of the present application, the evaluation unit 502 is specifically configured to:
获取所述目标图像与所述参考图像的第i-n1次到第i-1次配准迭代的相似性度量,所述n1为小于等于所述i的整数;obtaining the similarity measure of the registration iteration from the i-n1th to the i-1th registration iteration between the target image and the reference image, where n1 is an integer less than or equal to the i;
获取所述目标图像与所述参考图像的第i+1次到第i+n2次配准迭代的相似性度量,所述n2为0的整数,且所述n1和所述n2的和为所述N。Obtain the similarity measure of the registration iteration from the i+1th to the i+n2th time between the target image and the reference image, where the n2 is an integer of 0, and the sum of the n1 and the n2 is the said N.
在本申请一些实施方式中,所述评估单元502具体用于:In some embodiments of the present application, the evaluation unit 502 is specifically configured to:
通过以下任一方式确定N+1个相似性度量的波动程度:所述N+1个相似性度量的方差、所述N+1个相似性度量的标准差、所述N+1个相似性度量的极差、所述N+1个相似性度量的四分位差、所述N+1个相似性度量的平均差或所述N+1个相似性度量的变异系数。The degree of volatility of the N+1 similarity measures is determined by any of the following methods: variance of the N+1 similarity measures, standard deviation of the N+1 similarity measures, the N+1 similarity measures The range of the measure, the interquartile range of the N+1 similarity measures, the mean difference of the N+1 similarity measures, or the coefficient of variation of the N+1 similarity measures.
在本申请一些实施方式中,所述评估单元502具体用于:In some embodiments of the present application, the evaluation unit 502 is specifically configured to:
获取所述目标图像与所述参考图像第i次配准迭代的相似性度量,其中,所述第i次配准迭代时所述目标图像位于所述目标配准位置,所述i为大于0的整数;Obtain the similarity measure of the ith registration iteration between the target image and the reference image, wherein the target image is located at the target registration position during the ith registration iteration, and the i is greater than 0 the integer;
获取所述目标图像与所述参考图像所述第i次配准迭代之前和/或所述第i次配准迭代之后的N次配准迭代的相似性度量,其中,所述N为大于0的整数;Obtain the similarity measure of the target image and the reference image for N registration iterations before the ith registration iteration and/or after the ith registration iteration, where N is greater than 0 the integer;
根据所述第i次配准迭代的相似性度量和所述N次配准迭代的相似性度量,确定N+1个相似性度量的变化速度;According to the similarity measure of the ith registration iteration and the similarity measure of the N registration iterations, determine the change speed of N+1 similarity measures;
根据所述N+1个相似性度量的变化速度确定所述目标配准位置的目标置信度。The target confidence level of the target registration position is determined according to the change speed of the N+1 similarity measures.
在本申请一些实施方式中,所述评估单元502具体用于:In some embodiments of the present application, the evaluation unit 502 is specifically configured to:
根据所述第i次配准迭代的相似性度量和所述N次配准迭代的相似性度量,构建N+1个相似性度量的变化曲线;According to the similarity measure of the ith registration iteration and the similarity measure of the N registration iterations, constructing change curves of N+1 similarity measures;
获取所述变化曲线的各个分段导数;obtaining each piecewise derivative of the variation curve;
获取所述各个分段导数的绝对值之和,以作为所述N+1个相似性度量的变化速度。The sum of the absolute values of the respective piecewise derivatives is obtained as the rate of change of the N+1 similarity measures.
在本申请一些实施方式中,所述图像配准评估装置500还包括显示单元(图 中未示出),在所述根据置信度评价因素,确定所述目标配准位置的目标置信度的步骤之后,所述显示单元具体用于:In some embodiments of the present application, the image registration evaluation apparatus 500 further includes a display unit (not shown in the figure), and in the step of determining the target confidence of the target registration position according to the confidence evaluation factor After that, the display unit is specifically used for:
检测所述目标置信度是否大于或等于预设置信度阈值;Detecting whether the target confidence is greater than or equal to a preset reliability threshold;
当检测到所述目标置信度大于或等于所述预设置信度阈值时,显示图像配准结果,所述图像配准结果包括所述目标图像的目标配准位置和/或配准后的所述目标图像和所述参考图像。When it is detected that the confidence of the target is greater than or equal to the preset confidence threshold, an image registration result is displayed, and the image registration result includes the target registration position of the target image and/or all registered positions of the target image. the target image and the reference image.
在本申请一些实施方式中,所述图像配准评估装置500还包括提示单元(图中未示出),所述显示提示具体用于:In some embodiments of the present application, the image registration evaluation apparatus 500 further includes a prompt unit (not shown in the figure), and the display prompt is specifically used for:
当检测到所述目标置信度小于所述预设置信度阈值时,输出指示所述目标图像与所述参考图像的图像配准准确度低的提示信息。When it is detected that the target confidence is less than the preset confidence threshold, prompt information indicating that the image registration accuracy of the target image and the reference image is low is output.
在本申请一些实施方式中,在所述输出指示所述目标图像与所述参考图像的图像配准准确度低的提示信息的步骤之后,所述显示单元具体用于:In some embodiments of the present application, after the step of outputting prompt information indicating that the image registration accuracy of the target image and the reference image is low, the display unit is specifically configured to:
获取请求显示图像配准结果的显示指令;Obtain the display instruction requesting to display the image registration result;
显示所述目标图像与所述参考图像的图像配准结果。An image registration result of the target image and the reference image is displayed.
在本申请一些实施方式中,在所述根据置信度评价因素,确定所述目标配准位置的目标置信度的步骤之后,所述显示单元具体用于:In some embodiments of the present application, after the step of determining the target confidence of the target registration position according to the confidence evaluation factor, the display unit is specifically configured to:
显示所述目标图像与所述参考图像的图像配准结果,并显示所述目标置信度。The image registration result of the target image and the reference image is displayed, and the target confidence is displayed.
具体实施时,以上各个单元可以作为独立的实体来实现,也可以进行任意组合,作为同一或若干个实体来实现,以上各个单元的具体实施可参见前面的方法实施例,在此不再赘述。During specific implementation, the above units can be implemented as independent entities, or can be arbitrarily combined to be implemented as the same or several entities. The specific implementation of the above units can refer to the previous method embodiments, which will not be repeated here.
由于该图像配准评估装置可以执行本申请任意实施例中图像配准评估方法中的步骤,因此,可以实现本申请任意实施例中图像配准评估方法所能实现的有益效果,详见前面的说明,在此不再赘述。Since the image registration evaluation device can perform the steps in the image registration evaluation method in any embodiment of the present application, it can achieve the beneficial effects that can be achieved by the image registration evaluation method in any embodiment of the present application. description, which is not repeated here.
此外,为了更好实施本申请实施例中图像配准评估方法,在图像配准评估方法基础之上,本申请实施例还提供一种电子设备,其集成了本申请实施例所提供的任一种图像配准评估装置,所述电子设备包括:In addition, in order to better implement the image registration evaluation method in the embodiment of the present application, on the basis of the image registration evaluation method, the embodiment of the present application further provides an electronic device that integrates any of the methods provided in the embodiment of the present application. A kind of image registration evaluation device, the electronic equipment comprises:
一个或多个处理器;one or more processors;
存储器;memory;
以及一个或多个应用程序,其中所述一个或多个应用程序被存储于所述存储器中,并配置为由所述处理器执行上述图像配准评估方法实施例中任一实施例中所述的图像配准评估方法中的步骤。and one or more application programs, wherein the one or more application programs are stored in the memory and configured to be executed by the processor as described in any of the image registration evaluation method embodiments described above The steps in the image registration evaluation method.
本申请实施例还提供一种电子设备,其集成了本申请实施例所提供的任一种图像配准评估方法。如图6所示,其示出了本申请实施例所涉及的电子设备的结构示意图,具体来讲:The embodiments of the present application further provide an electronic device that integrates any of the image registration evaluation methods provided by the embodiments of the present application. As shown in FIG. 6, it shows a schematic structural diagram of an electronic device involved in an embodiment of the present application, specifically:
该电子设备可以包括一个或者一个以上处理核心的处理器601、一个或一个以上计算机可读存储介质的存储器602、电源603和输入单元604等部件。本领域技术人员可以理解,图6中示出的电子设备结构并不构成对电子设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。其中:The electronic device may include a processor 601 of one or more processing cores, a memory 602 of one or more computer-readable storage media, a power supply 603 and an input unit 604 and other components. Those skilled in the art can understand that the structure of the electronic device shown in FIG. 6 does not constitute a limitation on the electronic device, and may include more or less components than the one shown, or combine some components, or arrange different components. in:
处理器601是该电子设备的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或执行存储在存储器602内的软件程序和/或模块,以及调用存储在存储器602内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。可选的,处理器601可包括一个或多个处理核心;优选的,处理器601可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器601中。The processor 601 is the control center of the electronic device, uses various interfaces and lines to connect various parts of the entire electronic device, runs or executes the software programs and/or modules stored in the memory 602, and invokes the software programs stored in the memory 602. Data, perform various functions of electronic equipment and process data, so as to conduct overall monitoring of electronic equipment. Optionally, the processor 601 may include one or more processing cores; preferably, the processor 601 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, etc. , the modem processor mainly deals with wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into the processor 601.
存储器602可用于存储软件程序以及模块,处理器601通过运行存储在存储器602的软件程序以及模块,从而执行各种功能应用以及数据处理。存储器602可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据电子设备的使用所创建的数据等。此外,存储器602可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。相应地,存储器602还可以包括存储器控制器,以提供处理器601对存储器602的访问。The memory 602 can be used to store software programs and modules, and the processor 601 executes various functional applications and data processing by running the software programs and modules stored in the memory 602 . The memory 602 may mainly include a stored program area and a stored data area, wherein the stored program area may store an operating system, an application program (such as a sound playback function, an image playback function, etc.) required for at least one function, and the like; Data created by the use of electronic equipment, etc. Additionally, memory 602 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, memory 602 may also include a memory controller to provide processor 601 access to memory 602 .
电子设备还包括给各个部件供电的电源603,优选的,电源603可以通过电源管理系统与处理器601逻辑相连,从而通过电源管理系统实现管理充电、放 电、以及功耗管理等功能。电源603还可以包括一个或一个以上的直流或交流电源、再充电系统、电源故障检测电路、电源转换器或者逆变器、电源状态指示器等任意组件。The electronic device also includes a power supply 603 for supplying power to various components. Preferably, the power supply 603 can be logically connected to the processor 601 through a power management system, so as to manage charging, discharging, and power consumption management functions through the power management system. Power source 603 may also include one or more DC or AC power sources, recharging systems, power failure detection circuits, power converters or inverters, power status indicators, and any other components.
该电子设备还可包括输入单元604,该输入单元604可用于接收输入的数字或字符信息,以及产生与用户设置以及功能控制有关的键盘、鼠标、操作杆、光学或者轨迹球信号输入。The electronic device may also include an input unit 604 that may be used to receive input numerical or character information and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.
尽管未示出,电子设备还可以包括显示单元等,在此不再赘述。具体在本实施例中,电子设备中的处理器601会按照如下的指令,将一个或一个以上的应用程序的进程对应的可执行文件加载到存储器602中,并由处理器601来运行存储在存储器602中的应用程序,从而实现各种功能,如下:Although not shown, the electronic device may further include a display unit and the like, which will not be described here. Specifically in this embodiment, the processor 601 in the electronic device loads the executable files corresponding to the processes of one or more application programs into the memory 602 according to the following instructions, and the processor 601 executes the execution and stores the executable files in the memory 602 . The application program in the memory 602, thereby realizing various functions, as follows:
获取目标图像的目标配准位置,其中,所述目标配准位置是指在配准过程中所述目标图像与预设的参考图像的相似度满足预设配准条件时的位置;Obtaining a target registration position of the target image, wherein the target registration position refers to the position when the similarity between the target image and a preset reference image satisfies a preset registration condition during the registration process;
根据置信度评价因素,确定所述目标配准位置的目标置信度,以评估图像配准的准确度,其中,所述置信度评价因素为评估图像配准准确度的多个因素。The target confidence of the target registration position is determined according to a confidence evaluation factor to evaluate the accuracy of image registration, wherein the confidence evaluation factor is a plurality of factors for evaluating the accuracy of image registration.
本领域普通技术人员可以理解,上述实施例的各种方法中的全部或部分步骤可以通过指令来完成,或通过指令控制相关的硬件来完成,该指令可以存储于一计算机可读存储介质中,并由处理器进行加载和执行。Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above-mentioned embodiments can be completed by instructions, or by instructions that control relevant hardware, and the instructions can be stored in a computer-readable storage medium, and loaded and executed by the processor.
为此,本申请实施例提供一种计算机可读存储介质,该存储介质可以包括:只读存储器(ROM,Read Only Memory)、随机存取记忆体(RAM,Random Access Memory)、磁盘或光盘等。其上存储有计算机程序,所述计算机程序被处理器进行加载,以执行本申请实施例所提供的任一种图像配准评估方法中的步骤。例如,所述计算机程序被处理器进行加载可以执行如下步骤:To this end, an embodiment of the present application provides a computer-readable storage medium, and the storage medium may include: a read-only memory (ROM, Read Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk or an optical disk, etc. . A computer program is stored thereon, and the computer program is loaded by the processor to execute the steps in any of the image registration evaluation methods provided in the embodiments of the present application. For example, the computer program being loaded by the processor may perform the following steps:
获取目标图像的目标配准位置,其中,所述目标配准位置是指在配准过程中所述目标图像与预设的参考图像的相似度满足预设配准条件时的位置;Obtaining a target registration position of the target image, wherein the target registration position refers to the position when the similarity between the target image and a preset reference image satisfies a preset registration condition during the registration process;
根据置信度评价因素,确定所述目标配准位置的目标置信度,以评估图像配准的准确度,其中,所述置信度评价因素为评估图像配准准确度的多个因素。The target confidence of the target registration position is determined according to a confidence evaluation factor to evaluate the accuracy of image registration, wherein the confidence evaluation factor is a plurality of factors for evaluating the accuracy of image registration.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见上文针对其他实施例的详细描述,此处不再赘述。In the above-mentioned embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference may be made to the above detailed description of other embodiments, and details are not repeated here.
具体实施时,以上各个单元或结构可以作为独立的实体来实现,也可以进 行任意组合,作为同一或若干个实体来实现,以上各个单元或结构的具体实施可参见前面的方法实施例,在此不再赘述。During specific implementation, the above units or structures can be implemented as independent entities, or can be arbitrarily combined to be implemented as the same or several entities. For the specific implementation of the above units or structures, reference may be made to the foregoing method embodiments. No longer.
以上各个操作的具体实施可参见前面的实施例,在此不再赘述。For the specific implementation of the above operations, reference may be made to the foregoing embodiments, and details are not described herein again.
以上对本申请实施例所提供的一种图像配准评估方法、装置、电子设备及计算机可读存储介质进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。The image registration evaluation method, device, electronic device, and computer-readable storage medium provided by the embodiments of the present application have been described in detail above. The principles and implementations of the present application are described with specific examples. The description of the embodiment is only used to help understand the method of the present application and its core idea; meanwhile, for those skilled in the art, according to the idea of the present application, there will be changes in the specific embodiments and application scope. As stated, the contents of this specification should not be construed as limiting the application.

Claims (16)

  1. 一种图像配准评估方法,其特征在于,所述图像配准评估方法包括:An image registration evaluation method, characterized in that the image registration evaluation method comprises:
    获取目标图像的目标配准位置,其中,所述目标配准位置是指在配准过程中所述目标图像与预设的参考图像的相似度满足预设配准条件时的位置;Obtaining a target registration position of the target image, wherein the target registration position refers to the position when the similarity between the target image and a preset reference image satisfies a preset registration condition during the registration process;
    根据置信度评价因素,确定所述目标配准位置的目标置信度,以评估图像配准的准确度,其中,所述置信度评价因素为评估图像配准准确度的多个因素。The target confidence of the target registration position is determined according to a confidence evaluation factor to evaluate the accuracy of image registration, wherein the confidence evaluation factor is a plurality of factors for evaluating the accuracy of image registration.
  2. 根据权利要求1所述的图像配准评估方法,其特征在于,所述置信度评价因素包括相似性度量、相似性度量的变化速度、相似性度量的波动程度中的至少一者。The image registration evaluation method according to claim 1, wherein the confidence evaluation factor comprises at least one of a similarity measure, a change speed of the similarity measure, and a fluctuation degree of the similarity measure.
  3. 根据权利要求2所述的图像配准评估方法,其特征在于,所述置信度评价因素包括相似性度量的波动程度的情况下,所述根据置信度评价因素,确定所述目标配准位置的目标置信度,包括:The image registration evaluation method according to claim 2, wherein when the confidence evaluation factor includes the degree of fluctuation of the similarity measure, the determination of the target registration position according to the confidence evaluation factor Target confidence, including:
    获取所述目标图像与所述参考图像第i次配准迭代的相似性度量,其中,所述第i次配准迭代时所述目标图像位于所述目标配准位置,所述i为大于0的整数;Obtain the similarity measure of the ith registration iteration between the target image and the reference image, wherein the target image is located at the target registration position during the ith registration iteration, and the i is greater than 0 the integer;
    获取所述目标图像与所述参考图像所述第i次配准迭代之前和/或所述第i次配准迭代之后的N次配准迭代的相似性度量,其中,所述N为大于0的整数;Obtain the similarity measure of the target image and the reference image for N registration iterations before the ith registration iteration and/or after the ith registration iteration, where N is greater than 0 the integer;
    根据所述第i次配准迭代的相似性度量和所述N次配准迭代的相似性度量,确定N+1个相似性度量的波动程度;According to the similarity measure of the ith registration iteration and the similarity measure of the N registration iterations, determine the degree of fluctuation of N+1 similarity measures;
    根据所述N+1个相似性度量的波动程度确定所述目标配准位置的目标置信度。The target confidence level of the target registration position is determined according to the fluctuation degree of the N+1 similarity measures.
  4. 根据权利要求3所述的图像配准评估方法,其特征在于,所述获取所述目标图像与所述参考图像所述第i次配准迭代之前N次配准迭代的相似性度量,包括:The image registration evaluation method according to claim 3, wherein the obtaining the similarity measure of the target image and the reference image for N registration iterations before the i-th registration iteration comprises:
    获取所述目标图像与所述参考图像的第i-N次到第i-1次配准迭代的相似性度量,所述N小于等于所述i。Obtain the similarity measure between the target image and the reference image from the i-Nth to the i-1th registration iteration, where N is less than or equal to the i.
  5. 根据权利要求3所述的图像配准评估方法,其特征在于,所述获取所述目标图像与所述参考图像所述第i次配准迭代之后N次配准迭代的相似性度量,包括:The image registration evaluation method according to claim 3, wherein the obtaining the similarity measure of the target image and the reference image N registration iterations after the i-th registration iteration comprises:
    获取所述目标图像与所述参考图像的第i+1次到第i+N次配准迭代的相似性度量,所述N大于所述i。Obtain the similarity measure of the registration iteration from the i+1th to the i+Nth registration iteration between the target image and the reference image, where N is greater than the i.
  6. 根据权利要求3所述的图像配准评估方法,其特征在于,所述获取所述目标图像与所述参考图像所述第i次配准迭代之前和所述第i次配准迭代之后的N次配准迭代的相似性度量,包括:The image registration evaluation method according to claim 3, wherein the acquisition of the target image and the reference image N before the ith registration iteration and after the ith registration iteration Similarity measures for sub-registration iterations, including:
    获取所述目标图像与所述参考图像的第i-n1次到第i-1次配准迭代的相似性度量,所述n1为小于等于所述i的整数;obtaining the similarity measure of the registration iteration from the i-n1th to the i-1th registration iteration between the target image and the reference image, where n1 is an integer less than or equal to the i;
    获取所述目标图像与所述参考图像的第i+1次到第i+n2次配准迭代的相似性度量,所述n2为大于0的整数,且所述n1和所述n2的和为所述N。Obtain the similarity measure of the registration iteration from the i+1th to the i+n2th time between the target image and the reference image, where the n2 is an integer greater than 0, and the sum of the n1 and the n2 is the N.
  7. 根据权利要求3所述的图像配准评估方法,其特征在于,通过以下任一方式确定N+1个相似性度量的波动程度:The image registration evaluation method according to claim 3, wherein the degree of fluctuation of the N+1 similarity measures is determined by any of the following methods:
    所述N+1个相似性度量的方差、所述N+1个相似性度量的标准差、所述N+1个相似性度量的极差、所述N+1个相似性度量的四分位差、所述N+1个相似性度量的平均差或所述N+1个相似性度量的变异系数。The variance of the N+1 similarity measures, the standard deviation of the N+1 similarity measures, the range of the N+1 similarity measures, the quartile of the N+1 similarity measures The disparity, the mean difference of the N+1 similarity measures, or the coefficient of variation of the N+1 similarity measures.
  8. 根据权利要求2所述的图像配准评估方法,其特征在于,所述置信度评价因素包括相似性度量的变化速度的情况下,所述根据置信度评价因素,确定所述目标配准位置的目标置信度,包括:The image registration evaluation method according to claim 2, wherein when the confidence evaluation factor includes a change speed of the similarity measure, the determination of the target registration position according to the confidence evaluation factor Target confidence, including:
    获取所述目标图像与所述参考图像第i次配准迭代的相似性度量,其中,所述第i次配准迭代时所述目标图像位于所述目标配准位置,所述i为大于0的整数;Obtain the similarity measure of the ith registration iteration between the target image and the reference image, wherein the target image is located at the target registration position during the ith registration iteration, and the i is greater than 0 the integer;
    获取所述目标图像与所述参考图像所述第i次配准迭代之前和/或所述第i次配准迭代之后的N次配准迭代的相似性度量,其中,所述N 为大于0的整数;obtaining the similarity measure of the target image and the reference image for N registration iterations before the ith registration iteration and/or after the ith registration iteration, where N is greater than 0 the integer;
    根据所述第i次配准迭代的相似性度量和所述N次配准迭代的相似性度量,确定N+1个相似性度量的变化速度;According to the similarity measure of the ith registration iteration and the similarity measure of the N registration iterations, determine the change speed of N+1 similarity measures;
    根据所述N+1个相似性度量的变化速度确定所述目标配准位置的目标置信度。The target confidence level of the target registration position is determined according to the change speed of the N+1 similarity measures.
  9. 根据权利要求8所述的图像配准评估方法,其特征在于,所述根据所述第i次配准迭代的相似性度量和所述N次配准迭代的相似性度量,确定N+1个相似性度量的变化速度,包括:The image registration evaluation method according to claim 8, characterized in that, according to the similarity measure of the ith registration iteration and the similarity measure of the N registration iterations, N+1 are determined. The rate of change of similarity measures, including:
    根据所述第i次配准迭代的相似性度量和所述N次配准迭代的相似性度量,构建N+1个相似性度量的变化曲线;According to the similarity measure of the ith registration iteration and the similarity measure of the N registration iterations, constructing change curves of N+1 similarity measures;
    获取所述变化曲线的各个分段导数;obtaining each piecewise derivative of the variation curve;
    获取所述各个分段导数的绝对值之和,以作为所述N+1个相似性度量的变化速度。The sum of the absolute values of the respective piecewise derivatives is obtained as the rate of change of the N+1 similarity measures.
  10. 根据权利要求1所述的图像配准评估方法,其特征在于,所述根据置信度评价因素,确定所述目标配准位置的目标置信度,之后还包括:The image registration evaluation method according to claim 1, wherein the determining the target confidence of the target registration position according to the confidence evaluation factor, further comprising:
    检测所述目标置信度是否大于或等于预设置信度阈值;Detecting whether the target confidence is greater than or equal to a preset reliability threshold;
    当检测到所述目标置信度大于或等于所述预设置信度阈值时,显示图像配准结果,所述图像配准结果包括所述目标图像的目标配准位置和/或配准后的所述目标图像和所述参考图像。When it is detected that the confidence of the target is greater than or equal to the preset confidence threshold, an image registration result is displayed, and the image registration result includes the target registration position of the target image and/or all registered positions of the target image. the target image and the reference image.
  11. 根据权利要求10所述的图像配准评估方法,其特征在于,还包括:The image registration evaluation method according to claim 10, further comprising:
    当检测到所述目标置信度小于所述预设置信度阈值时,输出指示所述目标图像与所述参考图像的图像配准准确度低的提示信息。When it is detected that the target confidence is less than the preset confidence threshold, prompt information indicating that the image registration accuracy of the target image and the reference image is low is output.
  12. 根据权利要求11所述的图像配准评估方法,其特征在于,所述输出指示所述目标图像与所述参考图像的图像配准准确度低的提示信息,之后还包括:The image registration evaluation method according to claim 11, wherein the outputting prompt information indicating that the image registration accuracy of the target image and the reference image is low, further comprising:
    获取请求显示图像配准结果的显示指令;Obtain the display instruction requesting to display the image registration result;
    显示所述目标图像与所述参考图像的图像配准结果。An image registration result of the target image and the reference image is displayed.
  13. 根据权利要求1所述的图像配准评估方法,其特征在于,所述根据置信度评价因素,确定所述目标配准位置的目标置信度,之后还包括:The image registration evaluation method according to claim 1, wherein the determining the target confidence of the target registration position according to the confidence evaluation factor, further comprising:
    显示所述目标图像与所述参考图像的图像配准结果,并显示所述目标置信度。The image registration result of the target image and the reference image is displayed, and the target confidence is displayed.
  14. 一种图像配准评估装置,其特征在于,所述图像配准评估装置包括:An image registration evaluation device, characterized in that, the image registration evaluation device comprises:
    获取单元,用于获取目标图像的目标配准位置,其中,所述目标配准位置是指在配准过程中所述目标图像与预设的参考图像的相似度满足预设配准条件时的位置;The acquiring unit is configured to acquire the target registration position of the target image, wherein the target registration position refers to the time when the similarity between the target image and the preset reference image satisfies the preset registration condition during the registration process. Location;
    评估单元,用于根据置信度评价因素,确定所述目标配准位置的目标置信度,以评估图像配准的准确度,其中,所述置信度评价因素为评估图像配准准确度的多个因素。The evaluation unit is configured to determine the target confidence of the target registration position according to the confidence evaluation factor, so as to evaluate the accuracy of the image registration, wherein the confidence evaluation factor is a plurality of factors for evaluating the accuracy of the image registration. factor.
  15. 一种电子设备,其特征在于,包括处理器和存储器,所述存储器中存储有计算机程序,所述处理器调用所述存储器中的计算机程序时执行如权利要求1至13任一项所述的图像配准评估方法。An electronic device, characterized in that it comprises a processor and a memory, wherein a computer program is stored in the memory, and the processor executes the computer program according to any one of claims 1 to 13 when the processor calls the computer program in the memory Image Registration Evaluation Methods.
  16. 一种计算机可读存储介质,其特征在于,其上存储有计算机程序,所述计算机程序被处理器进行加载,以执行权利要求1至13任一项所述的图像配准评估方法中的步骤。A computer-readable storage medium, characterized in that a computer program is stored thereon, and the computer program is loaded by a processor to execute the steps in the image registration evaluation method according to any one of claims 1 to 13 .
PCT/CN2020/142430 2020-12-31 2020-12-31 Image registration evaluation method and apparatus, and electronic device and readable storage medium WO2022141531A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2020/142430 WO2022141531A1 (en) 2020-12-31 2020-12-31 Image registration evaluation method and apparatus, and electronic device and readable storage medium
CN202080108422.4A CN116868233A (en) 2020-12-31 2020-12-31 Image registration evaluation method, device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/142430 WO2022141531A1 (en) 2020-12-31 2020-12-31 Image registration evaluation method and apparatus, and electronic device and readable storage medium

Publications (1)

Publication Number Publication Date
WO2022141531A1 true WO2022141531A1 (en) 2022-07-07

Family

ID=82260134

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/142430 WO2022141531A1 (en) 2020-12-31 2020-12-31 Image registration evaluation method and apparatus, and electronic device and readable storage medium

Country Status (2)

Country Link
CN (1) CN116868233A (en)
WO (1) WO2022141531A1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050238253A1 (en) * 2002-11-29 2005-10-27 Mirada Solutions Limited British Body Corporate Image registration
US20100046858A1 (en) * 2008-08-20 2010-02-25 Hankuk University Of Foreign Studies Research And Industry-University Cooperation Foundation. Image registration evaluation
CN103632338A (en) * 2013-12-05 2014-03-12 鲁东大学 Matching curve feature based image registration evaluating method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050238253A1 (en) * 2002-11-29 2005-10-27 Mirada Solutions Limited British Body Corporate Image registration
US20100046858A1 (en) * 2008-08-20 2010-02-25 Hankuk University Of Foreign Studies Research And Industry-University Cooperation Foundation. Image registration evaluation
CN103632338A (en) * 2013-12-05 2014-03-12 鲁东大学 Matching curve feature based image registration evaluating method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
LI JINGNA;DENG JIAXING;WANG GANG: "Satellite Image Registration and Matching Curves Feature Assessment Method", OPTO-ELECTRONIC ENGINEERING, vol. 41, no. 3, 15 March 2014 (2014-03-15), pages 73 - 81, XP055947104, ISSN: 1003-501X, DOI: 10.3969/j.issn.1003-501X.2014.03.012 *
SHU, LIXIA ET AL.: "An Objective and Quantitative Assessment Method on Image Registration", BEIJING BIOMEDICAL ENGINEERING, vol. 28, no. 3, 30 June 2009 (2009-06-30), pages 278 - 282, XP009537948, ISSN: 1002-3208 *

Also Published As

Publication number Publication date
CN116868233A (en) 2023-10-10

Similar Documents

Publication Publication Date Title
US8805015B2 (en) Electronic device and method for measuring point cloud of object
CN112489812B (en) Drug development analysis method, drug development analysis device, electronic device, and storage medium
CN111007485B (en) Image processing method and device and computer storage medium
WO2020186371A1 (en) 3d/2d blood vessel registration method and apparatus
WO2021227790A1 (en) Video image target association method, apparatus, and terminal device
WO2017113886A1 (en) Data cleaning method and device
EP3678067A1 (en) Recommending method and apparatus, storage medium, and terminal device
WO2021120589A1 (en) Method and apparatus for abnormal image filtering for use on 3d images, device, and storage medium
CN114332931A (en) Pet relation map updating method, device, equipment and computer-readable storage medium
CN112182067A (en) Individual height prediction method and device, electronic equipment and storage medium
WO2022141531A1 (en) Image registration evaluation method and apparatus, and electronic device and readable storage medium
CN116703929B (en) Method and device for determining glandular tube polarity disorder degree parameters
CN112926794A (en) Bank loan information prediction method and device
WO2023174178A1 (en) Heuristic search-based periodic nanostructure morphology parameter measurement method and apparatus
CN116309304A (en) Method and device for determining cell polarity disorder parameters
WO2023035355A1 (en) Information processing method and apparatus for batch stream fusion, and storage medium
Yuan et al. Anisotropic neighborhood searching for point cloud with sharp feature
CN114049401A (en) Binocular camera calibration method, device, equipment and medium
CN113608207A (en) Blast furnace burden surface shape measuring method, terminal equipment and storage medium
WO2021102614A1 (en) Method and terminal for processing positron emission tomography (pet) data
Barison et al. Biventricular tissue tracking with cardiovascular magnetic resonance: reference values of left-and right-ventricular strain
JP2012038290A (en) Feature quantity calculation device, image connection device, image search device, feature quantity calculation method, and feature quantity calculation program
CN107085657B (en) Quality index display method for detection data
WO2024002360A1 (en) Registration method and apparatus, and computer device and readable storage medium
WO2024055357A1 (en) Television definition adjustment method and device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20967869

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 202080108422.4

Country of ref document: CN

122 Ep: pct application non-entry in european phase

Ref document number: 20967869

Country of ref document: EP

Kind code of ref document: A1