CN113938568A - Scanner adjusting method and device, processor and scanning system - Google Patents

Scanner adjusting method and device, processor and scanning system Download PDF

Info

Publication number
CN113938568A
CN113938568A CN202010605292.7A CN202010605292A CN113938568A CN 113938568 A CN113938568 A CN 113938568A CN 202010605292 A CN202010605292 A CN 202010605292A CN 113938568 A CN113938568 A CN 113938568A
Authority
CN
China
Prior art keywords
current value
target
value
scanner
projection
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.)
Pending
Application number
CN202010605292.7A
Other languages
Chinese (zh)
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.)
Shining 3D Technology Co Ltd
Original Assignee
Shining 3D Technology Co Ltd
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 Shining 3D Technology Co Ltd filed Critical Shining 3D Technology Co Ltd
Priority to CN202010605292.7A priority Critical patent/CN113938568A/en
Publication of CN113938568A publication Critical patent/CN113938568A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/00002Diagnosis, testing or measuring; Detecting, analysing or monitoring not otherwise provided for
    • H04N1/00007Diagnosis, testing or measuring; Detecting, analysing or monitoring not otherwise provided for relating to particular apparatus or devices
    • H04N1/00023Colour systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/46Colour picture communication systems
    • H04N1/56Processing of colour picture signals
    • H04N1/60Colour correction or control
    • H04N1/603Colour correction or control controlled by characteristics of the picture signal generator or the picture reproducer
    • H04N1/6033Colour correction or control controlled by characteristics of the picture signal generator or the picture reproducer using test pattern analysis

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • General Health & Medical Sciences (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

The application provides an adjusting method, an adjusting device, a processor and a scanning system of a scanner, wherein the adjusting method comprises the following steps: controlling a scanner to scan a target picture, and calculating a first gray value of the target picture, wherein the target picture is a color card or a color plate with standard colors; if the first gray value of the target picture is not in the target range, the first projection current value of the scanner is adjusted at least once in the current value adjustment range until the gray value of the target picture is in the target range, wherein each adjustment result is used for changing the projection light intensity of the scanner, so that the first gray value of the target picture scanned by any one scanner is in the target range, the consistency of the scanning results of different scanners is ensured, namely the target picture has no color cast phenomenon, and the problem of poor consistency of the scanning results of different scanners in the prior art is solved.

Description

Scanner adjusting method and device, processor and scanning system
Technical Field
The present application relates to the field of scanner technologies, and in particular, to a scanner adjustment method, an apparatus, a computer-readable storage medium, a processor, and a scanning system.
Background
In the testing process of scanning the same model by using different batches of intraoral scanners under the same version software, the scanning results are found to have differences, the condition that data cannot be used exists, and the scanning results can be classified into 3 types of problems through statistics, wherein the problem 1 is that the model data is locally lost, the problem 2 is that the model color is not real, the whole color is deviated, and the problem 3 is that the model projection light intensity is inconsistent.
The problems are simply analyzed and found to be caused by different differences of the gray levels of the pictures, and the fact is verified through tests that the test contents are that a picture is shot and acquired by an off-white card under the condition of the same current parameters, camera parameters and acquisition distance. After gray level analysis is calculated, the problems are caused by assembly angle errors and projector individual light projection intensity differences during production of the intraoral scanner, but the problems are difficult to control in the production process, so that the problems are solved by adopting a mode of adjusting image projection light projection intensity in the production process, and the problems are not caused after the intraoral scanner is delivered from a factory.
The projection light intensity of the picture is adjusted by two schemes, one scheme is that the projection current value is modified, and the projection light intensity is changed to achieve the purpose of changing the projection light intensity of the picture; and the other is to modify the camera parameters to achieve the aim of modifying the gray level of the picture. However, the method of modifying camera parameters in the production process has two fatal defects on the current intraoral scanner, the defect 1 is that the camera parameters are fixed and cannot be modified after leaving the factory, the projection current value can only be modified by adjusting the projection light intensity of the picture during scanning, a relatively long time (about 3s) is needed for modifying the projection current value once, and the defect 2 is that the projection light intensity of the picture of different channels cannot be distinguished. In principle it is not reasonable for the scan software to modify the projected current values often after fixing the camera parameters during production. Therefore, the projection light intensity of the picture is adjusted by adopting a mode of modifying the projection current value in the production process, the camera parameters can be adjusted at any time in the scanning process according to the condition that the scanning software scans the object because of the too dark or too bright environmental factors after the projection current value is fixed in the production process, a better scanning effect is achieved, and the efficiency of adjusting the time is higher than that of modifying the camera parameters.
At present, the existing projection current adjusting mode is mainly adjusted by manual adjustment during production, and the specific adjusting steps are as follows:
step 1, aligning an intraoral scanner with a scanning head to a color plate for fixing;
step 2, starting scanning software, selecting an image storage option, and setting a gain parameter to be 0, namely not adjusting the projection current;
step 3, after scanning to obtain the picture, closing the scanning software;
step 4, comparing whether the projection light intensity is consistent or inconsistent with the blue channel picture collected by the standard intraoral scanner through human eye observation, and performing step 5, otherwise performing step 7;
step 5, increasing or decreasing the projection current value of a certain blue channel through a tool according to whether the projection light intensity of the current blue channel picture is brighter or darker than the projection light intensity of the target picture;
step 6, repeating the steps 2-5 until the projection light intensity is consistent;
step 7, opening scanning software and checking a camera preview window at the upper right corner;
step 8, analyzing whether the overall color of the picture has color cast, if the overall color is red, yellow and the like, continuing the next step if the overall color is red, and ending the adjustment if the overall color is not yellow;
step 9, judging whether the projection current values of the green channel and the red channel need to be increased or decreased through optical color mixing knowledge;
step 10, closing scanning software, and adjusting the projection current values of a green channel and a red channel through a tool;
and 11, repeating the steps 7-10 until the whole picture has no color cast.
In summary, in the prior art, in the process of scanning the same object to be detected by different scanners, in order to avoid the difference of the scanned image gray levels, the projection light intensity of the image projection may be adjusted by modifying the projection current value, but the adjustment result is determined by observing whether the image projection intensity is adjusted within the coincidence range by human eyes, which results in the technical problem of poor consistency of the scanning results of the different scanners.
The above information disclosed in this background section is only for enhancement of understanding of the background of the technology described herein and, therefore, certain information may be included in the background that does not form the prior art that is already known in this country to a person of ordinary skill in the art.
Disclosure of Invention
The present application mainly aims to provide an adjustment method and apparatus for a scanner, a computer-readable storage medium, a processor, and a scanning system, so as to solve the problem in the prior art that the consistency of the scanning results of different scanners is poor.
According to an aspect of an embodiment of the present invention, there is provided an adjustment method of a scanner, including: controlling a scanner to scan a target picture, and calculating a first gray value of the target picture, wherein the target picture is a color card or a color plate with standard colors; and if the first gray value of the target picture is not in the target range, adjusting the first projection current value of the scanner at least once in a current value adjustment range until the gray value of the target picture is in the target range, wherein the adjustment result is used for changing the projection light intensity of the scanner each time.
Optionally, adjusting the first projection current value of the scanner at least once within a current value adjustment range until the gray-level value of the target picture is within the target range includes: and performing increasing or decreasing adjustment on the first projection current value by taking the middle value of the current value adjustment range as a reference.
Optionally, adjusting the first projection current value of the scanner at least once within a current value adjustment range until the gray-level value of the target picture is within the target range includes: increasing a preset value or reducing the preset value to the first projection current value of the scanner to obtain a second projection current value; scanning the target picture again, and calculating to obtain a second gray value of the target picture; if the second gray value of the target picture is within the target range, finishing adjusting the projection current value of the scanner; and if the second gray value of the target picture is not in the target range, continuing to execute the process of adjusting the projection current value of the scanner until the gray value of the target picture is in the target range.
Optionally, continuing to perform the process of adjusting the projection current value of the scanner includes: acquiring a gray difference value between the second gray value and a target gray value, wherein the target gray value is a value in the target range; determining a current difference value based on the gray difference value; determining a target current value based on the current difference value, and comparing the target current value with the second projection current value; and determining whether to continuously adjust the projection current value or not based on the comparison result.
Optionally, determining whether to continue adjusting the projection current value based on the comparison result includes: stopping adjusting the projection current value of the scanner when the target current value is the same as the second projection current value; and determining to continuously adjust the projection current value under the condition that the target current value is different from the second projection current value.
Optionally, after determining to continue adjusting the projection current value, the method further comprises: judging whether the target current value is within the current value adjusting range; if the target current value is within the current value adjusting range, adjusting the second projection current to the target current value, scanning the target picture again based on the target current value, and calculating a third gray value of the target picture; and if the third gray value is in the target range, finishing adjusting the projection current value of the scanner, otherwise, continuously adjusting the projection current value of the scanner.
Optionally, the method further comprises: if the target current value exceeds the current value adjustment range, counting the number of the projection current values exceeding the current value adjustment range, namely counting the number of times that the projection current values exceed the current value adjustment range, and finishing adjusting the projection current value of the scanner under the condition that the number exceeds a preset number; determining whether the target current value is less than a minimum current value in the current value adjustment range if the number does not exceed the predetermined number; if the target current value is smaller than or equal to the minimum current value, adopting the minimum current value to scan the target picture again, and determining whether the scanned gray value is in the target range; if the target current value is larger than the minimum current value, scanning the target picture again by adopting the maximum current value in the current value adjusting range, and determining whether the scanned gray value is in the target range.
According to another aspect of the embodiments of the present invention, there is also provided an adjustment method of a scanner, including: the method comprises the steps that at least two colors of light are projected to a target picture in sequence, the target picture projected by the at least two colors of light is synchronously acquired by adopting any one method, and adjustment is simultaneously carried out on the basis of an acquisition result until the adjustment of all channels of the target picture is finished and is in the target range, wherein the target range of each color channel is associated.
According to another aspect of the embodiments of the present invention, there is also provided an adjustment device of a scanner, including: the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for controlling a scanner to scan a target picture and calculating a first gray value of the target picture, and the target picture is a color card or a color plate with standard colors; and the first adjusting unit is used for adjusting the first projection current value of the scanner at least once within a current value adjusting range if the first gray value of the target picture is not within the target range until the gray value of the target picture is within the target range, wherein each adjusting result is used for changing the projection light intensity of the scanner.
According to still another aspect of the embodiments of the present invention, there is also provided a computer-readable storage medium including a stored program, wherein the program executes any one of the adjustment methods.
According to another aspect of the embodiments of the present invention, there is also provided a processor, configured to execute a program, where the program executes any one of the adjustment methods.
According to still another aspect of the embodiments of the present invention, there is also provided a scanning system including a scanner and an adjusting apparatus, the adjusting apparatus being configured to perform any one of the adjusting methods.
In the adjusting method, firstly, the scanner is controlled to scan the target picture, and the first gray value of the target picture is calculated, that is, the scanner is adopted to scan the color card or the color plate with the standard color, and the gray value of the color card or the color plate with the standard color is calculated, then, if the first gray value of the target picture is not in the target range, the first projection current value of the scanner is adjusted at least once in the current value adjusting range until the gray value of the target picture is in the target range, so that the first gray value of the target picture scanned by any one scanner is in the target range, the consistency of the scanning results of different scanners is ensured, even if the target picture has no color cast phenomenon, and the problem of poor consistency of the scanning results of different scanners in the prior art is solved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this application, illustrate embodiments of the application and, together with the description, serve to explain the application and are not intended to limit the application. In the drawings:
fig. 1 shows a flow chart of an adjustment method of a scanner according to an embodiment of the application;
FIG. 2 shows a schematic view of an adjustment device of a scanner according to an embodiment of the present application; and
fig. 3 shows a flow chart of an adjustment method of a scanner according to another embodiment of the present application.
Detailed Description
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
In order to make the technical solutions better understood by those skilled in the art, 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, and it is obvious that the described embodiments are only partial embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It should be understood that the data so used may be interchanged under appropriate circumstances such that embodiments of the application described herein may be used. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It will be understood that when an element such as a layer, film, region, or substrate is referred to as being "on" another element, it can be directly on the other element or intervening elements may also be present. Also, in the specification and claims, when an element is described as being "connected" to another element, the element may be "directly connected" to the other element or "connected" to the other element through a third element.
As mentioned in the background, in order to solve the above problem, in the prior art, the scanning results of different scanners are not consistent, and in an exemplary embodiment of the present application, a method and an apparatus for adjusting a scanner, a computer-readable storage medium, a processor, and a scanning system are provided.
According to an embodiment of the present application, there is provided an adjustment method of a scanner, the scanner including a projector and a camera, the projector having a blue channel, a red channel and a green channel, the projector being configured to project light of different channels to a color chip or a color plate, and the camera being configured to synchronously acquire an image of the color chip or the color plate.
Fig. 1 is a flowchart of an adjustment method of a scanner according to an embodiment of the present application. As shown in fig. 1, the method comprises the steps of:
step S101, controlling a scanner to scan a target picture and calculating a first gray value of the target picture, wherein the target picture is a color card or a color plate with standard colors;
step S102, if the first gray-level value of the target picture is not within the target range, adjusting the first projection current value of the scanner at least once within a current value adjustment range until the gray-level value of the target picture is within the target range, wherein each adjustment result is used to change the projection light intensity of the scanner.
In the adjusting method, firstly, the scanner is controlled to scan the target picture, and the first gray value of the target picture is calculated, that is, the scanner is adopted to scan the color card or the color plate with the standard color, and the gray value of the color card or the color plate with the standard color is calculated, then, if the first gray value of the target picture is not in the target range, the first projection current value of the scanner is adjusted at least once in the current value adjusting range until the gray value of the target picture is in the target range, so that the first gray value of the target picture scanned by any one scanner is in the target range, the consistency of the scanning results of different scanners is ensured, even if the target picture has no color cast phenomenon, and the problem of poor consistency of the scanning results of different scanners in the prior art is solved.
It should be noted that the target range is determined according to a standard value and an error range, where the standard value is a gray value calculated by scanning a standard color chart after manual adjustment, the manual adjustment is research, development and debugging, and is adjusted to a suitable scanning range, and the suitable scanning range is a result obtained through experiments, and a person skilled in the art can set a suitable error range according to specific situations, so as to obtain the target range.
It should be further noted that the target picture may be a color card or a color plate having a blue color, the target picture is obtained by projecting light of a blue channel to the color card or the color plate by the projector and then acquiring an image of the color card or the color plate by the camera, the target picture is obtained by projecting light of a red channel to the color card or the color plate by the projector and then acquiring an image of the color card or the color plate by the camera, the target picture is also obtained by projecting light of a green channel to the color card or the color plate by the projector and then acquiring an image of the color card or the color plate by the camera, and the target picture is obtained by projecting light of a green channel to the color card or the color plate by the projector and then acquiring an image of the color card or the color plate by the camera.
It should also be noted that the steps illustrated in the flowcharts of the figures may be performed in a computer system such as a set of computer-executable instructions and that, although a logical order is illustrated in the flowcharts, in some cases, the steps illustrated or described may be performed in an order different than presented herein.
In an embodiment of the application, adjusting the first projection current value of the scanner at least once within a current value adjustment range until the gray-level value of the target picture is within the target range includes: and adjusting the first projection current value to increase or decrease based on the middle value of the current value adjustment range. Specifically, the scanner may scan the target picture of a red channel or a green channel, increase the first projection current value when the first projection current value is adjusted in the current value adjustment range when the first projection current value is greater than the minimum value of the current value adjustment range and less than the middle value of the current value adjustment range, decrease the first projection current value when the first projection current value is adjusted in the current value adjustment range when the first projection current value is less than the maximum value of the current value adjustment range and greater than the middle value of the current value adjustment range, the increased current value or the decreased current value is greater than a quarter of the current value adjustment range and less than a half of the current value adjustment range, for example, the current value adjustment range is 0 to 10A, and the first projection current value is in the range of 0 to 5A, and increasing the first projection current value, wherein the increased projection current value is in the range of 2.5-10A, the first projection current value is in the range of 5-10A, the first projection current value is reduced, and the reduced projection current value is in the range of 0-7.5A.
It should be noted that the intermediate value is a value within the current value adjustment range, and the intermediate value is an arithmetic mean of two boundary values of the current value adjustment range, and preferably, when the median value of the current value adjustment range is an integer, the intermediate value is a median value of the current value adjustment range, and when the median value of the current value adjustment range is a non-integer, the intermediate value is an integer close to the median value, for example, when the current value adjustment range is 0 to 10, the median value is 5, the current value adjustment range is 1 to 10, and the median value is 5.5, the intermediate value is 5 or 6.
In an embodiment of the application, adjusting the first projection current value of the scanner at least once within a current value adjustment range until the gray-level value of the target picture is within the target range includes: increasing or decreasing the first projection current value of the scanner by a predetermined value to obtain a second projection current value; scanning the target picture again, and calculating to obtain a second gray value of the target picture; if the second gray value of the target picture is in the target range, finishing adjusting the projection current value of the scanner; and if the second gray value of the target picture is not in the target range, continuing to execute the process of adjusting the projection current value of the scanner until the gray value of the target picture is in the target range. The method directly adjusts the first projection current value to obtain a second projection current value, then calculates to obtain a second gray value of the target picture under the second projection current value, if the second gray value is in the target range, the adjustment can be finished, and if the second gray value is not in the target range, the adjustment is required to be continuously carried out.
It should be noted that, at least one adjustment of the first projection current value of the scanner in the current value adjustment range refers to one or more adjustments of the projection current value of the scanner in the current value adjustment range, each adjustment is to adjust the current projection current value, that is, to adjust the first projection current value to obtain the second projection current value, and the next adjustment is to adjust the second projection current value, instead of adjusting the first projection current value twice, and so on. It is understood that the first projected current value is a previous projected current value of the scanner and the second projected current value is a subsequent projected current value of the scanner.
It should be noted that, a person skilled in the art may set an appropriate predetermined value according to actual conditions, so that the second projected current value is within the current value adjustment range.
In an embodiment of the present application, the process of continuously executing the adjustment of the projection current value of the scanner includes: acquiring a gray difference value between the second gray value and a target gray value, wherein the target gray value is a value in the target range; determining a current difference value based on the gray difference value; determining a target current value based on the current difference value, and comparing the target current value with the second projection current value; and determining whether to continuously adjust the projection current value or not based on the comparison result. Specifically, a gray value is taken as a target gray value in a target range, so that a gray difference value between the second gray value and the target gray value can be obtained, the gray difference value is substituted into a slope formula to calculate a current difference value, so that a target current value is obtained, the second projection current and the target current value are compared to determine whether to continuously adjust the projection current value, and the method carries out secondary verification through comparison to avoid misadjustment.
It should be noted that, according to the first projection current value, the second projection current value, the first gray value, and the second gray value, the positive-negative ratio relationship of the gray value following the change of the projection current value is determined, and the slope is calculated, so that the slope formula can be obtained.
In an embodiment of the application, determining whether to continue adjusting the projection current value based on the comparison result includes: stopping adjusting the projection current value of the scanner when the target current value is the same as the second projection current value; and determining to continuously adjust the projection current value under the condition that the target current value is different from the second projection current value. Specifically, if the target current value is the same as the second projection current value, the adjustment of the projection current value may be stopped, and if the target current value is different from the second projection current value, the projection current value needs to be continuously adjusted until the gray value of the target picture is within the target range.
In an embodiment of the application, after determining to continue adjusting the projection current value, the method further includes: judging whether the target current value is in the current value adjusting range; if the target current value is within the current value adjusting range, adjusting the second projection current to the target current value, scanning the target picture again based on the target current value, and calculating a third gray value of the target picture; if the third gray value is in the target range, the adjustment of the projection current value of the scanner is finished, otherwise, the adjustment of the projection current value of the scanner is continuously executed. Specifically, under the condition that the target current value is different from the second projection current value and is within the current value adjustment range, the second projection current can be adjusted to the target current value, a third gray value of the target picture under the target current value is calculated, if the third gray value is within the target range, the adjustment is finished, and otherwise, the projection current value is continuously adjusted.
In an embodiment of the present application, the method further includes: if the target current value exceeds the current value adjusting range, counting the number of the projection current values exceeding the current value adjusting range, and under the condition that the number exceeds a preset number, finishing adjusting the projection current value of the scanner; determining whether the target current value is less than a minimum current value in the current value adjustment range if the number does not exceed the predetermined number; if the target current value is less than or equal to the minimum current value, scanning the target picture again by adopting the minimum current value, and determining whether the scanned gray value is in the target range; if the target current value is larger than the minimum current value, the target picture is scanned again by adopting the maximum current value in the current value adjusting range, and whether the scanned gray value is in the target range or not is determined. Specifically, in the case where the target current value exceeds the current value adjustment range and the number exceeds a predetermined number, indicating that the gradation value of the target picture cannot be made within the target range by the adjustment, the adjustment is terminated, for example, the projector itself is turned on, causing the scan result to be entirely turned on and color cast, which cannot be avoided by the adjustment, in the case where the target current value exceeds the current value adjustment range and the number does not exceed the predetermined number, it is determined whether the target current value is smaller than a minimum current value in the current value adjustment range, that is, a minimum current value in the current value adjustment range is used as a determination criterion, if the target current value is smaller than the minimum current value, the projection current value is adjusted to the minimum current value, and the gradation value of the target picture at the minimum current value, which is within the target range, is calculated, and the adjustment is terminated, which is not within the target range, and continuing to adjust, if the target current value is larger than the minimum current value and the target current value is inevitably larger than the maximum current value at the moment, adjusting the projection current value to the maximum current value in the current value adjustment range, calculating the gray value of the target picture under the maximum current value, wherein the gray value is in the target range, finishing the adjustment, and continuing to adjust, wherein the gray value is not in the target range.
It should be noted that, the maximum current value in the current value adjustment range may be used as a determination criterion, and when the target current value exceeds the current value adjustment range and the number does not exceed the predetermined number, if the current adjustment result is greater than the maximum current value, the target picture is scanned again by using the maximum current value, and whether the scanned gray value is within the target range is determined, and if the current adjustment result is less than the maximum current value, the target current value is inevitably less than the minimum current value of the current value adjustment range, the target picture is scanned again by using the minimum current value, and whether the scanned gray value is within the target range is determined.
The embodiment of the present application further provides an adjusting method of a scanner, where at least two color lights are sequentially projected onto a target picture, the target picture projected by the at least two color lights is synchronously acquired by using any one of the above methods, and is simultaneously adjusted based on an acquisition result until adjustment of all channels of the target picture is completed within the target range, where the target range of each color channel is associated, in this embodiment, the projector includes a red channel, a green channel, and a blue channel, target gray-scale values of imaging of three color channels are in a proportional relationship, a sum of weight ratios of the target gray-scale values of imaging of the three color channels is close to or equal to 1, and a weight ratio of the target gray-scale value of imaging of a color channel corresponding to reconstruction light is greater than a weight ratio of the target gray-scale values of imaging of other color channels, for example, if the reconstructed light of the scanner is blue light, the weight ratio of the target gray scale value of the image projected by the blue channel of the projector to the color chart or the color plate and collected by the camera is greater than the weight ratio of the target gray scale value of the image projected by the red channel of the projector to the color chart or the color plate and collected by the camera, and the weight ratio of the target gray scale value of the image projected by the blue channel of the projector to the color chart or the color plate and collected by the camera is greater than the weight ratio of the target gray scale value of the image projected by the green channel of the projector to the color chart or the color plate and collected by the camera.
Adjusting the projection current value of the blue channel of the projector according to the scheme until the blue channel of the projector projects light to the color card or the color plate and the gray value of the image acquired by the camera meets the target range; adjusting the projection current value of the red channel of the projector according to the scheme until the red channel of the projector projects light to the color card or the color plate and the gray value of the image acquired by the camera meets the target range; and adjusting the projection current value of the green channel of the projector according to the scheme until the green channel of the projector projects light to the color card or the color plate and the gray value of the image acquired by the camera meets the target range. After the projection current values of the three color channels are respectively adjusted, the three color channels project light to the color card or the color plate and the target gray values of the images collected by the camera form a preset proportional relation, when the three color channels are actually scanned and used, the three colors are simultaneously projected to an object, and the colors of the object can be reduced through the images collected by the camera.
In the adjusting method, the three channels are a red channel, a green channel and a blue channel, each adjustment requires about 2-5 seconds of effective time, the three channels of the target picture are simultaneously acquired and are simultaneously adjusted based on the acquisition result, the adjusting time is reduced, and the adjusting efficiency is improved.
It should be noted that, since each channel has a corresponding target range, the adjustment process is not affected by each other, and each channel may not be adjusted at the same time.
The embodiment of the present application further provides an adjusting apparatus of a scanner, and it should be noted that the adjusting apparatus of the scanner according to the embodiment of the present application may be used to execute the adjusting method for the scanner according to the embodiment of the present application. The following describes an adjustment device of a scanner according to an embodiment of the present application.
Fig. 2 is a schematic diagram of an adjustment device of a scanner according to an embodiment of the present application. As shown in fig. 2, the apparatus includes:
the device comprises an acquisition unit 10, a processing unit and a processing unit, wherein the acquisition unit is used for controlling a scanner to scan a target picture and calculating a first gray value of the target picture, and the target picture is a color card or a color plate with standard colors;
a first adjusting unit 20, configured to, if the first gray-level value of the target picture is not within the target range, adjust the first projection current value of the scanner at least once within a current value adjusting range until the gray-level value of the target picture is within the target range, where the adjustment result is used to change the projection light intensity of the scanner each time.
In the adjusting device, the obtaining unit controls the scanner to scan the target picture and calculates the first gray value of the target picture, that is, the scanner is adopted to scan the color card or the color plate with the standard color and calculate the gray value of the color card or the color plate with the standard color, if the first gray value of the target picture is not in the target range, the adjusting unit adjusts the first projection current value of the scanner at least once in the current value adjusting range until the gray value of the target picture is in the target range, so that the first gray value of the target picture scanned by any one scanner is in the target range, the consistency of the scanning results of different scanners is ensured, the target picture has no color cast phenomenon, and the problem of poor consistency of the scanning results of different scanners in the prior art is solved.
It should be noted that the target range is determined according to a standard value and an error range, where the standard value is a gray value calculated by scanning a standard color chart after manual adjustment, and the manual adjustment is debugging performed in a research and development process.
It should be further noted that the target picture may be a color card or a color plate having a blue color, the target picture is obtained by projecting light of a blue channel to the color card or the color plate by the projector and then acquiring an image of the color card or the color plate by the camera, the target picture is obtained by projecting light of a red channel to the color card or the color plate by the projector and then acquiring an image of the color card or the color plate by the camera, the target picture is also obtained by projecting light of a green channel to the color card or the color plate by the projector and then acquiring an image of the color card or the color plate by the camera, and the target picture is obtained by projecting light of a green channel to the color card or the color plate by the projector and then acquiring an image of the color card or the color plate by the camera.
In an embodiment of the application, the first adjusting unit includes an adjusting module, and the adjusting module is configured to increase or decrease the first projection current value based on a middle value of the current value adjusting range. Specifically, the scanner may scan the target picture of a red channel or a green channel, increase the first projection current value when the first projection current value is adjusted in the current value adjustment range when the first projection current value is greater than the minimum value of the current value adjustment range and less than the middle value of the current value adjustment range, decrease the first projection current value when the first projection current value is adjusted in the current value adjustment range when the first projection current value is less than the maximum value of the current value adjustment range and greater than the middle value of the current value adjustment range, the increased current value or the decreased current value is greater than a quarter of the current value adjustment range and less than a half of the current value adjustment range, for example, the current value adjustment range is 0 to 10A, and the first projection current value is in the range of 0 to 5A, and increasing the first projection current value, wherein the increased projection current value is in the range of 2.5-10A, the first projection current value is in the range of 5-10A, the first projection current value is increased, and the reduced projection current value is in the range of 0-7.5A.
It should be noted that the intermediate value is a value within the current value adjustment range, and the intermediate value is an arithmetic mean of two boundary values of the current value adjustment range, and preferably, when the median value of the current value adjustment range is an integer, the intermediate value is a median value of the current value adjustment range, and when the median value of the current value adjustment range is a non-integer, the intermediate value is an integer close to the median value, for example, when the current value adjustment range is 0 to 10, the median value is 5, the current value adjustment range is 1 to 10, and the median value is 5.5, the intermediate value is 5 or 6.
In an embodiment of the present application, the first adjusting unit includes an adjusting subunit, a calculating subunit, a first processing subunit, and a second processing subunit, where the adjusting subunit is configured to increase or decrease the first projection current value of the scanner by a predetermined value to obtain a second projection current value; scanning the target picture again, and calculating to obtain a second gray value of the target picture; the first processing subunit is configured to, if the second gray scale value of the target picture is within the target range, end adjusting the projection current value of the scanner; the second processing subunit is configured to, if the second gray scale value of the target picture is not within the target range, continue to perform a process of adjusting the projection current value of the scanner until the gray scale value of the target picture is within the target range. The device directly adjusts the first projection current value to obtain a second projection current value, then calculates to obtain a second gray value of the target picture under the second projection current value, if the second gray value is in the target range, the adjustment can be finished, and if the second gray value is not in the target range, the adjustment is required to be continuously carried out.
It should be noted that the first projection current value of the scanner is adjusted at least once within the current value adjustment range, each adjustment is to adjust the current projection current value, that is, the first projection current value is adjusted to obtain the second projection current value, the next adjustment is to adjust the second projection current value instead of adjusting the first projection current value twice, and so on. The second projection current value is obtained by adjusting the first projection current value, and other second projection current values are not obtained by adjusting the first projection current value.
It should be noted that, a person skilled in the art may set an appropriate predetermined value according to actual conditions, so that the second projected current value is within the current value adjustment range.
In an embodiment of the application, the second processing subunit includes an obtaining module, a third determining module, a fourth determining module, and a fifth determining module, where the obtaining module is configured to obtain a gray difference between the second gray value and a target gray value, where the target gray value is a value in the target range; the third determining module is configured to determine a current difference value based on the gray difference value; the fourth determining module is configured to determine a target current value based on the current difference, and compare the target current value with the second projection current value; the fifth determining module is configured to determine whether to continue to adjust the projection current value based on the comparison result. Specifically, a gray value is taken as a target gray value in a target range, so that a gray difference value between the second gray value and the target gray value can be obtained, the gray difference value is substituted into a slope formula to calculate a current difference value, so that a target current value is obtained, the second projection current and the target current value are compared to determine whether to continuously adjust the projection current value, and the device carries out secondary verification through comparison to avoid misadjustment.
It should be noted that, according to the first projection current value, the second projection current value, the first gray value, and the second gray value, the positive-negative ratio relationship of the gray value following the change of the projection current value is determined, and the slope is calculated, so that the slope formula can be obtained.
In an embodiment of the application, the fifth determining module is further configured to stop adjusting the projection current value of the scanner when the target current value is the same as the second projection current value; the fifth determining module is further configured to determine to continue adjusting the projection current value when the target current value is different from the second projection current value. Specifically, if the target current value is the same as the second projection current value, the adjustment of the projection current value may be stopped, and if the target current value is different from the second projection current value, the projection current value needs to be continuously adjusted until the gray value of the target picture is within the target range.
In an embodiment of the application, the fifth determining module includes a determining submodule, a calculating submodule, and a processing submodule, where the determining submodule is configured to determine whether the target current value is within the current value adjusting range; the calculation submodule is used for adjusting the second projection current to the target current value if the target current value is within the current value adjustment range, scanning the target picture again based on the target current value and calculating a third gray value of the target picture; and the processing submodule is used for ending the adjustment of the projection current value of the scanner if the third gray value is in the target range, and otherwise, continuing to adjust the projection current value of the scanner. Specifically, under the condition that the target current value is different from the second projection current value and is within the current value adjustment range, the second projection current is adjusted to the target current value, a third gray value of the target picture under the target current value is calculated, if the third gray value is within the target range, the adjustment is finished, and otherwise, the projection current value is continuously adjusted.
In an embodiment of the present application, the adjusting apparatus further includes a second adjusting unit, where the second adjusting unit includes a processing subunit, a first determining subunit, a second determining subunit, and a third determining subunit, where the processing subunit is configured to count the number of the projection current values exceeding the current value adjusting range if the target current value exceeds the current value adjusting range, and end adjusting the projection current value of the scanner if the number exceeds a predetermined number; the first determining subunit is configured to determine whether the target current value is smaller than a minimum current value in the current value adjustment range, if the number does not exceed the predetermined number; the second determining subunit is configured to, if the target current value is less than or equal to the minimum current value, rescan the target picture using the minimum current value, and determine whether the scanned gray-level value is within the target range; the third determining subunit is configured to, if the target current value is greater than the minimum current value, scan the target picture again using the maximum current value in the current value adjustment range, and determine whether the scanned grayscale value is within the target range. Specifically, in the case where the target current value is out of the current value adjustment range and the number exceeds the predetermined number, indicating that the gray value of the target picture cannot be made to be in the target range by the adjustment, the adjustment is terminated, for example, the projector itself is turned on, causing the entire scan result to be turned on and color cast, which cannot be avoided by the adjustment, in the case where the number does not exceed the predetermined number, it is determined whether the target current value is smaller than a minimum current value in the current value adjustment range, if the target current value is smaller than the minimum current value, the projection current value is adjusted to the minimum current value, and the gray value of the target picture at the minimum current value, which is in the target range, is terminated, the adjustment is not in the target range, the adjustment is continued, and if the target current value is larger than the maximum current value, the projection current value is adjusted to a maximum current value in the current value adjustment range, and calculating the gray value of the target picture under the maximum current value, wherein the gray value is in the target range, finishing the adjustment, and the gray value is not in the target range, and continuing the adjustment.
It should be noted that, in the case that the number does not exceed the predetermined number, if the current adjustment result is greater than or equal to the maximum current value, the maximum current value is used to scan the target picture again and determine whether the scanned gray-level value is within the target range, and if the current adjustment result is less than the maximum current value, the minimum current value is used to scan the target picture again and determine whether the scanned gray-level value is within the target range.
The embodiment of the present application further provides a scanning system, which includes a scanner and an adjusting device, where the adjusting device is configured to execute any one of the adjusting methods.
The scanning system comprises an adjusting device, wherein an obtaining unit controls a scanner to scan a target picture and calculates a first gray value of the target picture, namely, the scanner is adopted to scan a color card or a color plate with a standard color and calculate the gray value of the color card or the color plate with the standard color, if the first gray value of the target picture is not in a target range, the adjusting unit adjusts the first projection current value of the scanner at least once in a current value adjusting range until the gray value of the target picture is in the target range, so that the first gray value of the target picture scanned by any one scanner is in the target range, the consistency of scanning results of different scanners is ensured, the target picture has no color cast phenomenon, and the problem of poor consistency of the scanning results of different scanners in the prior art is solved.
It should be noted that the above adjusting method can be applied to a scanner and a scanning system composed of the scanner and a computer, wherein when the method is applied to the scanner, the scanner has data processing capability, and the projection light intensity is adjusted based on the data processing result of the scanner; when the method is applied to a scanning system, a scanner is controlled by a computer to adjust the projection light intensity.
In order to make the technical solutions of the present application more clearly understood by those skilled in the art, the technical solutions of the present application will be described below with reference to specific embodiments.
Examples
As shown in fig. 3, the adjustment method of the single channel includes the following steps: controlling a scanner to perform a first acquisition calculation, namely controlling the scanner to scan a target picture and calculating a first gray value of the target picture, wherein the target picture is a color card or a color plate with standard colors, comparing the first gray value with a target range, ending the scanning if the first gray value of the target picture is in the target range, increasing the first projection current value of the scanner by a predetermined value if the first gray value of the target picture is not in the target range, and decreasing the first projection current value of the scanner by the predetermined value if the first projection current value is greater than the minimum value of the current value adjustment range and less than the middle value of the current value adjustment range if the first projection current value is less than the maximum value of the current value adjustment range and greater than the middle value of the current value adjustment range, obtaining a second projection current value, namely adjusting the projection circuit value of the scanner to a second projection current value, executing a second acquisition calculation based on the second projection current value, namely scanning the target picture again, calculating to obtain a second gray value of the target picture, ending the adjustment of the projection current value of the scanner if the second gray value of the target picture is in the target range, and obtaining a gray difference value between the second gray value and a target gray value if the second gray value of the target picture is not in the target range, wherein the target gray value is a value in the target range, and the gray difference value is substituted into a slope formula to calculate to obtain a current difference value based on the gray difference value, and the slope formula is derived from the current acquisition record and the last acquisition record according to the first projection current value, the second projection current value, Deriving a first gray value and a second gray value, determining a target current value based on the current difference, comparing the target current value with a previous projected current value, i.e. with the second projected current value, stopping adjusting the projected current value of the scanner when the target current value is the same as the second projected current value, determining whether the target current value is within the current value adjustment range when the target current value is not the same as the second projected current value, adjusting the second projected current value to the target current value if the target current value is within the current value adjustment range, scanning the target picture again based on the target current value, and calculating a third gray value of the target picture, if the third gray value is within the target range, finishing adjusting the projection current value of the scanner, counting the number of the projection current values exceeding the current value adjustment range if the target current value exceeds the current value adjustment range, finishing adjusting the projection current value of the scanner if the number exceeds a predetermined number, judging whether the target current value is smaller than the minimum current value in the current value adjustment range if the number does not exceed the predetermined number, scanning the target picture again by using the minimum current value if the target current value is smaller than the minimum current value, determining whether the scanned gray value is in the target range, finishing adjusting if the scanned gray value is in the target range, and otherwise calculating the gray difference value between the currently scanned gray value and the gray value scanned last time, determining a current difference value based on the gray scale difference value, determining a target current value based on the current difference value, comparing the target current value with the previous projected current value, determining whether to continue to adjust the projected current value based on the comparison result until the scanned gray scale value is within the target range or the number exceeds a predetermined number, if the target current value exceeds the current value adjustment range and is greater than the minimum current value, scanning the target picture again by using the maximum current value in the current value adjustment range, and determining whether the scanned gray scale value is within the target range, if the scanned gray scale value is within the target range, ending the adjustment, otherwise, calculating the gray scale difference value between the currently scanned gray scale value and the last scanned gray scale value, determining the current difference value based on the gray scale difference value, and determining the target current value based on the current difference value, and comparing the target current value with the previous projection current value, and determining whether to continuously adjust the projection current value or not on the basis of the comparison result until the scanned gray value is in the target range or the number exceeds a preset number.
The adjusting device comprises a processor and a memory, the acquiring unit, the first adjusting unit and the like are stored in the memory as program units, and the processor executes the program units stored in the memory to realize corresponding functions.
The processor comprises a kernel, and the kernel calls the corresponding program unit from the memory. The kernel can be set to be one or more than one, and the problem of poor consistency of scanning results of different scanners in the prior art is solved by adjusting kernel parameters.
The memory may include volatile memory in a computer readable medium, Random Access Memory (RAM) and/or nonvolatile memory such as Read Only Memory (ROM) or flash memory (flash RAM), and the memory includes at least one memory chip.
An embodiment of the present invention provides a computer-readable storage medium on which a program is stored, the program implementing the above-mentioned adjustment method when executed by a processor.
An embodiment of the present invention provides a processor, where the processor is configured to execute a program, where the program executes the adjusting method when running.
The embodiment of the invention provides equipment, which comprises a processor, a memory and a program which is stored on the memory and can run on the processor, wherein when the processor executes the program, at least the following steps are realized:
step S101, controlling a scanner to scan a target picture and calculating a first gray value of the target picture, wherein the target picture is a color card or a color plate with standard colors;
step S102, if the first gray-level value of the target picture is not within the target range, adjusting the first projection current value of the scanner at least once within a current value adjustment range until the gray-level value of the target picture is within the target range, wherein each adjustment result is used to change the projection light intensity of the scanner.
The device herein may be a server, a PC, a PAD, a mobile phone, etc.
The present application further provides a computer program product adapted to perform a program of initializing at least the following method steps when executed on a data processing device:
step S101, controlling a scanner to scan a target picture and calculating a first gray value of the target picture, wherein the target picture is a color card or a color plate with standard colors;
step S102, if the first gray-level value of the target picture is not within the target range, adjusting the first projection current value of the scanner at least once within a current value adjustment range until the gray-level value of the target picture is within the target range, wherein each adjustment result is used to change the projection light intensity of the scanner.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the above-described division of the units may be a logical division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit may be stored in a computer-readable storage medium if it is implemented in the form of a software functional unit and sold or used as a separate product. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a computer-readable storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned computer-readable storage media comprise: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
From the above description, it can be seen that the above-described embodiments of the present application achieve the following technical effects:
1) according to the adjusting method, firstly, a scanner is controlled to scan a target picture, a first gray value of the target picture is calculated, namely the scanner is adopted to scan a color card or a color plate with standard colors, the gray value of the color card or the color plate with the standard colors is calculated, then, if the first gray value of the target picture is not in a target range, the first projection current value of the scanner is adjusted at least once in a current value adjusting range until the gray value of the target picture is in the target range, so that the first gray value of the target picture scanned by any one scanner is in the target range, the consistency of scanning results of different scanners is ensured, the target picture has no color cast phenomenon, and the problem of poor consistency of the scanning results of different scanners in the prior art is solved.
2) In the adjusting method, the three channels are the red channel, the green channel and the blue channel, the effective time of about 2-5 seconds is needed for each adjustment, the three channels of the target picture are acquired simultaneously, and the adjustment is performed simultaneously based on the acquisition result, so that the adjustment time is shortened, and the adjustment efficiency is improved.
3) In the adjusting device, the obtaining unit controls the scanner to scan the target picture and calculates a first gray value of the target picture, namely, the scanner is adopted to scan the color card or the color plate with the standard color and calculate the gray value of the color card or the color plate with the standard color, if the first gray value of the target picture is not in the target range, the adjusting unit adjusts the first projection current value of the scanner at least once in the current value adjusting range until the gray value of the target picture is in the target range, so that the first gray value of the target picture scanned by any one scanner is in the target range, the consistency of the scanning results of different scanners is ensured, even if the target picture has no color cast phenomenon, and the problem of poor consistency of the scanning results of different scanners in the prior art is solved.
4) The scanning system comprises an adjusting device, an acquisition unit controls a scanner to scan a target picture and calculates a first gray value of the target picture, that is, a scanner is used to scan a color chart or a color plate with a standard color, and the gray value of the color chart or the color plate with the standard color is calculated, if the first gray value of the target picture is not in the target range, the adjusting unit adjusts the first projection current value of the scanner at least once in the current value adjusting range until the gray value of the target picture is in the target range, thereby the first gray value of the target picture scanned by any one scanner is in the target range, the consistency of the scanning results of different scanners is ensured, therefore, the color cast phenomenon does not exist in the target picture, and the problem of poor consistency of scanning results of different scanners in the prior art is solved.
The above description is only a preferred embodiment of the present application and is not intended to limit the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (12)

