WO2017114252A1 - Static image collection method and device - Google Patents

Static image collection method and device Download PDF

Info

Publication number
WO2017114252A1
WO2017114252A1 PCT/CN2016/111248 CN2016111248W WO2017114252A1 WO 2017114252 A1 WO2017114252 A1 WO 2017114252A1 CN 2016111248 W CN2016111248 W CN 2016111248W WO 2017114252 A1 WO2017114252 A1 WO 2017114252A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
image acquisition
scanning
imaging device
acquisition unit
Prior art date
Application number
PCT/CN2016/111248
Other languages
French (fr)
Chinese (zh)
Inventor
姜訢
田明
陈兴龙
Original Assignee
青岛海尔股份有限公司
北京一数科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 青岛海尔股份有限公司, 北京一数科技有限公司 filed Critical 青岛海尔股份有限公司
Publication of WO2017114252A1 publication Critical patent/WO2017114252A1/en

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/04Scanning arrangements, i.e. arrangements for the displacement of active reading or reproducing elements relative to the original or reproducing medium, or vice versa
    • 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/00127Connection or combination of a still picture apparatus with another apparatus, e.g. for storage, processing or transmission of still picture signals or of information associated with a still picture
    • H04N1/00249Connection or combination of a still picture apparatus with another apparatus, e.g. for storage, processing or transmission of still picture signals or of information associated with a still picture with a photographic apparatus, e.g. a photographic printer or a projector
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • H04N5/265Mixing

