CN113592774B - Star change detection method, star change detection device, electronic equipment and computer readable storage medium - Google Patents

Star change detection method, star change detection device, electronic equipment and computer readable storage medium Download PDF

Info

Publication number
CN113592774B
CN113592774B CN202110721384.6A CN202110721384A CN113592774B CN 113592774 B CN113592774 B CN 113592774B CN 202110721384 A CN202110721384 A CN 202110721384A CN 113592774 B CN113592774 B CN 113592774B
Authority
CN
China
Prior art keywords
star
detected
brightness
detection
points
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN202110721384.6A
Other languages
Chinese (zh)
Other versions
CN113592774A (en
Inventor
符正
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN202110721384.6A priority Critical patent/CN113592774B/en
Publication of CN113592774A publication Critical patent/CN113592774A/en
Application granted granted Critical
Publication of CN113592774B publication Critical patent/CN113592774B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/90Dynamic range modification of images or parts thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30204Marker

Landscapes

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

Abstract

Embodiments of the present disclosure provide a star-change detection method, apparatus, electronic device, and computer-readable storage medium. The method comprises the steps of obtaining an original star atlas; normalizing pixel values and pixel standard deviations of a plurality of original star images to obtain a plurality of corresponding star images to be detected; respectively obtaining undetermined star points; according to the positions of the undetermined star points in different star images to be detected, obtaining a plurality of aligned star images to be detected for Ji Duozhang the star images to be detected; and comparing the brightness of the to-be-determined star points in the aligned star map to be detected, and marking the to-be-determined star points as selected stars when the brightness change of the corresponding to-be-determined star points is within a star-changing brightness judgment threshold. It can be seen that, compared with other methods for obtaining the star variation by using the subtraction template, the star variation detection method provided by the embodiment of the disclosure has the advantages that the star variation screening efficiency is greatly improved, and the star variation detection method is not easy to be interfered.

Description

Star change detection method, star change detection device, electronic equipment and computer readable storage medium
Technical Field
Embodiments of the present disclosure relate generally to the field of astronomy and, more particularly, relate to a star detection method, apparatus, electronic device, and computer readable storage medium.
Background
In astronomy, the definition of Variable Star refers to a Star whose brightness and electromagnetic radiation are unstable, and which accompanies other physical changes.
The discovery and research of the variational is a hot topic in astronomical scientific research, and has extremely important position and effect for scientists to explore the creation and evolution of universe of mystery.
Therefore, finding an algorithm that is star-changed is particularly important.
Some methods acquire the satellite variation by subtracting templates, which is inefficient and susceptible to interference, thereby generating undesirable noise.
Therefore, how to improve the efficiency of the star-changing detection method is a problem to be solved.
Disclosure of Invention
According to embodiments of the present disclosure, a method, an apparatus, an electronic device, and a computer-readable storage medium for detecting a star change are provided.
In a first aspect of the present disclosure, a method of detecting a star variation is provided. The method comprises the following steps:
acquiring an original star atlas, wherein the original star atlas comprises a plurality of original star atlas;
normalizing pixel values and pixel standard deviations of a plurality of original star images to obtain a plurality of corresponding star images to be detected;
respectively obtaining pixel points with brightness larger than surrounding pixels in a plurality of star images to be detected, and marking the pixel points as undetermined star points;
according to the positions of the undetermined star points in different star images to be detected, obtaining a plurality of aligned star images to be detected for Ji Duozhang the star images to be detected;
and comparing the brightness of the to-be-determined star points in the aligned star map to be detected, and marking the to-be-determined star points as selected stars when the brightness change of the corresponding to-be-determined star points is within a star-changing brightness judgment threshold.
In the aspect and any possible implementation manner described above, there is further provided an implementation manner, where, for the step of obtaining a plurality of aligned star maps to be detected for the star map to be detected Ji Duozhang according to the positions of the undetermined star points in different star maps to be detected, the steps include:
dividing each star image to be detected into a plurality of alignment subareas according to the same layout, selecting the undetermined star point with highest brightness in each alignment subarea of each star image to be detected as a characteristic star point, wherein the characteristic star points selected in different star images to be detected by the alignment subareas are the same star point;
and according to the positions of the characteristic star points in different star images to be detected, obtaining a plurality of aligned star images to be detected for the Ji Duozhang star images to be detected.
In the foregoing aspect and any possible implementation manner, there is further provided an implementation manner, the step of comparing the brightness of the to-be-determined star point in the aligned to-be-detected star map, and when the brightness change of the corresponding to the to-be-determined star point is within the star-changing brightness judgment threshold, marking the to-be-determined star point as the selected star includes:
dividing each aligned star chart to be detected into a plurality of first detection subareas according to the same layout;
detecting the brightness of the characteristic star point with the maximum brightness in each first detection subarea of the star map to be detected after the alignment;
and marking the characteristic star point as a selected star change when the brightness change of the characteristic star point with the maximum brightness in the same first detection subarea of the star map to be detected after the alignment is within a star change brightness judgment threshold value.
Aspects and any one of the possible implementations as described above, further provides an implementation,
the step of comparing the brightness of the to-be-determined star points in the aligned to-be-detected star map, and marking the to-be-determined star point as the selected star change when the brightness change of the corresponding to the to-be-determined star point is within the star change brightness judgment threshold value further comprises:
dividing each star chart to be detected after alignment into a plurality of second detection subareas according to another identical layout, wherein the layouts of the second detection subareas and the first detection subareas are different;
detecting the brightness of the characteristic star point with the maximum brightness in each second detection subarea of the star map to be detected after the alignment;
and when the brightness change of the characteristic star point with the maximum brightness in the same second detection subarea of the star map to be detected after the alignment is also within a star changing brightness judgment threshold value, marking the characteristic star point as a secondary selected star changing.
Aspects and any one of the possible implementations as described above, further provides an implementation,
all the first detection subareas are rectangles with equal size, all the second detection subareas are rectangles with equal size, and the lengths or the widths of the first detection subareas and the second detection subareas are equal.
Aspects and any one of the possible implementations as described above, further provides an implementation,
the size of the second detection subarea of the first detection subarea or the second detection subarea is larger than the size of the area occupied by the largest star in the original star map.
In a second aspect of the present disclosure, there is provided a star-change detection device including:
an original star map acquisition unit adapted to acquire an original star map set including a plurality of original star maps;
the normalization processing unit is suitable for carrying out normalization processing on pixel values and pixel standard deviations of the plurality of original star images to obtain a plurality of corresponding star images to be detected;
the undetermined star point acquisition unit is suitable for respectively acquiring a plurality of pixel points with brightness larger than surrounding pixels in the star map to be detected, and marking the pixel points as undetermined star points;
the star map alignment unit to be detected is suitable for obtaining a plurality of aligned star maps to be detected for Ji Duozhang the star maps to be detected according to the positions of the undetermined star points in different star maps to be detected;
the star-changing detection unit is suitable for comparing the brightness of the to-be-determined star points in the aligned star images to be detected, and marking the to-be-determined star points as selected stars when the brightness change of the corresponding to-be-determined star points is within a star-changing brightness judgment threshold.
In a third aspect of the present disclosure, an electronic device is provided. The electronic device includes: the star-change detection device comprises a memory and a processor, wherein the memory stores a program, and the processor realizes the star-change detection method when executing the program.
Aspects and any one of the possible implementations as described above, further providing an implementation, the electronic device including a field programmable gate array.
In a fourth aspect of the present disclosure, there is provided a computer-readable storage medium having stored thereon a program which, when executed by a processor, implements the star-variance detection method.
It should be understood that what is described in this summary is not intended to limit the critical or essential features of the embodiments of the disclosure nor to limit the scope of the disclosure. Other features of the present disclosure will become apparent from the following description.
The star-variation detection method provided by the embodiment of the disclosure comprises the following steps:
acquiring an original star atlas, wherein the original star atlas comprises a plurality of original star atlas;
normalizing pixel values and pixel standard deviations of a plurality of original star images to obtain a plurality of corresponding star images to be detected;
respectively obtaining pixel points with brightness larger than surrounding pixels in a plurality of star images to be detected, and marking the pixel points as undetermined star points;
according to the positions of the undetermined star points in different star images to be detected, obtaining a plurality of aligned star images to be detected for Ji Duozhang the star images to be detected;
and comparing the brightness of the to-be-determined star points in the aligned star map to be detected, and marking the to-be-determined star points as selected stars when the brightness change of the corresponding to-be-determined star points is within a star-changing brightness judgment threshold.
It can be seen that, according to the star-changing detection method provided by the embodiment of the disclosure, the luminance is utilized to screen the undetermined star point, the undetermined star point is utilized to align with the star chart to be detected, the luminance of the characteristic star point in the star chart to be detected is compared, and the star-changing is selected by utilizing the luminance change of the same characteristic star point. Compared with other methods for acquiring the star variation by using the deduction template, the star variation screening efficiency is greatly improved, and the star variation is not easy to interfere.
Drawings
The above and other features, advantages and aspects of embodiments of the present disclosure will become more apparent by reference to the following detailed description when taken in conjunction with the accompanying drawings. In the drawings, wherein like or similar reference numerals denote like or similar elements, in which:
FIG. 1 shows a flow diagram of a method for detecting a star variance provided by an embodiment of the present disclosure;
fig. 2 is a schematic diagram of a star map to be detected in a star-change detection method according to an embodiment of the present disclosure;
FIG. 3 is a schematic diagram showing some steps in a star-change detection method provided by an embodiment of the present disclosure;
fig. 4 is a schematic diagram of a to-be-fixed star point in a star-change detection method according to an embodiment of the disclosure;
FIG. 5 is a schematic diagram showing some steps of a star-change detection method provided by an embodiment of the present disclosure;
FIG. 6 is a schematic diagram showing a position of a first star in a star-change detection method according to an embodiment of the disclosure;
fig. 7 is a schematic diagram illustrating a position of a second star in the star-change detection method according to the embodiment of the present disclosure;
FIG. 8 shows a schematic diagram of a star-change detection device provided by an embodiment of the present disclosure;
fig. 9 shows a schematic diagram of an exemplary electronic device capable of implementing embodiments of the present disclosure.
Detailed Description
For the purposes of making the objects, technical solutions and advantages of the embodiments of the present disclosure more apparent, the technical solutions of the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present disclosure, and it is apparent that the described embodiments are some embodiments of the present disclosure, but not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments in this disclosure without inventive faculty, are intended to be within the scope of this disclosure.
In addition, the term "and/or" herein is merely an association relationship describing an association object, and means that three relationships may exist, for example, a and/or B may mean: a exists alone, A and B exist together, and B exists alone. The character "/" herein generally indicates that the associated object is an "or" relationship. The term "plurality" as used herein means two or more, including two.
The star-variation detection method provided by the embodiment of the disclosure comprises the following steps:
acquiring an original star atlas, wherein the original star atlas comprises a plurality of original star atlas;
normalizing pixel values and pixel standard deviations of a plurality of original star images to obtain a plurality of corresponding star images to be detected;
respectively obtaining pixel points with brightness larger than surrounding pixels in a plurality of star images to be detected, and marking the pixel points as undetermined star points;
according to the positions of the undetermined star points in different star images to be detected, obtaining a plurality of aligned star images to be detected for Ji Duozhang the star images to be detected;
and comparing the brightness of the to-be-determined star points in the aligned star map to be detected, and marking the to-be-determined star points as selected stars when the brightness change of the corresponding to-be-determined star points is within a star-changing brightness judgment threshold.
It can be seen that, according to the star-changing detection method provided by the embodiment of the disclosure, the luminance is utilized to screen the undetermined star point, the undetermined star point is utilized to align with the star chart to be detected, the luminance of the characteristic star point in the star chart to be detected is compared, and the star-changing is selected by utilizing the luminance change of the same characteristic star point. Compared with other methods for acquiring the star variation by using the deduction template, the star variation screening efficiency is greatly improved, and the star variation is not easy to interfere.
Specifically, referring to fig. 1, fig. 1 is a schematic flow chart of a star-changing detection method according to an embodiment of the disclosure.
The star-variation detection method provided by the embodiment of the disclosure comprises the following steps:
step S11: an original star atlas is obtained, the original star atlas comprising a plurality of original star atlas.
The source of the original star atlas may be selected as desired, and in embodiments of the present disclosure, a star atlas obtained directly from the schmidt telescope ultra-new star sky plot is employed by the national astronomical station. The star atlas has short photographing period interval, large quantity and high pixel resolution.
Step S12: and carrying out normalization processing on pixel values and pixel standard deviations of the plurality of original star images to obtain a plurality of corresponding star images to be detected.
Since the photographs and light conditions are different when different star charts are taken, the brightness average and contrast of a plurality of original star charts need to be calibrated.
When the brightness average value of the original star maps is calibrated, the pixel values of the original star maps can be normalized, and the specific operation method can be that the pixel average value of the front original star map and the rear original star map is respectively obtained and subtracted as a reference value, so that the whole brightness deviation of all the original star maps can be corrected, and the brightness calibration star map is obtained. Of course, a method of calibrating the luminance average value thereof may also be employed.
In order to remove the interference of the background part in the original star map, after the normalization processing is performed on the pixel values of a plurality of original star maps, the points with smaller brightness (over-dark points) in the star map can be removed, so that the points with smaller brightness can be avoided, and the interference is generated in the subsequent star change detection.
After the luminance average calibration of the original star images is completed, the contrast is calibrated, and the specific operation method may be to respectively calculate the standard deviation of the pixels of the luminance calibration star images, use the standard deviation as the quantization index of the contrast of the image, select one luminance calibration star image as the reference luminance calibration star image, and use the standard deviation of the pixels of the other luminance calibration star images (S * ) Calibrating a pixel standard deviation (S 0 ) Dividing to obtain a pixel standard deviation calibration proportion S * /S 0 And multiplying the pixel value of each brightness calibration star map by the standard deviation calibration proportion of the pixels of the brightness calibration star map to obtain a star map which is calibrated for brightness and contrast, namely the star map to be detected.
Of course, other methods of contrast calibration may be used, such as a method of brightness maximum or brightness range (difference between maximum and minimum). The specific operation method comprises respectively obtaining brightness ranges (difference between maximum value and minimum value) of multiple brightness calibration star images, using the brightness ranges as quantization index of picture contrast, selecting one brightness calibration star image as reference brightness calibration star image, dividing brightness ranges of other brightness calibration star images by brightness ranges of the reference brightness calibration star image to obtain brightness range calibration ratio M * /M 0 And (3) calibrating and multiplying the pixel value of each brightness calibration star map with the brightness range calibration proportion of the brightness calibration star map, wherein the obtained star map is the star map with calibrated brightness and contrast, and the star map to be detected is the star map.
The star map set p4416198S156x005.Fit obtained by selecting the schmidt telescope supernova star sky map and p4416198S156x035.Fit are processed, and the obtained star map to be detected is shown in fig. 2, wherein fig. 2 shows a schematic diagram of the star map to be detected in the star-changing detection method provided by the embodiment of the disclosure.
Step S13: and respectively acquiring a plurality of pixel points with brightness larger than surrounding pixels in the star map to be detected, and marking the pixel points as undetermined star points.
Since the brightness of the star point is generally higher than the surrounding brightness, the pixel point with brightness greater than the surrounding pixels can be screened and marked as the undetermined star point.
Specifically, pixel points with brightness greater than 4 pixels at the upper, lower, left and right sides can be screened and marked as undetermined star points; the pixel points with the brightness larger than the surrounding 8 pixels can be screened and marked as undetermined star points.
Screening pixel points with brightness greater than 4 pixels from top to bottom and from left to right, wherein when the pixel points are marked as undetermined star points, the star points are not easy to miss, but the obtained result is more, and the workload is larger; when the pixel points with brightness larger than the surrounding 8 pixels are marked as undetermined star points, the obtained result is less, the workload is lower, but partial star points are possibly omitted.
Referring to fig. 4, fig. 4 shows a schematic diagram of a to-be-detected star point in the star-change detection method according to the embodiment of the present disclosure after extracting the to-be-detected star point from the to-be-detected star map obtained in fig. 2.
Step S14: and according to the positions of the undetermined star points in different star images to be detected, obtaining a plurality of aligned star images to be detected for the Ji Duozhang star images to be detected.
Because the star corresponding to the star point of the star map to be detected is a star, the relative position of the star is not changed, so that a plurality of stars with easily determined relative positions can be selected, and the star map to be detected can be aligned by utilizing the positions of the star points to be detected in different star maps to be detected.
Specifically, after the positions of the corresponding undetermined star points in different to-be-detected star maps are obtained, one to-be-detected star map can be selected as an alignment reference to-be-detected star map, and the average value of the displacement of a plurality of undetermined star points in any to-be-detected star map relative to the alignment reference to-be-detected star map is obtained and is used as the displacement required by the alignment of the to-be-detected star map relative to the alignment reference to-be-detected star map.
In order to improve the alignment efficiency of the star map to be detected, in a specific implementation manner, please refer to fig. 3, fig. 3 is a schematic diagram illustrating a part of steps in the star map detection method provided in the embodiment of the disclosure; the step S14: according to the positions of the undetermined star points in different to-be-detected star maps, the steps of obtaining a plurality of aligned to-be-detected star maps for Ji Duozhang to-be-detected star maps comprise:
and S141, dividing each star image to be detected into a plurality of alignment subareas according to the same layout, and selecting the undetermined star point with highest brightness in each alignment subarea of each star image to be detected as a characteristic star point.
When the shooting time of the original star map corresponding to the star maps to be detected is similar, the moving distance of the star is very small (generally within 10 pixels) between different star maps to be detected, and the amplification ratios of the star maps to be detected are the same.
And selecting the undetermined star point with highest brightness in the alignment subarea of the star map to be detected as a characteristic star point, and then using the characteristic star point to align the star map to be detected is simpler.
At this time, the moving distance of the star can be estimated in advance, and an alignment sub-area slightly larger than the moving distance of the star is selected, so that the alignment sub-area can be ensured to be the same star point at the selected characteristic star point in different star images to be detected, and therefore the alignment of the star images to be detected can be performed by utilizing the positions of the characteristic star points.
For the sake of simple division, the horizontal direction and the vertical direction of the star map to be detected can be divided into a plurality of rectangles with the same length and width, and the rectangles are used as the alignment subareas. For example, a plurality of rectangles each having a length and width of 128 pixels may be selected as the alignment sub-region.
And step S142, according to the positions of the characteristic star points in different star images to be detected, obtaining a plurality of aligned star images to be detected for the star images to be detected Ji Duozhang.
Specifically, after the positions of the characteristic star points in different star charts to be detected are obtained, one star chart to be detected can be selected as an alignment reference star chart to be detected, and an average value of the displacements of a plurality of characteristic star points in any star chart to be detected relative to the alignment reference star chart to be detected is obtained and is used as the required displacement for alignment of the star charts to be detected relative to the alignment reference star chart to be detected.
When the resolutions of the star images to be detected are the same, the displacement required by alignment can be rounded, so that the subsequent determination of the star changing positions is an integer, and the star changing position is simpler.
Of course, the star images to be detected may be adjusted to the same resolution, and then aligned.
Step S15: and comparing the brightness of the to-be-determined star points in the aligned star map to be detected, and marking the to-be-determined star points as selected stars when the brightness change of the corresponding to-be-determined star points is within a star-changing brightness judgment threshold.
The brightness change is the average value of the brightness change degree of the brightness change relative to the brightness change of the star map to be detected after the alignment. The average value of the brightness changes of the aligned star map to be detected may be the average value of the brightness changes of all the undetermined star points in different aligned star maps to be detected; when the resolutions of the star images to be detected after alignment are the same, the average value of the brightness change of the star images to be detected after alignment may be the average value of the brightness change of all the pixel points in the star images to be detected after alignment. According to the standard in the industry, star points with the brightness change percentage within 3-7 times of the average value can be regarded as star change, so that the star change brightness judgment threshold value can be set to be 3-7 times.
In order to improve the star-changing screening efficiency, in a specific implementation manner, please refer to fig. 5, fig. 5 shows a schematic diagram of partial steps in a star-changing detection method provided by an embodiment of the disclosure; the step S15: comparing the brightness of the to-be-determined star points in the aligned to-be-detected star map, and when the brightness change of the corresponding to the to-be-determined star points is within the star-changing brightness judgment threshold, marking the to-be-determined star points as the selected stars can comprise:
and step S151, dividing each aligned star map to be detected into a plurality of first detection subareas according to the same layout.
The method comprises the steps of dividing the star map into a plurality of first detection subareas according to the same layout, wherein the meaning of dividing the star map into a plurality of first detection subareas is that the positions of star maps to be detected after the plurality of first detection subareas are aligned are the same.
For the sake of simple division, the horizontal direction and the vertical direction of the star map to be detected may be divided into a plurality of rectangles with the same length and width, which are used as the first detection sub-area.
Step S152, detecting the brightness of the characteristic star point with the maximum brightness in each first detection sub-area of the star map to be detected after the alignment; and marking the characteristic star point as a selected star change when the brightness change of the characteristic star point with the maximum brightness in the same first detection subarea of the star map to be detected after the alignment is within a star change brightness judgment threshold value.
Since only the brightness of the characteristic star point having the maximum brightness in the first detection sub-area is detected, efficiency is greatly improved relative to a method of detecting brightness of all the characteristic star points in the first detection sub-area.
The brightness contrast method is described above and will not be described here again.
Since the first detection sub-area may just cut a star with a plurality of characteristic star points, it is easy to cause that the star that is not a star-changing star is detected as a star-changing star, in order to improve the accuracy of the star-changing detection, in a specific embodiment, the step S15: comparing the brightness of the to-be-determined star points in the aligned to-be-detected star map, and when the brightness change of the corresponding to the to-be-determined star points is within the star-changing brightness judgment threshold, marking the to-be-determined star points as the selected stars can further comprise:
step S153: and dividing each aligned star map to be detected into a plurality of second detection subareas according to another identical layout.
The meaning of dividing the star map into a plurality of second detection subareas according to the same layout is that the positions of the star maps to be detected after the plurality of second detection subareas are aligned are the same.
It will be appreciated that when the layouts of the second detection sub-area and the first detection sub-area are identical, the feature star point with the largest brightness selected later is identical, and it is meaningless to perform brightness detection. The layouts of the second detection sub-region and the first detection sub-region cannot be identical, and specifically, the second detection sub-region and the first detection sub-region may have different region sizes or different positions.
For the sake of simple division, the horizontal direction and the vertical direction of the star map to be detected may be divided into a plurality of rectangles with the same length and width, which are used as the second detection sub-area.
When all the first detection subareas are rectangles with equal size and all the second detection subareas are rectangles with equal size, in order to avoid that the first detection subareas and the second detection subareas repeatedly cut the same star, in a specific embodiment, the lengths or the widths of the first detection subareas and the second detection subareas are equal. For example, the length and width of the first detection sub-region are both 5, and the length and width of the second detection sub-region are both 11, so that the length of the first detection sub-region cannot be divided by the length of the second detection sub-region, and the length of the first detection sub-region cannot be divided by the length of the second detection sub-region.
Step S154: detecting the brightness of the characteristic star point with the maximum brightness in each second detection subarea of the star map to be detected after the alignment; and when the brightness change of the characteristic star point with the maximum brightness in the same second detection subarea of the star map to be detected after the alignment is also within a star changing brightness judgment threshold value, marking the characteristic star point as a secondary selected star changing.
The brightness contrast method is described above and will not be described here again.
By changing the size of the detection subarea, the detected star change is confirmed as the second selected star change. False detection caused by the fact that the first detection subarea just partitions a certain star can be avoided.
Referring to fig. 6 and fig. 7, fig. 6 shows a schematic diagram of a position of a first star in the star-change detection method provided by the embodiment of the present disclosure, and fig. 7 shows a schematic diagram of a position of a second star in the star-change detection method provided by the embodiment of the present disclosure.
A total of two stars were detected in this set of data. The brightness change of the star is 142-189 (the star with very low brightness is difficult to detect and proves the effectiveness of the algorithm), the brightness change percentage is 32.9%, the average value of the brightness change percentages of other stars is 9.8%, and the star coordinate value is (4002, 3966); as shown in FIG. 7, the brightness change of the star II is 178-253, the brightness change percentage is 42.6%, the average value of the brightness change percentages of other stars is 9.8%, and the star coordinate values are 1389 and 53.
It can be seen that, according to the star-changing detection method provided by the embodiment of the disclosure, the luminance is utilized to screen the undetermined star point, the undetermined star point is utilized to align with the star chart to be detected, the luminance of the characteristic star point in the star chart to be detected is compared, and the star-changing is selected by utilizing the luminance change of the same characteristic star point. Compared with other methods for acquiring the star variation by using the deduction template, the star variation screening efficiency is greatly improved, and the star variation is not easy to interfere.
It should be noted that, for simplicity of description, the foregoing method embodiments are all described as a series of acts, but it should be understood by those skilled in the art that the present disclosure is not limited by the order of acts described, as some steps may be performed in other orders or concurrently in accordance with the present disclosure. Further, those skilled in the art will also appreciate that the embodiments described in the specification are all alternative embodiments, and that the acts and modules referred to are not necessarily required by the present disclosure.
The foregoing is a description of embodiments of the method, and the following further describes embodiments of the present disclosure through examples of apparatus.
Referring to fig. 8, fig. 8 is a schematic diagram illustrating a star detecting device according to an embodiment of the disclosure. The star-change detection device provided by the embodiment of the disclosure comprises:
an original star map acquisition unit adapted to acquire an original star map set including a plurality of original star maps;
the normalization processing unit is suitable for carrying out normalization processing on pixel values and pixel standard deviations of the plurality of original star images to obtain a plurality of corresponding star images to be detected;
the undetermined star point acquisition unit is suitable for respectively acquiring a plurality of pixel points with brightness larger than surrounding pixels in the star map to be detected, and marking the pixel points as undetermined star points;
the star map alignment unit to be detected is suitable for obtaining a plurality of aligned star maps to be detected for Ji Duozhang the star maps to be detected according to the positions of the undetermined star points in different star maps to be detected;
the star-changing detection unit is suitable for comparing the brightness of the to-be-determined star points in the aligned star images to be detected, and marking the to-be-determined star points as selected stars when the brightness change of the corresponding to-be-determined star points is within a star-changing brightness judgment threshold.
It can be seen that, according to the star-changing detection device provided by the embodiment of the disclosure, the luminance is utilized to screen the undetermined star point, the undetermined star point is utilized to align with the star chart to be detected, the luminance of the characteristic star point in the star chart to be detected is compared, and the change of the luminance of the same characteristic star point is utilized to select the star-changing. Compared with other methods for acquiring the star variation by using the deduction template, the star variation screening efficiency is greatly improved, and the star variation is not easy to interfere.
The aspect and any possible implementation manner described above further provide an implementation manner, where the to-be-detected star map alignment unit is adapted to divide each to-be-detected star map into a plurality of alignment sub-areas according to the same layout, and select a to-be-determined star point with highest brightness in each of the alignment sub-areas of each to-be-detected star map as a characteristic star point, where the characteristic star points selected in different to-be-detected star maps by the alignment sub-areas are the same star point;
and according to the positions of the characteristic star points in different star images to be detected, obtaining a plurality of aligned star images to be detected for the Ji Duozhang star images to be detected.
In the aspect and any possible implementation manner as described above, there is further provided an implementation manner, where the star-changing detection unit is adapted to divide each of the aligned star maps to be detected into a plurality of first detection sub-areas according to the same layout;
detecting the brightness of the characteristic star point with the maximum brightness in each first detection subarea of the star map to be detected after the alignment;
and marking the characteristic star point as a selected star change when the brightness change of the characteristic star point with the maximum brightness in the same first detection subarea of the star map to be detected after the alignment is within a star change brightness judgment threshold value.
In aspects and any one of the possible implementations as described above, there is further provided an implementation, the star-change detection unit is further adapted to:
dividing each star chart to be detected after alignment into a plurality of second detection subareas according to another identical layout, wherein the layouts of the second detection subareas and the first detection subareas are different;
detecting the brightness of the characteristic star point with the maximum brightness in each second detection subarea of the star map to be detected after the alignment;
and when the brightness change of the characteristic star point with the maximum brightness in the same second detection subarea of the star map to be detected after the alignment is also within a star changing brightness judgment threshold value, marking the characteristic star point as a secondary selected star changing.
Aspects and any one of the possible implementations as described above, further provides an implementation,
all the first detection subareas are rectangles with equal size, all the second detection subareas are rectangles with equal size, and the lengths or the widths of the first detection subareas and the second detection subareas are equal.
Aspects and any one of the possible implementations as described above, further provides an implementation,
the size of the second detection subarea of the first detection subarea or the second detection subarea is larger than the size of the area occupied by the largest star in the original star map.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the described modules may refer to corresponding procedures in the foregoing method embodiments, which are not described herein again.
The embodiment of the disclosure also provides an electronic device, including: a memory and a processor, the memory having stored thereon a program, the processor implementing the method as described above when executing the program.
Fig. 9 shows a schematic block diagram of an electronic device 90 that may be used to implement embodiments of the present disclosure. Electronic device 90 may be used to implement the star-change detection method. As shown, the electronic device 90 includes a CPU91 that can perform various appropriate actions and processes according to program instructions stored in a ROM92 or program instructions loaded from a storage unit 98 into a RAM 93. In the RAM93, various programs and data required for the operation of the electronic device 90 can also be stored. The CPU91, ROM92, and RAM93 are connected to each other through a bus 94. I/O interface 95 is also connected to bus 94.
Various components in electronic device 90 are connected to I/O interface 95, including: an input unit 96 such as a keyboard, a mouse, etc.; an output unit 97 such as various types of displays, speakers, and the like; a storage unit 98 such as a magnetic disk, an optical disk, or the like; and a communication unit 99 such as a network card, modem, wireless communication transceiver, etc. The communication unit 99 allows the electronic device 90 to exchange information/data with other electronic devices via a computer network such as the internet and/or various telecommunication networks.
The processing unit 91 performs the respective methods and processes described above, for example, the star-change detection method. For example, in some embodiments, the star-change detection method may be implemented as a computer software program tangibly embodied on a computer-readable medium, such as the storage unit 98. In some embodiments, part or all of the program may be loaded and/or installed onto the electronic device 90 via the ROM92 and/or the communication unit 99. When the program is loaded into the RAM93 and executed by the CPU91, one or more steps of the above-described star detection method may be executed. Alternatively, in other embodiments, CPU91 may be configured to perform the star detection method in any other suitable manner (e.g., by means of firmware).
The functions described above herein may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), system on a chip (SOCs), complex Programmable Logic Devices (CPLDs), and the like.
Program code for carrying out methods of the present disclosure may be written in any combination of one or more programming languages. These program code may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus such that the program code, when executed by the processor or controller, causes the functions/operations specified in the flowchart and/or block diagram to be implemented. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
Aspects and any one of the possible implementations as described above, further providing an implementation, the electronic device including a Field Programmable Gate Array (FPGA).
Because of the large resolution of astronomical images and large data volume, the calculation amount for searching for the varistors by using the common traditional astronomical star map recognition and star point extraction algorithm is too large. Therefore, the FPGA is used for detecting the star variation, the time for processing the star map can be greatly shortened by utilizing the advantages of a special digital image processing module and an FPGA parallel structure system, and the input astronomical image can be continuously processed in a structure like a pipeline, so that the star variation searching efficiency can be greatly improved.
Embodiments of the present disclosure also provide a computer-readable storage medium having stored thereon a program which, when executed by a processor, implements one or more steps of the star detection method.
In the context of this disclosure, a computer-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or electronic device. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. The computer readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or electronic device, or any suitable combination of the foregoing. More specific examples of a computer-readable storage medium would include one or more wire-based electrical connections, a portable computer diskette, a hard disk, RAM, ROM, EPROM, an optical fiber, a CD-ROM, an optical storage electronic device, a magnetic storage electronic device, or any suitable combination of the foregoing.
Moreover, although operations are depicted in a particular order, this should be understood as requiring that such operations be performed in the particular order shown or in sequential order, or that all illustrated operations be performed, to achieve desirable results. In certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of the present disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single implementation. Conversely, various features that are described in the context of a single implementation can also be implemented in multiple implementations separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are example forms of implementing the claims.