1. A method of adjusting a scanner, comprising:
controlling a scanner to scan a target picture, and calculating a first gray value of the target picture, wherein the target picture is a color card or a color plate with standard colors;
and if the first gray value of the target picture is not in the target range, adjusting the first projection current value of the scanner at least once in a current value adjustment range until the gray value of the target picture is in the target range, wherein the adjustment result is used for changing the projection light intensity of the scanner each time.
2. The method of claim 1, wherein adjusting the first projected current value of the scanner at least once within a current value adjustment range until the gray scale value of the target picture is within the target range comprises: and performing increasing or decreasing adjustment on the first projection current value by taking the middle value of the current value adjustment range as a reference.
3. The method of claim 2, wherein adjusting the first projected current value of the scanner at least once within a current value adjustment range until the gray scale value of the target picture is within the target range comprises:
increasing a preset value or reducing the preset value to the first projection current value of the scanner to obtain a second projection current value;
scanning the target picture again, and calculating to obtain a second gray value of the target picture;
if the second gray value of the target picture is within the target range, finishing adjusting the projection current value of the scanner;
and if the second gray value of the target picture is not in the target range, continuing to execute the process of adjusting the projection current value of the scanner until the gray value of the target picture is in the target range.
4. The method of claim 3, wherein continuing to perform the process of adjusting the projected current values of the scanner comprises:
acquiring a gray difference value between the second gray value and a target gray value, wherein the target gray value is a value in the target range;
determining a current difference value based on the gray difference value;
determining a target current value based on the current difference value, and comparing the target current value with the second projection current value;
and determining whether to continuously adjust the projection current value or not based on the comparison result.
5. The method of claim 4, wherein determining whether to continue adjusting the projected current value based on the comparison comprises:
stopping adjusting the projection current value of the scanner when the target current value is the same as the second projection current value;
and determining to continuously adjust the projection current value under the condition that the target current value is different from the second projection current value.
6. The method of claim 5, wherein after determining to continue adjusting the projected current value, the method further comprises:
judging whether the target current value is within the current value adjusting range;
if the target current value is within the current value adjusting range, adjusting the second projection current to the target current value, scanning the target picture again based on the target current value, and calculating a third gray value of the target picture;
and if the third gray value is in the target range, finishing adjusting the projection current value of the scanner, otherwise, continuously adjusting the projection current value of the scanner.
7. The method of claim 6, further comprising:
if the target current value exceeds the current value adjustment range, counting the number of the projection current values exceeding the current value adjustment range, and under the condition that the number exceeds the preset number, finishing adjusting the projection current value of the scanner;
determining whether the target current value is less than a minimum current value in the current value adjustment range if the number does not exceed the predetermined number;
if the target current value is smaller than or equal to the minimum current value, adopting the minimum current value to scan the target picture again, and determining whether the scanned gray value is in the target range;
if the target current value is larger than the minimum current value, scanning the target picture again by adopting the maximum current value in the current value adjusting range, and determining whether the scanned gray value is in the target range.
8. A method of adjusting a scanner, comprising: at least two colors of light are projected to a target picture in sequence, the target picture projected by the at least two colors of light is synchronously acquired by adopting the method of any one of claims 1 to 7, and adjustment is simultaneously carried out based on the acquisition result until the adjustment of all channels of the target picture is finished and is within the target range, wherein the target range of each color channel is associated.
9. An adjustment device for a scanner, comprising:
the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for controlling a scanner to scan a target picture and calculating a first gray value of the target picture, and the target picture is a color card or a color plate with standard colors;
and the first adjusting unit is used for adjusting the first projection current value of the scanner at least once within a current value adjusting range if the first gray value of the target picture is not within the target range until the gray value of the target picture is within the target range, wherein each adjusting result is used for changing the projection light intensity of the scanner.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium includes a stored program, wherein the program executes the adjustment method of any one of claims 1 to 8.
11. A processor, characterized in that the processor is configured to run a program, wherein the program is configured to execute the adjusting method according to any one of claims 1 to 8 when running.
12. A scanning system comprising a scanner and an adjustment device, characterized in that the adjustment device is adapted to perform the adjustment method of any one of claims 1 to 8.
CN202010605292.7A 2020-06-29 2020-06-29 Scanner adjusting method and device, processor and scanning system Pending CN113938568A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010605292.7A CN113938568A (en) 2020-06-29 2020-06-29 Scanner adjusting method and device, processor and scanning system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010605292.7A CN113938568A (en) 2020-06-29 2020-06-29 Scanner adjusting method and device, processor and scanning system

