CN109754367A - For the image split-joint method of mobile phone end, system, equipment and storage medium - Google Patents
For the image split-joint method of mobile phone end, system, equipment and storage medium Download PDFInfo
- Publication number
- CN109754367A CN109754367A CN201811618815.0A CN201811618815A CN109754367A CN 109754367 A CN109754367 A CN 109754367A CN 201811618815 A CN201811618815 A CN 201811618815A CN 109754367 A CN109754367 A CN 109754367A
- Authority
- CN
- China
- Prior art keywords
- image
- mobile phone
- phone end
- overlapping region
- benchmark
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 41
- 238000003384 imaging method Methods 0.000 claims abstract description 31
- 239000003550 marker Substances 0.000 claims abstract description 24
- 239000011159 matrix material Substances 0.000 claims description 10
- 238000010586 diagram Methods 0.000 description 10
- 230000008569 process Effects 0.000 description 5
- 238000004891 communication Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 4
- 230000000694 effects Effects 0.000 description 2
- 230000005291 magnetic effect Effects 0.000 description 2
- 238000003672 processing method Methods 0.000 description 2
- 230000001960 triggered effect Effects 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 238000013473 artificial intelligence Methods 0.000 description 1
- 210000004027 cell Anatomy 0.000 description 1
- 230000010485 coping Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000004927 fusion Effects 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 210000000352 storage cell Anatomy 0.000 description 1
- 230000007704 transition Effects 0.000 description 1
Abstract
The present invention provides a kind of for the image split-joint method of mobile phone end, system, equipment and storage medium, includes the following steps the posture for adjusting mobile phone end, so that one is located in a setting regions with the posture marker of mobile phone end attitudes vibration;When posture marker is located in a setting regions, benchmark image is acquired, according to the generation of benchmark image imaging region corresponding with benchmark image;Preview another image to be collected generates overlapping region according to imaging region and another image to be collected and shows overlapping region, and then when overlapping region meets the first preset rules, acquires another image;Stitching image will be generated in another image mosaic to benchmark image.By adjusting the posture of mobile phone end in the present invention, inclination of the mobile phone end when taking pictures is avoided, realizes and only just acquires benchmark image when mobile phone is placed vertically, provides the quality of benchmark image, and then improve the quality of image mosaic.
Description
Technical field
The present invention relates to image procossings, and in particular, to it is a kind of for the image split-joint method of mobile phone end, system,
Equipment and storage medium.
Background technique
New retail, i.e. enterprise are to rely on internet, right by using the advanced technologies means such as big data, artificial intelligence
The production of commodity, circulation and sales process carry out upgrading, and then remold industry situation structure and the ecosphere, and to online service,
Line experience and modern logistics carry out the retail new model of depth integration.
In the build process of new retail trade system, need to be acquired the image of shelf, to rebuild simultaneously shelf
Identify the merchandise news on shelf.And in supermarket, market and some convenience stores, multiple shelf be arranged successively to be formed it is longer
Sequence, therefore can not be realized by camera and entire row shelf are acquired.When collected shelf image is more than certain length,
Commodity on image can show fuzzy, it is not easy to be identified.Therefore it when being rebuild by the image of shelf to shelf, needs
Piecewise acquisition is carried out to shelf, the image mosaic of multiple shelf is formed to whole image of shelf.
Traditional image mosaic technology is that several images are carried out simple Weighted Fusion or processing of being fade-in fade-out.But work as
When target area is located at overlapping region, target distortion can be made.When target area is located at splicing seam, it is bright to show same target
Spend different or obscurity boundary.In addition, leading to overlapping portion subhead when the transition matrix that registration Algorithm obtains not is optimal solution
There is " ghost " in rotating savings.
Summary of the invention
For the defects in the prior art, the object of the present invention is to provide a kind of image mosaic sides for mobile phone end
Method, system, equipment and storage medium.
The image split-joint method for mobile phone end provided according to the present invention, includes the following steps:
Step S1: adjusting the posture of the mobile phone end so that one with the mobile phone end attitudes vibration posture
Marker is located in a setting regions;
Step S2: when the posture marker is located in a setting regions, benchmark image is acquired, according to the reference map
The generation of picture imaging region corresponding with the benchmark image;
Step S3: preview another image to be collected, it is raw according to the imaging region and another image to be collected
It at overlapping region and shows the overlapping region, and then when the overlapping region meets the first preset rules, acquires another figure
Picture;Just
Step S4: stitching image will be generated in another image mosaic to the benchmark image.
Preferably, further include following steps:
Step S5: repeating step S3 to step S4, multiple collected images are spliced to extend the spelling
Map interlinking picture.
Preferably, the overlapping region meets the first preset rules, specifically includes following any or appoints multiple rule:
The area of the overlapping region is greater than preset area threshold value;
The Minimum Internal Angle of the overlapping region is greater than predetermined angle threshold value;
The shape of the overlapping region is quadrangle.
Preferably, the posture marker includes first identifier object and second identifier object;The setting regions is along level
Intersection point between the horizontal axis of direction extension and the longitudinal axis extended along the vertical direction;
When the mobile phone end tilts in the lateral direction, the first identifier object is moved along the horizontal axis, when described
When mobile phone end tilts forward and backward, the second identifier object is moved along the longitudinal axis.
Preferably, in step S3 and step S2, an image acquisition region is pre-seted;
When the posture marker is located in a setting regions, described image pickup area and the mobile phone end into
The image preview area having when row Image Acquisition coincides;
When the mobile phone end tilts a tilt angle to the left or to the right, described image pickup area is in described image
The tilt angle is rotated backward in preview area.
Preferably, the step S3 includes the following steps:
Step S301: preview another image to be collected, when the mobile phone end tilts an inclination angle to the left or to the right
When spending, described image pickup area rotates backward the tilt angle in described image preview area;
Step S302: overlapping region is generated according to described image pickup area and the imaging region and shows the overlapping
Region;
Step S303: when the overlapping region meets first preset rules, preview in image acquisition region is acquired
Imaging as another image.
When preferably, by stitching image is generated in another image mosaic to the benchmark image, include the following steps:
Step M1: multiple second in the multiple first kind characteristic points and another image on the benchmark image are extracted
Category feature point;
Step M2: multiple characteristic points for not only having belonged to the first kind characteristic point but also belong to the second category feature point are selected
As public matching characteristic point;
Step M3: homography matrix is solved according to the public matching characteristic point;
Step M4: the benchmark image and another image are carried out by image mosaic by the homography matrix.
The image mosaic system for mobile phone end provided according to the present invention, for realizing described for intelligent hand
The image split-joint method of generator terminal, comprising:
Posture marker control module, for when the attitudes vibration of the mobile phone end, so that the posture identifies
The position of object is with the mobile phone end attitudes vibration;
Imaging region generation module, for acquiring benchmark image when the posture marker is located in a setting regions
Afterwards according to the generation of benchmark image imaging region corresponding with the benchmark image;
Overlapping region display module, another image to be collected for preview, according to imaging region and described to be collected
Another image generates overlapping region and shows the overlapping region, and then when the overlapping region meets the first preset rules,
Acquire another image;
Image mosaic module, for stitching image will to be generated in another image mosaic to the benchmark image.
The image mosaic device for mobile phone end provided according to the present invention, comprising:
Processor;
Memory, wherein being stored with the executable instruction of the processor;
Wherein, the processor is configured to execute via the executable instruction is executed described for mobile phone end
The step of image split-joint method.
The computer readable storage medium provided according to the present invention, for storing program, described program is performed realization
The step of image split-joint method for mobile phone end.
Compared with prior art, the present invention have it is following the utility model has the advantages that
1, by adjusting the posture of the mobile phone end in the present invention, so that one with the mobile phone end attitudes vibration
Posture marker acquire benchmark image when being located in a setting regions, avoid inclination of the mobile phone end when taking pictures, it is real
Benchmark image is now only just acquired when mobile phone is placed vertically, provides the quality of benchmark image, and then improve the matter of image mosaic
Amount;
2, the present invention, being capable of another image of preview and first collected benchmark image when acquiring another image to be spliced
Overlapping region acquire another image only when overlapping region meets the first preset rules, and by another image mosaic to described
On benchmark image, the matching effect for collecting another image and benchmark image ensure that, improve the quality of image mosaic;
3, incline in preview another image to be collected when the mobile phone end tilts one to the left or to the right in the present invention
When rake angle, described image pickup area rotates backward the tilt angle in described image preview area, and when described
When overlapping region meets first preset rules, the imaging of preview in image acquisition region is acquired as another image,
It ensure that another image of acquisition does not tilt, improve the quality of another image, and then improve the quality of image mosaic.
Detailed description of the invention
Upon reading the detailed description of non-limiting embodiments with reference to the following drawings, other feature of the invention,
Objects and advantages will become more apparent upon:
Fig. 1 is the step flow chart in the present invention for the image split-joint method of mobile phone end;
Fig. 2 is the step flow chart in variation of the present invention for the image split-joint method of mobile phone end;
Fig. 3 is the step flow chart of mobile phone end pose adjustment in the present invention;
Fig. 4 is the step flow chart for carrying out another Image Acquisition in the present invention according to image acquisition region;
Fig. 5 is the step flow chart of image mosaic detailed process in the present invention;
Fig. 6 is that posture identifies the interface schematic diagram shown in level and setting regions in the present invention;
Fig. 7 is the interface schematic diagram for carrying out another Image Acquisition in the present invention according to image acquisition region;
Fig. 8 is the module diagram in the present invention for the image mosaic system of mobile phone end;
Fig. 9 is the structural schematic diagram in the present invention for the image mosaic device of mobile phone end;And
Figure 10 is the structural schematic diagram of computer readable storage medium in the present invention.
In figure:
1 is smart phone image preview area;
2 be button of taking pictures;
3 be save button;
4 be splicing preview area;
5 be back return button;
6 be imaging region;
7 be image acquisition region;
8 be overlapping region;
9 be another image preview area.
Specific embodiment
The present invention is described in detail combined with specific embodiments below.Following embodiment will be helpful to the technology of this field
Personnel further understand the present invention, but the invention is not limited in any way.It should be pointed out that the ordinary skill of this field
For personnel, without departing from the inventive concept of the premise, various modifications and improvements can be made.These belong to the present invention
Protection scope.
Fig. 1 is the step flow chart in the present invention for the image split-joint method of mobile phone end, as shown in Figure 1, this hair
The image split-joint method for mobile phone end of bright offer, includes the following steps:
Step S1: adjusting the posture of the mobile phone end so that one with the mobile phone end attitudes vibration posture
Marker is located in a setting regions;
Step S2: when the posture marker is located in a setting regions, benchmark image is acquired, according to the reference map
The generation of picture imaging region corresponding with the benchmark image;
Step S3: preview another image to be collected generates weight according to imaging region and another image to be collected
Folded region simultaneously shows the overlapping region, and then when the overlapping region meets the first preset rules, acquires another image;
Step S4: stitching image will be generated in another image mosaic to the benchmark image.
In the present embodiment, in the present invention by adjusting the posture of the mobile phone end, so that one with the intelligent hand
The posture marker of generator terminal attitudes vibration acquires benchmark image when being located in a setting regions, avoids mobile phone end and is taking pictures
When inclination, realize and only just acquire benchmark image when mobile phone is placed vertically, provide the quality of benchmark image, and then improve and scheme
As the quality of splicing.
In the present embodiment, in the generation imaging region corresponding with the benchmark image according to the benchmark image
Afterwards, the overlapping region for generating another image and the imaging region to be collected is tracked to object using optical flow method.
In the present embodiment, the overlapping region meets the first preset rules, specifically includes following any or appoints a variety of
Rule:
The area of the overlapping region is greater than preset area threshold value;
The Minimum Internal Angle of the overlapping region is greater than predetermined angle threshold value;
The shape of the overlapping region is quadrangle.
In the present embodiment, the predetermined angle threshold value can be 30 °, and the preset area threshold value can mutually splice
The lesser image of area and overlapping region area ratio are less than one third in two images.
Certainly, it is not limited thereto, in variation, other corresponding rules can also be set, to mention as needed
The quality of hi-vision splicing.
Fig. 6 is that posture identifies the interface schematic diagram shown in level and setting regions in the present invention, as shown in fig. 6, described
Posture marker includes first identifier object and second identifier object;The setting regions is for horizontally extending horizontal axis and along perpendicular
Histogram is to the intersection point between the longitudinal axis of extension;
When the mobile phone end tilts in the lateral direction, the first identifier object is moved along the horizontal axis, when described
When mobile phone end tilts forward and backward, the second identifier object is moved along the longitudinal axis.
The left and right directions and the front-rear direction be when operator holds mobile phone relative to the left and right of operator before
Rear direction.
In variation, the setting regions can be a border circular areas, by the first identifier object and second identifier object
The levelling that smart phone posture can be realized is moved in the border circular areas.
Fig. 2 is the step flow chart in variation of the present invention for the image split-joint method of mobile phone end, such as Fig. 2 institute
Show, further include following steps provided by the present invention for the image split-joint method of mobile phone end:
Step S5: repeating step S3 to step S4, multiple collected images are spliced to extend the spelling
Map interlinking picture.
In variation, the present invention can successively splice multiple images in chronological order, the integral spelling of shape
Map interlinking picture, that is to say, that the present invention constantly can acquire photo, constantly be spliced to established on the basis of the above embodiments
Spliced map on piece realizes that the continuous extension of splicing picture expands.
Fig. 3 is the step flow chart of mobile phone end pose adjustment in the present invention, as shown in figure 3, the step S1 includes
Following steps:
Step S101: the mobile mobile phone end makes the first identifier object be moved to the horizontal axis along the horizontal axis
With the intersection point of the longitudinal axis;
Step S102: the mobile mobile phone end makes the second identifier object be moved to the horizontal axis along the horizontal axis
With the intersection point of the longitudinal axis;
Step S103: adjusting the posture of the mobile phone end again, so that the first identifier object, the second identifier
Object, the intersection point coincide.
In the present embodiment, when the first identifier object, the second identifier object, the intersection point coincide, the hand
The leading flank of machine or trailing flank are vertical with the ground.
Certainly in variation, operator can be adjusted manually according to the position of first identifier object and second identifier object
It is whole, so that the first identifier object, the second identifier object move in the intersection point.
In the present embodiment, in step S3 and step S2, an image acquisition region is pre-seted;
When the posture marker is located in a setting regions, described image pickup area and the mobile phone end into
The image preview area having when row Image Acquisition coincides;
When the mobile phone end tilts a tilt angle to the left or to the right, described image pickup area is in described image
The tilt angle is rotated backward in preview area.
The center of described image pickup area and the center of described image preview area coincide.By in mobile phone end
The tilt angle that the sensor of setting obtains mobile phone end, which can calculate, states four coordinates of image acquisition region.Such as Fig. 7
Shown, if the width of image preview area is w, length h, first point of coordinate is (x, y), the tilt angle of mobile phone end
For θ, thenFirst point of coordinate is calculated, and then generates it
The coordinate of excess-three point can be that θ generates image acquisition region according to rake angle.
Fig. 4 is the step flow chart for carrying out another Image Acquisition in the present invention according to image acquisition region, as shown in figure 4,
Provided by the present invention for the image split-joint method of mobile phone end, the step S3 includes the following steps:
Step S301: preview another image to be collected, when the mobile phone end tilts an inclination angle to the left or to the right
When spending, described image pickup area rotates backward the tilt angle in described image preview area;
Step S302: overlapping region is generated according to described image pickup area and the imaging region and shows the overlapping
Region;
Step S303: when the overlapping region meets first preset rules, preview in image acquisition region is acquired
Imaging as another image.
In the present embodiment, the present invention in preview another image to be collected, when the mobile phone end to the left or
When the tilt angle that is tilted to the right, described image pickup area rotates backward the inclination angle in described image preview area
Degree, and when the overlapping region meets first preset rules, acquire the imaging conduct of preview in image acquisition region
Another image ensure that another image of acquisition does not tilt, and improve the quality of another image, and then improve image mosaic
Quality.
Fig. 5 is the step flow chart of image mosaic detailed process in the present invention, as shown in figure 5, provided by the present invention for
The image split-joint method of mobile phone end, when by generating stitching image in another image mosaic to the benchmark image, packet
Include following steps:
Step M1: multiple second in the multiple first kind characteristic points and another image on the benchmark image are extracted
Category feature point;
Step M2: multiple characteristic points for not only having belonged to the first kind characteristic point but also belong to the second category feature point are selected
As public matching characteristic point;
Step M3: homography matrix is solved according to the public matching characteristic point;
Step M4: the benchmark image and another image are carried out by image mosaic by the homography matrix.
In the present embodiment, the extraction of first kind characteristic point and the second category feature point uses SIFT (Scale-Invariant
Features, size constancy feature) feature point detecting method, the innovatory algorithm of SIFT can also be used.For homography matrix
Solution is technology well-known in the art, for example can solve homography matrix according to the homogeneous coordinates of matching characteristic point,
The homography matrix is marked with H, is not stated in detail herein.
Fig. 7 is the interface schematic diagram for carrying out another Image Acquisition in the present invention according to image acquisition region, as shown in fig. 7,
When using the image split-joint method provided by the present invention for mobile phone end, passes through smart phone first and acquire first figure
Then picture generates imaging region 6 according to first image, then preview second image to be collected, i.e., another image work as hand
When machine tilts, described image pickup area 7 is rotated backward to keep the side up and down for stating image acquisition region 7 parallel to the ground,
Described image pickup area 7 and the imaging region 6 form overlapping region 8, when being moved to the left second image 2, overlay region
The area in domain 8 accordingly reduces, when the area of overlapping region 8 accordingly be contracted to be less than given threshold, such as the five of mobile phone screen area
/ mono-, button 2 of taking pictures at this time is in the state that can not be triggered.When overlapping region 8 meets the first preset rules, button of taking pictures
2, in the state that can be triggered, can acquire second image at this time, and show the spelling being spliced to form in splicing preview area 4
Map interlinking picture.When user is unsatisfied with stitching image, shooting can be re-started by back return button 5.After splicing is completed
It is exited by save button 3.Can certainly according to the overlapping region that imaging region 6 and another image preview area 9 are formed into
The judgement of the first preset rules of row, the triggering for the button 2 that take pictures.
Fig. 8 is the module diagram in the present invention for the image mosaic system of mobile phone end, as shown in figure 8, this hair
The image mosaic system 100 for mobile phone end of bright offer is spelled for realizing the image for mobile phone end
Connect method, comprising:
Posture marker control module 101, for when the attitudes vibration of the mobile phone end, so that the posture mark
The position of object is known with the mobile phone end attitudes vibration;
Imaging region generation module 102, for acquiring reference map when the posture marker is located in a setting regions
According to the generation imaging region corresponding with the benchmark image of the benchmark image as after;
Overlapping region display module 103, another image to be collected for preview, according to imaging region with it is described to be collected
Another image generate overlapping region and show the overlapping region, and then when the overlapping region meets the first preset rules
When, acquire another image;
Image mosaic module 104, for stitching image will to be generated in another image mosaic to the benchmark image.
A kind of image mosaic device for mobile phone end, including processor are also provided in the embodiment of the present invention.Storage
Device, wherein being stored with the executable instruction of processor.Wherein, processor is configured to be performed use via execution executable instruction
In the image split-joint method of mobile phone end the step of.
As above, in the embodiment by adjusting the posture of the mobile phone end, so that one with the mobile phone end appearance
The posture marker of state variation acquires benchmark image when being located in a setting regions, avoids mobile phone end inclining when taking pictures
Tiltedly, it realizes and only just acquires benchmark image when mobile phone is placed vertically, provide the quality of benchmark image, and then improve image mosaic
Quality.
Person of ordinary skill in the field it is understood that various aspects of the invention can be implemented as system, method or
Program product.Therefore, various aspects of the invention can be embodied in the following forms, it may be assumed that complete hardware embodiment, complete
The embodiment combined in terms of full Software Implementation (including firmware, microcode etc.) or hardware and software, can unite here
Referred to as " circuit ", " module " or " platform ".
Fig. 9 is the structural schematic diagram in the present invention for the image mosaic device of mobile phone end.It is retouched referring to Fig. 9
State the electronic equipment 600 of this embodiment according to the present invention.The electronic equipment 600 that Fig. 9 is shown is only an example, no
The function and use scope for coping with the embodiment of the present invention bring any restrictions.
As shown in figure 9, electronic equipment 600 is showed in the form of universal computing device.The component of electronic equipment 600 can wrap
Include but be not limited to: at least one processing unit 610, at least one storage unit 620, connection different platform component (including storage
Unit 620 and processing unit 610) bus 630, display unit 640 etc..
Wherein, storage unit is stored with program code, and program code can be executed with unit 610 processed, so that processing is single
Member 610 executes various exemplary implementations according to the present invention described in this specification above-mentioned electronic prescription circulation processing method part
The step of mode.For example, processing unit 610 can execute step as shown in fig. 1.
Storage unit 620 may include the readable medium of volatile memory cell form, such as Random Access Storage Unit
(RAM) 6201 and/or cache memory unit 6202, it can further include read-only memory unit (ROM) 6203.
Storage unit 620 can also include program/utility with one group of (at least one) program module 6205
6204, such program module 6205 includes but is not limited to: operating system, one or more application program, other program moulds
It may include the realization of network environment in block and program data, each of these examples or certain combination.
Bus 630 can be to indicate one of a few class bus structures or a variety of, including storage unit bus or storage
Cell controller, peripheral bus, graphics acceleration port, processing unit use any bus structures in a variety of bus structures
Local bus.
Electronic equipment 600 can also be with one or more external equipments 700 (such as keyboard, sensing equipment, bluetooth equipment
Deng) communication, can also be enabled a user to one or more equipment interact with the electronic equipment 600 communicate, and/or with make
Any equipment (such as the router, modulation /demodulation that the electronic equipment 600 can be communicated with one or more of the other calculating equipment
Device etc.) communication.This communication can be carried out by input/output (I/O) interface 650.Also, electronic equipment 600 can be with
By network adapter 660 and one or more network (such as local area network (LAN), wide area network (WAN) and/or public network,
Such as internet) communication.Network adapter 660 can be communicated by bus 630 with other modules of electronic equipment 600.It should
Understand, although being not shown in Fig. 8, other hardware and/or software module can be used in conjunction with electronic equipment 600, including unlimited
In: microcode, device driver, redundant processing unit, external disk drive array, RAID system, tape drive and number
According to backup storage platform etc..
A kind of computer readable storage medium is also provided in the embodiment of the present invention, for storing program, program is performed
The step of image split-joint method of realization.In some possible embodiments, various aspects of the invention are also implemented as
A kind of form of program product comprising program code, when program product is run on the terminal device, program code is for making
Terminal device executes various exemplary according to the present invention described in this specification above-mentioned electronic prescription circulation processing method part
The step of embodiment.
As it appears from the above, the program of the computer readable storage medium of the embodiment is when being executed, in the present invention by adjusting
The posture of the mobile phone end, so that one is located at a setting regions with the posture marker of the mobile phone end attitudes vibration
Benchmark image is acquired when interior, avoids inclination of the mobile phone end when taking pictures, and is realized and is only just acquired when mobile phone is placed vertically
Benchmark image provides the quality of benchmark image, and then improves the quality of image mosaic.
Figure 10 is the structural schematic diagram of computer readable storage medium of the invention.Refering to what is shown in Fig. 10, describing basis
The program product 800 for realizing the above method of embodiments of the present invention can be deposited using portable compact disc is read-only
Reservoir (CD-ROM) and including program code, and can be run on terminal device, such as PC.However, of the invention
Program product is without being limited thereto, and in this document, readable storage medium storing program for executing can be any tangible medium for including or store program, should
Program can be commanded execution system, device or device use or in connection.
Program product can be using any combination of one or more readable mediums.Readable medium can be readable signal Jie
Matter or readable storage medium storing program for executing.Readable storage medium storing program for executing for example can be but be not limited to electricity, magnetic, optical, electromagnetic, infrared ray or partly lead
System, device or the device of body, or any above combination.More specific example (the non exhaustive column of readable storage medium storing program for executing
Table) it include: the electrical connection with one or more conducting wires, portable disc, hard disk, random access memory (RAM), read-only storage
Device (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read only memory (CD-
ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.
Computer readable storage medium may include in a base band or as carrier wave a part propagate data-signal,
In carry readable program code.The data-signal of this propagation can take various forms, including but not limited to electromagnetic signal,
Optical signal or above-mentioned any appropriate combination.Readable storage medium storing program for executing can also be any readable Jie other than readable storage medium storing program for executing
Matter, the readable medium can send, propagate or transmit for by instruction execution system, device or device use or and its
The program of combined use.The program code for including on readable storage medium storing program for executing can transmit with any suitable medium, including but not
It is limited to wireless, wired, optical cable, RF etc. or above-mentioned any appropriate combination.
The program for executing operation of the present invention can be write with any combination of one or more programming languages
Code, programming language include object oriented program language-Java, C++ etc., further include conventional process
Formula programming language-such as " C " language or similar programming language.Program code can be calculated fully in user
It executes in equipment, partly execute on a user device, executing, as an independent software package partially in user calculating equipment
Upper part executes on a remote computing or executes in remote computing device or server completely.It is being related to remotely counting
In the situation for calculating equipment, remote computing device can pass through the network of any kind, including local area network (LAN) or wide area network
(WAN), it is connected to user calculating equipment, or, it may be connected to external computing device (such as utilize ISP
To be connected by internet).
In the present embodiment, in the present invention by adjusting the posture of the mobile phone end, so that one with the intelligent hand
The posture marker of generator terminal attitudes vibration acquires benchmark image when being located in a setting regions, avoids mobile phone end and is taking pictures
When inclination, realize and only just acquire benchmark image when mobile phone is placed vertically, provide the quality of benchmark image, and then improve and scheme
As the quality of splicing;The present invention, being capable of another image of preview and first collected benchmark when acquiring another image to be spliced
The overlapping region of image acquires another image, and extremely by another image mosaic only when overlapping region meets the first preset rules
On the benchmark image, the matching effect for collecting another image and benchmark image ensure that, improve the quality of image mosaic;
In the present invention in preview another image to be collected, when the mobile phone end tilts a tilt angle to the left or to the right,
Described image pickup area rotates backward the tilt angle in described image preview area, and accords with when the overlapping region
When closing first preset rules, the imaging of preview in image acquisition region is acquired as another image, ensure that acquisition
Another image do not tilt, improve the quality of another image, and then improve the quality of image mosaic.
Specific embodiments of the present invention are described above.It is to be appreciated that the invention is not limited to above-mentioned
Particular implementation, those skilled in the art can make various deformations or amendments within the scope of the claims, this not shadow
Ring substantive content of the invention.
Claims (10)
1. a kind of image split-joint method for mobile phone end, which comprises the steps of:
Step S1: adjusting the posture of the mobile phone end, so that one identifies with the posture of the mobile phone end attitudes vibration
Level is in a setting regions;
Step S2: when the posture marker is located in a setting regions, benchmark image is acquired, according to the benchmark image
Generate imaging region corresponding with the benchmark image;
Step S3: preview another image to be collected generates weight according to the imaging region and another image to be collected
Folded region simultaneously shows the overlapping region, and then when the overlapping region meets the first preset rules, acquires another image;
Step S4: stitching image will be generated in another image mosaic to the benchmark image.
2. the image split-joint method according to claim 1 for mobile phone end, which is characterized in that further include walking as follows
It is rapid:
Step S5: repeating step S3 to step S4, multiple collected images are spliced to extend the spliced map
Picture.
3. the image split-joint method according to claim 1 for mobile phone end, which is characterized in that the overlapping region
Meet the first preset rules, specifically include following any or appoint multiple rule:
The area of the overlapping region is greater than preset area threshold value;
The Minimum Internal Angle of the overlapping region is greater than predetermined angle threshold value;
The shape of the overlapping region is quadrangle.
4. the image split-joint method according to claim 1 for mobile phone end, which is characterized in that the posture mark
Object includes first identifier object and second identifier object;The setting regions is horizontally extending horizontal axis and prolongs along the vertical direction
The intersection point between the longitudinal axis stretched;
When the mobile phone end tilts in the lateral direction, the first identifier object is moved along the horizontal axis, when the intelligence
When mobile phone terminal tilts forward and backward, the second identifier object is moved along the longitudinal axis.
5. the image split-joint method according to claim 1 for mobile phone end, which is characterized in that in step S3 and step
In rapid S2, an image acquisition region is pre-seted;
When the posture marker is located in a setting regions, described image pickup area and the mobile phone end carry out figure
As the image preview area having when acquisition coincides;
When the mobile phone end tilts a tilt angle to the left or to the right, described image pickup area is in described image preview
The tilt angle is rotated backward in region.
6. the image split-joint method according to claim 5 for mobile phone end, which is characterized in that the step S3 packet
Include following steps:
Step S301: preview another image to be collected, when the mobile phone end tilts a tilt angle to the left or to the right,
Described image pickup area rotates backward the tilt angle in described image preview area;
Step S302: overlapping region is generated according to described image pickup area and the imaging region and shows the overlay region
Domain;
Step S303: when the overlapping region meets first preset rules, acquire image acquisition region in preview at
As being used as another image.
7. the image split-joint method according to claim 1 for mobile phone end, which is characterized in that by another figure
When generating stitching image as being spliced on the benchmark image, include the following steps:
Step M1: multiple second classes extracted in the multiple first kind characteristic points and another image on the benchmark image are special
Sign point;
Step M2: multiple characteristic point conducts for not only having belonged to the first kind characteristic point but also belong to the second category feature point are selected
Public matching characteristic point;
Step M3: homography matrix is solved according to the public matching characteristic point;
Step M4: the benchmark image and another image are carried out by image mosaic by the homography matrix.
8. a kind of image mosaic system for mobile phone end, for realizing being used for described in any one of claims 1 to 7
The image split-joint method of mobile phone end characterized by comprising
Posture marker control module, for when the attitudes vibration of the mobile phone end, so that the posture marker
Position is with the mobile phone end attitudes vibration;
Imaging region generation module, for acquiring root after benchmark image when the posture marker is located in a setting regions
According to the generation of benchmark image imaging region corresponding with the benchmark image;
Overlapping region display module, another image to be collected for preview, according to imaging region with it is described to be collected another
Image generates overlapping region and shows the overlapping region, and then when the overlapping region meets the first preset rules, acquisition
Another image;
Image mosaic module, for stitching image will to be generated in another image mosaic to the benchmark image.
9. a kind of image mosaic device for mobile phone end characterized by comprising
Processor;
Memory, wherein being stored with the executable instruction of the processor;
Wherein, the processor is configured to come any one of perform claim requirement 1 to 7 institute via the execution executable instruction
The step of stating the image split-joint method for mobile phone end.
10. a kind of computer readable storage medium, for storing program, which is characterized in that described program is performed realization power
Benefit require any one of 1 to 7 described in be used for mobile phone end image split-joint method the step of.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811618815.0A CN109754367A (en) | 2018-12-28 | 2018-12-28 | For the image split-joint method of mobile phone end, system, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811618815.0A CN109754367A (en) | 2018-12-28 | 2018-12-28 | For the image split-joint method of mobile phone end, system, equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109754367A true CN109754367A (en) | 2019-05-14 |
Family
ID=66404289
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811618815.0A Pending CN109754367A (en) | 2018-12-28 | 2018-12-28 | For the image split-joint method of mobile phone end, system, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109754367A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114040096A (en) * | 2021-10-27 | 2022-02-11 | 上海小零网络科技有限公司 | Auxiliary shooting method, device, equipment and medium for shelf image |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104469121A (en) * | 2013-09-16 | 2015-03-25 | 联想(北京)有限公司 | Information processing method and electronic equipment |
US20180234639A1 (en) * | 2017-02-15 | 2018-08-16 | Lg Electronics Inc. | Mobile terminal and controlling method thereof |
CN108648140A (en) * | 2018-04-12 | 2018-10-12 | 上海扩博智能技术有限公司 | Image split-joint method, system, equipment and storage medium |
-
2018
- 2018-12-28 CN CN201811618815.0A patent/CN109754367A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104469121A (en) * | 2013-09-16 | 2015-03-25 | 联想(北京)有限公司 | Information processing method and electronic equipment |
US20180234639A1 (en) * | 2017-02-15 | 2018-08-16 | Lg Electronics Inc. | Mobile terminal and controlling method thereof |
CN108648140A (en) * | 2018-04-12 | 2018-10-12 | 上海扩博智能技术有限公司 | Image split-joint method, system, equipment and storage medium |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114040096A (en) * | 2021-10-27 | 2022-02-11 | 上海小零网络科技有限公司 | Auxiliary shooting method, device, equipment and medium for shelf image |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109697688B (en) | Method and device for image processing | |
US10284794B1 (en) | Three-dimensional stabilized 360-degree composite image capture | |
CN108986016B (en) | Image beautifying method and device and electronic equipment | |
CN107665479A (en) | A kind of feature extracting method, panorama mosaic method and its device, equipment and computer-readable recording medium | |
CN108604379A (en) | System and method for determining the region in image | |
CN110390640A (en) | Graph cut image split-joint method, system, equipment and medium based on template | |
JP6500355B2 (en) | Display device, display program, and display method | |
US10403001B2 (en) | Producing three-dimensional representation based on images of an object | |
CN110986969B (en) | Map fusion method and device, equipment and storage medium | |
CN110648363A (en) | Camera posture determining method and device, storage medium and electronic equipment | |
CN109032348A (en) | Intelligence manufacture method and apparatus based on augmented reality | |
CN108648140A (en) | Image split-joint method, system, equipment and storage medium | |
CN112991178B (en) | Image splicing method, device, equipment and medium | |
CN108648149A (en) | Image split-joint method, system, equipment based on augmented reality and storage medium | |
US20090059018A1 (en) | Navigation assisted mosaic photography | |
CN114782646A (en) | House model modeling method and device, electronic equipment and readable storage medium | |
CN109448105B (en) | Three-dimensional human body skeleton generation method and system based on multi-depth image sensor | |
CN106997366B (en) | Database construction method, augmented reality fusion tracking method and terminal equipment | |
CN114399610A (en) | Texture mapping system and method based on guide prior | |
CN109754367A (en) | For the image split-joint method of mobile phone end, system, equipment and storage medium | |
CN111784842B (en) | Three-dimensional reconstruction method, device, equipment and readable storage medium | |
CN104902183A (en) | Panoramic photographing method and device | |
CN112085842B (en) | Depth value determining method and device, electronic equipment and storage medium | |
JP2019512141A (en) | Face model editing method and apparatus | |
CN111832558A (en) | Character image correction method, device, storage medium and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190514 |