Claims (7)

1. A star-change detection method, comprising:
acquiring an original star atlas, wherein the original star atlas comprises a plurality of original star atlas;
normalizing pixel values and pixel standard deviations of a plurality of original star images to obtain a plurality of corresponding star images to be detected;
respectively obtaining pixel points with brightness larger than surrounding pixels in a plurality of star images to be detected, and marking the pixel points as undetermined star points;
according to the positions of the undetermined star points in different star images to be detected, obtaining a plurality of aligned star images to be detected for Ji Duozhang the star images to be detected;
comparing the brightness of the to-be-determined star points in the aligned to-be-detected star images, and marking the to-be-determined star points as selected stars when the brightness change of the corresponding to-be-determined star points is within a star-changing brightness judgment threshold;
the step of obtaining a plurality of aligned star maps to be detected for Ji Duozhang according to the positions of the undetermined star points in different star maps to be detected includes:
dividing each star image to be detected into a plurality of alignment subareas according to the same layout, selecting the undetermined star point with highest brightness in each alignment subarea of each star image to be detected as a characteristic star point, wherein the characteristic star points selected in different star images to be detected by the alignment subareas are the same star point;
according to the positions of the characteristic star points in different star images to be detected, obtaining a plurality of aligned star images to be detected for Ji Duozhang the star images to be detected;
the step of comparing the brightness of the to-be-determined star points in the aligned to-be-detected star map, and marking the to-be-determined star point as the selected star change when the brightness change of the corresponding to the to-be-determined star point is within the star change brightness judgment threshold value comprises the following steps:
dividing each aligned star chart to be detected into a plurality of first detection subareas according to the same layout;
detecting the brightness of the characteristic star point with the maximum brightness in each first detection subarea of the star map to be detected after the alignment;
when the brightness change of the characteristic star point with the maximum brightness in the same first detection subarea of the star map to be detected after the alignment is within a star changing brightness judgment threshold value, marking the characteristic star point as a selected star changing at one time;
dividing each star chart to be detected after alignment into a plurality of second detection subareas according to another identical layout, wherein the layouts of the second detection subareas and the first detection subareas are different;
detecting the brightness of the characteristic star point with the maximum brightness in each second detection subarea of the star map to be detected after the alignment;
and when the brightness change of the characteristic star point with the maximum brightness in the same second detection subarea of the star map to be detected after the alignment is also within a star changing brightness judgment threshold value, marking the characteristic star point as a secondary selected star changing.
2. The star-changing detection method according to claim 1, wherein all the first detection sub-regions are rectangles with equal size, all the second detection sub-regions are rectangles with equal size, and the lengths or widths of the first detection sub-regions and the second detection sub-regions are equal.
3. The star-change detection method according to claim 1, wherein the size of the first detection sub-area or the second detection sub-area is larger than the size of the area occupied by the largest star in the original star map.
4. A star-change detection device, comprising:
an original star map acquisition unit adapted to acquire an original star map set including a plurality of original star maps;
the normalization processing unit is suitable for carrying out normalization processing on pixel values and pixel standard deviations of the plurality of original star images to obtain a plurality of corresponding star images to be detected;
the undetermined star point acquisition unit is suitable for respectively acquiring a plurality of pixel points with brightness larger than surrounding pixels in the star map to be detected, and marking the pixel points as undetermined star points;
the star map alignment unit to be detected is suitable for obtaining a plurality of aligned star maps to be detected for Ji Duozhang the star maps to be detected according to the positions of the undetermined star points in different star maps to be detected;
the star-changing detection unit is suitable for comparing the brightness of the to-be-determined star points in the aligned star images to be detected, and marking the to-be-determined star points as selected stars when the brightness change of the corresponding to-be-determined star points is within a star-changing brightness judgment threshold;
the star map alignment unit to be detected is specifically adapted to:
dividing each star image to be detected into a plurality of alignment subareas according to the same layout, selecting the undetermined star point with highest brightness in each alignment subarea of each star image to be detected as a characteristic star point, wherein the characteristic star points selected in different star images to be detected by the alignment subareas are the same star point;
according to the positions of the characteristic star points in different star images to be detected, obtaining a plurality of aligned star images to be detected for Ji Duozhang the star images to be detected;
the star-change detection unit is specifically adapted to:
dividing each aligned star chart to be detected into a plurality of first detection subareas according to the same layout;
detecting the brightness of the characteristic star point with the maximum brightness in each first detection subarea of the star map to be detected after the alignment;
when the brightness change of the characteristic star point with the maximum brightness in the same first detection subarea of the star map to be detected after the alignment is within a star changing brightness judgment threshold value, marking the characteristic star point as a selected star changing at one time;
dividing each star chart to be detected after alignment into a plurality of second detection subareas according to another identical layout, wherein the layouts of the second detection subareas and the first detection subareas are different;
detecting the brightness of the characteristic star point with the maximum brightness in each second detection subarea of the star map to be detected after the alignment;
and when the brightness change of the characteristic star point with the maximum brightness in the same second detection subarea of the star map to be detected after the alignment is also within a star changing brightness judgment threshold value, marking the characteristic star point as a secondary selected star changing.
5. An electronic device comprising a memory and a processor, the memory having a program stored thereon, wherein the processor, when executing the program, implements the method of any of claims 1-3.
6. The electronic device of claim 5, wherein the electronic device comprises a field programmable gate array.
7. A computer-readable storage medium having a program stored thereon, wherein the program, when executed by a processor, implements the star-change detection method according to any one of claims 1 to 3.
CN202110721384.6A 2021-06-28 2021-06-28 Star change detection method, star change detection device, electronic equipment and computer readable storage medium Active CN113592774B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110721384.6A CN113592774B (en) 2021-06-28 2021-06-28 Star change detection method, star change detection device, electronic equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110721384.6A CN113592774B (en) 2021-06-28 2021-06-28 Star change detection method, star change detection device, electronic equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN113592774A CN113592774A (en) 2021-11-02
CN113592774B true CN113592774B (en) 2024-02-27