Publications (1)

Publication Number Publication Date
CN113938568A true CN113938568A (en) 2022-01-14

Family

ID=79272971

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010605292.7A Pending CN113938568A (en) 2020-06-29 2020-06-29 Scanner adjusting method and device, processor and scanning system

Country Status (1)

Country Link
CN (1) CN113938568A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040062438A1 (en) * 2002-09-26 2004-04-01 Kimberly-Clark Worldwide, Inc. Method of adjusting gray scale response to more closely correlate scanner based image analysis systems
CN1977524A (en) * 2004-05-05 2007-06-06 维什尼尔公司 Method and software of simple user driven one touch calibration for scanner
CN106331665A (en) * 2015-06-30 2017-01-11 芋头科技(杭州)有限公司 Projection image adjustment method and projector
CN107144239A (en) * 2016-03-01 2017-09-08 杭州腾聚科技有限公司 A kind of Gain Automatic adjusting method of handheld structure light spatial digitizer
CN109831658A (en) * 2019-04-03 2019-05-31 贵安新区新特电动汽车工业有限公司 Projected light tone adjusting method and projected light tone engagement positions

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040062438A1 (en) * 2002-09-26 2004-04-01 Kimberly-Clark Worldwide, Inc. Method of adjusting gray scale response to more closely correlate scanner based image analysis systems
CN1977524A (en) * 2004-05-05 2007-06-06 维什尼尔公司 Method and software of simple user driven one touch calibration for scanner
CN106331665A (en) * 2015-06-30 2017-01-11 芋头科技(杭州)有限公司 Projection image adjustment method and projector
CN107144239A (en) * 2016-03-01 2017-09-08 杭州腾聚科技有限公司 A kind of Gain Automatic adjusting method of handheld structure light spatial digitizer
CN109831658A (en) * 2019-04-03 2019-05-31 贵安新区新特电动汽车工业有限公司 Projected light tone adjusting method and projected light tone engagement positions