Definitions

  • the present invention relates to the field of image processing technologies, and in particular, to a method and an apparatus for acquiring a static image.
  • scanning imaging equipment is also widely available, and it is widely used by more and more people because of its wide use.
  • scanning imaging equipment has been widely used in business office, video teaching, home theater. , cinema, etc.
  • Scanning imaging devices can be divided into various categories from different angles, for example, scanning imaging devices can be classified into laser scanning imaging devices, infrared scanning imaging devices, electronic scanning imaging devices, and the like according to scanning sources.
  • the user may need to perform image acquisition on the scanned image of the scanning imaging device.
  • the scanned image of the scanning imaging device is scanned by the scanning imaging device in a scanning cycle by point-by-point scanning, and Generally, the exposure time of the image capturing device is less than the above-mentioned scanning period. Therefore, the scanning imaging device can only scan a part of the completed image during the above exposure time, and the image capturing device is difficult to collect when acquiring the scanned image of the scanning imaging device. To the full image.
  • the embodiment of the invention discloses a method and a device for acquiring a static image, so as to easily collect a complete image of the scanned image of the scanning imaging device.
  • an embodiment of the present invention discloses a method for collecting a static image, including the steps of:
  • the preset image acquisition rule is used to specify an image acquisition triggering time of the image capturing unit in each scanning period to ensure that the collected N images contain all the contents of one scanned image of the scanning imaging device;
  • Image synthesis is performed on the acquired N images to obtain a complete image of the scanned image for the scanning imaging device.
  • determining the number N of scanning cycles required to acquire a complete image includes:
  • the number of scan cycles required to acquire a complete image is N.
  • the calling image acquisition unit collects images according to a preset image collection rule, including:
  • the image acquisition unit is triggered to transmit an image according to a preset image acquisition rule by transmitting an optical LED blinking manner.
  • the calling image acquisition unit collects images according to a preset image collection rule, including:
  • the image acquisition unit When the earliest image acquisition triggering moment is reached in the determined image acquisition triggering time, the image acquisition unit is called to perform image acquisition, and the obtained time interval is sent to the image acquisition unit, so that the image acquisition unit follows the above The acquired time interval is used for image acquisition.
  • the calling image acquisition unit collects images according to a preset image collection rule, including:
  • the image acquisition unit is called to perform image acquisition when the determined image acquisition trigger time is reached.
  • the image is synthesized by using the acquired N images to obtain a complete image of the scanned image of the scanning imaging device, including:
  • image synthesis is performed on the acquired N images to obtain a complete image of the scanned image for the scanning imaging device.
  • an embodiment of the present invention discloses an apparatus for collecting a static image, including:
  • a hardware parameter obtaining module configured to obtain a scan period T 0 of scanning a frame scan image by the scan imaging device and an exposure time T exp of the image acquisition unit;
  • a scan cycle number determining module configured to determine, according to the numerical relationship between the scan cycle T 0 and the exposure time T exp , the number of scan cycles N required to acquire a complete image
  • An image acquisition module configured to invoke an image acquisition unit to acquire an image according to a preset image acquisition rule, wherein the image acquisition unit collects only one image in each scan cycle of the N scan cycles of the scan imaging device
  • the preset image acquisition rule is used to specify an image acquisition triggering time of the image capturing unit in each scanning period to ensure that the collected N images comprise a scanned image of the scanning imaging device. All content;
  • An image synthesizing module is configured to perform image synthesis on the acquired N images to obtain a complete image of the scanned image of the scanning imaging device.
  • the scanning cycle number determining module is specifically configured to:
  • the number of scan cycles required to acquire a complete image is N.
  • the image acquisition module is specifically configured to:
  • the image acquisition unit is triggered to transmit an image according to a preset image acquisition rule by transmitting an optical LED blinking manner.
  • the image acquisition module includes:
  • a first triggering time determining sub-module configured to determine, according to a preset image capturing rule, an image capturing triggering time corresponding to each scanning period of the N scanning periods of the scanning imaging device;
  • a first image collection sub-module configured to call an image acquisition unit to perform image acquisition when the earliest image acquisition trigger time is reached in the determined image acquisition trigger time, and send the obtained time interval to the image acquisition unit,
  • the image acquisition unit is caused to perform image acquisition in accordance with the time interval obtained as described above.
  • the image acquisition module includes:
  • a second triggering time determining sub-module configured to determine, according to a preset image capturing rule, an image capturing triggering time corresponding to each scanning period of the N scanning periods of the scanning imaging device;
  • the second image collection sub-module is configured to invoke the image acquisition unit to perform image acquisition when the determined image acquisition trigger time is reached.
  • the image synthesizing module comprises:
  • a region determining sub-module configured to determine an area of the scanned content in the collected N images
  • the image synthesizing sub-module is configured to perform image synthesizing on the collected N images according to the determined position of the region where the scanning content is located in the image, to obtain a complete image of the scanned image for the scanning imaging device.
  • the scan imaging device obtains the scan period T 0 of scanning a frame scan image and the exposure time T exp of the image acquisition unit, according to the scan period T 0 and the exposure time T
  • the numerical relationship between exp determines the number of scan cycles N required to acquire a complete image, and then calls the image acquisition unit to acquire N images according to preset image acquisition rules, and performs image synthesis on the acquired N images.
  • a complete image of the scanned image for the scanning imaging device is obtained.
  • image capturing is performed in multiple scanning periods of the scanning imaging device. In this way, it is ensured that the respective parts of the scanned image can be acquired, and therefore, a complete image of the scanned image of the scanning imaging apparatus can be easily acquired by means of image synthesis.
  • FIG. 1 is a schematic flowchart diagram of a method for collecting a static image according to an embodiment of the present invention.
  • FIG. 2 is a schematic flowchart diagram of another method for collecting a static image according to an embodiment of the present invention.
  • FIG. 3 is a schematic flowchart diagram of another method for collecting a static image according to an embodiment of the present invention.
  • FIG. 4(a) is a schematic diagram of a pulse according to an embodiment of the present invention.
  • FIG. 4(b) is a schematic diagram of another pulse according to an embodiment of the present invention.
  • FIG. 5 is a schematic flowchart diagram of another method for collecting a static image according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of an apparatus for collecting a static image according to an embodiment of the present invention.
  • FIG. 7 is a schematic structural diagram of another apparatus for collecting a static image according to an embodiment of the present invention.
  • FIG. 8 is a schematic structural diagram of another apparatus for collecting a static image according to an embodiment of the present invention.
  • FIG. 9 is a schematic structural diagram of another apparatus for collecting a static image according to an embodiment of the present invention.
  • the embodiment of the invention provides a method and a device for acquiring a static image, which are applied to a scanning imaging device. Specifically, when the scanning imaging device acquires a static image, obtaining a scanning period in which the scanning imaging device scans one frame of the scanned image T 0 and the exposure time T exp of the image acquisition unit, according to the numerical relationship between the scan period T 0 and the exposure time T exp , determine the number of scan cycles N required to acquire a complete image, and call the image acquisition unit to follow Acquiring an image by a preset image acquisition rule, wherein the image acquisition unit collects only one image in each scan cycle of the N scan periods of the scan imaging device, and the preset image acquisition rule is used for Determining an image acquisition triggering time of the image capturing unit in each scanning period to ensure that the collected N images contain all the contents of one scanned image of the scanning imaging device, and performing N images acquired Image synthesis yields a complete image of the scanned image for the scanning imaging device.
  • FIG. 1 is a schematic flowchart of a method for collecting a static image according to an embodiment of the present invention, including the following steps:
  • S1 Obtain a scanning period T 0 in which the scanning imaging apparatus scans one frame of the scanned image and an exposure time T exp of the image capturing unit.
  • the scanning imaging device may be a laser scanning imaging device, an infrared scanning imaging device, an electronic scanning imaging device, or a laser-based MEMS (Micro-Electro-Mechanical System) space. Scanning projection apparatus and the like, the present invention does not further define a scanning imaging apparatus.
  • the scanning period T 0 of the scanning imaging apparatus for scanning a frame of scanned image is generally determined by the hardware parameters of the scanning imaging apparatus, such as the refresh rate of the scanned image and the resolution of the projected image. Wait.
  • the exposure time T exp of the image acquisition unit is generally determined by the ambient light of the image acquisition unit and the hardware parameters of the image acquisition unit, wherein the ambient light is the ambient light of the application scene in which the image acquisition unit is located, in the image acquisition unit.
  • the relevant information of the ambient light can be obtained by the photosensitive sensor and converted into an electrical signal, and the image acquisition unit adjusts the exposure time according to the electrical signal;
  • the hardware parameters of the image acquisition unit can be the shutter speed, the photosensitivity of the photosensitive sensor, etc. This application does not limit the specific form of the hardware parameters of the image acquisition unit.
  • S2 Determine the number N of scanning cycles required to acquire a complete image according to the numerical relationship between the scanning period T 0 and the exposure time T exp .
  • the number of scan cycles required to acquire a complete image is N.
  • the number N of scanning cycles determined by the above relationship is a positive integer.
  • the scan period T 0 is 0.5 seconds
  • the number is 2.
  • the scanning period T 0 is 0.8 seconds
  • the number of scan cycles is three.
  • the image acquisition unit is called to acquire an image according to a preset image collection rule.
  • the image acquisition unit collects only one image in each scan period of the N scan periods of the scan imaging device, and the preset image acquisition rule is used to specify the image acquisition unit in each
  • the image acquisition trigger time during the scan period ensures that the acquired N images contain all of the contents of one scanned image of the scanned imaging device.
  • the image capturing unit may be a camera, a camera, a camera, etc., and the present application does not limit the specific expression of the image collecting unit.
  • the image acquisition unit may be part of the above-described scanning imaging device.
  • the connection between the image acquisition unit and the main control unit of the scanning imaging device or the like can be realized by wire.
  • the scanning imaging device can trigger the call of the image acquisition unit by transmitting an electrical signal.
  • the specific implementation process is that a data line is first connected between the image capturing unit and the scanning imaging device, and then the scanning state of the scanning imaging device is indicated by the data signal corresponding to the data line.
  • the data line corresponds to The data signal can be configured by a register inside the scanning imaging device.
  • the image collecting unit performs image acquisition, in the N scanning periods of the scanning imaging device. Only one image is acquired during each scan period to ensure that the acquired N images contain all of the contents of one scanned image of the scanning imaging device.
  • the image acquisition unit may not be part of the above-described scanning imaging device, but an external device connected to the scanning imaging device via a wireless local area network, Bluetooth or the like.
  • the scanning imaging device can trigger the calling of the camera by sending an optical LED to blink, and the specific implementation process is: first, between the image capturing unit and the scanning imaging device.
  • the way to connect establishes a communication connection.
  • wireless connection such as: Bluetooth pairing connection, IoT connection, Wifi wireless signal connection, and so on.
  • the scanning imaging device uses the LED light as a driving signal.
  • the LED light is turned on, and the image capturing unit recognizes the driving signal and starts the camera, in the scanning mode. Only one image is acquired in each of the N scanning periods of the imaging device to ensure that the acquired N images contain all the contents of one scanned image of the scanning imaging device, and of course, can be used as a driving signal.
  • carriers such as laser, sound, infrared, etc., which are not limited in this application.
  • S4 Perform image synthesis on the acquired N images to obtain a complete image of the scanned image for the scanning imaging device.
  • image synthesis is performed on a total of N images acquired by the image acquisition unit in each scan period of the N scanning periods of the scanning imaging device in S3, to obtain a complete image of the scanned image for the scanning imaging device. image.
  • the scanning imaging device obtains the scan period T 0 of scanning a frame scan image and the exposure time T exp of the image acquisition unit, according to the scan period T 0 and The numerical relationship between the exposure times T exp determines the number of scan cycles N required to acquire a complete image, and then calls the image acquisition unit to acquire N images according to preset image acquisition rules, and performs N images acquired. Image synthesis, which in turn results in a complete image of the scanned image for the scanning imaging device.
  • image capturing is performed in multiple scanning periods of the scanning imaging device. In this way, it is ensured that the respective parts of the scanned image can be acquired, and therefore, a complete image of the scanned image of the scanning imaging apparatus can be easily acquired by means of image synthesis.
  • the image acquisition unit can actively perform image acquisition when determining the image acquisition time of each cycle, or can be determined by the scanning imaging device. At the time of the image acquisition time of the cycle, the image acquisition unit is called to transmit the image by transmitting the call signal.
  • the above two methods are respectively described by using two embodiments of FIG. 2 and FIG. 3.
  • FIG. 2 is a schematic flowchart of another method for collecting a static image according to an embodiment of the present invention.
  • the image capturing unit is called to collect an image according to a preset image capturing rule ( S3), including:
  • S31 Determine an image acquisition triggering time corresponding to each scanning period of the N scanning periods of the scanning imaging device according to a preset image capturing rule.
  • each scan of the determined N scan cycles is determined.
  • the image acquisition trigger time corresponding to the period needs to ensure that the images acquired in N cycles can contain each part of a complete image.
  • the image acquisition unit needs a certain delay after determining that the image acquisition triggering time is reached, and when the image acquisition is actually started, the delay is determined by hardware factors such as an image acquisition unit.
  • the above-described delay information can be considered together when determining the image acquisition trigger timing for each scanning period.
  • scanning period assuming a scanning type image forming apparatus scans a scanned image T 0 of 0.8 second, the exposure time of the image acquisition unit T exp 0.3 second, S2 of the number may be determined scanning period 3, the calculation can be obtained, it is necessary to start
  • the 3 image acquisition units complete 3 exposures to obtain 3 images, and only 1 exposure image is taken in each scanning cycle to obtain 1 image. If it is required to be 1/3 of the second scanning period, the image acquisition unit performs an image.
  • the image acquisition trigger time corresponding to the second scan period is: the time corresponding to the 1/3 position of the second scan period -
  • the above delay may determine that the image acquisition triggering time corresponding to the third scanning period is: the time corresponding to the 1/3 position of the third scanning period - the above delay.
  • the calculation method of the image acquisition departure time corresponding to the first scanning period is not limited, and specifically, the calculation may be performed according to other methods.
  • the scanning imaging device performs a difference between the adjacent image sampling triggering times determined in S31, and obtains a time interval between two adjacent image capturing triggering moments in the image capturing triggering time.
  • the image acquisition unit needs to have a timing function.
  • the scanning imaging device calls the image acquisition unit to start the camera exposure photographing, and while the start command is executed, the scan imaging device transmits the first time interval to the image acquisition unit, and the image acquisition unit
  • the timing is started, when the image acquisition unit counts the time interval between the first image acquisition and the second image acquisition, the image acquisition unit starts the second image acquisition, restarts the timing from zero, and then proceeds accordingly. Subsequent image acquisition, obtaining N images.
  • the scan imaging device calculates the time interval between the two image acquisition triggering moments
  • the time interval data is sent to the image acquisition unit, and the image acquisition unit controls the image collection.
  • FIG. 3 is a schematic flowchart of another method for collecting a static image according to an embodiment of the present invention.
  • the image capturing unit is called to collect an image according to a preset image capturing rule ( S3), including:
  • S34 Determine an image acquisition triggering time corresponding to each scanning period of the N scanning periods of the scanning imaging device according to a preset image capturing rule.
  • the signal transmission between the hardware units requires transmission time.
  • the image acquisition unit usually has a certain startup delay after receiving the trigger signal and before starting to acquire the image. Therefore, when determining the image acquisition triggering time corresponding to each scanning period in the N scanning periods of the scanning imaging apparatus, the overall delay composed of the above information of the transmission time and the startup delay should be considered. Specifically, the overall delay is generally determined by factors such as the scanning period T 0 of the scanning imaging device and the exposure time T exp of the image capturing unit and the environment in which the image capturing unit is located.
  • the scan imaging device does not need to transmit the image acquisition trigger time corresponding to each scan cycle in the N scan cycles obtained in S34 to the image acquisition unit, but monitors each image acquisition determined to reach S34.
  • the scanning imaging device calls the image acquisition unit, activates the camera, and collects the corresponding image.
  • the image acquisition unit may be integrated with the scanning imaging device, or may not be integrated with the scanning imaging device.
  • the device may be The image acquisition unit is started to acquire an image by transmitting a signal through the data line; in the case that the image acquisition unit is not integrated with the scanning imaging device, the device can start the image acquisition unit to acquire an image by lighting the indicator light.
  • the image acquisition unit can be called up by the data line and the register.
  • a hardware connection is defined between the processor of the scanning imaging device and the image acquisition unit, and the transmission signal of the hardware connection is represented by PARTIAL_INT, wherein PARTIAL_INT is used to indicate a frame of scanned image inside the scanning imaging device. Scan status.
  • a new set of registers can be defined to configure the PARTIAL_INT signal.
  • FIG. 4(a) a schematic diagram of a signal pulse is shown, in which the image acquisition trigger timing corresponding to three scan periods is determined according to T D_INT .
  • REG_NEW_5 bit0 to 15, set the indicator output pulse width W PULSE .
  • the scan imaging apparatus scans a scan image T 0 of 0.5 seconds, and the exposure time T exp of the image acquisition unit is 0.3 seconds.
  • the number of scan cycles can be determined to be 2, which can be obtained by calculation, and needs to be started twice.
  • the image acquisition unit completes two exposure photographs to obtain two images, and only one exposure photograph is taken in each scan period to obtain one image, and the first image capture trigger timing is the scan start time of the scan image forming apparatus in the first scan period.
  • -T D_IND that is, the first exposure photographing is when the first image capturing triggering moment comes, the scanning imaging device starts the image collecting unit to perform image capturing; the second image capturing triggering moment is the scanning imaging device second.
  • the scanning period scan image 1/2 position corresponds to the time -T D_IND .
  • FIG. 4(b) provides another schematic diagram of signal pulses, which shows the determination of the image acquisition trigger timing corresponding to two scanning periods according to TD_IND.
  • the scanning imaging device calls the image acquisition unit to perform image collection when the image capturing time corresponding to each scanning week is monitored, and the image capturing unit does not need to have timing and other functions, and the image capturing unit is required. Lower.
  • FIG. 5 is a schematic flowchart of another method for collecting a static image according to an embodiment of the present invention. Compared with the embodiment shown in FIG. 1 , in this embodiment, image synthesis is performed on the collected N images, and the target is obtained.
  • the acquisition time of each image corresponds to a specific time in one scanning cycle, and the scanning content corresponding to different moments in each scanning cycle is located in different regions of the scanned image, and therefore, according to the collected
  • the correspondence between the acquisition time and the scan period of the N images is obtained, and the area where the scanned content is located in the N images is obtained.
  • the method for determining the image region to be collected is not limited.
  • the image region determined by the image may be first named as the number of scan cycles of the image corresponding scanning imaging device when the image is acquired during image acquisition. This way it is easy to determine where the captured image is located in n/N.
  • S42 Perform image synthesis on the collected N images according to the determined position of the region where the scan content is located in the image, to obtain a complete image of the scanned image for the scan imaging device.
  • each picture is in the area where the scanned image content is located, and may be based on every two adjacent The corresponding image overlapping area of the area is covered to obtain a new image, and the remaining N-1 images are finally superimposed into a complete image according to the rule.
  • the already named images are superimposed and covered in the order of arrival from small to obtain a final complete image containing all the contents of the N images.
  • the image forming process can accurately know the region where each image is located and synthesize it into a complete image, which effectively reduces the algorithm complexity of image synthesis.
  • FIG. 6 is a schematic structural diagram of an apparatus for collecting a static image according to an embodiment of the present invention, which corresponds to the method flowchart shown in FIG. 1 , and includes a hardware parameter obtaining module 1 , a scanning period number determining module 2 , and an image collecting module 3 .
  • the hardware parameter obtaining module 1 is configured to obtain a scan period T 0 of scanning a frame scan image by the scan imaging device and an exposure time T exp of the image acquisition unit;
  • the scan cycle number determining module 2 is configured to determine, according to the numerical relationship between the scan cycle T 0 and the exposure time T exp , the number of scan cycles N required to acquire a complete image;
  • the image acquisition module 3 is configured to invoke the image acquisition unit to acquire an image according to a preset image collection rule.
  • the image acquisition unit collects only one image in each scan period of the N scan periods of the scan imaging device, and the preset image acquisition rule is used to specify the image acquisition unit in each
  • the image acquisition trigger time during the scan period ensures that the acquired N images contain all of the contents of one scanned image of the scanned imaging device.
  • the image synthesizing module 4 is configured to perform image synthesis on the acquired N images to obtain a complete image of the scanned image of the scanning imaging device.
  • the scanning imaging device obtains the scan period T 0 of scanning a frame scan image and the exposure time T exp of the image acquisition unit, according to the scan period T 0 and The numerical relationship between the exposure times T exp determines the number of scan cycles N required to acquire a complete image, and then calls the image acquisition unit to acquire N images according to preset image acquisition rules, and performs N images acquired. Image synthesis, which in turn results in a complete image of the scanned image for the scanning imaging device.
  • image capturing is performed in multiple scanning periods of the scanning imaging device. In this way, it is ensured that the respective parts of the scanned image can be acquired, and therefore, a complete image of the scanned image of the scanning imaging apparatus can be easily acquired by means of image synthesis.
  • FIG. 7 is a schematic structural diagram of another apparatus for collecting a static image according to an embodiment of the present invention, and the implementation shown in FIG.
  • the image acquisition module 3 includes:
  • the first triggering time determination sub-module 31 is configured to determine an image acquisition triggering time corresponding to each scanning period of the N scanning periods of the scanning imaging device according to a preset image capturing rule.
  • the time interval obtaining sub-module 32 is configured to obtain a time interval between two adjacent image acquisition triggering moments in the determined image acquisition triggering time.
  • the first image acquisition sub-module 33 is configured to call the image acquisition unit to perform image collection when the earliest image acquisition trigger time is reached in the determined image acquisition trigger time, and send the obtained time interval to the image acquisition unit. So that the image acquisition unit performs image acquisition at the time interval obtained as described above.
  • the scan imaging device calculates the time interval between the two image acquisition triggering moments
  • the time interval data is sent to the image acquisition unit, and the image acquisition unit controls the image collection.
  • FIG. 8 is a schematic structural diagram of another apparatus for collecting a static image according to an embodiment of the present invention.
  • the image acquisition module 3 includes:
  • the second triggering time determining sub-module 34 is configured to determine an image capturing triggering time corresponding to each scanning period of the N scanning periods of the scanning imaging device according to a preset image capturing rule.
  • the second image collection sub-module 35 is configured to invoke the image acquisition unit to perform image acquisition when the determined image acquisition trigger time is reached.
  • the scanning imaging device calls the image acquisition unit to perform image acquisition when monitoring the image acquisition time corresponding to each scanning week, and the image acquisition unit does not need to have timing and other functions, and the image acquisition unit The requirements are lower.
  • FIG. 9 is a schematic structural diagram of another apparatus for collecting a static image according to an embodiment of the present invention.
  • the image synthesizing module 4 includes:
  • the area determining sub-module 41 is configured to determine an area where the scanned content in the collected N images is located.
  • the image synthesizing sub-module 42 is configured to perform image synthesis on the collected N images according to the determined position of the region where the scanning content is located in the image, to obtain a complete image of the scanned image for the scanning imaging device.
  • the region where each image is located can be accurately obtained in the image synthesis process, and is synthesized into a complete image, which effectively reduces the algorithm complexity of the image synthesis.
  • the description is relatively simple, and the relevant parts can be referred to the corresponding parts in the method embodiment.

Abstract

Disclosed in embodiments of the present invention are a static image collection method and device, which are applied to scanning-based imaging devices. The method comprises: obtaining a scanning cycle T0 of a scanning-based imaging device that scans a frame of scanning image and an exposure time Texp of an image collection unit; determining the quantity N of cycles needed to collect a complete image according to a value relationship between the scanning cycle T0 and the exposure time Texp; invoking an image collection unit to collect images according to a preset image collection rule; and merging the collected N images to obtain a complete image of the image scanned by the scanning-based imaging device. When image collection is performed by using the solution provided in the embodiments of the present invention, it is easy to collect a complete image of an image scanned by a scanning-based imaging device.

Description

一种采集静态图像的方法及装置Method and device for collecting static images
本申请要求了申请日为2015年12月31日,申请号为201511031778.X,发明名称为“一种采集静态图像的方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims priority to Chinese Patent Application No. 201511031778.X, filed on Dec. 31, 2015, entitled "A Method and Apparatus for Collecting Still Images", the entire contents of which are incorporated by reference. In this application.
技术领域Technical field
本发明涉及图像处理技术领域,特别涉及一种采集静态图像的方法及装置。The present invention relates to the field of image processing technologies, and in particular, to a method and an apparatus for acquiring a static image.
背景技术Background technique
随着电子技术的迅速发展,扫描式成像设备也随处可见,因其用途广泛被越来越多的人们所关注和喜爱,目前,扫描式成像设备已广泛应用于商务办公、视频教学、家庭影院、电影院等。从不同的角度扫描式成像设备可以被划分为多种类别,例如,按照扫描源可以将扫描式成像设备划分为:激光扫描式成像设备、红外线扫描式成像设备、电子扫描式成像设备等等。With the rapid development of electronic technology, scanning imaging equipment is also widely available, and it is widely used by more and more people because of its wide use. Currently, scanning imaging equipment has been widely used in business office, video teaching, home theater. , cinema, etc. Scanning imaging devices can be divided into various categories from different angles, for example, scanning imaging devices can be classified into laser scanning imaging devices, infrared scanning imaging devices, electronic scanning imaging devices, and the like according to scanning sources.
实际应用中,用户可能会需要对扫描式成像设备的扫描图像进行图像采集,然而,扫描式成像设备的扫描图像是扫描式成像设备在一个扫描周期内以逐点扫描的方式成像的,又由于通常情况下图像采集设备的曝光时间小于上述的扫描周期,所以,在上述曝光时间内扫描式成像设备仅能扫描完成图像的一部分,进而图像采集设备采集扫描式成像设备的扫描图像时,难以采集到完整的图像。In practical applications, the user may need to perform image acquisition on the scanned image of the scanning imaging device. However, the scanned image of the scanning imaging device is scanned by the scanning imaging device in a scanning cycle by point-by-point scanning, and Generally, the exposure time of the image capturing device is less than the above-mentioned scanning period. Therefore, the scanning imaging device can only scan a part of the completed image during the above exposure time, and the image capturing device is difficult to collect when acquiring the scanned image of the scanning imaging device. To the full image.
发明内容Summary of the invention
本发明实施例公开了一种采集静态图像的方法及装置,以容易的采集到扫描式成像设备的扫描图像的完整图像。The embodiment of the invention discloses a method and a device for acquiring a static image, so as to easily collect a complete image of the scanned image of the scanning imaging device.
为了达到上述目的,本发明实施例公开了一种采集静态图像的方法,包括步骤:In order to achieve the above objective, an embodiment of the present invention discloses a method for collecting a static image, including the steps of:
获得所述扫描式成像设备扫描一帧扫描图像的扫描周期T0和图像采集单元的曝光时间TexpObtaining a scan period T 0 of scanning a frame scan image by the scanning imaging device and an exposure time T exp of the image acquisition unit;
根据所述扫描周期T0和所述曝光时间Texp之间的数值关系,确定采集一幅完整图像需要的扫描周期数N;Determining, according to the numerical relationship between the scanning period T 0 and the exposure time T exp , the number of scanning cycles N required to acquire a complete image;
调用图像采集单元按照预设的图像采集规则采集图像,其中,所述图像采集单元在所述扫描式成像设备的N个扫描周期的每一扫描周期内仅采集一幅图像,所述预设的图像采集规则用于规定所述图像采集单元在每一扫描周期内的图像采集触发时刻,以保证所采集的N张图像包含所述扫描式成像设备的一幅扫描图像的所有内容; Calling the image acquisition unit to acquire an image according to a preset image acquisition rule, wherein the image acquisition unit collects only one image in each scan period of the N scan periods of the scan imaging device, the preset The image acquisition rule is used to specify an image acquisition triggering time of the image capturing unit in each scanning period to ensure that the collected N images contain all the contents of one scanned image of the scanning imaging device;
对所采集的N张图像进行图像合成,得到针对所述扫描式成像设备的扫描图像的一幅完整图像。Image synthesis is performed on the acquired N images to obtain a complete image of the scanned image for the scanning imaging device.
较佳的,所述根据所述扫描周期T0和所述曝光时间Texp之间的数值关系,确定采集一幅完整图像需要的扫描周期数N,包括:Preferably, according to the numerical relationship between the scanning period T 0 and the exposure time T exp , determining the number N of scanning cycles required to acquire a complete image includes:
根据所述扫描周期T0和所述曝光时间Texp,按照以下关系式,According to the scanning period T 0 and the exposure time T exp , according to the following relationship,
T0/N≤Texp<T0/(N-1),T 0 /N ≤ T exp <T 0 /(N-1),
确定采集一幅完整图像所需的扫描周期数为N。The number of scan cycles required to acquire a complete image is N.
较佳的,所述调用图像采集单元按照预设的图像采集规则采集图像,包括:Preferably, the calling image acquisition unit collects images according to a preset image collection rule, including:
通过发送电气信号的方式触发调用图像采集单元按照预设的图像采集规则采集图像;或Triggering the image acquisition unit to acquire an image according to a preset image collection rule by transmitting an electrical signal; or
通过发送光学LED闪烁的方式触发调用图像采集单元按照预设的图像采集规则采集图像。The image acquisition unit is triggered to transmit an image according to a preset image acquisition rule by transmitting an optical LED blinking manner.
较佳的,所述调用图像采集单元按照预设的图像采集规则采集图像,包括:Preferably, the calling image acquisition unit collects images according to a preset image collection rule, including:
根据预设的图像采集规则,确定所述扫描式成像设备的N个扫描周期中每一扫描周期对应的图像采集触发时刻;Determining, according to a preset image capturing rule, an image capturing triggering time corresponding to each scanning period of the N scanning periods of the scanning imaging device;
获得所确定的图像采集触发时刻中相邻的两个图像采集触发时刻之间的时间间隔;Obtaining a time interval between two adjacent image acquisition triggering moments in the determined image acquisition triggering time;
在到达所确定的图像采集触发时刻中最早的图像采集触发时刻时,调用图像采集单元进行图像采集,并向所述图像采集单元发送上述所获得的时间间隔,以使得所述图像采集单元按照上述所获得的时间间隔进行图像采集。When the earliest image acquisition triggering moment is reached in the determined image acquisition triggering time, the image acquisition unit is called to perform image acquisition, and the obtained time interval is sent to the image acquisition unit, so that the image acquisition unit follows the above The acquired time interval is used for image acquisition.
较佳的,所述调用图像采集单元按照预设的图像采集规则采集图像,包括:Preferably, the calling image acquisition unit collects images according to a preset image collection rule, including:
根据预设的图像采集规则,确定所述扫描式成像设备的N个扫描周期中每一扫描周期对应的图像采集触发时刻;Determining, according to a preset image capturing rule, an image capturing triggering time corresponding to each scanning period of the N scanning periods of the scanning imaging device;
在到达所确定的每一图像采集触发时刻时,调用所述图像采集单元进行图像采集。The image acquisition unit is called to perform image acquisition when the determined image acquisition trigger time is reached.
较佳的,所述对所采集的N张图像进行图像合成,得到针对所述扫描式成像设备的扫描图像的一幅完整图像,包括:Preferably, the image is synthesized by using the acquired N images to obtain a complete image of the scanned image of the scanning imaging device, including:
确定所采集的N张图像中的扫描内容所在区域;Determining the area of the scanned content in the collected N images;
根据所确定的扫描内容所在区域在图像中的位置,对所采集的N张图像进行图像合成,得到针对所述扫描式成像设备的扫描图像的一幅完整图像。According to the determined position of the region where the scanning content is located in the image, image synthesis is performed on the acquired N images to obtain a complete image of the scanned image for the scanning imaging device.
为了达到上述目的,本发明实施例公开了一种采集静态图像的装置,包括:In order to achieve the above object, an embodiment of the present invention discloses an apparatus for collecting a static image, including:
硬件参数获得模块,用于获得所述扫描式成像设备扫描一帧扫描图像的扫描周期T0和图像采集单元的曝光时间Texpa hardware parameter obtaining module, configured to obtain a scan period T 0 of scanning a frame scan image by the scan imaging device and an exposure time T exp of the image acquisition unit;
扫描周期数确定模块,用于根据所述扫描周期T0和所述曝光时间Texp之间的数值关系,确定采集一幅完整图像需要的扫描周期数N;a scan cycle number determining module, configured to determine, according to the numerical relationship between the scan cycle T 0 and the exposure time T exp , the number of scan cycles N required to acquire a complete image;
图像采集模块,用于调用图像采集单元按照预设的图像采集规则采集图像,其中,所述图像采集单元在所述扫描式成像设备的N个扫描周期的每一扫描周期内仅采集一幅图像,所述预设的图像采集规则用于规定所述图像采集单元在每一扫描周期内的图像采集触发时刻,以保证所采集的N张图像包含所述扫描式成像设备的一幅扫描图像的所有内容;An image acquisition module, configured to invoke an image acquisition unit to acquire an image according to a preset image acquisition rule, wherein the image acquisition unit collects only one image in each scan cycle of the N scan cycles of the scan imaging device The preset image acquisition rule is used to specify an image acquisition triggering time of the image capturing unit in each scanning period to ensure that the collected N images comprise a scanned image of the scanning imaging device. All content;
图像合成模块,用于对所采集的N张图像进行图像合成,得到针对所述扫描式成像设备的扫描图像的一幅完整图像。An image synthesizing module is configured to perform image synthesis on the acquired N images to obtain a complete image of the scanned image of the scanning imaging device.
较佳的,所述扫描周期数确定模块,具体用于:Preferably, the scanning cycle number determining module is specifically configured to:
根据所述扫描周期T0和所述曝光时间Texp,按照以下关系式,According to the scanning period T 0 and the exposure time T exp , according to the following relationship,
T0/N≤Texp<T0/(N-1), T 0 / N≤T exp <T 0 / (N-1),
确定采集一幅完整图像所需的扫描周期数为N。The number of scan cycles required to acquire a complete image is N.
较佳的,所述图像采集模块,具体用于:Preferably, the image acquisition module is specifically configured to:
通过发送电气信号的方式触发调用图像采集单元按照预设的图像采集规则采集图像;或Triggering the image acquisition unit to acquire an image according to a preset image collection rule by transmitting an electrical signal; or
通过发送光学LED闪烁的方式触发调用图像采集单元按照预设的图像采集规则采集图像。The image acquisition unit is triggered to transmit an image according to a preset image acquisition rule by transmitting an optical LED blinking manner.
较佳的,所述图像采集模块,包括:Preferably, the image acquisition module includes:
第一触发时刻确定子模块,用于根据预设的图像采集规则,确定所述扫描式成像设备的N个扫描周期中每一扫描周期对应的图像采集触发时刻;a first triggering time determining sub-module, configured to determine, according to a preset image capturing rule, an image capturing triggering time corresponding to each scanning period of the N scanning periods of the scanning imaging device;
时间间隔获得子模块,用于获得所确定的图像采集触发时刻中相邻的两个图像采集触发时刻之间的时间间隔;Obtaining a sub-module for obtaining a time interval between two adjacent image acquisition triggering moments in the determined image acquisition triggering time;
第一图像采集子模块,用于在到达所确定的图像采集触发时刻中最早的图像采集触发时刻时,调用图像采集单元进行图像采集,并向所述图像采集单元发送上述所获得的时间间隔,以使得所述图像采集单元按照上述所获得的时间间隔进行图像采集。a first image collection sub-module, configured to call an image acquisition unit to perform image acquisition when the earliest image acquisition trigger time is reached in the determined image acquisition trigger time, and send the obtained time interval to the image acquisition unit, The image acquisition unit is caused to perform image acquisition in accordance with the time interval obtained as described above.
较佳的,所述图像采集模块,包括:Preferably, the image acquisition module includes:
第二触发时刻确定子模块,用于根据预设的图像采集规则,确定所述扫描式成像设备的N个扫描周期中每一扫描周期对应的图像采集触发时刻;a second triggering time determining sub-module, configured to determine, according to a preset image capturing rule, an image capturing triggering time corresponding to each scanning period of the N scanning periods of the scanning imaging device;
第二图像采集子模块,用于在到达所确定的每一图像采集触发时刻时,调用所述图像采集单元进行图像采集。The second image collection sub-module is configured to invoke the image acquisition unit to perform image acquisition when the determined image acquisition trigger time is reached.
较佳的,所述图像合成模块,包括: Preferably, the image synthesizing module comprises:
区域确定子模块,用于确定所采集的N张图像中的扫描内容所在区域;a region determining sub-module, configured to determine an area of the scanned content in the collected N images;
图像合成子模块,用于根据所确定的扫描内容所在区域在图像中的位置,对所采集的N张图像进行图像合成,得到针对所述扫描式成像设备的扫描图像的一幅完整图像。The image synthesizing sub-module is configured to perform image synthesizing on the collected N images according to the determined position of the region where the scanning content is located in the image, to obtain a complete image of the scanned image for the scanning imaging device.
本发明实施例提供的方案中,扫描式成像设备获得所述扫描式成像设备扫描一帧扫描图像的扫描周期T0和图像采集单元的曝光时间Texp后,根据扫描周期T0和曝光时间Texp之间的数值关系,确定采集一幅完整图像需要的扫描周期数N,然后,调用图像采集单元按照预设的图像采集规则采集N张图像,并对所采集的N张图像进行图像合成,进而得到针对扫描式成像设备的扫描图像的一幅完整图像。虽然图像采集单元的一个曝光周期内仅仅能采集到上述扫描式成像设备的扫描图像的一部分,但是本发明实施例提供的方案中,通过在扫描式成像设备的多个扫描周期内进行图像采集的方式,保证能够采集到扫描图像的各个部分,因此,能够通过图像合成的方式容易的采集到扫描式成像设备的扫描图像的完整图像。In the solution provided by the embodiment of the present invention, the scan imaging device obtains the scan period T 0 of scanning a frame scan image and the exposure time T exp of the image acquisition unit, according to the scan period T 0 and the exposure time T The numerical relationship between exp determines the number of scan cycles N required to acquire a complete image, and then calls the image acquisition unit to acquire N images according to preset image acquisition rules, and performs image synthesis on the acquired N images. A complete image of the scanned image for the scanning imaging device is obtained. Although only a part of the scanned image of the above-mentioned scanning imaging device can be acquired in one exposure period of the image capturing unit, in the solution provided by the embodiment of the present invention, image capturing is performed in multiple scanning periods of the scanning imaging device. In this way, it is ensured that the respective parts of the scanned image can be acquired, and therefore, a complete image of the scanned image of the scanning imaging apparatus can be easily acquired by means of image synthesis.
附图说明DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below. Obviously, the drawings in the following description are only It is a certain embodiment of the present invention, and other drawings can be obtained from those skilled in the art without any creative work.
图1为本发明实施例提供的一种采集静态图像的方法的流程示意图。FIG. 1 is a schematic flowchart diagram of a method for collecting a static image according to an embodiment of the present invention.
图2为本发明实施例提供的另一种采集静态图像的方法的流程示意图。FIG. 2 is a schematic flowchart diagram of another method for collecting a static image according to an embodiment of the present invention.
图3为本发明实施例提供的另一种采集静态图像的方法的流程示意图。FIG. 3 is a schematic flowchart diagram of another method for collecting a static image according to an embodiment of the present invention.
图4(a)为本发明实施例提供的一种脉冲示意图。FIG. 4(a) is a schematic diagram of a pulse according to an embodiment of the present invention.
图4(b)为本发明实施例提供的另一种脉冲示意图。FIG. 4(b) is a schematic diagram of another pulse according to an embodiment of the present invention.
图5为本发明实施例提供的另一种采集静态图像的方法的流程示意图。FIG. 5 is a schematic flowchart diagram of another method for collecting a static image according to an embodiment of the present invention.
图6为本发明实施例提供的一种采集静态图像的装置的结构示意图。FIG. 6 is a schematic structural diagram of an apparatus for collecting a static image according to an embodiment of the present invention.
图7为本发明实施例提供的另一种采集静态图像的装置的结构示意图。FIG. 7 is a schematic structural diagram of another apparatus for collecting a static image according to an embodiment of the present invention.
图8为本发明实施例提供的另一种采集静态图像的装置的结构示意图。FIG. 8 is a schematic structural diagram of another apparatus for collecting a static image according to an embodiment of the present invention.
图9为本发明实施例提供的另一种采集静态图像的装置的结构示意图。FIG. 9 is a schematic structural diagram of another apparatus for collecting a static image according to an embodiment of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例, 都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts, All fall within the scope of protection of the present invention.
本发明实施例提供了一种采集静态图像的方法及装置,应用于扫描式成像设备,具体的,扫描式成像设备采集静态图像时,获得所述扫描式成像设备扫描一帧扫描图像的扫描周期T0和图像采集单元的曝光时间Texp,根据所述扫描周期T0和所述曝光时间Texp之间的数值关系,确定采集一幅完整图像需要的扫描周期数N,调用图像采集单元按照预设的图像采集规则采集图像,其中,所述图像采集单元在所述扫描式成像设备的N个扫描周期的每一扫描周期内仅采集一幅图像,所述预设的图像采集规则用于规定所述图像采集单元在每一扫描周期内的图像采集触发时刻,以保证所采集的N张图像包含所述扫描式成像设备的一幅扫描图像的所有内容,对所采集的N张图像进行图像合成,得到针对所述扫描式成像设备的扫描图像的一幅完整图像。The embodiment of the invention provides a method and a device for acquiring a static image, which are applied to a scanning imaging device. Specifically, when the scanning imaging device acquires a static image, obtaining a scanning period in which the scanning imaging device scans one frame of the scanned image T 0 and the exposure time T exp of the image acquisition unit, according to the numerical relationship between the scan period T 0 and the exposure time T exp , determine the number of scan cycles N required to acquire a complete image, and call the image acquisition unit to follow Acquiring an image by a preset image acquisition rule, wherein the image acquisition unit collects only one image in each scan cycle of the N scan periods of the scan imaging device, and the preset image acquisition rule is used for Determining an image acquisition triggering time of the image capturing unit in each scanning period to ensure that the collected N images contain all the contents of one scanned image of the scanning imaging device, and performing N images acquired Image synthesis yields a complete image of the scanned image for the scanning imaging device.
下面通过具体实施例,对本发明进行详细说明。The invention will now be described in detail by way of specific examples.
图1为本发明实施例提供的一种采集静态图像的方法的流程示意图,包括如下步骤:FIG. 1 is a schematic flowchart of a method for collecting a static image according to an embodiment of the present invention, including the following steps:
S1:获得扫描式成像设备扫描一帧扫描图像的扫描周期T0和图像采集单元的曝光时间TexpS1: Obtain a scanning period T 0 in which the scanning imaging apparatus scans one frame of the scanned image and an exposure time T exp of the image capturing unit.
不难理解的是,扫描式成像设备可以是激光扫描式成像设备、红外线扫描式成像设备、电子扫描式成像设备、还可以是基于激光的MEMS(Micro-Electro-Mechanical System,微机电系统)空间扫描投影设备等等,本发明并不对扫描式成像设备做进一步限定。It is not difficult to understand that the scanning imaging device may be a laser scanning imaging device, an infrared scanning imaging device, an electronic scanning imaging device, or a laser-based MEMS (Micro-Electro-Mechanical System) space. Scanning projection apparatus and the like, the present invention does not further define a scanning imaging apparatus.
本领域内的技术人员可以理解的是,扫描式成像设备扫描一帧扫描图像的扫描周期T0一般是由扫描式成像设备的硬件参数决定的,诸如扫描图像的刷新率、投射图像的分辨率等。It will be understood by those skilled in the art that the scanning period T 0 of the scanning imaging apparatus for scanning a frame of scanned image is generally determined by the hardware parameters of the scanning imaging apparatus, such as the refresh rate of the scanned image and the resolution of the projected image. Wait.
图像采集单元的曝光时间Texp一般是由图像采集单元所处的环境光线以及图像采集单元的硬件参数共同决定的,其中,环境光线为图像采集单元所处应用场景的环境光线,在图像采集单元可通过光敏传感器获得环境光线的相关信息,并将其转化为电信号,图像采集单元再根据该电信号调整曝光时间;上述图像采集单元的硬件参数,可以是快门速度、光敏传感器的光敏度等,本申请并不对图像采集单元的硬件参数的具体形式进行限定。The exposure time T exp of the image acquisition unit is generally determined by the ambient light of the image acquisition unit and the hardware parameters of the image acquisition unit, wherein the ambient light is the ambient light of the application scene in which the image acquisition unit is located, in the image acquisition unit. The relevant information of the ambient light can be obtained by the photosensitive sensor and converted into an electrical signal, and the image acquisition unit adjusts the exposure time according to the electrical signal; the hardware parameters of the image acquisition unit can be the shutter speed, the photosensitivity of the photosensitive sensor, etc. This application does not limit the specific form of the hardware parameters of the image acquisition unit.
S2:根据所述扫描周期T0和所述曝光时间Texp之间的数值关系,确定采集一幅完整图像需要的扫描周期数N。S2: Determine the number N of scanning cycles required to acquire a complete image according to the numerical relationship between the scanning period T 0 and the exposure time T exp .
在本申请的一种具体实现方式中,可以根据所述扫描周期T0和所述曝光时间Texp,按照以下关系式,In a specific implementation manner of the present application, according to the scanning period T 0 and the exposure time T exp , according to the following relationship,
T0/N≤Texp<T0/(N-1), T 0 / N≤T exp <T 0 / (N-1),
确定采集一幅完整图像所需的扫描周期数为N。 The number of scan cycles required to acquire a complete image is N.
值得强调的是上述关系式所确定的扫描周期数N为正整数。例如,所述扫描周期T0为0.5秒,所述曝光时间Texp为0.3秒,由于0.5/2<0.3<0.5,所以这种情况下上述关系式中N=2,即所确定的扫描周期数为2。再如,所述扫描周期T0为0.8秒,所述曝光时间Texp为0.3秒,由于0.8/3<0.3<0.8/2,所以这种情况下上述关系式中N=3,即所确定的扫描周期数为3。It is worth emphasizing that the number N of scanning cycles determined by the above relationship is a positive integer. For example, the scan period T 0 is 0.5 seconds, the exposure time T exp 0.3 second, since the 0.5 / 2 <0.3 <0.5, so in this case the above-described relational expression N = 2, i.e., the determined scanning period The number is 2. For another example, the scanning period T 0 is 0.8 seconds, and the exposure time T exp is 0.3 seconds. Since 0.8/3<0.3<0.8/2, in this case, N=3 in the above relationship, that is, determined. The number of scan cycles is three.
S3:调用图像采集单元按照预设的图像采集规则采集图像。S3: The image acquisition unit is called to acquire an image according to a preset image collection rule.
其中,所述图像采集单元在所述扫描式成像设备的N个扫描周期的每一扫描周期内仅采集一幅图像,所述预设的图像采集规则用于规定所述图像采集单元在每一扫描周期内的图像采集触发时刻,以保证所采集的N张图像包含所述扫描式成像设备的一幅扫描图像的所有内容。The image acquisition unit collects only one image in each scan period of the N scan periods of the scan imaging device, and the preset image acquisition rule is used to specify the image acquisition unit in each The image acquisition trigger time during the scan period ensures that the acquired N images contain all of the contents of one scanned image of the scanned imaging device.
具体的,上述图像采集单元可以是摄像头、照相机、摄像机等等,本申请并不对图像采集单元的具体表现形式进行限定。Specifically, the image capturing unit may be a camera, a camera, a camera, etc., and the present application does not limit the specific expression of the image collecting unit.
可以理解的,图像采集单元可以是上述扫描式成像设备的一部分,这种情况下,可以通过有线方式实现图像采集单元与扫描式成像设备的主控单元等部分之间的连接。鉴于此,在本申请的一种具体实现方式中,扫描式成像设备可以通过发送电气信号的方式触发调用图像采集单元。具体实现过程为,先在图像采集单元与扫描式成像设备之间用数据线连接,然后通过该数据线对应的数据信号来指征扫描式成像设备的扫描状态,具体的,该数据线对应的数据信号可以由扫描式成像设备内部的寄存器进行配置,当扫描式成像设备每一扫描周期内的图像采集触发时刻到来时,图像采集单元进行采集图像,在扫描式成像设备的N个扫描周期中的每一扫描周期内仅采集一幅图像,以保证所采集的N张图像包含所述扫描式成像设备的一幅扫描图像的所有内容。It can be understood that the image acquisition unit may be part of the above-described scanning imaging device. In this case, the connection between the image acquisition unit and the main control unit of the scanning imaging device or the like can be realized by wire. In view of this, in a specific implementation of the present application, the scanning imaging device can trigger the call of the image acquisition unit by transmitting an electrical signal. The specific implementation process is that a data line is first connected between the image capturing unit and the scanning imaging device, and then the scanning state of the scanning imaging device is indicated by the data signal corresponding to the data line. Specifically, the data line corresponds to The data signal can be configured by a register inside the scanning imaging device. When the image acquisition triggering time of each scanning period of the scanning imaging device comes, the image collecting unit performs image acquisition, in the N scanning periods of the scanning imaging device. Only one image is acquired during each scan period to ensure that the acquired N images contain all of the contents of one scanned image of the scanning imaging device.
当然,图像采集单元也可以不是上述扫描式成像设备的一部分,而是通过无线局域网、蓝牙等与扫描式成像设备连接的外部设备。具体的,当图像采集单元不在扫描式成像设备上时,扫描式成像设备可以通过发送光学LED闪烁等方式触发调用摄像头,具体实现过程为,先在图像采集单元与扫描式成像设备之间通过无线连接的方式建立通信连接,无线连接的形式有很多,例如:蓝牙配对连接,物联网连接,Wifi无线信号连接等等。扫描式成像设备以点亮LED灯作为驱动信号,当扫描式成像设备每一扫描周期内的图像采集触发时刻到来时,点亮LED灯,图像采集单元识别到驱动信号后启动摄像头,在扫描式成像设备的N个扫描周期中的每一扫描周期内仅采集一幅图像,以保证所采集的N张图像包含所述扫描式成像设备的一幅扫描图像的所有内容,当然,可以作为驱动信号的载体有很多,诸如:激光、声音、红外线等,本申请并不对此进行限定。 Of course, the image acquisition unit may not be part of the above-described scanning imaging device, but an external device connected to the scanning imaging device via a wireless local area network, Bluetooth or the like. Specifically, when the image capturing unit is not on the scanning imaging device, the scanning imaging device can trigger the calling of the camera by sending an optical LED to blink, and the specific implementation process is: first, between the image capturing unit and the scanning imaging device. The way to connect establishes a communication connection. There are many forms of wireless connection, such as: Bluetooth pairing connection, IoT connection, Wifi wireless signal connection, and so on. The scanning imaging device uses the LED light as a driving signal. When the image capturing triggering time of each scanning period of the scanning imaging device comes, the LED light is turned on, and the image capturing unit recognizes the driving signal and starts the camera, in the scanning mode. Only one image is acquired in each of the N scanning periods of the imaging device to ensure that the acquired N images contain all the contents of one scanned image of the scanning imaging device, and of course, can be used as a driving signal. There are many carriers, such as laser, sound, infrared, etc., which are not limited in this application.
S4:对所采集的N张图像进行图像合成,得到针对所述扫描式成像设备的扫描图像的一幅完整图像。S4: Perform image synthesis on the acquired N images to obtain a complete image of the scanned image for the scanning imaging device.
具体的,将S3中扫描式成像设备的N个扫描周期的每一扫描周期中图像采集单元所采集的共N张图像进行图像合成,得到针对所述扫描式成像设备的扫描图像的一幅完整图像。Specifically, image synthesis is performed on a total of N images acquired by the image acquisition unit in each scan period of the N scanning periods of the scanning imaging device in S3, to obtain a complete image of the scanned image for the scanning imaging device. image.
由以上可见,本实施例提供的方案中,扫描式成像设备获得所述扫描式成像设备扫描一帧扫描图像的扫描周期T0和图像采集单元的曝光时间Texp后,根据扫描周期T0和曝光时间Texp之间的数值关系,确定采集一幅完整图像需要的扫描周期数N,然后,调用图像采集单元按照预设的图像采集规则采集N张图像,并对所采集的N张图像进行图像合成,进而得到针对扫描式成像设备的扫描图像的一幅完整图像。虽然图像采集单元的一个曝光周期内仅仅能采集到上述扫描式成像设备的扫描图像的一部分,但是本发明实施例提供的方案中,通过在扫描式成像设备的多个扫描周期内进行图像采集的方式,保证能够采集到扫描图像的各个部分,因此,能够通过图像合成的方式容易的采集到扫描式成像设备的扫描图像的完整图像。It can be seen from the above that, in the solution provided by the embodiment, the scanning imaging device obtains the scan period T 0 of scanning a frame scan image and the exposure time T exp of the image acquisition unit, according to the scan period T 0 and The numerical relationship between the exposure times T exp determines the number of scan cycles N required to acquire a complete image, and then calls the image acquisition unit to acquire N images according to preset image acquisition rules, and performs N images acquired. Image synthesis, which in turn results in a complete image of the scanned image for the scanning imaging device. Although only a part of the scanned image of the above-mentioned scanning imaging device can be acquired in one exposure period of the image capturing unit, in the solution provided by the embodiment of the present invention, image capturing is performed in multiple scanning periods of the scanning imaging device. In this way, it is ensured that the respective parts of the scanned image can be acquired, and therefore, a complete image of the scanned image of the scanning imaging apparatus can be easily acquired by means of image synthesis.
本领域内的技术人员可以理解的是,S2计算得到扫描周期数之后,可以由图像采集单元在确定到达各个周期的图像采集时刻时主动进行图像采集,还可以是扫描式成像设备判断得达到各个周期的图像采集时刻时,通过发送调用信号的方式调用图像采集单元进行图像采集,下面通过图2和图3两个实施例对上述两种分别进行说明。It can be understood by those skilled in the art that after S2 calculates the number of scan cycles, the image acquisition unit can actively perform image acquisition when determining the image acquisition time of each cycle, or can be determined by the scanning imaging device. At the time of the image acquisition time of the cycle, the image acquisition unit is called to transmit the image by transmitting the call signal. The above two methods are respectively described by using two embodiments of FIG. 2 and FIG. 3.
图2为本发明实施例提供的另一种采集静态图像的方法的流程示意图,与图1所示实施例相比,本实施例中,调用图像采集单元按照预设的图像采集规则采集图像(S3),包括:FIG. 2 is a schematic flowchart of another method for collecting a static image according to an embodiment of the present invention. Compared with the embodiment shown in FIG. 1 , in this embodiment, the image capturing unit is called to collect an image according to a preset image capturing rule ( S3), including:
S31:根据预设的图像采集规则,确定所述扫描式成像设备的N个扫描周期中每一扫描周期对应的图像采集触发时刻。S31: Determine an image acquisition triggering time corresponding to each scanning period of the N scanning periods of the scanning imaging device according to a preset image capturing rule.
由于在一个扫描周期内图像采集单元仅仅能够采集到扫描图像的一部分,所以,为保证应用本发明实施例提供的方案能够获得完整的扫描图像,所确定出的上述N个扫描周期中每一扫描周期对应的图像采集触发时刻需保证N个周期内所采集到的图像能够包含一幅完整图像中的各个部分。Since the image acquisition unit can only capture a part of the scanned image in one scan period, in order to ensure that the complete scan image can be obtained by applying the solution provided by the embodiment of the present invention, each scan of the determined N scan cycles is determined. The image acquisition trigger time corresponding to the period needs to ensure that the images acquired in N cycles can contain each part of a complete image.
本领域内的技术人员可以理解的是,图像采集单元在确定达到图像采集触发时刻后至真正开始进行图像采集时,需要一定的时延,该时延是由图像采集单元等硬件因素决定的,鉴于此,在确定各个扫描周期的图像采集触发时刻时,可以一并考虑上述的时延信息。It can be understood by those skilled in the art that the image acquisition unit needs a certain delay after determining that the image acquisition triggering time is reached, and when the image acquisition is actually started, the delay is determined by hardware factors such as an image acquisition unit. In view of this, the above-described delay information can be considered together when determining the image acquisition trigger timing for each scanning period.
例如:假定扫描式成像设备扫描一帧扫描图像的扫描周期T0为0.8秒,图像采集单元的曝光时间Texp为0.3秒,根据S2可确定扫描周期数为3,经计算可以得到,需要启动3 次图像采集单元完成3次曝光拍照得到3张图像,每个扫描周期内只完成1次曝光拍照得到1张图像,若要求在第二个扫描周期的1/3时,图像采集单元进行图像采集,第三个扫描周围的2/3时,图像采集单元进行图像采集,则可以确定第二个扫描周期对应的图像采集触发时刻为:第二个扫描周期的1/3位置对应的时刻-上述时延,可以确定第三个扫描周期对应的图像采集触发时刻为:第三个扫描周期的1/3位置对应的时刻-上述时延。本实例中并未限定第一个扫描周期对应的图像采集出发时刻的计算方式,具体的,可以根据其他方式进行计算。For example: scanning period assuming a scanning type image forming apparatus scans a scanned image T 0 of 0.8 second, the exposure time of the image acquisition unit T exp 0.3 second, S2 of the number may be determined scanning period 3, the calculation can be obtained, it is necessary to start The 3 image acquisition units complete 3 exposures to obtain 3 images, and only 1 exposure image is taken in each scanning cycle to obtain 1 image. If it is required to be 1/3 of the second scanning period, the image acquisition unit performs an image. When the image acquisition unit performs image acquisition at 2/3 around the third scan, it can be determined that the image acquisition trigger time corresponding to the second scan period is: the time corresponding to the 1/3 position of the second scan period - The above delay may determine that the image acquisition triggering time corresponding to the third scanning period is: the time corresponding to the 1/3 position of the third scanning period - the above delay. In this example, the calculation method of the image acquisition departure time corresponding to the first scanning period is not limited, and specifically, the calculation may be performed according to other methods.
S32:获得所确定的图像采集触发时刻中相邻的两个图像采集触发时刻之间的时间间隔。S32: Obtain a time interval between two adjacent image acquisition triggering moments in the determined image acquisition triggering time.
具体的,扫描式成像设备将在S31中确定的相邻的图像采样触发时刻作差,得到图像采集触发时刻中相邻的两个图像采集触发时刻之间的时间间隔。Specifically, the scanning imaging device performs a difference between the adjacent image sampling triggering times determined in S31, and obtains a time interval between two adjacent image capturing triggering moments in the image capturing triggering time.
S33:在到达所确定的图像采集触发时刻中最早的图像采集触发时刻时,调用图像采集单元进行图像采集,并向所述图像采集单元发送上述所获得的时间间隔,以使得所述图像采集单元按照上述所获得的时间间隔进行图像采集。S33: When reaching the earliest image acquisition triggering moment in the determined image acquisition triggering moment, calling the image acquisition unit to perform image acquisition, and transmitting the obtained time interval to the image acquisition unit, so that the image acquisition unit Image acquisition was performed at the time intervals obtained above.
需要说明的是,本实施例中,图像采集单元需具有计时功能。It should be noted that, in this embodiment, the image acquisition unit needs to have a timing function.
实际应用中,将S32中获得的图像采集触发时刻中相邻的两个图像采集触发时刻之间的时间间隔传送给图像采集单元后,当图像采集单元在扫描式成像设备的第1个扫描周期对应的图像采集触发时刻到来时,扫描式成像设备调用图像采集单元,启动摄像头曝光拍照,在执行启动命令的同时,扫描式成像设备将第1个时间间隔传送给图像采集单元,同时图像采集单元开始计时,当图像采集单元计时达到第1次图像采集与第2次图像采集之间的时间间隔时,图像采集单元开始进行第2次图像采集,并从零重新开始计时,然后,依此进行后续图像采集,获得N张图像。In the actual application, after the time interval between two adjacent image acquisition triggering moments in the image acquisition triggering time obtained in S32 is transmitted to the image acquisition unit, when the image acquisition unit is in the first scanning period of the scanning imaging device When the corresponding image acquisition trigger time comes, the scanning imaging device calls the image acquisition unit to start the camera exposure photographing, and while the start command is executed, the scan imaging device transmits the first time interval to the image acquisition unit, and the image acquisition unit When the timing is started, when the image acquisition unit counts the time interval between the first image acquisition and the second image acquisition, the image acquisition unit starts the second image acquisition, restarts the timing from zero, and then proceeds accordingly. Subsequent image acquisition, obtaining N images.
由以上可见,本实施例中,扫描式成像设备计算得到相邻的两个图像采集触发时刻之间的时间间隔后,将这些时间间隔数据发送给图像采集单元,由图像采集单元控制进行图像采集,获得N张图像,可以有效减轻图像采集过程中扫描式成像设备的工作压力。It can be seen from the above that in the embodiment, after the scan imaging device calculates the time interval between the two image acquisition triggering moments, the time interval data is sent to the image acquisition unit, and the image acquisition unit controls the image collection. By obtaining N images, the working pressure of the scanning imaging device during image acquisition can be effectively alleviated.
图3为本发明实施例提供的另一种采集静态图像的方法的流程示意图,与图1所示实施例相比,本实施例中,调用图像采集单元按照预设的图像采集规则采集图像(S3),包括:FIG. 3 is a schematic flowchart of another method for collecting a static image according to an embodiment of the present invention. Compared with the embodiment shown in FIG. 1 , in this embodiment, the image capturing unit is called to collect an image according to a preset image capturing rule ( S3), including:
S34:根据预设图像采集规则,确定所述扫描式成像设备的N个扫描周期中每一扫描周期对应的图像采集触发时刻。S34: Determine an image acquisition triggering time corresponding to each scanning period of the N scanning periods of the scanning imaging device according to a preset image capturing rule.
本领域内的技术人员可以理解的是,硬件单元之间的信号传输需要传输时间,另外,由于硬件的特性,图像采集单元接收到触发信号之后到开始采集图像之前通常会存在一定的启 动延时,因此,在确定扫描式成像设备的N个扫描周期中每一扫描周期对应的图像采集触发时刻时,需考虑由上述传输时间和启动延时等信息组成的整体延时。具体的,上述整体时延一般由扫描式成像设备的扫描周期T0和图像采集单元的曝光时间Texp以及图像采集单元所处环境等因素共同决定。进一步的,假设理想状态下,想让图像采集单元在时刻Tn进行图像采集,则为保证图像采集单元能够在时刻Tn开始采集图像,可以确定时刻Tn对应的图像采集触发时刻为Tn-上述整体时延。It will be understood by those skilled in the art that the signal transmission between the hardware units requires transmission time. In addition, due to the characteristics of the hardware, the image acquisition unit usually has a certain startup delay after receiving the trigger signal and before starting to acquire the image. Therefore, when determining the image acquisition triggering time corresponding to each scanning period in the N scanning periods of the scanning imaging apparatus, the overall delay composed of the above information of the transmission time and the startup delay should be considered. Specifically, the overall delay is generally determined by factors such as the scanning period T 0 of the scanning imaging device and the exposure time T exp of the image capturing unit and the environment in which the image capturing unit is located. Further, it is assumed that, in an ideal state, if the image acquisition unit is to perform image acquisition at time Tn, to ensure that the image acquisition unit can start collecting images at time Tn, it can be determined that the image acquisition trigger time corresponding to time Tn is Tn-the overall time. Delay.
S35:在到达所确定的每一图像采集触发时刻时,调用所述图像采集单元进行图像采集。S35: When the determined image acquisition triggering time is reached, the image acquisition unit is called to perform image acquisition.
本实施例中,扫描式成像设备无需将S34中获得的N个扫描周期中每个扫描周期对应的图像采集触发时刻传送给图像采集单元,而是在监测到达到S34确定出的每一图像采集触发时刻时,扫描式成像设备调用图像采集单元,启动摄像头,采集对应的图像。In this embodiment, the scan imaging device does not need to transmit the image acquisition trigger time corresponding to each scan cycle in the N scan cycles obtained in S34 to the image acquisition unit, but monitors each image acquisition determined to reach S34. At the triggering time, the scanning imaging device calls the image acquisition unit, activates the camera, and collects the corresponding image.
由前述描述得知,图像采集单元可以是与扫描式成像设备一体的,还可以不是与扫描式成像设备一体的,具体的,在图像采集单元与扫描式成像设备一体的情况下,该设备可以通过数据线传输信号的方式,启动图像采集单元采集图像;在图像采集单元不与扫描式成像设备一体的情况下,该设备可以通过点亮指示灯的方式启动图像采集单元采集图像。It is known from the foregoing description that the image acquisition unit may be integrated with the scanning imaging device, or may not be integrated with the scanning imaging device. Specifically, in the case where the image acquisition unit is integrated with the scanning imaging device, the device may be The image acquisition unit is started to acquire an image by transmitting a signal through the data line; in the case that the image acquisition unit is not integrated with the scanning imaging device, the device can start the image acquisition unit to acquire an image by lighting the indicator light.
需要说明的是,本申请只是以上述为例进行说明,实际应用中,扫描式成像设备调用图像采集单元采集图像的具体方式并不仅限于此。It should be noted that the present application is only described by taking the above as an example. In practical applications, the specific manner in which the scanning imaging device calls the image acquisition unit to collect images is not limited thereto.
下面通过具体实例对本实施例进行详细说明。The embodiment will be described in detail below by way of specific examples.
1)、对于图像采集单元与扫描式成像设备一体的情况1) For the case where the image acquisition unit is integrated with the scanning imaging device
可以通过数据线以及寄存器相配合实现调用图像采集单元。具体的,在扫描式成像设备的处理器与图像采集单元之间定义一条硬件连接,以PARTIAL_INT来表示上述硬件连接的传输信号,其中,PARTIAL_INT用来指征扫描式成像设备内部一帧扫描图像的扫描状态。The image acquisition unit can be called up by the data line and the register. Specifically, a hardware connection is defined between the processor of the scanning imaging device and the image acquisition unit, and the transmission signal of the hardware connection is represented by PARTIAL_INT, wherein PARTIAL_INT is used to indicate a frame of scanned image inside the scanning imaging device. Scan status.
在扫描式成像设备内部,可以新定义一套寄存器来配置PARTIAL_INT信号。Inside the scanning imaging device, a new set of registers can be defined to configure the PARTIAL_INT signal.
具体的,可以定义如下几个寄存器:Specifically, you can define the following registers:
REG_NEW_1:bit0=0/1,使能部分场同步信号PARTIAL_INT;REG_NEW_1: bit0=0/1, enable partial field sync signal PARTIAL_INT;
REG_NEW_1:bit1=0/1,配置重复自动装载;REG_NEW_1: bit1=0/1, configure repeated autoloading;
REG_NEW_1:bit2=0/1,使能驱动指示灯信号;REG_NEW_1: bit2=0/1, enable the drive indicator signal;
REG_NEW_2:bit0~7,N=1,2,3,4,5〃〃〃N表示每1/N帧阈值触发中断;REG_NEW_2: bit0 to 7, N=1, 2, 3, 4, 5〃〃〃N indicates that the threshold trigger is interrupted every 1/N frame;
REG_NEW_3:bit0~15,设置输出PARTIAL_INT的时延,1bit=TD_INTREG_NEW_3: bit0~15, set the delay of output PARTIAL_INT, 1bit=T D_INT .
具体的,参见图4(a),提供了一种信号脉冲示意图,该示意图中显示了根据TD_INT确定三个扫描周期对应的图像采集触发时刻的情况。 Specifically, referring to FIG. 4(a), a schematic diagram of a signal pulse is shown, in which the image acquisition trigger timing corresponding to three scan periods is determined according to T D_INT .
2)、对于图像采集单元与扫描式成像设备一体的情况2) For the case where the image acquisition unit is integrated with the scanning imaging device
在上述1)的基础上,还可以定义如下两个寄存器:Based on the above 1), you can also define the following two registers:
REG_NEW_4:bit0~15,设置指示灯输出脉冲延时1bit=TD_INDREG_NEW_4: bit0~15, set the indicator output pulse delay 1bit=T D_IND ;
REG_NEW_5:bit0~15,设置指示灯输出脉冲宽度WPULSEREG_NEW_5: bit0 to 15, set the indicator output pulse width W PULSE .
假定扫描式成像设备扫描一帧扫描图像的扫描周期T0为0.5秒,图像采集单元的曝光时间Texp为0.3秒,根据S2可确定扫描周期数为2,经计算可以得到,需要启动2次图像采集单元完成2次曝光拍照得到2张图像,每个扫描周期内只完成1次曝光拍照得到1张图像,第1次图像采集触发时刻为扫描式成像设备第1个扫描周期扫描图像开始时刻-TD_IND,即第1次曝光拍照是在所述第1次图像采集触发时刻到来时上述扫描式成像设备启动图像采集单元进行图像采集;第2次图像采集触发时刻为扫描式成像设备第2个扫描周期扫描图像1/2位置对应时刻-TD_INDIt is assumed that the scan imaging apparatus scans a scan image T 0 of 0.5 seconds, and the exposure time T exp of the image acquisition unit is 0.3 seconds. According to S2, the number of scan cycles can be determined to be 2, which can be obtained by calculation, and needs to be started twice. The image acquisition unit completes two exposure photographs to obtain two images, and only one exposure photograph is taken in each scan period to obtain one image, and the first image capture trigger timing is the scan start time of the scan image forming apparatus in the first scan period. -T D_IND , that is, the first exposure photographing is when the first image capturing triggering moment comes, the scanning imaging device starts the image collecting unit to perform image capturing; the second image capturing triggering moment is the scanning imaging device second. The scanning period scan image 1/2 position corresponds to the time -T D_IND .
具体的,参见图4(b),图4(b)提供了另一种信号脉冲示意图,该示意图中显示了根据TD_IND确定两个扫描周期对应的图像采集触发时刻的情况。Specifically, referring to FIG. 4(b), FIG. 4(b) provides another schematic diagram of signal pulses, which shows the determination of the image acquisition trigger timing corresponding to two scanning periods according to TD_IND.
本实施例提供的方案中,扫描式成像设备在监测到每一扫描周对应的图像采集时刻时,才调用图像采集单元进行图像采集,图像采集单元无需具有计时等功能,对图像采集单元的要求较低。In the solution provided by the embodiment, the scanning imaging device calls the image acquisition unit to perform image collection when the image capturing time corresponding to each scanning week is monitored, and the image capturing unit does not need to have timing and other functions, and the image capturing unit is required. Lower.
图5为本发明实施例提供的另一种采集静态图像的方法的流程示意图,与图1所示实施例相比,本实施例中,对所采集的N张图像进行图像合成,得到针对所述扫描式成像设备的扫描图像的一幅完整图像(S4),包括:FIG. 5 is a schematic flowchart of another method for collecting a static image according to an embodiment of the present invention. Compared with the embodiment shown in FIG. 1 , in this embodiment, image synthesis is performed on the collected N images, and the target is obtained. A complete image (S4) of the scanned image of the scanning imaging device, comprising:
S41:确定所采集的N张图像中的扫描内容所在区域。S41: Determine an area where the scanned content in the collected N images is located.
由前述描述可以看出,每一张图像的采集时刻对应于一个扫描周期中的特定时刻,而每一扫描周期中不同的时刻对应的扫描内容位于扫描图像的不同区域,因此,可以根据所采集的N张图像的采集时刻与扫描周期之间的对应关系,得到这N张图像中扫描内容所在的区域。It can be seen from the foregoing description that the acquisition time of each image corresponds to a specific time in one scanning cycle, and the scanning content corresponding to different moments in each scanning cycle is located in different regions of the scanned image, and therefore, according to the collected The correspondence between the acquisition time and the scan period of the N images is obtained, and the area where the scanned content is located in the N images is obtained.
本发明对确定采集的图像区域方式不作限定,除上述方式外,确定采集的图像区域还可以先通过在图像采集时所获图像时将其命名为图像对应扫描式成像设备的扫描周期数n,这种方式很容易就可以确定采集图像的所处区域为n/N。The method for determining the image region to be collected is not limited. In addition to the above manner, the image region determined by the image may be first named as the number of scan cycles of the image corresponding scanning imaging device when the image is acquired during image acquisition. This way it is easy to determine where the captured image is located in n/N.
S42:根据所确定的扫描内容所在区域在图像中的位置,对所采集的N张图像进行图像合成,得到针对所述扫描式成像设备的扫描图像的一幅完整图像。S42: Perform image synthesis on the collected N images according to the determined position of the region where the scan content is located in the image, to obtain a complete image of the scanned image for the scan imaging device.
具体为,经过S41确定每张图片在扫描图像内容所处的区域后,可以根据每两个相邻 区域采集的对应的图像重叠区域进行覆盖,得到1张新的图像,依次按照此规则将余下的N-1张图像最终叠加为一幅完整的图像。Specifically, after S41, it is determined that each picture is in the area where the scanned image content is located, and may be based on every two adjacent The corresponding image overlapping area of the area is covered to obtain a new image, and the remaining N-1 images are finally superimposed into a complete image according to the rule.
对应的,还可以根据S41的另一种确定采集的图像区域方式,将已经命名好的图像按从小到达的顺序进行叠加覆盖,得到最终的包含N张图像全部内容的一幅完整图像。Correspondingly, according to another method for determining the acquired image region of S41, the already named images are superimposed and covered in the order of arrival from small to obtain a final complete image containing all the contents of the N images.
应用本实施例提供的方案,图像合成过程中能够准确的获知各图像所处区域,并将其合成为一幅完整的图像,有效的降低了图像合成的算法复杂度。By applying the solution provided by the embodiment, the image forming process can accurately know the region where each image is located and synthesize it into a complete image, which effectively reduces the algorithm complexity of image synthesis.
图6为本发明实施例提供的一种采集静态图像的装置的结构示意图,与图1所示的方法流程图对应,包括硬件参数获得模块1、扫描周期数确定模块2、图像采集模块3、图像合成模块4。FIG. 6 is a schematic structural diagram of an apparatus for collecting a static image according to an embodiment of the present invention, which corresponds to the method flowchart shown in FIG. 1 , and includes a hardware parameter obtaining module 1 , a scanning period number determining module 2 , and an image collecting module 3 . Image synthesis module 4.
其中,硬件参数获得模块1,用于获得所述扫描式成像设备扫描一帧扫描图像的扫描周期T0和图像采集单元的曝光时间TexpThe hardware parameter obtaining module 1 is configured to obtain a scan period T 0 of scanning a frame scan image by the scan imaging device and an exposure time T exp of the image acquisition unit;
扫描周期数确定模块2,用于根据所述扫描周期T0和所述曝光时间Texp之间的数值关系,确定采集一幅完整图像需要的扫描周期数N;The scan cycle number determining module 2 is configured to determine, according to the numerical relationship between the scan cycle T 0 and the exposure time T exp , the number of scan cycles N required to acquire a complete image;
图像采集模块3,用于调用图像采集单元按照预设的图像采集规则采集图像。The image acquisition module 3 is configured to invoke the image acquisition unit to acquire an image according to a preset image collection rule.
其中,所述图像采集单元在所述扫描式成像设备的N个扫描周期的每一扫描周期内仅采集一幅图像,所述预设的图像采集规则用于规定所述图像采集单元在每一扫描周期内的图像采集触发时刻,以保证所采集的N张图像包含所述扫描式成像设备的一幅扫描图像的所有内容。The image acquisition unit collects only one image in each scan period of the N scan periods of the scan imaging device, and the preset image acquisition rule is used to specify the image acquisition unit in each The image acquisition trigger time during the scan period ensures that the acquired N images contain all of the contents of one scanned image of the scanned imaging device.
图像合成模块4,用于对所采集的N张图像进行图像合成,得到针对所述扫描式成像设备的扫描图像的一幅完整图像。The image synthesizing module 4 is configured to perform image synthesis on the acquired N images to obtain a complete image of the scanned image of the scanning imaging device.
由以上可见,本实施例提供的方案中,扫描式成像设备获得所述扫描式成像设备扫描一帧扫描图像的扫描周期T0和图像采集单元的曝光时间Texp后,根据扫描周期T0和曝光时间Texp之间的数值关系,确定采集一幅完整图像需要的扫描周期数N,然后,调用图像采集单元按照预设的图像采集规则采集N张图像,并对所采集的N张图像进行图像合成,进而得到针对扫描式成像设备的扫描图像的一幅完整图像。虽然图像采集单元的一个曝光周期内仅仅能采集到上述扫描式成像设备的扫描图像的一部分,但是本发明实施例提供的方案中,通过在扫描式成像设备的多个扫描周期内进行图像采集的方式,保证能够采集到扫描图像的各个部分,因此,能够通过图像合成的方式容易的采集到扫描式成像设备的扫描图像的完整图像。It can be seen from the above that, in the solution provided by the embodiment, the scanning imaging device obtains the scan period T 0 of scanning a frame scan image and the exposure time T exp of the image acquisition unit, according to the scan period T 0 and The numerical relationship between the exposure times T exp determines the number of scan cycles N required to acquire a complete image, and then calls the image acquisition unit to acquire N images according to preset image acquisition rules, and performs N images acquired. Image synthesis, which in turn results in a complete image of the scanned image for the scanning imaging device. Although only a part of the scanned image of the above-mentioned scanning imaging device can be acquired in one exposure period of the image capturing unit, in the solution provided by the embodiment of the present invention, image capturing is performed in multiple scanning periods of the scanning imaging device. In this way, it is ensured that the respective parts of the scanned image can be acquired, and therefore, a complete image of the scanned image of the scanning imaging apparatus can be easily acquired by means of image synthesis.
图7为本发明实施例提供的另一种采集静态图像的装置的结构示意图,与图6所示实施 例相比,本实施例中,图像采集模块3,包括:FIG. 7 is a schematic structural diagram of another apparatus for collecting a static image according to an embodiment of the present invention, and the implementation shown in FIG. For example, in this embodiment, the image acquisition module 3 includes:
第一触发时刻确定子模块31,用于根据预设的图像采集规则,确定所述扫描式成像设备的N个扫描周期中每一扫描周期对应的图像采集触发时刻。The first triggering time determination sub-module 31 is configured to determine an image acquisition triggering time corresponding to each scanning period of the N scanning periods of the scanning imaging device according to a preset image capturing rule.
时间间隔获得子模块32,用于获得所确定的图像采集触发时刻中相邻的两个图像采集触发时刻之间的时间间隔。The time interval obtaining sub-module 32 is configured to obtain a time interval between two adjacent image acquisition triggering moments in the determined image acquisition triggering time.
第一图像采集子模块33,用于在到达所确定的图像采集触发时刻中最早的图像采集触发时刻时,调用图像采集单元进行图像采集,并向所述图像采集单元发送上述所获得的时间间隔,以使得所述图像采集单元按照上述所获得的时间间隔进行图像采集。The first image acquisition sub-module 33 is configured to call the image acquisition unit to perform image collection when the earliest image acquisition trigger time is reached in the determined image acquisition trigger time, and send the obtained time interval to the image acquisition unit. So that the image acquisition unit performs image acquisition at the time interval obtained as described above.
由以上可见,本实施例中,扫描式成像设备计算得到相邻的两个图像采集触发时刻之间的时间间隔后,将这些时间间隔数据发送给图像采集单元,由图像采集单元控制进行图像采集,获得N张图像,可以有效减轻图像采集过程中扫描式成像设备的工作压力。It can be seen from the above that in the embodiment, after the scan imaging device calculates the time interval between the two image acquisition triggering moments, the time interval data is sent to the image acquisition unit, and the image acquisition unit controls the image collection. By obtaining N images, the working pressure of the scanning imaging device during image acquisition can be effectively alleviated.
图8为本发明实施例提供的另一种采集静态图像的装置的结构示意图,与图6所示实施例相比,本实施例中,图像采集模块3,包括:FIG. 8 is a schematic structural diagram of another apparatus for collecting a static image according to an embodiment of the present invention. Compared with the embodiment shown in FIG. 6, the image acquisition module 3 includes:
第二触发时刻确定子模块34,用于根据预设的图像采集规则,确定所述扫描式成像设备的N个扫描周期中每一扫描周期对应的图像采集触发时刻。The second triggering time determining sub-module 34 is configured to determine an image capturing triggering time corresponding to each scanning period of the N scanning periods of the scanning imaging device according to a preset image capturing rule.
第二图像采集子模块35,用于在到达所确定的每一图像采集触发时刻时,调用所述图像采集单元进行图像采集。The second image collection sub-module 35 is configured to invoke the image acquisition unit to perform image acquisition when the determined image acquisition trigger time is reached.
本实施例提供的方案中,扫描式成像设备在监测到达到每一扫描周对应的图像采集时刻时,才调用图像采集单元进行图像采集,图像采集单元无需具有计时等功能,对图像采集单元的要求较低。In the solution provided by the embodiment, the scanning imaging device calls the image acquisition unit to perform image acquisition when monitoring the image acquisition time corresponding to each scanning week, and the image acquisition unit does not need to have timing and other functions, and the image acquisition unit The requirements are lower.
图9为本发明实施例提供的另一种采集静态图像的装置的结构示意图,与图5所示实施例相比,本实施例中,图像合成模块4,包括:FIG. 9 is a schematic structural diagram of another apparatus for collecting a static image according to an embodiment of the present invention. Compared with the embodiment shown in FIG. 5, in this embodiment, the image synthesizing module 4 includes:
区域确定子模块41,用于确定所采集的N张图像中的扫描内容所在区域。The area determining sub-module 41 is configured to determine an area where the scanned content in the collected N images is located.
图像合成子模块42,用于根据所确定的扫描内容所在区域在图像中的位置,对所采集的N张图像进行图像合成,得到针对所述扫描式成像设备的扫描图像的一幅完整图像。The image synthesizing sub-module 42 is configured to perform image synthesis on the collected N images according to the determined position of the region where the scanning content is located in the image, to obtain a complete image of the scanned image for the scanning imaging device.
本实施例提供的方案中,图像合成过程中能够准确的获知各图像所处区域,并将其合成为一幅完整的图像,有效的降低了图像合成的算法复杂度。In the solution provided by the embodiment, the region where each image is located can be accurately obtained in the image synthesis process, and is synthesized into a complete image, which effectively reduces the algorithm complexity of the image synthesis.
对于装置实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处请参见方法实施例中的对应部分说明即可。For the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the corresponding parts in the method embodiment.
需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者 操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should be noted that in this context, relational terms such as first and second, etc. are only used to refer to an entity or Operation is separate from another entity or operation, and does not necessarily require or imply any such actual relationship or order. Furthermore, the term "comprises" or "comprises" or "comprises" or any other variations thereof is intended to encompass a non-exclusive inclusion, such that a process, method, article, or device that comprises a plurality of elements includes not only those elements but also Other elements, or elements that are inherent to such a process, method, item, or device. An element that is defined by the phrase "comprising a ..." does not exclude the presence of additional equivalent elements in the process, method, item, or device that comprises the element.
本说明书中的各个实施例均采用相关的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于装置实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。The various embodiments in the present specification are described in a related manner, and the same or similar parts between the various embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the description of the method embodiment.
本领域普通技术人员可以理解实现上述方法实施方式中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,所述的程序可以存储于计算机可读取存储介质中,这里所称得的存储介质,如:ROM/RAM、磁碟、光盘等。One of ordinary skill in the art can understand that all or part of the steps in implementing the above method embodiments can be completed by a program to instruct related hardware, and the program can be stored in a computer readable storage medium, which is referred to herein. Storage media such as ROM/RAM, disk, CD, etc.
以上所述仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。凡在本发明的精神和原则之内所作的任何修改、等同替换、改进等,均包含在本发明的保护范围内。 The above is only the preferred embodiment of the present invention and is not intended to limit the scope of the present invention. Any modifications, equivalents, improvements, etc. made within the spirit and scope of the invention are intended to be included within the scope of the invention.

Claims (12)

  1. 一种采集静态图像的方法,应用于扫描式成像设备,其特征在于,所述扫描式成像设备的扫描图像为静态图像,所述方法包括步骤:A method for acquiring a still image is applied to a scanning imaging device, wherein the scanned image of the scanning imaging device is a static image, and the method includes the steps of:
    获得所述扫描式成像设备扫描一帧扫描图像的扫描周期T0和图像采集单元的曝光时间TexpObtaining a scan period T 0 of scanning a frame scan image by the scanning imaging device and an exposure time T exp of the image acquisition unit;
    根据所述扫描周期T0和所述曝光时间Texp之间的数值关系,确定采集一幅完整图像需要的扫描周期数N;Determining, according to the numerical relationship between the scanning period T 0 and the exposure time T exp , the number of scanning cycles N required to acquire a complete image;
    调用图像采集单元按照预设的图像采集规则采集图像,其中,所述图像采集单元在所述扫描式成像设备的N个扫描周期的每一扫描周期内仅采集一幅图像,所述预设的图像采集规则用于规定所述图像采集单元在每一扫描周期内的图像采集触发时刻,以保证所采集的N张图像包含所述扫描式成像设备的一幅扫描图像的所有内容;Calling the image acquisition unit to acquire an image according to a preset image acquisition rule, wherein the image acquisition unit collects only one image in each scan period of the N scan periods of the scan imaging device, the preset The image acquisition rule is used to specify an image acquisition triggering time of the image capturing unit in each scanning period to ensure that the collected N images contain all the contents of one scanned image of the scanning imaging device;
    对所采集的N张图像进行图像合成,得到针对所述扫描式成像设备的扫描图像的一幅完整图像。Image synthesis is performed on the acquired N images to obtain a complete image of the scanned image for the scanning imaging device.
  2. 根据权利要求1所述的方法,其特征在于,所述根据所述扫描周期T0和所述曝光时间Texp之间的数值关系,确定采集一幅完整图像需要的扫描周期数N,包括:The method according to claim 1, wherein the determining the number N of scanning cycles required to acquire a complete image according to the numerical relationship between the scanning period T 0 and the exposure time T exp comprises:
    根据所述扫描周期T0和所述曝光时间Texp,按照以下关系式,According to the scanning period T 0 and the exposure time T exp , according to the following relationship,
    T0/N≤Texp<T0/(N-1),T 0 /N ≤ T exp <T 0 /(N-1),
    确定采集一幅完整图像所需的扫描周期数为N。The number of scan cycles required to acquire a complete image is N.
  3. 根据权利要求1或2所述的方法,其特征在于,所述调用图像采集单元按照预设的图像采集规则采集图像,包括:The method according to claim 1 or 2, wherein the calling image acquisition unit collects images according to a preset image collection rule, including:
    通过发送电气信号的方式触发调用图像采集单元按照预设的图像采集规则采集图像;或Triggering the image acquisition unit to acquire an image according to a preset image collection rule by transmitting an electrical signal; or
    通过发送光学LED闪烁的方式触发调用图像采集单元按照预设的图像采集规则采集图像。The image acquisition unit is triggered to transmit an image according to a preset image acquisition rule by transmitting an optical LED blinking manner.
  4. 根据权利要求1或2所述方法,其特征在于,所述调用图像采集单元按照预设的图像采集规则采集图像,包括:The method according to claim 1 or 2, wherein the calling image acquisition unit collects images according to a preset image collection rule, including:
    根据预设的图像采集规则,确定所述扫描式成像设备的N个扫描周期中每一扫描周期对应的图像采集触发时刻;Determining, according to a preset image capturing rule, an image capturing triggering time corresponding to each scanning period of the N scanning periods of the scanning imaging device;
    获得所确定的图像采集触发时刻中相邻的两个图像采集触发时刻之间的时间间隔;Obtaining a time interval between two adjacent image acquisition triggering moments in the determined image acquisition triggering time;
    在到达所确定的图像采集触发时刻中最早的图像采集触发时刻时,调用图像采集单元进 行图像采集,并向所述图像采集单元发送上述所获得的时间间隔,以使得所述图像采集单元按照上述所获得的时间间隔进行图像采集。Calling the image acquisition unit when the earliest image acquisition trigger time is reached at the determined image acquisition trigger time Line image acquisition, and transmitting the obtained time interval to the image acquisition unit, so that the image acquisition unit performs image acquisition according to the time interval obtained above.
  5. 根据权利要求1或2所述方法,其特征在于,所述调用图像采集单元按照预设的图像采集规则采集图像,包括:The method according to claim 1 or 2, wherein the calling image acquisition unit collects images according to a preset image collection rule, including:
    根据预设的图像采集规则,确定所述扫描式成像设备的N个扫描周期中每一扫描周期对应的图像采集触发时刻;Determining, according to a preset image capturing rule, an image capturing triggering time corresponding to each scanning period of the N scanning periods of the scanning imaging device;
    在到达所确定的每一图像采集触发时刻时,调用所述图像采集单元进行图像采集。The image acquisition unit is called to perform image acquisition when the determined image acquisition trigger time is reached.
  6. 根据权利要求1所述的方法,其特征在于,所述对所采集的N张图像进行图像合成,得到针对所述扫描式成像设备的扫描图像的一幅完整图像,包括:The method according to claim 1, wherein the performing image synthesis on the acquired N images to obtain a complete image of the scanned image of the scanning imaging device comprises:
    确定所采集的N张图像中的扫描内容所在区域;Determining the area of the scanned content in the collected N images;
    根据所确定的扫描内容所在区域在图像中的位置,对所采集的N张图像进行图像合成,得到针对所述扫描式成像设备的扫描图像的一幅完整图像。According to the determined position of the region where the scanning content is located in the image, image synthesis is performed on the acquired N images to obtain a complete image of the scanned image for the scanning imaging device.
  7. 一种采集静态图像的装置,应用于扫描式成像设备,其特征在于,所述扫描式成像设备的扫描图像为静态图像,所述装置包括:A device for acquiring a still image is applied to a scanning imaging device, wherein the scanned image of the scanning imaging device is a static image, and the device includes:
    硬件参数获得模块,用于获得所述扫描式成像设备扫描一帧扫描图像的扫描周期T0和图像采集单元的曝光时间Texpa hardware parameter obtaining module, configured to obtain a scan period T 0 of scanning a frame scan image by the scan imaging device and an exposure time T exp of the image acquisition unit;
    扫描周期数确定模块,用于根据所述扫描周期T0和所述曝光时间Texp之间的数值关系,确定采集一幅完整图像需要的扫描周期数N;a scan cycle number determining module, configured to determine, according to the numerical relationship between the scan cycle T 0 and the exposure time T exp , the number of scan cycles N required to acquire a complete image;
    图像采集模块,用于调用图像采集单元按照预设的图像采集规则采集图像,其中,所述图像采集单元在所述扫描式成像设备的N个扫描周期的每一扫描周期内仅采集一幅图像,所述预设的图像采集规则用于规定所述图像采集单元在每一扫描周期内的图像采集触发时刻,以保证所采集的N张图像包含所述扫描式成像设备的一幅扫描图像的所有内容;An image acquisition module, configured to invoke an image acquisition unit to acquire an image according to a preset image acquisition rule, wherein the image acquisition unit collects only one image in each scan cycle of the N scan cycles of the scan imaging device The preset image acquisition rule is used to specify an image acquisition triggering time of the image capturing unit in each scanning period to ensure that the collected N images comprise a scanned image of the scanning imaging device. All content;
    图像合成模块,用于对所采集的N张图像进行图像合成,得到针对所述扫描式成像设备的扫描图像的一幅完整图像。An image synthesizing module is configured to perform image synthesis on the acquired N images to obtain a complete image of the scanned image of the scanning imaging device.
  8. 根据权利要求7所述的装置,其特征在于,所述扫描周期数确定模块,具体用于:The apparatus according to claim 7, wherein the scanning cycle number determining module is specifically configured to:
    根据所述扫描周期T0和所述曝光时间Texp,按照以下关系式,According to the scanning period T 0 and the exposure time T exp , according to the following relationship,
    T0/N≤Texp<T0/(N-1),T 0 /N ≤ T exp <T 0 /(N-1),
    确定采集一幅完整图像所需的扫描周期数为N。The number of scan cycles required to acquire a complete image is N.
  9. 根据权利要求7或8所述的装置,其特征在于,所述图像采集模块,具体用于:The device according to claim 7 or 8, wherein the image acquisition module is specifically configured to:
    通过发送电气信号的方式触发调用图像采集单元按照预设的图像采集规则采集图像;或 Triggering the image acquisition unit to acquire an image according to a preset image collection rule by transmitting an electrical signal; or
    通过发送光学LED闪烁的方式触发调用图像采集单元按照预设的图像采集规则采集图像。The image acquisition unit is triggered to transmit an image according to a preset image acquisition rule by transmitting an optical LED blinking manner.
  10. 根据权利要求7或8所述装置,其特征在于,所述图像采集模块,包括:第一触发时刻确定子模块,用于根据预设的图像采集规则,确定所述扫描式成像设备的N个扫描周期中每一扫描周期对应的图像采集触发时刻;The device according to claim 7 or 8, wherein the image capturing module comprises: a first triggering time determining sub-module, configured to determine N of the scanning imaging devices according to a preset image capturing rule The image acquisition triggering time corresponding to each scanning period in the scanning period;
    时间间隔获得子模块,用于获得所确定的图像采集触发时刻中相邻的两个图像采集触发时刻之间的时间间隔;Obtaining a sub-module for obtaining a time interval between two adjacent image acquisition triggering moments in the determined image acquisition triggering time;
    第一图像采集子模块,用于在到达所确定的图像采集触发时刻中最早的图像采集触发时刻时,调用图像采集单元进行图像采集,并向所述图像采集单元发送上述所获得的时间间隔,以使得所述图像采集单元按照上述所获得的时间间隔进行图像采集。a first image collection sub-module, configured to call an image acquisition unit to perform image acquisition when the earliest image acquisition trigger time is reached in the determined image acquisition trigger time, and send the obtained time interval to the image acquisition unit, The image acquisition unit is caused to perform image acquisition in accordance with the time interval obtained as described above.
  11. 根据权利要求7或8所述装置,其特征在于,所述图像采集模块,包括:The apparatus according to claim 7 or 8, wherein the image acquisition module comprises:
    第二触发时刻确定子模块,用于根据预设的图像采集规则,确定所述扫描式成像设备的N个扫描周期中每一扫描周期对应的图像采集触发时刻;a second triggering time determining sub-module, configured to determine, according to a preset image capturing rule, an image capturing triggering time corresponding to each scanning period of the N scanning periods of the scanning imaging device;
    第二图像采集子模块,用于在到达所确定的每一图像采集触发时刻时,调用所述图像采集单元进行图像采集。The second image collection sub-module is configured to invoke the image acquisition unit to perform image acquisition when the determined image acquisition trigger time is reached.
  12. 根据权利要求7所述的装置,其特征在于,所述图像合成模块,包括:The apparatus according to claim 7, wherein the image synthesizing module comprises:
    区域确定子模块,用于确定所采集的N张图像中的扫描内容所在区域;a region determining sub-module, configured to determine an area of the scanned content in the collected N images;
    图像合成子模块,用于根据所确定的扫描内容所在区域在图像中的位置,对所采集的N张图像进行图像合成,得到针对所述扫描式成像设备的扫描图像的一幅完整图像。 The image synthesizing sub-module is configured to perform image synthesizing on the collected N images according to the determined position of the region where the scanning content is located in the image, to obtain a complete image of the scanned image for the scanning imaging device.
PCT/CN2016/111248 2015-12-31 2016-12-21 Static image collection method and device WO2017114252A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201511031778.XA CN106612382B (en) 2015-12-31 2015-12-31 Method and device for collecting static image
CN201511031778.X 2015-12-31

Publications (1)

Publication Number Publication Date
WO2017114252A1 true WO2017114252A1 (en) 2017-07-06

Family

ID=58614540

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/111248 WO2017114252A1 (en) 2015-12-31 2016-12-21 Static image collection method and device

Country Status (2)

Country Link
CN (1) CN106612382B (en)
WO (1) WO2017114252A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115225542A (en) * 2022-07-20 2022-10-21 北京京东乾石科技有限公司 Video information processing method and device, electronic equipment and storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108093186B (en) * 2017-12-26 2020-04-10 上海奕瑞光电子科技股份有限公司 Automatic exposure control method and device based on slow emptying mode

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008228190A (en) * 2007-03-15 2008-09-25 Sharp Corp Original reader and image forming apparatus provided with the same
CN103118230A (en) * 2013-02-28 2013-05-22 腾讯科技(深圳)有限公司 Panorama acquisition method, device and system
CN103179331A (en) * 2013-04-18 2013-06-26 华中科技大学 Scanning sampling and image processing method of fast imaging
CN104469077A (en) * 2014-12-03 2015-03-25 北京彩艺世纪科技有限公司 Scanner and scanning method
CN104469112A (en) * 2014-12-01 2015-03-25 大族激光科技产业集团股份有限公司 Imaging method and device of large view field

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB703915A (en) * 1950-09-21 1954-02-10 British Broadcasting Corp Improvements in and relating to the recording of television pictures upon cinematograph film
GB859895A (en) * 1958-03-20 1961-01-25 Rank Cintel Ltd Improvements in or relating to apparatus for photographic printing
JP4378599B2 (en) * 2003-07-04 2009-12-09 ソニー株式会社 Imaging apparatus and control method thereof
JP4636979B2 (en) * 2005-09-09 2011-02-23 キヤノン株式会社 Imaging apparatus and control method thereof
JP4890054B2 (en) * 2006-03-03 2012-03-07 株式会社リコー Image forming apparatus and image forming method with reduced reciprocity failure
JP5543254B2 (en) * 2010-03-31 2014-07-09 株式会社トプコン Laser scanning imaging device
CN103091778B (en) * 2013-01-25 2014-12-31 中国科学院半导体研究所 Method of preparation of quantum cascading laser buried double-cycle grating with double holographic exposure

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008228190A (en) * 2007-03-15 2008-09-25 Sharp Corp Original reader and image forming apparatus provided with the same
CN103118230A (en) * 2013-02-28 2013-05-22 腾讯科技(深圳)有限公司 Panorama acquisition method, device and system
CN103179331A (en) * 2013-04-18 2013-06-26 华中科技大学 Scanning sampling and image processing method of fast imaging
CN104469112A (en) * 2014-12-01 2015-03-25 大族激光科技产业集团股份有限公司 Imaging method and device of large view field
CN104469077A (en) * 2014-12-03 2015-03-25 北京彩艺世纪科技有限公司 Scanner and scanning method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115225542A (en) * 2022-07-20 2022-10-21 北京京东乾石科技有限公司 Video information processing method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN106612382B (en) 2023-06-30
CN106612382A (en) 2017-05-03

Similar Documents

Publication Publication Date Title
US10958820B2 (en) Intelligent interface for interchangeable sensors
JP6432130B2 (en) Display system, display device, photographing device, display method, and program
JP2016123137A (en) Image communication apparatus and imaging apparatus
JP2018011327A (en) Electronic apparatus and display method
EP2461592B1 (en) A timing solution for projector camera devices and systems
WO2016115805A1 (en) Shooting method, shooting device, mobile terminal and computer storage medium
US20070013807A1 (en) Digital camera
US20090278965A1 (en) High-speed photographing apparatus using plural cameras
CN105827933A (en) Imaging method and device and mobile terminal
JP2015115839A5 (en)
WO2015192579A1 (en) Dirt detection method and device
RU2635873C2 (en) Method and device for displaying framing information
US20180270412A1 (en) Imaging device, external device, imaging system, imaging method, operating method, and computer-readable recording medium
WO2017114252A1 (en) Static image collection method and device
CN103475816A (en) Self-timer control method and device
JP2014175723A (en) Imaged picture display device, imaging system, imaged picture display method, and program
JP5397078B2 (en) Imaging device
JP2013162348A (en) Imaging apparatus
CN110062224A (en) A kind of system improving intelligent camera application
EP3304551A1 (en) Adjusting length of living images
CN113994660B (en) Intelligent flash intensity control system and method
JP4172352B2 (en) Imaging apparatus and method, imaging system, and program
JP2022188990A (en) Information processing device, information processing method, and program
JP5703120B2 (en) Television viewing support device
JP2010062834A (en) Photographing system, photographing device constituting the same, and operation device

Legal Events

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

Ref document number: 16881041

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16881041

Country of ref document: EP

Kind code of ref document: A1