Family

ID=78244836

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110721384.6A Active CN113592774B (en) 2021-06-28 2021-06-28 Star change detection method, star change detection device, electronic equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN113592774B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103020906A (en) * 2012-12-03 2013-04-03 清华大学 A pre-processing method of measured star image by star sensor during the day
CN103996027A (en) * 2014-05-19 2014-08-20 上海微小卫星工程中心 Space-based space target recognizing method
CN104899892A (en) * 2015-06-30 2015-09-09 西安电子科技大学 Method for quickly extracting star points from star images
CN105374035A (en) * 2015-11-03 2016-03-02 北京航空航天大学 Star sensor star point extraction method under stray light interference
CN105957058A (en) * 2016-04-21 2016-09-21 华中科技大学 Preprocessing method of star map
CN106296726A (en) * 2016-07-22 2017-01-04 中国人民解放军空军预警学院 A kind of extraterrestrial target detecting and tracking method in space-based optical series image
CN110879063A (en) * 2019-12-12 2020-03-13 中国科学院长春光学精密机械与物理研究所 Rapid star map identification method based on triangle matching

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8041118B2 (en) * 2007-02-16 2011-10-18 The Boeing Company Pattern recognition filters for digital images

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103020906A (en) * 2012-12-03 2013-04-03 清华大学 A pre-processing method of measured star image by star sensor during the day
CN103996027A (en) * 2014-05-19 2014-08-20 上海微小卫星工程中心 Space-based space target recognizing method
CN104899892A (en) * 2015-06-30 2015-09-09 西安电子科技大学 Method for quickly extracting star points from star images
CN105374035A (en) * 2015-11-03 2016-03-02 北京航空航天大学 Star sensor star point extraction method under stray light interference
CN105957058A (en) * 2016-04-21 2016-09-21 华中科技大学 Preprocessing method of star map
CN106296726A (en) * 2016-07-22 2017-01-04 中国人民解放军空军预警学院 A kind of extraterrestrial target detecting and tracking method in space-based optical series image
CN110879063A (en) * 2019-12-12 2020-03-13 中国科学院长春光学精密机械与物理研究所 Rapid star map identification method based on triangle matching