Similar Documents

Publication Publication Date Title
EP2665277A1 (en) Image projection apparatus, control method, control program, and carrier medium
US7565073B2 (en) Photography apparatus, photography method, and photography program for obtaining an image of a subject
US7830418B2 (en) Perceptually-derived red-eye correction
US8331666B2 (en) Automatic red eye artifact reduction for images
US20190297310A1 (en) Device and method for shadow correction verification parameter determination and shadow correction verification
JP4693694B2 (en) Red-eye detection and correction method and apparatus
US20040114797A1 (en) Method for automatic determination of color-density correction values for the reproduction of digital image data
JP2001186325A (en) Method and device for processing picture, recording medium and transmitting medium
CN105096267A (en) Method and device for adjusting brightness of eye portion based on shooting identification
CN109495729A (en) Projected picture correcting method and system
CN115460386B (en) Method and system for acquiring color image by black-and-white camera
GB2453891A (en) Pupil color correction device and program
KR20160145545A (en) Method of enhanced alignment of two means of projection
CN114913109A (en) Image anomaly detection method and device, test chart and terminal equipment
JP7114335B2 (en) IMAGE PROCESSING DEVICE, CONTROL METHOD FOR IMAGE PROCESSING DEVICE, AND PROGRAM
CN113344843A (en) Image quality evaluation method, device and system
CN112040091B (en) Camera gain adjusting method and device and scanning system
JP3510040B2 (en) Image processing method
CN108289170A (en) The camera arrangement and method of metering region can be detected
CN110769225B (en) Projection area obtaining method based on curtain and projection device
US20160165200A1 (en) Measurements of cinematographic projection
CN113938568A (en) Scanner adjusting method and device, processor and scanning system
US11245881B2 (en) Method and apparatus for correcting color convergence error
JPH11341501A (en) Electrophotographic image pickup device, electrophotographic image pickup method and medium recorded with electrophotographic image pickup control program
WO2016145872A1 (en) Distance measurement and focusing method and device

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