CN106303133A - Book page scanning control method and device and scanning equipment - Google Patents

Book page scanning control method and device and scanning equipment Download PDF

Info

Publication number
CN106303133A
CN106303133A CN201610657409.XA CN201610657409A CN106303133A CN 106303133 A CN106303133 A CN 106303133A CN 201610657409 A CN201610657409 A CN 201610657409A CN 106303133 A CN106303133 A CN 106303133A
Authority
CN
China
Prior art keywords
scanned
book page
scanning
width
size
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610657409.XA
Other languages
Chinese (zh)
Other versions
CN106303133B (en
Inventor
高瑞
王金龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Genius Technology Co Ltd
Original Assignee
Guangdong Genius Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Genius Technology Co Ltd filed Critical Guangdong Genius Technology Co Ltd
Priority to CN201610657409.XA priority Critical patent/CN106303133B/en
Publication of CN106303133A publication Critical patent/CN106303133A/en
Application granted granted Critical
Publication of CN106303133B publication Critical patent/CN106303133B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/00681Detecting the presence, position or size of a sheet or correcting its position before scanning
    • H04N1/00684Object of the detection
    • H04N1/00708Size or dimensions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/40Scaling of whole images or parts thereof, e.g. expanding or contracting
    • G06T3/4038Image mosaicing, e.g. composing plane images from plane sub-images
    • 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/00681Detecting the presence, position or size of a sheet or correcting its position before scanning
    • H04N1/00763Action taken as a result of detection
    • H04N1/00769Comparing, e.g. with threshold
    • 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/00681Detecting the presence, position or size of a sheet or correcting its position before scanning
    • H04N1/00763Action taken as a result of detection
    • H04N1/00774Adjusting or controlling
    • 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
    • H04N1/047Detection, control or error compensation of scanning velocity or position

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Facsimile Scanning Arrangements (AREA)

Abstract

The embodiment of the invention relates to the technical field of electronic equipment, and discloses a book page scanning control method and device and scanning equipment, wherein the method comprises the following steps: after a scanning function of the scanning device is started, prompting a user to input the size of a book page to be scanned, acquiring the size of the book page to be scanned input by the user, scanning the book page to be scanned from different initial scanning positions of the book page to be scanned when the size of the book page to be scanned is larger than a preset size to obtain a plurality of scanning pictures, determining an overlapping area between the scanning pictures in the plurality of scanning pictures, splicing the plurality of scanning pictures according to the determined overlapping area to obtain spliced scanning pictures serving as the scanning pictures of the book page to be scanned, wherein the size of the spliced scanning pictures is equal to the size of the book page to be scanned. By implementing the embodiment of the invention, the scanning efficiency of scanning the page of the picture with larger size can be improved.

Description

一种图书页面的扫描控制方法及装置、扫描设备Scanning control method and device for book pages, and scanning device

技术领域technical field

本发明涉及电子设备技术领域,具体涉及一种图书页面的扫描控制方法及装置、扫描设备。The invention relates to the technical field of electronic equipment, in particular to a scanning control method and device for book pages, and scanning equipment.

背景技术Background technique

在电子教学领域中,通常会将各类纸质图书教材(如课堂学习教材以及课外读物资料等)的图书页面按照其尺寸大小扫描成图片,并将扫描得到的图片打包之后存储在教育类电子产品或相应的学习服务器中,这实现了纸质图书教材向电子图书教材的转化,以便用户通过教育类电子产品或学习类应用随时随地的进行学习活动。In the field of electronic teaching, book pages of various paper books and materials (such as classroom learning materials and extracurricular reading materials, etc.) are usually scanned into pictures according to their sizes, and the scanned pictures are packaged and stored in educational electronic devices. In the product or the corresponding learning server, this realizes the transformation of paper book materials into electronic book materials, so that users can carry out learning activities anytime and anywhere through educational electronic products or learning applications.

在实际的图书页面扫描过程中,由于常用扫描设备的扫描尺寸是A4纸尺寸,当待扫描图书页面的尺寸大于A4纸的尺寸时,需要对其多次扫描后进行人工拼接才能得到针对该待扫描图书页面的完整扫描图片。可见,当前的图书页面扫描方式存在扫描尺寸较大的图书页面时扫描效率低的问题。In the actual book page scanning process, since the scanning size of the commonly used scanning equipment is the size of A4 paper, when the size of the book page to be scanned is larger than the size of A4 paper, it needs to be manually spliced after multiple scans to obtain A full scanned image of a scanned book page. It can be seen that the current method for scanning book pages has the problem of low scanning efficiency when scanning large-sized book pages.

发明内容Contents of the invention

本发明实施例公开了一种图书页面的扫描控制方法及装置、扫描设备,能够提高扫描尺寸较大的图书页面时的扫描效率。The embodiment of the invention discloses a book page scanning control method and device, and a scanning device, which can improve the scanning efficiency when scanning a book page with a large size.

本发明实施例第一方面公开了一种图书页面的扫描控制方法,所述方法包括:The first aspect of the embodiment of the present invention discloses a book page scanning control method, the method comprising:

在扫描设备的扫描功能启动后,提示用户输入待扫描图书页面的尺寸,并获取用户输入的所述待扫描图书页面的尺寸;After the scanning function of the scanning device is activated, the user is prompted to input the size of the book page to be scanned, and the size of the book page to be scanned input by the user is acquired;

当所述待扫描图书页面的尺寸大于预设尺寸时,从所述待扫描图书页面的不同起始扫描位置对所述待扫描图书页面进行扫描,得到多张扫描图片;When the size of the book page to be scanned is greater than a preset size, the book page to be scanned is scanned from different starting scanning positions of the book page to be scanned to obtain multiple scanned pictures;

确定所述多张扫描图片中各扫描图片间的重叠区域;Determining an overlapping area between each of the scanned pictures in the plurality of scanned pictures;

根据所述多张扫描图片中各扫描图片间的重叠区域拼接所述多张扫描图片得到拼接扫描图片,作为所述待扫描图书页面的扫描图片,所述拼接扫描图片的尺寸等于所述待扫描图书页面的尺寸。The multiple scanned pictures are spliced according to the overlapping areas between the scanned pictures in the multiple scanned pictures to obtain a spliced scanned picture, which is used as the scanned picture of the book page to be scanned, and the size of the spliced scanned picture is equal to the size of the to-be-scanned book page. Dimensions of book pages.

作为一种可选的实施方式,在本发明实施例第一方面中,所述确定所述多张扫描图片中各扫描图片间的重叠区域,包括:As an optional implementation manner, in the first aspect of the embodiment of the present invention, the determining the overlapping area between the scanned pictures in the multiple scanned pictures includes:

根据所述待扫描图书页面的尺寸、所述多张扫描图片中每张扫描图片的尺寸以及每张扫描图片的起始扫描位置,确定所述多张扫描图片中各扫描图片间的重叠区域;或者,According to the size of the book page to be scanned, the size of each scanned image in the plurality of scanned images, and the initial scanning position of each scanned image, determine the overlapping area between the scanned images in the plurality of scanned images; or,

通过比较所述多张扫描图片中各扫描图片的图片内容,确定所述多张扫描图片中各扫描图片间的重叠区域。By comparing the picture contents of the scanned pictures in the multiple scanned pictures, the overlapping area between the scanned pictures in the multiple scanned pictures is determined.

作为一种可选的实施方式,在本发明实施例第一方面中,所述待扫描图书页面的尺寸包括所述待扫描图书页面的第一长度以及第一宽度,所述预设尺寸包括第一预设长度以及第一预设宽度;As an optional implementation manner, in the first aspect of the embodiment of the present invention, the size of the book page to be scanned includes a first length and a first width of the book page to be scanned, and the preset size includes the first a preset length and a first preset width;

所述当所述待扫描图书页面的尺寸大于预设尺寸时,从所述待扫描图书页面的不同起始扫描位置对所述待扫描图书页面进行扫描,得到多张扫描图片,包括:When the size of the book page to be scanned is larger than the preset size, the book page to be scanned is scanned from different starting scanning positions of the book page to be scanned to obtain multiple scanned pictures, including:

当所述第一长度大于所述第一预设长度且所述第一宽度小于等于所述第一预设宽度时,确定所述待扫描图书页面的尺寸大于所述预设尺寸;When the first length is greater than the first preset length and the first width is less than or equal to the first preset width, determine that the size of the book page to be scanned is greater than the preset size;

以第二长度为扫描长度,从所述待扫描图书页面的顶端开始对所述待扫描图书页面进行扫描,得到第一扫描图片,所述第二长度小于等于所述第一预设长度;Taking the second length as the scanning length, scanning the book page to be scanned from the top of the book page to be scanned to obtain a first scanned image, the second length being less than or equal to the first preset length;

以第三长度为扫描长度,从所述待扫描图书页面的底端开始对所述待扫描图书页面进行扫描,得到第二扫描图片,所述第三长度等于所述第一长度减去所述第二长度再加上第二预设长度,且所述第三长度小于等于所述第一预设长度。Taking the third length as the scanning length, scanning the book page to be scanned from the bottom of the book page to be scanned to obtain a second scanned image, the third length is equal to the first length minus the The second length plus a second preset length, and the third length is less than or equal to the first preset length.

作为一种可选的实施方式,在本发明实施例第一方面中,所述待扫描图书页面的尺寸包括所述待扫描图书页面的第一长度以及第一宽度,所述预设尺寸包括第一预设长度以及第一预设宽度;As an optional implementation manner, in the first aspect of the embodiment of the present invention, the size of the book page to be scanned includes a first length and a first width of the book page to be scanned, and the preset size includes the first a preset length and a first preset width;

所述当所述待扫描图书页面的尺寸大于预设尺寸时,从所述待扫描图书页面的不同起始扫描位置对所述待扫描图书页面进行扫描,得到多张扫描图片,包括:When the size of the book page to be scanned is larger than the preset size, the book page to be scanned is scanned from different starting scanning positions of the book page to be scanned to obtain multiple scanned pictures, including:

当所述第一长度小于等于所述第一预设长度且所述第一宽度大于所述第一预设宽度时,确定所述待扫描图书页面的尺寸大于所述预设尺寸;When the first length is less than or equal to the first preset length and the first width is larger than the first preset width, determine that the size of the book page to be scanned is larger than the preset size;

以第二宽度为扫描宽度,从所述待扫描图书页面的左端开始对所述待扫描图书页面进行扫描,得到第三扫描图片,所述第二宽度小于等于所述第一预设宽度;Taking the second width as the scanning width, scanning the book page to be scanned from the left end of the book page to be scanned to obtain a third scanned picture, the second width being less than or equal to the first preset width;

以第三宽度为扫描宽度,从所述待扫描图书页面的右端开始对所述待扫描图书页面进行扫描,得到第四扫描图片,所述第三宽度等于所述第一宽度减去所述第二宽度加上第二预设宽度,且所述第三宽度小于等于所述第一预设宽度。Taking the third width as the scanning width, scanning the book page to be scanned from the right end of the book page to be scanned to obtain a fourth scanned image, the third width is equal to the first width minus the second The second width is added to the second predetermined width, and the third width is less than or equal to the first predetermined width.

作为一种可选的实施方式,在本发明实施例第一方面中,所述待扫描图书页面的尺寸包括所述待扫描图书页面的第一长度以及第一宽度,所述预设尺寸包括第一预设长度以及第一预设宽度;As an optional implementation manner, in the first aspect of the embodiment of the present invention, the size of the book page to be scanned includes a first length and a first width of the book page to be scanned, and the preset size includes the first a preset length and a first preset width;

所述当所述待扫描图书页面的尺寸大于预设尺寸时,从所述待扫描图书页面的不同起始扫描位置对所述待扫描图书页面进行扫描,得到多张扫描图片,包括:When the size of the book page to be scanned is larger than the preset size, the book page to be scanned is scanned from different starting scanning positions of the book page to be scanned to obtain multiple scanned pictures, including:

当所述第一长度大于所述第一预设长度且所述第一宽度大于所述第一预设宽度时,确定所述待扫描图书页面的尺寸大于所述预设尺寸;When the first length is greater than the first preset length and the first width is greater than the first preset width, determining that the size of the book page to be scanned is greater than the preset size;

从所述待扫描图书页面的左上端、右上端、左下端以及右下端分别对所述待扫描图书页面进行扫描,得到四张扫描图片,其中,所述四张扫描图片中每张扫描图片的长度均小于等于所述第一预设长度,且所述四张扫描图片中每张扫描图片的宽度均小于等于所述第一预设宽度。Scan the book page to be scanned from the upper left end, upper right end, lower left end and lower right end of the book page to be scanned respectively to obtain four scanned pictures, wherein the scanned picture of each of the four scanned pictures The lengths are all less than or equal to the first preset length, and the width of each of the four scanned pictures is less than or equal to the first preset width.

本发明实施例第二方面公开了一种图书页面的扫描控制装置,所述装置包括提示单元、获取单元、扫描单元、确定单元以及拼接单元,其中:The second aspect of the embodiment of the present invention discloses a book page scanning control device, the device includes a prompt unit, an acquisition unit, a scanning unit, a determination unit, and a splicing unit, wherein:

所述提示单元,用于在扫描设备的扫描功能启动后,提示用户输入待扫描图书页面的尺寸;The prompting unit is configured to prompt the user to input the size of the book page to be scanned after the scanning function of the scanning device is activated;

所述获取单元,用于获取用户输入的所述待扫描图书页面的尺寸;The acquiring unit is configured to acquire the size of the book page to be scanned input by the user;

所述扫描单元,用于当所述待扫描图书页面的尺寸大于预设尺寸时,从所述待扫描图书页面的不同起始扫描位置对所述待扫描图书页面进行扫描,得到多张扫描图片;The scanning unit is configured to, when the size of the book page to be scanned is larger than a preset size, scan the book page to be scanned from different starting scanning positions of the book page to be scanned to obtain multiple scanned pictures ;

所述确定单元,用于确定所述多张扫描图片中各扫描图片间的重叠区域;The determination unit is configured to determine an overlapping area between each scanned picture in the plurality of scanned pictures;

所述拼接单元,用于根据所述多张扫描图片中各扫描图片间的重叠区域拼接所述多张扫描图片得到拼接扫描图片,作为所述待扫描图书页面的扫描图片,所述拼接扫描图片的尺寸等于所述待扫描图书页面的尺寸。The splicing unit is configured to splice the multiple scanned pictures according to overlapping areas between the scanned pictures in the multiple scanned pictures to obtain a spliced scanned picture as the scanned picture of the book page to be scanned, and the spliced scanned picture The size of is equal to the size of the book page to be scanned.

作为一种可选的实施方式,在本发明实施例第二方面中,所述确定单元确定所述多张扫描图片中各扫描图片间的重叠区域的具体方式为:As an optional implementation manner, in the second aspect of the embodiment of the present invention, the specific manner for the determination unit to determine the overlapping area between the scanned pictures in the multiple scanned pictures is as follows:

根据所述待扫描图书页面的尺寸、所述多张扫描图片中每张扫描图片的尺寸以及每张扫描图片的起始扫描位置,确定所述多张扫描图片中各扫描图片间的重叠区域;或者,According to the size of the book page to be scanned, the size of each scanned image in the plurality of scanned images, and the initial scanning position of each scanned image, determine the overlapping area between the scanned images in the plurality of scanned images; or,

通过比较所述多张扫描图片中各扫描图片的图片内容,确定所述多张扫描图片中各扫描图片间的重叠区域。By comparing the picture contents of the scanned pictures in the multiple scanned pictures, the overlapping area between the scanned pictures in the multiple scanned pictures is determined.

作为一种可选的实施方式,在本发明实施例第二方面中,所述待扫描图书页面的尺寸包括所述待扫描图书页面的第一长度以及第一宽度,所述预设尺寸包括第一预设长度以及第一预设宽度;As an optional implementation manner, in the second aspect of the embodiment of the present invention, the size of the book page to be scanned includes the first length and the first width of the book page to be scanned, and the preset size includes the first a preset length and a first preset width;

所述扫描单元包括确定子单元以及扫描子单元,其中:The scanning unit includes a determination subunit and a scanning subunit, wherein:

所述确定子单元,用于当所述第一长度大于所述第一预设长度且所述第一宽度小于等于所述第一预设宽度时,确定所述待扫描图书页面的尺寸大于所述预设尺寸;The determining subunit is configured to determine that the size of the book page to be scanned is larger than the first preset width when the first length is greater than the first preset length and the first width is smaller than or equal to the first preset width. the preset size;

所述扫描子单元,用于以第二长度为扫描长度,从所述待扫描图书页面的顶端开始对所述待扫描图书页面进行扫描,得到第一扫描图片,所述第二长度小于等于所述第一预设长度,以及以第三长度为扫描长度,从所述待扫描图书页面的底端开始对所述待扫描图书页面进行扫描,得到第二扫描图片,所述第三长度等于所述第一长度减去所述第二长度再加上第二预设长度,且所述第三长度小于等于所述第一预设长度。The scanning subunit is configured to use the second length as the scanning length to start scanning the book page to be scanned from the top of the book page to be scanned to obtain a first scanned picture, and the second length is less than or equal to the The first preset length, and using the third length as the scanning length, start scanning the book page to be scanned from the bottom of the book page to be scanned to obtain a second scanned picture, and the third length is equal to the scanning length The first length minus the second length plus a second preset length, and the third length is less than or equal to the first preset length.

作为一种可选的实施方式,在本发明实施例第二方面中,所述待扫描图书页面的尺寸包括所述待扫描图书页面的第一长度以及第一宽度,所述预设尺寸包括第一预设长度以及第一预设宽度;As an optional implementation manner, in the second aspect of the embodiment of the present invention, the size of the book page to be scanned includes the first length and the first width of the book page to be scanned, and the preset size includes the first a preset length and a first preset width;

所述扫描单元包括确定子单元以及扫描子单元,其中:The scanning unit includes a determination subunit and a scanning subunit, wherein:

所述确定子单元,用于当所述第一长度小于等于所述第一预设长度且所述第一宽度大于所述第一预设宽度时,确定所述待扫描图书页面的尺寸大于所述预设尺寸;The determining subunit is configured to determine that the size of the book page to be scanned is larger than the first preset length when the first length is less than or equal to the first preset length and the first width is larger than the first preset width. the preset size;

所述扫描子单元,用于以第二宽度为扫描宽度,从所述待扫描图书页面的左端开始对所述待扫描图书页面进行扫描,得到第三扫描图片,所述第二宽度小于等于所述第一预设宽度,以及以第三宽度为扫描宽度,从所述待扫描图书页面的右端开始对所述待扫描图书页面进行扫描,得到第四扫描图片,所述第三宽度等于所述第一宽度减去所述第二宽度加上第二预设宽度,且所述第三宽度小于等于所述第一预设宽度。The scanning subunit is configured to use the second width as the scanning width to start scanning the book page to be scanned from the left end of the book page to be scanned to obtain a third scanned picture, and the second width is less than or equal to the The first preset width, and take the third width as the scanning width, start scanning the book page to be scanned from the right end of the book page to be scanned to obtain a fourth scanned image, the third width is equal to the The first width minus the second width plus a second preset width, and the third width is less than or equal to the first preset width.

作为一种可选的实施方式,在本发明实施例第二方面中,所述待扫描图书页面的尺寸包括所述待扫描图书页面的第一长度以及第一宽度,所述预设尺寸包括第一预设长度以及第一预设宽度;As an optional implementation manner, in the second aspect of the embodiment of the present invention, the size of the book page to be scanned includes the first length and the first width of the book page to be scanned, and the preset size includes the first a preset length and a first preset width;

所述扫描单元包括确定子单元以及扫描子单元,其中:The scanning unit includes a determination subunit and a scanning subunit, wherein:

所述确定子单元,用于当所述第一长度大于所述第一预设长度且所述第一宽度大于所述第一预设宽度时,确定所述待扫描图书页面的尺寸大于所述预设尺寸;The determining subunit is configured to determine that the size of the book page to be scanned is larger than the default size;

所述扫描子单元,用于从所述待扫描图书页面的左上端、右上端、左下端以及右下端分别对所述待扫描图书页面进行扫描,得到四张扫描图片,其中,所述四张扫描图片中每张扫描图片的长度均小于等于所述第一预设长度,且所述四张扫描图片中每张扫描图片的宽度均小于等于所述第一预设宽度。The scanning subunit is used to scan the book page to be scanned from the upper left end, upper right end, lower left end and lower right end of the book page to be scanned respectively to obtain four scanned pictures, wherein the four The length of each of the scanned pictures is less than or equal to the first preset length, and the width of each of the four scanned pictures is less than or equal to the first preset width.

本发明实施例第三方面公开了一种扫描设备,所述扫描设备包括本发明实施例第二方面公开的图书页面的扫描控制装置。The third aspect of the embodiment of the present invention discloses a scanning device, and the scanning device includes the book page scanning control device disclosed in the second aspect of the embodiment of the present invention.

与现有技术相比,本发明实施例具有以下有益效果:Compared with the prior art, the embodiments of the present invention have the following beneficial effects:

本发明实施例中,在扫描设备的扫描功能启动后,提示用户输入待扫描图书页面的尺寸,并获取用户输入的待扫描图书页面的尺寸,当待扫描图书页面的尺寸大于预设尺寸时,从待扫描图书页面的不同起始扫描位置对待扫描图书页面进行扫描,得到多张扫描图片,确定该多张扫描图片中各扫描图片间的重叠区域,根据确定出的重叠区域拼接该多张扫描图片得到拼接扫描图片,作为待扫描图书页面的扫描图片,其中,拼接扫描图片的尺寸等于该待扫描图书页面的尺寸。可见,实施本发明实施例能够通过扫描设备多次扫描待扫描图书页面得到多张扫描图片并根据扫描图片间的重叠区域自动对该多张扫描图片进行拼接的方式得到与待扫描图书页面尺寸相同的扫描图片,无需更换扫描设备且无需进行人工拼接,降低了扫描成本,提高了扫描尺寸较大的图书页面时的扫描效率。In the embodiment of the present invention, after the scanning function of the scanning device is activated, the user is prompted to input the size of the book page to be scanned, and the size of the book page to be scanned input by the user is obtained. When the size of the book page to be scanned is larger than the preset size, Scan the pages of the book to be scanned from different starting scanning positions of the book page to be scanned to obtain multiple scanned pictures, determine the overlapping areas among the scanned pictures in the multiple scanned pictures, and stitch the multiple scanned pictures according to the determined overlapping areas The image is obtained by splicing the scanned image as the scanned image of the book page to be scanned, wherein the size of the spliced scanned image is equal to the size of the book page to be scanned. It can be seen that the implementation of the embodiment of the present invention can obtain multiple scanned pictures by scanning the pages of the book to be scanned multiple times by the scanning device, and automatically splicing the multiple scanned pictures according to the overlapping area between the scanned pictures to obtain the same size as the page of the book to be scanned. Scanned pictures without replacement of scanning equipment and manual splicing, which reduces scanning costs and improves scanning efficiency when scanning large-sized book pages.

附图说明Description of drawings

为了更清楚地说明本发明实施例中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the accompanying drawings that need to be used in the embodiments. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For Those of ordinary skill in the art can also obtain other drawings based on these drawings without making creative efforts.

图1是本发明实施例公开的一种图书页面的扫描控制方法的流程示意图;FIG. 1 is a schematic flow diagram of a book page scanning control method disclosed in an embodiment of the present invention;

图2是本发明实施例公开的另一种图书页面的扫描控制方法的流程示意图;FIG. 2 is a schematic flowchart of another book page scanning control method disclosed in an embodiment of the present invention;

图3是本发明实施例公开的一种图书页面的扫描控制装置的结构示意图;Fig. 3 is a schematic structural diagram of a book page scanning control device disclosed in an embodiment of the present invention;

图4是本发明实施例公开的另一种图书页面的扫描控制装置的结构示意图;Fig. 4 is a schematic structural diagram of another book page scanning control device disclosed in an embodiment of the present invention;

图5是本发明实施例公开的一种扫描设备的结构示意图。Fig. 5 is a schematic structural diagram of a scanning device disclosed in an embodiment of the present invention.

具体实施方式detailed description

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

本发明实施例公开了一种图书页面的扫描控制方法及装置、扫描设备,能够通过扫描设备多次扫描待扫描图书页面得到多张扫描图片并根据扫描图片间的重叠区域自动对该多张扫描图片进行拼接的方式得到与待扫描图书页面尺寸相同的扫描图片,无需更换扫描设备且无需进行人工拼接,降低了扫描成本,提高了扫描尺寸较大的图书页面时的扫描效率。以下分别进行详细说明。The embodiment of the present invention discloses a book page scanning control method and device, and a scanning device, which can scan the book pages to be scanned multiple times through the scanning device to obtain multiple scanned pictures, and automatically scan the multiple scanned pictures according to the overlapping area between the scanned pictures The method of image splicing can obtain the scanned image with the same size as the page of the book to be scanned, without changing the scanning device and without manual splicing, which reduces the scanning cost and improves the scanning efficiency when scanning large-sized book pages. Each will be described in detail below.

实施例一Embodiment one

请参阅图1,图1是本发明实施例公开的一种图书页面的扫描控制方法的流程示意图。如图1所示,该图书页面的扫描控制方法可以包括以下操作:Please refer to FIG. 1 . FIG. 1 is a schematic flowchart of a book page scanning control method disclosed by an embodiment of the present invention. As shown in FIG. 1, the scanning control method of the book page may include the following operations:

101、在扫描设备的扫描功能启动后,扫描设备提示用户输入待扫描图书页面的尺寸,并获取用户输入的待扫描图书页面的尺寸。101. After the scanning function of the scanning device is activated, the scanning device prompts the user to input the size of the book page to be scanned, and acquires the size of the book page to be scanned input by the user.

本发明实施例中,在扫描设备获取到用户输入的待扫描图书页面的尺寸后,触发执行步骤102。In the embodiment of the present invention, after the scanning device acquires the size of the book page to be scanned input by the user, step 102 is triggered to be executed.

102、当上述待扫描图书页面的尺寸大于预设尺寸时,扫描设备从上述待扫描图书页面的不同起始扫描位置对上述待扫描图书页面进行扫描,得到多张扫描图片。102. When the size of the book page to be scanned is greater than the preset size, the scanning device scans the book page to be scanned from different starting scanning positions of the book page to be scanned to obtain multiple scanned pictures.

本发明实施例中,上述待扫描图书页面的尺寸包括上述待扫描图书页面的第一长度以及上述待扫描图书页面的第一宽度,且上述预设尺寸可以包括第一预设长度以及第一预设宽度,在实际应用中,上述预设尺寸为扫描设备的最大扫描尺寸,如当上述预设尺寸为A4纸尺寸时,第一预设长度可以等于A4纸的长度,第一预设宽度可以等于A4纸的宽度。其中,当上述待扫描图书页面的第一长度大于第一预设长度和/或上述待扫描图书页面的第一宽度大于第一预设宽度时,扫描设备即可确定上述待扫描图书页面的尺寸大于上述预设尺寸。In the embodiment of the present invention, the size of the book page to be scanned includes the first length of the book page to be scanned and the first width of the book page to be scanned, and the preset size may include the first preset length and the first preset length. Set the width. In practical applications, the above-mentioned preset size is the maximum scanning size of the scanning device. For example, when the above-mentioned preset size is the size of A4 paper, the first preset length can be equal to the length of A4 paper, and the first preset width can be Equal to the width of A4 paper. Wherein, when the first length of the book page to be scanned is greater than the first preset length and/or the first width of the book page to be scanned is greater than the first preset width, the scanning device can determine the size of the book page to be scanned larger than the preset size above.

本发明实施例中,扫描设备对上述待扫描图书页面扫描的次数至少为两次,且每扫描一次均得到一张扫描图片,得到的每一张扫描图片的尺寸均不大于上述预设尺寸。具体的,当上述第一宽度小于等于上述第一预设宽度且上述第一长度大于M倍的第一预设长度且小于等于M+1倍的第一预设长度时,扫描设备可以至少扫描M+1次;当上述第一长度小于等于上述第一预设长度且上述第一宽度大于N倍的第一预设宽度且小于等于N+1倍的第一预设宽度时,扫描设备可以至少扫描N+1次;当上述第一长度大于M倍的第一预设长度且小于等于M+1倍的第一预设长度,以及上述第一宽度大于N倍的第一预设宽度且小于等于N+1倍的第一预设宽度时,扫描设备可以至少扫描M*N次,其中,M、N均为大于等于1的整数。In the embodiment of the present invention, the scanning device scans the pages of the book to be scanned at least twice, and obtains a scanned image for each scan, and the size of each scanned image obtained is not larger than the preset size. Specifically, when the first width is less than or equal to the first preset width and the first length is greater than M times the first preset length and less than or equal to M+1 times the first preset length, the scanning device can scan at least M+1 times; when the above-mentioned first length is less than or equal to the above-mentioned first preset length and the above-mentioned first width is greater than N times the first preset width and is less than or equal to N+1 times the first preset width, the scanning device can Scanning at least N+1 times; when the first length is greater than M times the first preset length and less than or equal to M+1 times the first preset length, and the first width is greater than N times the first preset width and When the first preset width is less than or equal to N+1 times, the scanning device may scan at least M*N times, where M and N are both integers greater than or equal to 1.

103、扫描设备确定上述多张扫描图片中各扫描图片间的重叠区域。103. The scanning device determines an overlapping area among the scanned pictures in the plurality of scanned pictures.

本发明实施例中,在多次扫描得到多张扫描图片后,扫描设备确定扫描得到的多张扫描图片中彼此存在重叠区域的扫描图片。In the embodiment of the present invention, after multiple scans to obtain multiple scanned pictures, the scanning device determines that among the multiple scanned pictures obtained by scanning, there are scanned pictures with overlapping regions.

可选的,扫描设备确定上述多张扫描图片中各扫描图片间的重叠区域可以包括:Optionally, the scanning device determining the overlapping area between the scanned pictures in the above multiple scanned pictures may include:

扫描设备根据上述待扫描图书页面的尺寸、上述多张扫描图片中每张扫描图片的尺寸以及每张扫描图片的起始扫描位置,确定上述多张扫描图片中各扫描图片间的重叠区域,其中,相同扫描方向时扫描设备重复扫描的尺寸对应的区域为重叠区域,且扫描方向包括上述待扫描图书页面的水平方向(或左右方向)以及上述待扫描图书页面的垂直方向(或上下方向);或者,The scanning device determines the overlapping area between the scanned pictures in the multiple scanned pictures according to the size of the book page to be scanned, the size of each scanned picture in the multiple scanned pictures, and the initial scanning position of each scanned picture, wherein In the same scanning direction, the area corresponding to the repeated scanning size of the scanning device is an overlapping area, and the scanning direction includes the horizontal direction (or left-right direction) of the above-mentioned book page to be scanned and the vertical direction (or up-down direction) of the above-mentioned book page to be scanned; or,

扫描设备通过比较上述多张扫描图片中各扫描图片的图片内容,确定上述多张扫描图片中各扫描图片间的重叠区域,其中,图片内容相同的区域即为重叠区域。The scanning device compares the picture content of each scanned picture in the above multiple scanned pictures to determine the overlapping area between the scanned pictures in the above multiple scanned pictures, wherein the area with the same picture content is the overlapping area.

104、扫描设备根据上述多张扫描图片中各扫描图片间的重叠区域拼接上述多张扫描图片得到拼接扫描图片,作为上述待扫描图书页面的扫描图片。104. The scanning device splices the multiple scanned pictures according to the overlapping area between the scanned pictures among the multiple scanned pictures to obtain a stitched scanned picture, which is used as the scanned picture of the book page to be scanned.

本发明实施例中,对于拼接存在重叠区域的扫描图片来说,扫描设备首先根据扫描图片中的图片内容确定拼接顺序,然后根据扫描图片中重叠区域的图片内容确定出图片内容完整且扫描效果好的扫描图片,并根据该扫描图片确定出存在重叠区域的扫描图片的拼接点(或重合点),自动对存在重叠区域的扫描图片进行拼接,得到拼接扫描图片,作为上述待扫描图书页面的扫描图片,其中,该拼接扫描图片的尺寸等于用户输入的上述待扫描图书页面的尺寸。In the embodiment of the present invention, for splicing scanned pictures with overlapping areas, the scanning device first determines the splicing order according to the picture content in the scanned picture, and then determines that the picture content is complete and the scanning effect is good according to the picture content in the overlapping area of the scanned picture The scanned pictures, and according to the scanned pictures, determine the splicing points (or coincident points) of the scanned pictures with overlapping areas, automatically splice the scanned pictures with overlapping areas, and obtain the spliced scanned pictures, as the scan of the above-mentioned book pages to be scanned picture, wherein the size of the stitched scanned picture is equal to the size of the page of the book to be scanned input by the user.

可选的,在执行完毕步骤104之后,该图书页面的扫描控制方法还可以包括以下操作:Optionally, after step 104 is performed, the book page scanning control method may further include the following operations:

扫描设备输出上述拼接扫描图片供用户确认;The scanning device outputs the above stitched scanned pictures for user confirmation;

当检测到用户针对上述拼接扫描图片输入的确认消息时,确定扫描图片拼接无误并存储上述拼接扫描图片。When the confirmation message input by the user for the stitched scanned picture is detected, it is determined that the stitched scanned picture is correct and the stitched scanned picture is stored.

进一步可选的,扫描设备还可以根据用户的实际需求对上述拼接扫描图片进行相应的操作,如裁剪操作、复制操作、编辑操作等。Further optionally, the scanning device can also perform corresponding operations on the above-mentioned stitched and scanned pictures according to the actual needs of the user, such as cropping, copying, editing, and so on.

可见,实施图1所描述的图书页面的扫描控制方法能够通过扫描设备多次扫描待扫描图书页面得到多张扫描图片并根据扫描图片间的重叠区域自动对该多张扫描图片进行拼接的方式得到与待扫描图书页面尺寸相同的扫描图片,无需更换扫描设备且无需进行人工拼接,降低了扫描成本,提高了扫描尺寸较大的图书页面时的扫描效率。It can be seen that implementing the scanning control method for book pages described in Figure 1 can obtain multiple scanned pictures by scanning the book pages to be scanned multiple times by the scanning device, and automatically splicing the multiple scanned pictures according to the overlapping areas between the scanned pictures. Scanned pictures with the same size as the pages of the book to be scanned do not need to replace the scanning device and do not need to be manually spliced, which reduces the scanning cost and improves the scanning efficiency when scanning large-sized book pages.

实施例二Embodiment two

请参阅图2,图2是本发明实施例公开的另一种图书页面的扫描控制方法的流程示意图。如图2所示,该图书页面的扫描控制方法可以包括以下操作:Please refer to FIG. 2 . FIG. 2 is a schematic flowchart of another book page scanning control method disclosed in an embodiment of the present invention. As shown in Figure 2, the scanning control method for the book page may include the following operations:

201、扫描设备根据用户的扫描启动指令,启动扫描功能。201. The scanning device starts a scanning function according to a scanning start instruction of a user.

202、扫描设备提示用户输入待扫描图书页面的尺寸,并获取用户输入的待扫描图书页面的尺寸。202. The scanning device prompts the user to input the size of the book page to be scanned, and acquires the size of the book page to be scanned input by the user.

203、当上述待扫描图书页面的尺寸大于预设尺寸时,扫描设备确定上述待扫描图书页面的尺寸超过该预设尺寸的情况。203. When the size of the book page to be scanned is greater than a preset size, the scanning device determines that the size of the book page to be scanned exceeds the preset size.

本发明实施例中,上述待扫描图书页面的尺寸包括上述待扫描图书页面的第一长度以及上述待扫描图书页面的第一宽度,且上述预设尺寸可以包括第一预设长度以及第一预设宽度,在实际应用中,上述预设尺寸为扫描设备的最大扫描尺寸或者是扫描设备(如扫描仪)的扫描尺寸等,如当上述预设尺寸为A4纸尺寸时,第一预设长度可以等于A4纸的长度,第一预设宽度可以等于A4纸的宽度。其中,当上述待扫描图书页面的第一长度大于第一预设长度和/或上述待扫描图书页面的第一宽度大于第一预设宽度时,扫描设备即可确定上述待扫描图书页面的尺寸大于上述预设尺寸。In the embodiment of the present invention, the size of the book page to be scanned includes the first length of the book page to be scanned and the first width of the book page to be scanned, and the preset size may include the first preset length and the first preset length. Set the width. In practical applications, the above-mentioned preset size is the maximum scanning size of the scanning device or the scanning size of the scanning device (such as a scanner). For example, when the above-mentioned preset size is A4 paper size, the first preset length It may be equal to the length of A4 paper, and the first preset width may be equal to the width of A4 paper. Wherein, when the first length of the book page to be scanned is greater than the first preset length and/or the first width of the book page to be scanned is greater than the first preset width, the scanning device can determine the size of the book page to be scanned larger than the preset size above.

本发明实施例中,当上述待扫描图书页面的第一长度大于第一预设长度且上述待扫描图书页面的第一宽度小于等于第一预设宽度时,触发执行步骤204;当上述待扫描图书页面的第一宽度大于第一预设宽度且上述待扫描图书页面的第一长度小于等于第一预设长度时,触发执行步骤207;当上述待扫描图书页面的第一长度大于第一预设长度且上述待扫描图书页面的第一宽度大于第一预设宽度时,扫描设备执行以下操作:In the embodiment of the present invention, when the first length of the book page to be scanned is greater than the first preset length and the first width of the book page to be scanned is less than or equal to the first preset width, step 204 is triggered to be executed; When the first width of the book page is greater than the first preset width and the first length of the book page to be scanned is less than or equal to the first preset length, step 207 is triggered; when the first length of the book page to be scanned is greater than the first preset length When the length is set and the first width of the book page to be scanned is greater than the first preset width, the scanning device performs the following operations:

扫描设备从上述待扫描图书页面的左上端、右上端、左下端以及右下端分别对上述待扫描图书页面进行扫描,得到四张扫描图片,确定该四张扫描图片中各扫描图片间的重叠区域,根据该四张扫描图片中各扫描图片间的重叠区域拼接该四张扫描图片得到拼接扫描图片,作为上述待扫描图书页面的扫描图片,其中,该拼接扫描图片的尺寸等于上述待扫描图书页面的尺寸,该四张扫描图片中每张扫描图片的长度均小于等于上述第一预设长度,且该四张扫描图片中每张扫描图片的宽度均小于等于上述第一预设宽度。即,从第一次扫描(左上扫描)之后或者从第二次扫描(右上扫描)开始,每扫描一次,扫描设备根据确定出的重叠区域,对新扫描得到的扫描图片与前面得到的扫描图片(或拼接扫描图片)执行拼接操作,直至将四张扫描图片拼接完毕,即可得到上述待扫描图书页面的扫描图片。可选的,从左上端扫描得到的扫描图片与从右上端扫描得到的扫描图片的长度相同,从左下端扫描得到的扫描图片与从右下端扫描得到的扫描图片的长度相同,从左上端扫描得到的扫描图片与从左下端扫描得到的扫描图片的宽度相同,且从右上端扫描得到的扫描图片与从右下端扫描得到的扫描图片的宽度相同。The scanning device scans the above-mentioned book pages to be scanned from the upper left end, upper right end, lower left end, and lower right end of the book pages to be scanned respectively to obtain four scanned pictures, and determine the overlapping area between the scanned pictures in the four scanned pictures , splicing the four scanned pictures according to the overlapping areas between the scanned pictures in the four scanned pictures to obtain a stitched scanned picture, as the scanned picture of the above-mentioned book page to be scanned, wherein the size of the stitched scanned picture is equal to the above-mentioned book page to be scanned The length of each of the four scanned pictures is less than or equal to the above-mentioned first preset length, and the width of each of the four scanned pictures is less than or equal to the above-mentioned first preset width. That is, after the first scan (upper left scan) or from the second scan (upper right scan), each scan, the scanning device compares the scanned picture obtained by the new scan with the scanned picture obtained previously according to the determined overlapping area. (or splicing the scanned pictures) perform the splicing operation until the four scanned pictures are spliced, and the scanned picture of the above-mentioned book page to be scanned can be obtained. Optionally, the length of the scanned picture obtained by scanning from the upper left end is the same as that obtained by scanning from the upper right end, the length of the scanned image obtained by scanning from the lower left end is the same as that obtained by scanning from the lower right end, and the scanned image obtained by scanning from the upper left end The obtained scanned image has the same width as the scanned image obtained by scanning from the lower left end, and the scanned image obtained by scanning from the upper right end has the same width as the scanned image obtained by scanning from the lower right end.

204、扫描设备以第二长度为扫描长度,从上述待扫描图书页面的顶端开始对上述待扫描图书页面进行第一次扫描,得到第一扫描图片。204. The scanning device uses the second length as the scanning length, and starts scanning the book page to be scanned for the first time from the top of the book page to be scanned to obtain a first scanned picture.

本发明实施例中,该第一扫描图片的长度等于第二长度且该第一扫描图片的宽度等于第一宽度,其中,该第二长度小于等于第一预设长度。In an embodiment of the present invention, the length of the first scanned picture is equal to the second length and the width of the first scanned picture is equal to the first width, wherein the second length is less than or equal to the first preset length.

205、扫描设备以第三长度为扫描长度,从上述待扫描图书页面的底端开始对上述待扫描图书页面进行第二次扫描,得到第二扫描图片。205. The scanning device takes the third length as the scanning length, and starts from the bottom of the book page to be scanned to scan the book page to be scanned for a second time to obtain a second scanned picture.

本发明实施例中,该第二扫描图片的长度等于第三长度且该第二扫描图片的宽度等于第一宽度,其中,该第三长度小于等于上述第一预设长度且具体等于上述第一长度减去上述第二长度再加上第二预设长度,该第二预设长度即为重叠区域的长度。In the embodiment of the present invention, the length of the second scanned picture is equal to the third length and the width of the second scanned picture is equal to the first width, wherein the third length is less than or equal to the above-mentioned first preset length and specifically equal to the above-mentioned first The length minus the second length plus the second preset length is the length of the overlapping region.

206、扫描设备根据上述第一扫描图片以及上述第二扫描图片的重叠区域确定出上述第一扫描图片以及上述第二扫描图片的重合点,并在确定出的重合点处拼接上述第一扫描图片以及上述第二扫描图片得到拼接扫描图片。206. The scanning device determines the coincidence point of the first scanned picture and the second scanned picture according to the overlapping area of the first scanned picture and the second scanned picture, and stitches the first scanned picture at the determined coincident point And the above-mentioned second scanned picture to obtain the spliced scanned picture.

本发明实施例中,拼接上述第一扫描图片以及上述第二扫描图片得到拼接扫描图片是上述待扫描图书页面的扫描图片,且该拼接扫描图片的尺寸等于用户输入的上述待扫描图书页面的尺寸。In the embodiment of the present invention, the spliced scanned image obtained by stitching the first scanned image and the second scanned image is the scanned image of the book page to be scanned, and the size of the scanned image is equal to the size of the book page to be scanned input by the user. .

207、扫描设备以第二宽度为扫描宽度,从上述待扫描图书页面的左端开始对上述待扫描图书页面进行第一次扫描,得到第三扫描图片。207. The scanning device uses the second width as the scanning width, and starts scanning the book page to be scanned for the first time from the left end of the book page to be scanned to obtain a third scanned picture.

本发明实施例中,该第三扫描图片的宽度等于第二宽度且该第三扫描图片的长度等于第一长度,其中,该第二宽度小于等于上述第一预设宽度。In an embodiment of the present invention, the width of the third scanned picture is equal to the second width and the length of the third scanned picture is equal to the first length, wherein the second width is less than or equal to the above-mentioned first preset width.

208、扫描设备以第三宽度为扫描宽度,从上述待扫描图书页面的右端开始对上述待扫描图书页面进行第二次扫描,得到第四扫描图片。208. The scanning device uses the third width as the scanning width, and starts from the right end of the book page to be scanned to scan the book page to be scanned for a second time to obtain a fourth scanned picture.

本发明实施例中,该第四扫描图片的宽度等于第三宽度且该第四扫描图片的长度等于上述第一长度,其中,该第三宽度小于等于上述第一预设宽度且具体等于上述第一宽度减去上述第二宽度再加上第二预设宽度。In an embodiment of the present invention, the width of the fourth scanned picture is equal to the third width and the length of the fourth scanned picture is equal to the above-mentioned first length, wherein the third width is less than or equal to the above-mentioned first preset width and specifically equal to the above-mentioned first preset width. A width minus the second width plus a second preset width.

209、扫描设备根据上述第三扫描图片以及上述第四扫描图片的重叠区域确定出上述第三扫描图片以及上述第四扫描图片的重合点,并在确定出的重合点处拼接上述第三扫描图片以及上述第四扫描图片得到拼接扫描图片。209. The scanning device determines the coincidence point of the third scan picture and the fourth scan picture according to the overlapping area of the third scan picture and the fourth scan picture, and stitches the third scan picture at the determined coincidence point and the above fourth scanned picture to obtain a spliced scanned picture.

本发明实施例中,拼接上述第三扫描图片以及上述第四扫描图片得到拼接扫描图片是上述待扫描图书页面的扫描图片,且该拼接扫描图片的尺寸等于用户输入的上述待扫描图书页面的尺寸。In the embodiment of the present invention, the stitched scanned image obtained by stitching the third scanned image and the fourth scanned image is the scanned image of the book page to be scanned, and the size of the stitched scanned image is equal to the size of the book page to be scanned input by the user .

可选的,扫描设备确定扫描图片间的重叠区域可以包括:Optionally, the scanning device determining the overlapping area between the scanned pictures may include:

根据上述待扫描图书页面的尺寸、上述多张扫描图片中每张扫描图片的尺寸以及每张扫描图片的起始扫描位置,确定上述多张扫描图片中各扫描图片间的重叠区域,其中,相同扫描方向时扫描设备重复扫描的尺寸对应的区域为重叠区域,且扫描方向包括上述待扫描图书页面的水平方向(或左右方向)以及上述待扫描图书页面的垂直方向(或上下方向);或者,According to the size of the book page to be scanned, the size of each scanned image in the plurality of scanned images, and the initial scanning position of each scanned image, determine the overlapping area between the scanned images in the plurality of scanned images, wherein the same In the scanning direction, the area corresponding to the size repeatedly scanned by the scanning device is an overlapping area, and the scanning direction includes the horizontal direction (or left-right direction) of the above-mentioned book page to be scanned and the vertical direction (or up-down direction) of the above-mentioned book page to be scanned; or,

扫描设备通过比较上述多张扫描图片中各扫描图片的图片内容,确定上述多张扫描图片中各扫描图片间的重叠区域,其中,图片内容相同的区域即为重叠区域。The scanning device compares the picture content of each scanned picture in the above multiple scanned pictures to determine the overlapping area between the scanned pictures in the above multiple scanned pictures, wherein the area with the same picture content is the overlapping area.

以上述待扫描图书页面的第一长度大于第一预设长度且上述待扫描图书页面的第一宽度小于等于第一预设宽度为例,假设上述第一长度为X,上述第一宽度为Y,上述第二长度为X1,以及上述第二预设长度为10mm,则上述第三长度等于X-X1+10mm。则扫描设备首先以第二长度为扫描长度,从待扫描图书页面的顶端开始进行第一次扫描,得到第一扫描图片;然后以第三长度为扫描长度,从待扫描图书页面的底端开始进行第二次扫描,得到第二扫描图片;最后确定出第一扫描图片以及第二扫描图片之间的重叠区域以及拼接点(或重合点),并根据确定出的重叠区域以及拼接点拼接第一扫描图片以及第二扫描图片得到拼接扫描图片,作为待扫描图书页面的扫描图片。Taking the first length of the book page to be scanned to be greater than the first preset length and the first width of the book page to be scanned to be less than or equal to the first preset width as an example, assuming that the first length is X and the first width is Y , the second length is X1, and the second preset length is 10mm, then the third length is equal to X-X1+10mm. Then the scanning device first takes the second length as the scanning length, starts the first scan from the top of the book page to be scanned, and obtains the first scanned image; then takes the third length as the scanning length, starts from the bottom of the book page to be scanned Carry out the second scan to obtain the second scanned picture; finally determine the overlapping area and splicing point (or coincident point) between the first scanned picture and the second scanned picture, and splice the second splicing point according to the determined overlapping area and splicing point The first scanned picture and the second scanned picture are obtained by splicing the scanned picture, which is used as the scanned picture of the page of the book to be scanned.

以上述待扫描图书页面的第一宽度大于第一预设宽度且上述待扫描图书页面的第一长度小于等于第一预设长度为例,假设上述第一长度为X,上述第一宽度为Y,上述第二宽度为Y1,以及上述第二预设宽度为10mm,则上述第三宽度等于Y-Y1+10mm。则扫描设备首先以第二宽度为扫描宽度,从待扫描图书页面的左端开始进行第一次扫描,得到第三扫描图片;然后以第三宽度为扫描宽度,从待扫描图书页面的右端开始进行第二次扫描,得到第四扫描图片;最后确定出第三扫描图片以及第四扫描图片之间的重叠区域以及拼接点(或重合点),并根据确定出的重叠区域以及拼接点拼接第三扫描图片以及第四扫描图片得到拼接扫描图片,作为待扫描图书页面的扫描图片。Taking the first width of the book page to be scanned as being greater than the first preset width and the first length of the book page to be scanned being less than or equal to the first preset length as an example, assuming that the first length is X and the first width is Y , the second width is Y1, and the second preset width is 10mm, then the third width is equal to Y-Y1+10mm. Then the scanning device first takes the second width as the scanning width, and starts scanning for the first time from the left end of the book page to be scanned to obtain the third scanning image; then takes the third width as the scanning width, and starts scanning from the right end of the book page to be scanned Scan the second time to obtain the fourth scanning picture; finally determine the overlapping area and splicing point (or coincident point) between the third scanning picture and the fourth scanning picture, and stitch the third according to the overlapping area and splicing point determined. The scanned picture and the fourth scanned picture are used to obtain the spliced scanned picture as the scanned picture of the page of the book to be scanned.

以上述待扫描图书页面的第一宽度大于第一预设宽度且上述待扫描图书页面的第一长度大于第一预设长度为例,假设上述第一长度为X,上述第一宽度为Y。则扫描设备首先以扫描长度为X1、扫描宽度为Y1,从待扫描图书页面左上端进行第一次扫描,得到第五扫描图片;然后以扫描长度为X1、扫描宽度为Y2,从待扫描图书页面的右上端进行第二扫描,得到第六扫描图片,确定出第五扫描图片以及第六扫描图片的重叠区域以及拼接点,并对第五扫描图片以及第六扫描图片进行拼接得到第一拼接扫描图片;然后以扫描长度为X2、扫描宽度为Y1,从待扫描图书页面的左下端进行第三次扫描,得到第七扫描图片,确定出第七扫描图片以及第一拼接扫描图片的重叠区域以及拼接点,并对第七扫描图片以及第一拼接扫描图片进行拼接得到第二拼接扫描图片;最后以扫描长度为X2、扫描宽度为Y2,从待扫描图书页面的右下端进行第四次扫描,得到第八扫描图片,确定出第八扫描图片以及第二拼接扫描图片的重叠区域以及拼接点,并对第八扫描图片以及第二拼接扫描图片进行拼接得到第三拼接扫描图片,该第三拼接图片即为待扫描图书页面的扫描图片。其中,X2等于X-X1+10mm,Y2等于Y-Y1+10mm,X1与X2均小于等于第一预设长度,Y1与Y2均小于等于第一预设宽度。Taking the first width of the book page to be scanned greater than the first preset width and the first length of the book page to be scanned greater than the first preset length as an example, assume that the first length is X and the first width is Y. Then the scanning device first scans the first scan from the upper left end of the book to be scanned with the scanning length as X1 and the scanning width as Y1 to obtain the fifth scanning image; then takes the scanning length as X1 and the scanning width as Y2 and scans Perform the second scan on the upper right of the page to obtain the sixth scan picture, determine the overlapping area and stitching point of the fifth scan picture and the sixth scan picture, and stitch the fifth scan picture and the sixth scan picture to obtain the first stitching Scan the picture; then scan the third scan from the lower left end of the book page to be scanned with the scan length X2 and the scan width Y1 to obtain the seventh scan picture, and determine the overlapping area of the seventh scan picture and the first spliced scan picture And the splicing point, and splicing the seventh scanned picture and the first spliced scanned picture to obtain the second spliced scanned picture; finally, the fourth scan is performed from the lower right end of the book page to be scanned with the scanning length as X2 and the scanning width as Y2 , to obtain the eighth scanned picture, determine the overlapping area and stitching point of the eighth scanned picture and the second stitched scanned picture, and stitch the eighth scanned picture and the second stitched scanned picture to obtain the third stitched scanned picture, the third The spliced image is the scanned image of the book pages to be scanned. Wherein, X2 is equal to X-X1+10mm, Y2 is equal to Y-Y1+10mm, both X1 and X2 are less than or equal to the first preset length, and both Y1 and Y2 are less than or equal to the first preset width.

可见,实施图2所描述的图书页面的扫描控制方法能够通过扫描设备多次扫描待扫描图书页面得到多张扫描图片并根据扫描图片间的重叠区域自动对该多张扫描图片进行拼接的方式得到与待扫描图书页面尺寸相同的扫描图片,无需更换扫描设备且无需进行人工拼接,降低了扫描成本,提高了扫描尺寸较大的图书页面时的扫描效率。It can be seen that implementing the scanning control method for book pages described in Figure 2 can obtain multiple scanned pictures by scanning the book pages to be scanned multiple times by the scanning device, and automatically splicing the multiple scanned pictures according to the overlapping areas between the scanned pictures. Scanned pictures with the same size as the pages of the book to be scanned do not need to replace the scanning device and do not need to be manually spliced, which reduces the scanning cost and improves the scanning efficiency when scanning large-sized book pages.

实施例三Embodiment three

请参阅图3,图3是本发明实施例公开的一种图书页面的扫描控制装置的结构示意图。如图3所示,该图书页面的扫描控制装置300可以包括提示单元301、获取单元302、扫描单元303、确定单元304以及拼接单元305,其中:Please refer to FIG. 3 . FIG. 3 is a schematic structural diagram of a book page scanning control device disclosed in an embodiment of the present invention. As shown in FIG. 3 , the book page scanning control device 300 may include a prompting unit 301, an acquiring unit 302, a scanning unit 303, a determining unit 304, and a splicing unit 305, wherein:

提示单元301用于在扫描设备的扫描功能启动后,提示用户输入待扫描图书页面的尺寸。The prompting unit 301 is configured to prompt the user to input the size of the book page to be scanned after the scanning function of the scanning device is activated.

本发明实施例中,具体的,提示单元301输出提示信息以及文本输入框,该提示信息用于提示用户在文本输入框内输入待扫描图书页面的尺寸。In the embodiment of the present invention, specifically, the prompt unit 301 outputs prompt information and a text input box, and the prompt information is used to prompt the user to input the size of the book page to be scanned in the text input box.

获取单元302用于获取用户输入的上述待扫描图书页面的尺寸。The acquiring unit 302 is configured to acquire the size of the book page to be scanned input by the user.

具体的,获取单元302可以从提示单元301输出的文本输入框内获取用户输入的上述待扫描图书页面的尺寸。Specifically, the obtaining unit 302 may obtain the size of the book page to be scanned input by the user from the text input box output by the prompting unit 301 .

扫描单元303用于当上述待扫描图书页面的尺寸大于预设尺寸时,从上述待扫描图书页面的不同起始扫描位置对上述待扫描图书页面进行扫描,得到多张扫描图片。The scanning unit 303 is configured to scan the book page to be scanned from different starting scanning positions of the book page to obtain multiple scanned pictures when the size of the book page to be scanned is larger than a preset size.

确定单元304用于确定上述多张扫描图片中各扫描图片间的重叠区域。The determining unit 304 is configured to determine overlapping regions among the scanned pictures in the above-mentioned multiple scanned pictures.

拼接单元305用于根据上述多张扫描图片中各扫描图片间的重叠区域拼接上述多张扫描图片得到拼接扫描图片,作为上述待扫描图书页面的扫描图片,其中,该拼接扫描图片的尺寸等于上述待扫描图书页面的尺寸。The splicing unit 305 is used to splice the multiple scanned pictures according to the overlapping areas between the scanned pictures in the multiple scanned pictures to obtain a spliced scanned picture as the scanned picture of the book page to be scanned, wherein the size of the spliced scanned picture is equal to the above-mentioned The size of the book page to be scanned.

本发明实施例中,对于拼接存在重叠区域的扫描图片来说,拼接单元305首先根据扫描图片中的图片内容确定拼接顺序,然后根据扫描图片中重叠区域的图片内容确定出图片内容完整且扫描效果好的扫描图片,并根据该扫描图片确定出存在重叠区域的扫描图片的拼接点(或重合点),自动对存在重叠区域的扫描图片进行拼接,得到拼接扫描图片,作为上述待扫描图书页面的扫描图片。In the embodiment of the present invention, for stitching scanned pictures with overlapping areas, the stitching unit 305 first determines the stitching sequence according to the picture content in the scanned picture, and then determines that the picture content is complete and the scanning effect is complete according to the picture content in the overlapping area of the scanned picture. A good scanned picture, and according to the scanned picture, determine the splicing point (or coincident point) of the scanned picture in the overlapping area, automatically splice the scanned pictures in the overlapping area, and obtain the spliced scanned picture, as the above-mentioned to-be-scanned book page Scan the picture.

在一个可选的实施例中,确定单元304确定上述多张扫描图片中各扫描图片间的重叠区域的具体方式可以为:In an optional embodiment, the determining unit 304 may determine the overlapping area between the scanned pictures in the above-mentioned multiple scanned pictures in a specific manner as follows:

根据上述待扫描图书页面的尺寸、上述多张扫描图片中每张扫描图片的尺寸以及每张扫描图片的起始扫描位置,确定上述多张扫描图片中各扫描图片间的重叠区域,其中,相同扫描方向时重复扫描的尺寸对应的区域为重叠区域,且扫描方向包括上述待扫描图书页面的水平方向(或左右方向)以及上述待扫描图书页面的垂直方向(或上下方向);或者,According to the size of the book page to be scanned, the size of each scanned image in the plurality of scanned images, and the initial scanning position of each scanned image, determine the overlapping area between the scanned images in the plurality of scanned images, wherein the same In the scanning direction, the area corresponding to the size of repeated scanning is an overlapping area, and the scanning direction includes the horizontal direction (or left-right direction) of the above-mentioned book page to be scanned and the vertical direction (or up-down direction) of the above-mentioned book page to be scanned; or,

通过比较上述多张扫描图片中各扫描图片的图片内容,确定上述多张扫描图片中各扫描图片间的重叠区域,图片内容相同的区域即为重叠区域。By comparing the image content of each of the scanned images in the plurality of scanned images, the overlapping area between the scanned images in the plurality of scanned images is determined, and the area with the same image content is the overlapping area.

在另一个可选的实施例中,上述待扫描图书页面的尺寸可以包括上述待扫描图书页面的第一长度以及第一宽度,上述预设尺寸可以包括第一预设长度以及第一预设宽度,且扫描单元303可以包括确定子单元3031以及扫描子单元3032,此时,该图书页面的扫描控制装置300的结构可以如图4所示,图4是本发明实施例公开的另一种图书页面的扫描控制装置的结构示意图。其中:In another optional embodiment, the size of the book page to be scanned may include the first length and the first width of the book page to be scanned, and the preset size may include the first preset length and the first preset width , and the scanning unit 303 may include a determination subunit 3031 and a scanning subunit 3032. At this time, the structure of the scanning control device 300 of the book page may be shown in FIG. 4, which is another book disclosed by the embodiment of the present invention. Schematic diagram of the structure of the page scanning control device. in:

确定子单元3031用于当上述第一长度大于上述第一预设长度且上述第一宽度小于等于上述第一预设宽度时,确定上述待扫描图书页面的尺寸大于上述预设尺寸。扫描子单元3032用于以第二长度为扫描长度,从上述待扫描图书页面的顶端开始对上述待扫描图书页面进行扫描,得到第一扫描图片,该第二长度小于等于上述第一预设长度,以及以第三长度为扫描长度,从上述待扫描图书页面的底端开始对上述待扫描图书页面进行扫描,得到第二扫描图片,该第三长度等于第一长度减去第二长度再加上第二预设长度,且第三长度小于等于第一预设长度。The determining subunit 3031 is configured to determine that the size of the book page to be scanned is larger than the preset size when the first length is greater than the first preset length and the first width is smaller than or equal to the first preset width. The scanning subunit 3032 is configured to use the second length as the scanning length to scan the book page to be scanned from the top of the book page to be scanned to obtain a first scanned picture, and the second length is less than or equal to the first preset length , and take the third length as the scanning length, start scanning the above-mentioned book page to be scanned from the bottom of the book page to be scanned to obtain a second scanned image, the third length is equal to the first length minus the second length plus the second preset length, and the third length is less than or equal to the first preset length.

确定子单元3031还可以用于当上述第一长度小于等于上述第一预设长度且上述第一宽度大于上述第一预设宽度时,确定上述待扫描图书页面的尺寸大于上述预设尺寸。扫描子单元3032用于以第二宽度为扫描宽度,从上述待扫描图书页面的左端开始对上述待扫描图书页面进行扫描,得到第三扫描图片,该第二宽度小于等于上述第一预设宽度,以及以第三宽度为扫描宽度,从上述待扫描图书页面的右端开始对上述待扫描图书页面进行扫描,得到第四扫描图片,该第三宽度等于第一宽度减去上述第二宽度加上第二预设宽度,且第三宽度小于等于第一预设宽度。The determining subunit 3031 may also be configured to determine that the size of the book page to be scanned is larger than the preset size when the first length is less than or equal to the first preset length and the first width is larger than the first preset width. The scanning subunit 3032 is configured to use the second width as the scanning width to scan the book page to be scanned from the left end of the book page to be scanned to obtain a third scanned picture, the second width being less than or equal to the first preset width , and take the third width as the scanning width, start scanning the book page to be scanned from the right end of the book page to be scanned to obtain a fourth scanned image, the third width is equal to the first width minus the second width plus The second preset width, and the third width is less than or equal to the first preset width.

确定子单元3031还可以用于当上述第一长度大于上述第一预设长度且上述第一宽度大于上述第一预设宽度时,确定上述待扫描图书页面的尺寸大于上述预设尺寸。扫描子单元3032还可以用于从上述待扫描图书页面的左上端、右上端、左下端以及右下端分别对上述待扫描图书页面进行扫描,得到四张扫描图片,其中,该四张扫描图片中每张扫描图片的长度均小于等于第一预设长度,且四张扫描图片中每张扫描图片的宽度均小于等于上述第一预设宽度。The determining subunit 3031 may also be configured to determine that the size of the book page to be scanned is larger than the preset size when the first length is greater than the first preset length and the first width is greater than the first preset width. The scanning subunit 3032 can also be used to scan the above-mentioned book pages to be scanned from the upper left end, upper right end, lower left end and lower right end of the book pages to be scanned respectively to obtain four scanned pictures, wherein, among the four scanned pictures The length of each scanned picture is less than or equal to a first preset length, and the width of each of the four scanned pictures is less than or equal to the above-mentioned first preset width.

可见,实施图3或图4所描述的图书页面的扫描控制装置300能够通过扫描设备多次扫描待扫描图书页面得到多张扫描图片并根据扫描图片间的重叠区域自动对该多张扫描图片进行拼接的方式得到与待扫描图书页面尺寸相同的扫描图片,无需更换扫描设备且无需进行人工拼接,降低了扫描成本,提高了扫描尺寸较大的图书页面时的扫描效率。It can be seen that the scanning control device 300 implementing the book pages described in FIG. 3 or FIG. 4 can scan the book pages to be scanned multiple times through the scanning device to obtain multiple scanned pictures, and automatically scan the multiple scanned pictures according to the overlapping area between the scanned pictures. The splicing method obtains the scanned image with the same size as the book page to be scanned, without replacing the scanning device and without manual splicing, which reduces the scanning cost and improves the scanning efficiency when scanning large-sized book pages.

实施例四Embodiment four

请参阅图5,图5是本发明实施例公开的一种扫描设备的结构示意图。其中,图5所示的扫描设备可以包括图书页面的扫描控制装置501、壳体502、电路板503以及电源504,其中,图书页面的扫描控制装置501可以是图3或图4所描述的任意一个图书页面的扫描控制装置,本发明实施例不再赘述,电路板503安置在壳体502围成的空间内部,图书页面的扫描控制装置501设置在电路板503上,电源504用于为扫描设备上的图书页面的扫描控制装置501供电。可见,实施图5所描述的扫描设备能够通过扫描设备多次扫描待扫描图书页面得到多张扫描图片并根据扫描图片间的重叠区域自动对该多张扫描图片进行拼接的方式得到与待扫描图书页面尺寸相同的扫描图片,无需更换扫描设备且无需进行人工拼接,降低了扫描成本,提高了扫描尺寸较大的图书页面时的扫描效率。Please refer to FIG. 5 . FIG. 5 is a schematic structural diagram of a scanning device disclosed in an embodiment of the present invention. Wherein, the scanning device shown in FIG. 5 may include a book page scanning control device 501, a housing 502, a circuit board 503, and a power supply 504, wherein the book page scanning control device 501 may be any A book page scanning control device, the embodiment of the present invention will not go into details, the circuit board 503 is placed inside the space surrounded by the casing 502, the book page scanning control device 501 is arranged on the circuit board 503, and the power supply 504 is used for scanning The scanning control device 501 of the book page on the device is powered. It can be seen that the implementation of the scanning device described in Figure 5 can scan the pages of the book to be scanned multiple times to obtain multiple scanned pictures and automatically stitch the multiple scanned pictures according to the overlapping area between the scanned pictures to obtain the book to be scanned. Scanned pictures with the same page size do not need to replace the scanning device and do not need to be manually spliced, which reduces the scanning cost and improves the scanning efficiency when scanning large-sized book pages.

本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质包括只读存储器(Read-Only Memory,ROM)、随机存储器(Random Access Memory,RAM)、可编程只读存储器(Programmable Read-only Memory,PROM)、可擦除可编程只读存储器(Erasable Programmable Read Only Memory,EPROM)、一次可编程只读存储器(One-time Programmable Read-Only Memory,OTPROM)、电子抹除式可复写只读存储器(Electrically-Erasable Programmable Read-Only Memory,EEPROM)、只读光盘(CompactDisc Read-Only Memory,CD-ROM)或其他光盘存储器、磁盘存储器、磁带存储器、或者能够用于携带或存储数据的计算机可读的任何其他介质。Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above-mentioned embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium, and the storage medium includes read-only Memory (Read-Only Memory, ROM), Random Access Memory (Random Access Memory, RAM), Programmable Read-Only Memory (Programmable Read-only Memory, PROM), Erasable Programmable Read-Only Memory (Erasable Programmable Read Only Memory, EPROM), One-time Programmable Read-Only Memory (OTPROM), Electronically Erasable Programmable Read-Only Memory (EEPROM), Compact Disc Read-Only Memory (CompactDisc Read -Only Memory, CD-ROM) or other optical disk storage, magnetic disk storage, tape storage, or any other computer-readable medium that can be used to carry or store data.

以上对本发明实施例公开的一种图书页面的扫描控制方法及装置、扫描设备进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。The above describes in detail the book page scanning control method and device and scanning equipment disclosed in the embodiment of the present invention. In this paper, specific examples are used to illustrate the principle and implementation of the present invention. The description of the above embodiment is only used To help understand the method of the present invention and its core idea; at the same time, for those of ordinary skill in the art, according to the idea of the present invention, there will be changes in the specific implementation and scope of application. In summary, this specification The content should not be construed as a limitation of the invention.

Claims (11)

1.一种图书页面的扫描控制方法,其特征在于,所述方法包括:1. A scan control method for book pages, characterized in that the method comprises: 在扫描设备的扫描功能启动后,提示用户输入待扫描图书页面的尺寸,并获取用户输入的所述待扫描图书页面的尺寸;After the scanning function of the scanning device is activated, the user is prompted to input the size of the book page to be scanned, and the size of the book page to be scanned input by the user is acquired; 当所述待扫描图书页面的尺寸大于预设尺寸时,从所述待扫描图书页面的不同起始扫描位置对所述待扫描图书页面进行扫描,得到多张扫描图片;When the size of the book page to be scanned is greater than a preset size, the book page to be scanned is scanned from different starting scanning positions of the book page to be scanned to obtain multiple scanned pictures; 确定所述多张扫描图片中各扫描图片间的重叠区域;Determining an overlapping area between each of the scanned pictures in the plurality of scanned pictures; 根据所述多张扫描图片中各扫描图片间的重叠区域拼接所述多张扫描图片得到拼接扫描图片,作为所述待扫描图书页面的扫描图片,所述拼接扫描图片的尺寸等于所述待扫描图书页面的尺寸。The multiple scanned pictures are spliced according to the overlapping areas between the scanned pictures in the multiple scanned pictures to obtain a spliced scanned picture, which is used as the scanned picture of the book page to be scanned, and the size of the spliced scanned picture is equal to the size of the to-be-scanned book page. Dimensions of book pages. 2.根据权利要求1所述的方法,其特征在于,所述确定所述多张扫描图片中各扫描图片间的重叠区域,包括:2. The method according to claim 1, wherein the determining the overlapping area between each scanned picture in the plurality of scanned pictures comprises: 根据所述待扫描图书页面的尺寸、所述多张扫描图片中每张扫描图片的尺寸以及每张扫描图片的起始扫描位置,确定所述多张扫描图片中各扫描图片间的重叠区域;或者,According to the size of the book page to be scanned, the size of each scanned image in the plurality of scanned images, and the initial scanning position of each scanned image, determine the overlapping area between the scanned images in the plurality of scanned images; or, 通过比较所述多张扫描图片中各扫描图片的图片内容,确定所述多张扫描图片中各扫描图片间的重叠区域。By comparing the picture contents of the scanned pictures in the multiple scanned pictures, the overlapping area between the scanned pictures in the multiple scanned pictures is determined. 3.根据权利要求1或2所述的方法,其特征在于,所述待扫描图书页面的尺寸包括所述待扫描图书页面的第一长度以及第一宽度,所述预设尺寸包括第一预设长度以及第一预设宽度;3. The method according to claim 1 or 2, wherein the size of the book page to be scanned includes a first length and a first width of the book page to be scanned, and the preset size includes a first preset size. set the length and the first preset width; 所述当所述待扫描图书页面的尺寸大于预设尺寸时,从所述待扫描图书页面的不同起始扫描位置对所述待扫描图书页面进行扫描,得到多张扫描图片,包括:When the size of the book page to be scanned is larger than the preset size, the book page to be scanned is scanned from different starting scanning positions of the book page to be scanned to obtain multiple scanned pictures, including: 当所述第一长度大于所述第一预设长度且所述第一宽度小于等于所述第一预设宽度时,确定所述待扫描图书页面的尺寸大于所述预设尺寸;When the first length is greater than the first preset length and the first width is less than or equal to the first preset width, determine that the size of the book page to be scanned is greater than the preset size; 以第二长度为扫描长度,从所述待扫描图书页面的顶端开始对所述待扫描图书页面进行扫描,得到第一扫描图片,所述第二长度小于等于所述第一预设长度;Taking the second length as the scanning length, scanning the book page to be scanned from the top of the book page to be scanned to obtain a first scanned image, the second length being less than or equal to the first preset length; 以第三长度为扫描长度,从所述待扫描图书页面的底端开始对所述待扫描图书页面进行扫描,得到第二扫描图片,所述第三长度等于所述第一长度减去所述第二长度再加上第二预设长度,且所述第三长度小于等于所述第一预设长度。Taking the third length as the scanning length, scanning the book page to be scanned from the bottom of the book page to be scanned to obtain a second scanned image, the third length is equal to the first length minus the The second length plus a second preset length, and the third length is less than or equal to the first preset length. 4.根据权利要求1或2所述的方法,其特征在于,所述待扫描图书页面的尺寸包括所述待扫描图书页面的第一长度以及第一宽度,所述预设尺寸包括第一预设长度以及第一预设宽度;4. The method according to claim 1 or 2, wherein the size of the book page to be scanned comprises a first length and a first width of the book page to be scanned, and the preset size comprises a first preset size. set the length and the first preset width; 所述当所述待扫描图书页面的尺寸大于预设尺寸时,从所述待扫描图书页面的不同起始扫描位置对所述待扫描图书页面进行扫描,得到多张扫描图片,包括:When the size of the book page to be scanned is larger than the preset size, the book page to be scanned is scanned from different starting scanning positions of the book page to be scanned to obtain multiple scanned pictures, including: 当所述第一长度小于等于所述第一预设长度且所述第一宽度大于所述第一预设宽度时,确定所述待扫描图书页面的尺寸大于所述预设尺寸;When the first length is less than or equal to the first preset length and the first width is larger than the first preset width, determine that the size of the book page to be scanned is larger than the preset size; 以第二宽度为扫描宽度,从所述待扫描图书页面的左端开始对所述待扫描图书页面进行扫描,得到第三扫描图片,所述第二宽度小于等于所述第一预设宽度;Taking the second width as the scanning width, scanning the book page to be scanned from the left end of the book page to be scanned to obtain a third scanned picture, the second width being less than or equal to the first preset width; 以第三宽度为扫描宽度,从所述待扫描图书页面的右端开始对所述待扫描图书页面进行扫描,得到第四扫描图片,所述第三宽度等于所述第一宽度减去所述第二宽度加上第二预设宽度,且所述第三宽度小于等于所述第一预设宽度。Taking the third width as the scanning width, scanning the book page to be scanned from the right end of the book page to be scanned to obtain a fourth scanned image, the third width is equal to the first width minus the second The second width is added to the second predetermined width, and the third width is less than or equal to the first predetermined width. 5.根据权利要求1或2所述的方法,其特征在于,所述待扫描图书页面的尺寸包括所述待扫描图书页面的第一长度以及第一宽度,所述预设尺寸包括第一预设长度以及第一预设宽度;5. The method according to claim 1 or 2, wherein the size of the book page to be scanned comprises a first length and a first width of the book page to be scanned, and the preset size comprises a first preset size. set the length and the first preset width; 所述当所述待扫描图书页面的尺寸大于预设尺寸时,从所述待扫描图书页面的不同起始扫描位置对所述待扫描图书页面进行扫描,得到多张扫描图片,包括:When the size of the book page to be scanned is larger than the preset size, the book page to be scanned is scanned from different starting scanning positions of the book page to be scanned to obtain multiple scanned pictures, including: 当所述第一长度大于所述第一预设长度且所述第一宽度大于所述第一预设宽度时,确定所述待扫描图书页面的尺寸大于所述预设尺寸;When the first length is greater than the first preset length and the first width is greater than the first preset width, determining that the size of the book page to be scanned is greater than the preset size; 从所述待扫描图书页面的左上端、右上端、左下端以及右下端分别对所述待扫描图书页面进行扫描,得到四张扫描图片,其中,所述四张扫描图片中每张扫描图片的长度均小于等于所述第一预设长度,且所述四张扫描图片中每张扫描图片的宽度均小于等于所述第一预设宽度。Scan the book page to be scanned from the upper left end, upper right end, lower left end and lower right end of the book page to be scanned respectively to obtain four scanned pictures, wherein the scanned picture of each of the four scanned pictures The lengths are all less than or equal to the first preset length, and the width of each of the four scanned pictures is less than or equal to the first preset width. 6.一种图书页面的扫描控制装置,其特征在于,所述装置包括提示单元、获取单元、扫描单元、确定单元以及拼接单元,其中:6. A scanning control device for book pages, characterized in that the device includes a prompt unit, an acquisition unit, a scanning unit, a determination unit and a splicing unit, wherein: 所述提示单元,用于在扫描设备的扫描功能启动后,提示用户输入待扫描图书页面的尺寸;The prompting unit is configured to prompt the user to input the size of the book page to be scanned after the scanning function of the scanning device is activated; 所述获取单元,用于获取用户输入的所述待扫描图书页面的尺寸;The acquiring unit is configured to acquire the size of the book page to be scanned input by the user; 所述扫描单元,用于当所述待扫描图书页面的尺寸大于预设尺寸时,从所述待扫描图书页面的不同起始扫描位置对所述待扫描图书页面进行扫描,得到多张扫描图片;The scanning unit is configured to, when the size of the book page to be scanned is larger than a preset size, scan the book page to be scanned from different starting scanning positions of the book page to be scanned to obtain multiple scanned pictures ; 所述确定单元,用于确定所述多张扫描图片中各扫描图片间的重叠区域;The determination unit is configured to determine an overlapping area between each scanned picture in the plurality of scanned pictures; 所述拼接单元,用于根据所述多张扫描图片中各扫描图片间的重叠区域拼接所述多张扫描图片得到拼接扫描图片,作为所述待扫描图书页面的扫描图片,所述拼接扫描图片的尺寸等于所述待扫描图书页面的尺寸。The splicing unit is configured to splice the multiple scanned pictures according to overlapping areas between the scanned pictures in the multiple scanned pictures to obtain a spliced scanned picture as the scanned picture of the book page to be scanned, and the spliced scanned picture The size of is equal to the size of the book page to be scanned. 7.根据权利要求6所述的装置,其特征在于,所述确定单元确定所述多张扫描图片中各扫描图片间的重叠区域的具体方式为:7. The device according to claim 6, wherein the determining unit determines the overlapping area between the scanned pictures in the plurality of scanned pictures in a specific manner as follows: 根据所述待扫描图书页面的尺寸、所述多张扫描图片中每张扫描图片的尺寸以及每张扫描图片的起始扫描位置,确定所述多张扫描图片中各扫描图片间的重叠区域;或者,According to the size of the book page to be scanned, the size of each scanned image in the plurality of scanned images, and the initial scanning position of each scanned image, determine the overlapping area between the scanned images in the plurality of scanned images; or, 通过比较所述多张扫描图片中各扫描图片的图片内容,确定所述多张扫描图片中各扫描图片间的重叠区域。By comparing the picture contents of the scanned pictures in the multiple scanned pictures, the overlapping area between the scanned pictures in the multiple scanned pictures is determined. 8.根据权利要求6或7所述的装置,其特征在于,所述待扫描图书页面的尺寸包括所述待扫描图书页面的第一长度以及第一宽度,所述预设尺寸包括第一预设长度以及第一预设宽度;8. The device according to claim 6 or 7, wherein the size of the book page to be scanned includes a first length and a first width of the book page to be scanned, and the preset size includes a first preset size. set the length and the first preset width; 所述扫描单元包括确定子单元以及扫描子单元,其中:The scanning unit includes a determination subunit and a scanning subunit, wherein: 所述确定子单元,用于当所述第一长度大于所述第一预设长度且所述第一宽度小于等于所述第一预设宽度时,确定所述待扫描图书页面的尺寸大于所述预设尺寸;The determining subunit is configured to determine that the size of the book page to be scanned is larger than the first preset width when the first length is greater than the first preset length and the first width is smaller than or equal to the first preset width. the preset size; 所述扫描子单元,用于以第二长度为扫描长度,从所述待扫描图书页面的顶端开始对所述待扫描图书页面进行扫描,得到第一扫描图片,所述第二长度小于等于所述第一预设长度,以及以第三长度为扫描长度,从所述待扫描图书页面的底端开始对所述待扫描图书页面进行扫描,得到第二扫描图片,所述第三长度等于所述第一长度减去所述第二长度再加上第二预设长度,且所述第三长度小于等于所述第一预设长度。The scanning subunit is configured to use the second length as the scanning length to start scanning the book page to be scanned from the top of the book page to be scanned to obtain a first scanned picture, and the second length is less than or equal to the The first preset length, and using the third length as the scanning length, start scanning the book page to be scanned from the bottom of the book page to be scanned to obtain a second scanned picture, and the third length is equal to the scanning length The first length minus the second length plus a second preset length, and the third length is less than or equal to the first preset length. 9.根据权利要求6或7所述的装置,其特征在于,所述待扫描图书页面的尺寸包括所述待扫描图书页面的第一长度以及第一宽度,所述预设尺寸包括第一预设长度以及第一预设宽度;9. The device according to claim 6 or 7, wherein the size of the book page to be scanned includes a first length and a first width of the book page to be scanned, and the preset size includes a first preset size. set the length and the first preset width; 所述扫描单元包括确定子单元以及扫描子单元,其中:The scanning unit includes a determination subunit and a scanning subunit, wherein: 所述确定子单元,用于当所述第一长度小于等于所述第一预设长度且所述第一宽度大于所述第一预设宽度时,确定所述待扫描图书页面的尺寸大于所述预设尺寸;The determining subunit is configured to determine that the size of the book page to be scanned is larger than the first preset length when the first length is less than or equal to the first preset length and the first width is larger than the first preset width. the preset size; 所述扫描子单元,用于以第二宽度为扫描宽度,从所述待扫描图书页面的左端开始对所述待扫描图书页面进行扫描,得到第三扫描图片,所述第二宽度小于等于所述第一预设宽度,以及以第三宽度为扫描宽度,从所述待扫描图书页面的右端开始对所述待扫描图书页面进行扫描,得到第四扫描图片,所述第三宽度等于所述第一宽度减去所述第二宽度加上第二预设宽度,且所述第三宽度小于等于所述第一预设宽度。The scanning subunit is configured to use the second width as the scanning width to start scanning the book page to be scanned from the left end of the book page to be scanned to obtain a third scanned picture, and the second width is less than or equal to the The first preset width, and take the third width as the scanning width, start scanning the book page to be scanned from the right end of the book page to be scanned to obtain a fourth scanned image, the third width is equal to the The first width minus the second width plus a second preset width, and the third width is less than or equal to the first preset width. 10.根据权利要求6或7所述的装置,其特征在于,所述待扫描图书页面的尺寸包括所述待扫描图书页面的第一长度以及第一宽度,所述预设尺寸包括第一预设长度以及第一预设宽度;10. The device according to claim 6 or 7, wherein the size of the book page to be scanned includes a first length and a first width of the book page to be scanned, and the preset size includes a first preset size. set the length and the first preset width; 所述扫描单元包括确定子单元以及扫描子单元,其中:The scanning unit includes a determination subunit and a scanning subunit, wherein: 所述确定子单元,用于当所述第一长度大于所述第一预设长度且所述第一宽度大于所述第一预设宽度时,确定所述待扫描图书页面的尺寸大于所述预设尺寸;The determining subunit is configured to determine that the size of the book page to be scanned is larger than the default size; 所述扫描子单元,用于从所述待扫描图书页面的左上端、右上端、左下端以及右下端分别对所述待扫描图书页面进行扫描,得到四张扫描图片,其中,所述四张扫描图片中每张扫描图片的长度均小于等于所述第一预设长度,且所述四张扫描图片中每张扫描图片的宽度均小于等于所述第一预设宽度。The scanning subunit is used to scan the book page to be scanned from the upper left end, upper right end, lower left end and lower right end of the book page to be scanned respectively to obtain four scanned pictures, wherein the four The length of each of the scanned pictures is less than or equal to the first preset length, and the width of each of the four scanned pictures is less than or equal to the first preset width. 11.一种扫描设备,其特征在于,所述扫描设备包括如权利要求6-10任一项所述的图书页面的扫描控制装置。11. A scanning device, characterized in that the scanning device comprises the scanning control device for book pages according to any one of claims 6-10.
CN201610657409.XA 2016-08-11 2016-08-11 Book page scanning control method and device and scanning equipment Expired - Fee Related CN106303133B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610657409.XA CN106303133B (en) 2016-08-11 2016-08-11 Book page scanning control method and device and scanning equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610657409.XA CN106303133B (en) 2016-08-11 2016-08-11 Book page scanning control method and device and scanning equipment

Publications (2)

Publication Number Publication Date
CN106303133A true CN106303133A (en) 2017-01-04
CN106303133B CN106303133B (en) 2019-03-29

Family

ID=57669639

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610657409.XA Expired - Fee Related CN106303133B (en) 2016-08-11 2016-08-11 Book page scanning control method and device and scanning equipment

Country Status (1)

Country Link
CN (1) CN106303133B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107679432A (en) * 2017-09-27 2018-02-09 努比亚技术有限公司 A kind of scan method, terminal and storage medium
CN110020340A (en) * 2017-08-22 2019-07-16 阿里巴巴集团控股有限公司 A kind of method, apparatus and client of data processing
WO2023280173A1 (en) * 2021-07-09 2023-01-12 华为技术有限公司 Scanning method and electronic device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5140647A (en) * 1989-12-18 1992-08-18 Hitachi, Ltd. Image joining method and system
CN1553406A (en) * 2003-06-06 2004-12-08 联想(北京)有限公司 Special template for scanning multi-photo one time and photo automatic dividing method thereof
CN101895664A (en) * 2009-05-19 2010-11-24 株式会社圣度 A4-size scanner for a3 documents with transverse document feeding port
CN104469077A (en) * 2014-12-03 2015-03-25 北京彩艺世纪科技有限公司 Scanner and scanning method
CN104834645A (en) * 2014-02-11 2015-08-12 阿里巴巴集团控股有限公司 Method and device for presenting layout document

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5140647A (en) * 1989-12-18 1992-08-18 Hitachi, Ltd. Image joining method and system
CN1553406A (en) * 2003-06-06 2004-12-08 联想(北京)有限公司 Special template for scanning multi-photo one time and photo automatic dividing method thereof
CN101895664A (en) * 2009-05-19 2010-11-24 株式会社圣度 A4-size scanner for a3 documents with transverse document feeding port
CN104834645A (en) * 2014-02-11 2015-08-12 阿里巴巴集团控股有限公司 Method and device for presenting layout document
CN104469077A (en) * 2014-12-03 2015-03-25 北京彩艺世纪科技有限公司 Scanner and scanning method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110020340A (en) * 2017-08-22 2019-07-16 阿里巴巴集团控股有限公司 A kind of method, apparatus and client of data processing
CN107679432A (en) * 2017-09-27 2018-02-09 努比亚技术有限公司 A kind of scan method, terminal and storage medium
WO2023280173A1 (en) * 2021-07-09 2023-01-12 华为技术有限公司 Scanning method and electronic device

Also Published As

Publication number Publication date
CN106303133B (en) 2019-03-29

Similar Documents

Publication Publication Date Title
US8508787B2 (en) System and method for automatic translation of documents scanned by multifunctional printer machines
CN106598527B (en) The method and apparatus of position of display unit in identification display equipment
US9628646B2 (en) Augmented reality operation system and augmented reality operation method
CN106303133B (en) Book page scanning control method and device and scanning equipment
CN104346385A (en) Cloud server and image storage system
US20160163013A1 (en) Data processing system and data processing method
KR101638327B1 (en) Manufacturing system for e-book using a smart phone
US9749487B2 (en) Document reading device that detects orientation of image read from spread document
JPH10228547A (en) Method, device for editing image and storage medium
US10657723B2 (en) Image processing apparatus and image processing method
JP6778399B2 (en) Image reader, image forming device, image reading method and image reading program
KR20190007696A (en) Method and computer readable medium of converting non-electric documents to electric document
CN106155994A (en) Page content comparison method and device and terminal equipment
JP6516225B2 (en) Image forming apparatus and image forming method
JP2019062415A (en) Image processor and program
US10762344B2 (en) Method and system for using whiteboard changes as interactive directives for vectorization software
US7605944B2 (en) Method of creating a plurality of images by single scanning and apparatus using the same
CN107025079B (en) System and method for document reproduction
CN106209960A (en) Communication terminal, communication system and communication means
TWI492145B (en) An e-book displaying method
JP6393999B2 (en) Image output device, image output system, image output control method, and image output control program
CN111448599A (en) Program creation assistance system, method thereof, and program
KR101591627B1 (en) Apparatus and method for managing printout
JP2018182451A (en) Image checking apparatus, image checking method, and program
KR101351558B1 (en) Data transforming device and method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20190329

Termination date: 20210811