Also Published As

Publication number Publication date
CN113592774A (en) 2021-11-02

Similar Documents

Publication Publication Date Title
US10803554B2 (en) Image processing method and device
CN109791695B (en) Determining a variance of an image block based on a motion vector of the block
JP2018527687A5 (en)
US11776202B2 (en) Image processing method and apparatus, computer storage medium, and electronic device
US10909724B2 (en) Method, apparatus, and computer readable medium for adjusting color annotation of an image
CN111950543A (en) Target detection method and device
US9196051B2 (en) Electronic equipment with image analysis function and related method
US9087272B2 (en) Optical match character classification
GB2553641A (en) Techniques for selecting objects in images
CN113822817A (en) Document image enhancement method and device and electronic equipment
CN111062400A (en) Target matching method and device
CN111598913A (en) Image segmentation method and system based on robot vision
CN110910445A (en) Object size detection method and device, detection equipment and storage medium
US10521918B2 (en) Method and device for filtering texture, using patch shift
CN110879131A (en) Imaging quality testing method and imaging quality testing device for visual optical system, and electronic apparatus
US9319666B1 (en) Detecting control points for camera calibration
CN111738272A (en) Target feature extraction method and device and electronic equipment
CN109886864B (en) Privacy mask processing method and device
CN112614074B (en) Robust vanishing point detection method and device based on response graph and clustering
CN113592774B (en) Star change detection method, star change detection device, electronic equipment and computer readable storage medium
US9594955B2 (en) Modified wallis filter for improving the local contrast of GIS related images
US20220038627A1 (en) Method and apparatus for stabilizing image, roadside device and cloud control platform
CN113963000B (en) Image segmentation method, device, electronic equipment and program product
CN112580638B (en) Text detection method and device, storage medium and electronic equipment
CN110874814A (en) Image processing method, image processing device and terminal equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant