CN112465934A - Image adsorption method and device - Google Patents

Image adsorption method and device Download PDF

Info

Publication number
CN112465934A
CN112465934A CN201910842266.3A CN201910842266A CN112465934A CN 112465934 A CN112465934 A CN 112465934A CN 201910842266 A CN201910842266 A CN 201910842266A CN 112465934 A CN112465934 A CN 112465934A
Authority
CN
China
Prior art keywords
image
adsorption
target
boundary
distance
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910842266.3A
Other languages
Chinese (zh)
Inventor
仵景文
韩丹
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xian Novastar Electronic Technology Co Ltd
Original Assignee
Xian Novastar Electronic 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 Xian Novastar Electronic Technology Co Ltd filed Critical Xian Novastar Electronic Technology Co Ltd
Priority to CN201910842266.3A priority Critical patent/CN112465934A/en
Publication of CN112465934A publication Critical patent/CN112465934A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/80Creating or modifying a manually drawn or painted image using a manual input device, e.g. mouse, light pen, direction keys on keyboard
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0486Drag-and-drop

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The embodiment of the invention provides an image adsorption method and an image adsorption device. The image adsorption method comprises the following steps: respectively acquiring position information and size information of a target image and an adsorption image to be selected; constructing a virtual image according to displacement information in a user instruction, and position information and size information of the target image; calculating the horizontal distance and the vertical distance between the virtual image and the to-be-selected adsorption image; determining a target adsorption image according to the horizontal distance and the vertical distance; and adsorbing the target image to the target adsorbed image. The embodiment of the invention solves the problem of disorder when peripheral images all meet the adsorption condition when the images are dragged, and meets the requirement of a user for dragging the images.

Description

Image adsorption method and device
Technical Field
The present invention relates to the field of image processing technologies, and in particular, to an image adsorption method and an image adsorption apparatus.
Background
In the environment of editing an image, image dragging can give a user great help in image editing. The principle of the method is that in the process of dragging an image, when the dragged image and peripheral images meet adsorption, adsorption is performed, however, when a plurality of images are arranged around the dragged image and meet adsorption conditions, a disorder problem occurs, namely that the target image is adsorbed to the end, and on a cloud operating platform, the function of adsorbing and giving the position of the image cannot be realized at present, and the requirement of a user for editing the image cannot be completely met.
Disclosure of Invention
Embodiments of the present invention provide an image adsorption method and an image adsorption apparatus to solve the problem of confusion occurring when both a dragged image and a peripheral image satisfy an adsorption condition.
Specifically, an embodiment of the present invention provides an image adsorption method, including: respectively acquiring position information and size information of a target image and an adsorption image to be selected; constructing a virtual image according to displacement information in a user instruction, and position information and size information of the target image; calculating the horizontal distance and the vertical distance between the virtual image and the to-be-selected adsorption image; determining a target adsorption image according to the horizontal distance and the vertical distance; and adsorbing the target image to the target adsorbed image.
According to the embodiment of the invention, the problem of disorder generated when a plurality of images simultaneously meet the adsorption condition is solved by constructing the virtual image and calculating the horizontal distance and the vertical distance between the virtual image and the to-be-selected adsorption image to determine the target adsorption image for adsorption.
In one embodiment of the present invention, the size information of the virtual image is the same as the size information of the target image; the position information of the virtual image is adjusted based on the displacement information and the position information of the target image.
In an embodiment of the present invention, the calculating a horizontal distance and a vertical distance between the virtual image and the to-be-selected adsorption image specifically includes: calculating the horizontal distance from each horizontal boundary of the virtual image to each horizontal boundary of the to-be-selected adsorption image to obtain a plurality of horizontal distances; and calculating the vertical distance from each vertical-direction boundary of the virtual image to each vertical-direction boundary of the to-be-selected adsorption image respectively to obtain a plurality of vertical distances.
In an embodiment of the present invention, the determining a target absorption image according to the horizontal distance and the vertical distance specifically includes: acquiring the horizontal distances or the vertical distances smaller than a preset distance threshold in the plurality of horizontal distances and the plurality of vertical distances to obtain adsorbable distances; acquiring the boundary of the virtual image corresponding to the adsorbable distance and the boundary of the to-be-selected adsorbable image to obtain an adsorbable boundary; and determining the minimum value in the adsorbable distance, and taking the adsorption image to be selected corresponding to the minimum value as the target adsorption image.
In this embodiment, by acquiring the horizontal distance or the vertical distance smaller than the preset distance threshold, determining the minimum value of the horizontal distance or the vertical distance, and taking the to-be-selected adsorption image corresponding to the minimum value as the target adsorption image, the problem of confusion generated when a plurality of images simultaneously satisfy the adsorption condition is solved.
In an embodiment of the present invention, the adsorbing the target image to the target adsorbed image specifically includes: acquiring the boundary of the virtual image corresponding to the minimum value of the adsorbable distance and the boundary of the to-be-selected adsorbable image to obtain an adsorbable boundary; respectively determining the adsorption side of the target image and the adsorption side of the target adsorption image according to the adsorption boundary; and adsorbing the adsorption side of the target image to the adsorption side of the target adsorption image.
On the other hand, the embodiment of the invention also provides an image adsorption device, which comprises an image acquisition module, a selection module and a display module, wherein the image acquisition module is used for respectively acquiring the position information and the size information of a target image and an adsorption image to be selected; the virtual image module is used for constructing a virtual image according to displacement information in a user instruction, and position information and size information of the target image; the adsorption calculation module is used for calculating the horizontal distance and the vertical distance between the virtual image and the to-be-selected adsorption image; the adsorption judging module is used for determining a target adsorption image according to the horizontal distance and the vertical distance; and the image adsorption module is used for adsorbing the target image to the target adsorption image.
According to the embodiment of the invention, the virtual image is constructed through the virtual image module, the horizontal distance and the vertical distance between the virtual image and the to-be-selected adsorption image are calculated through the adsorption calculation module, and the adsorption judgment module is matched to determine the target adsorption image, so that the problem of disorder generated when a plurality of images simultaneously meet the adsorption condition is solved.
In one embodiment of the present invention, the size information of the virtual image is the same as the size information of the target image; the position information of the virtual image is adjusted based on the displacement information and the position information of the target image.
In an embodiment of the present invention, the adsorption calculation module is specifically configured to: calculating the horizontal distance from each horizontal boundary of the virtual image to each horizontal boundary of the to-be-selected adsorption image to obtain a plurality of horizontal distances; and calculating the vertical distance from each vertical-direction boundary of the virtual image to each vertical-direction boundary of the to-be-selected adsorption image respectively to obtain a plurality of vertical distances.
In an embodiment of the present invention, the adsorption determining module is specifically configured to: acquiring the horizontal distances or the vertical distances smaller than a preset distance threshold in the plurality of horizontal distances and the plurality of vertical distances to obtain adsorbable distances; acquiring the boundary of the virtual image corresponding to the adsorbable distance and the boundary of the to-be-selected adsorbable image to obtain an adsorbable boundary; and determining the minimum value in the adsorbable distance, and taking the adsorption image to be selected corresponding to the minimum value as the target adsorption image.
In this embodiment, the adsorption determination module obtains the horizontal distance or the vertical distance smaller than the preset distance threshold, determines the minimum value of the horizontal distance or the vertical distance, and uses the to-be-selected adsorption image corresponding to the minimum value as the target adsorption image, thereby solving the problem of confusion generated when a plurality of images simultaneously satisfy the adsorption condition.
In an embodiment of the present invention, the image adsorption module is specifically configured to: acquiring the boundary of the virtual image corresponding to the minimum value of the adsorbable distance and the boundary of the to-be-selected adsorbable image to obtain an adsorbable boundary; respectively determining the adsorption side of the target image and the adsorption side of the target adsorption image according to the adsorption boundary; and adsorbing the adsorption side of the target image to the adsorption side of the target adsorption image.
The technical scheme can have the following advantages or beneficial effects: according to the image adsorption method and the image adsorption device provided by the embodiment of the invention, the target adsorption image is determined to be adsorbed by constructing the virtual image and calculating the horizontal distance and the vertical distance between the virtual image and the to-be-selected adsorption image, so that the user does not need to manually drag, move and the like, the image adsorption can be quickly and conveniently realized, the convenience of the user operation is greatly improved, the problem of disorder generated when a plurality of images simultaneously meet the adsorption condition is solved, and the adsorption accuracy is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a flowchart of an image absorption method according to an embodiment of the present invention.
Fig. 2 is a schematic block diagram of an image adsorption apparatus according to an embodiment of the present invention.
[ brief description of the drawings ]
10: an image adsorption device; 11: an image acquisition module; 12: a virtual image module; 13: an adsorption calculation module; 14: an adsorption judgment module; 15: and an image adsorption module.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
[ first embodiment ] A method for manufacturing a semiconductor device
Referring to fig. 1, fig. 1 is a schematic flow chart of an image absorption method according to a first embodiment of the present invention. The image adsorption method includes, for example, the steps of:
step S1, respectively acquiring position information and size information of the target image and the to-be-selected adsorption image, wherein the position information is coordinate values, and the size information is horizontal length and vertical length of the image;
step S2: constructing a virtual image according to displacement information in a user instruction and position information and size information of the target image, wherein specifically, the size information of the virtual image is the same as the size information of the target image, and the position information of the virtual image is adjusted based on the displacement information and the position information of the target image;
step S3: calculating the horizontal distance and the vertical distance between the virtual image and the to-be-selected adsorption image, specifically, calculating the horizontal distance from each horizontal-direction boundary of the virtual image to each horizontal-direction boundary of the to-be-selected adsorption image, so as to obtain a plurality of horizontal distances; calculating the vertical distance from each vertical-direction boundary of the virtual image to each vertical-direction boundary of the to-be-selected adsorption image respectively to obtain a plurality of vertical distances;
step S4: determining a target adsorption image according to the horizontal distance and the vertical distance, and specifically, obtaining the horizontal distance or the vertical distance smaller than a preset distance threshold in the plurality of horizontal distances and the plurality of vertical distances to obtain an adsorbable distance; acquiring boundaries (such as upper, lower, left and right) of the virtual image and boundaries (such as upper, lower, left and right) of the to-be-selected adsorption image corresponding to the adsorbable distance to obtain adsorbable boundaries; determining the minimum value in the adsorbable distance, and taking the adsorption image to be selected corresponding to the minimum value as the target adsorption image; and
step S5: adsorbing the target image to the target adsorption image, specifically, obtaining a boundary of the virtual image corresponding to the minimum value of the adsorbable distance and a boundary of the to-be-selected adsorption image to obtain an adsorption boundary; respectively determining the adsorption side of the target image and the adsorption side of the target adsorption image according to the adsorption boundary; and adsorbing the adsorption side of the target image to the adsorption side of the target adsorption image.
In order to more clearly understand the present embodiment, the image adsorption method of the present embodiment is briefly described below, first, position information of a target image, that is, coordinate values of the upper left corner of the image (target image left, target image top) and size information, that is, horizontal length and vertical length of the image (target image width, target image height), position information of an image to be selected to be adsorbed (to-be-selected adsorbed image left, to-be-selected adsorbed image top) and size information (to-be-selected adsorbed image width, to-be-selected adsorbed image height) are obtained; when a user generates a dragging instruction through a mouse, responding to the dragging operation instruction, and constructing a virtual image according to displacement information, namely displacement (offset X, offset Y) in the user instruction, and position information and size information of the target image; the position information of the virtual image is (virtual image left + target image top + offset x, virtual image top + target image top) and the size information is the same as that of the target image (virtual image width is target image width, virtual image height is target image height), the horizontal distance and the vertical distance between the virtual image and the to-be-selected adsorption image are calculated, specifically, the horizontal distance between the boundary of each horizontal direction of the virtual image and the boundary of each horizontal direction of the to-be-selected adsorption image is calculated, so as to obtain a plurality of horizontal distances (horizontal distance is | virtual image left-to-be-selected adsorption image left |); calculating a vertical distance from each vertical-direction boundary of the virtual image to each vertical-direction boundary of the to-be-selected adsorption image, so as to obtain a plurality of vertical distances (for example, a vertical distance | virtual image height-to-be-selected adsorption image height |); when the horizontal distance and the vertical distance are higher than a distance threshold, for example, a distance of five pixels, the position information of the target image (target image left, target image top) is adjusted according to the displacement information (offset x, offset), that is, (target image left + offset x, target image top + offset y); when the horizontal distance or the vertical distance is lower than a distance threshold, acquiring the horizontal distance and the vertical distance which are each smaller than the distance threshold to obtain an adsorbable distance; acquiring boundaries of the virtual image corresponding to the adsorbable distance, such as an upper boundary (virtual image top), a lower boundary (virtual image top + virtual image height), a left boundary (virtual image left), a right boundary (virtual image left + virtual image width), and boundaries of the to-be-selected adsorption image, such as an upper boundary (to-be-selected adsorption image top), a lower boundary (to-be-selected adsorption image top + to-be-selected adsorption image height), a left boundary (to-be-selected adsorption image left), and a right boundary (to-be-selected adsorption image left + to-be-selected adsorption image width), so as to obtain adsorbable boundaries; determining the minimum value in the adsorbable distance, taking the to-be-selected adsorbable image corresponding to the minimum value as the target adsorbable image, and respectively determining the adsorption side of the target image and the adsorption side of the target adsorbable image according to the adsorption boundary corresponding to the minimum value; and finally, attaching the adsorption side of the target image to the adsorption side of the target adsorption image, specifically, determining the target position of the target image at least according to the position information of the target adsorption image, the position information of the adsorption side of the target image and the position information of the adsorption side of the target adsorption image, moving the target image to the target position, for example, when the right boundary of the target image is the adsorption side of the target image and the left boundary of the target adsorption image is the adsorption side of the target adsorption image, adjusting the position information of the target image, namely (target image left is target adsorption image left-target image width, target image top), and so on.
In summary, the image adsorption method provided by the invention can solve the problem of confusion when the adsorbed image and the peripheral image both meet the adsorption condition, and meet the requirement of user image editing.
[ second embodiment ]
Fig. 2 is a schematic block diagram of an image adsorption device according to a second embodiment of the present invention. The image suction device 10 includes:
the image acquisition module 11 is configured to acquire position information, such as coordinate values, and size information, such as horizontal length and vertical length of an image, of the target image and the to-be-selected adsorption image, respectively;
a virtual image module 12, configured to construct a virtual image according to displacement information in a user instruction and position information and size information of the target image, where specifically, the size information of the virtual image is the same as the size information of the target image, and the position information of the virtual image is adjusted based on the displacement information and the position information of the target image;
an adsorption calculation module 13, configured to calculate horizontal distances and vertical distances between the virtual image and the to-be-selected adsorption image, specifically, calculate horizontal distances from each horizontal-direction boundary of the virtual image to each horizontal-direction boundary of the to-be-selected adsorption image, respectively, so as to obtain a plurality of horizontal distances; calculating the vertical distance from each vertical-direction boundary of the virtual image to each vertical-direction boundary of the to-be-selected adsorption image respectively to obtain a plurality of vertical distances;
an adsorption determining module 14, configured to determine a target adsorption image according to the horizontal distance and the vertical distance, and specifically, obtain the horizontal distance or the vertical distance that is smaller than a preset distance threshold in the plurality of horizontal distances and the plurality of vertical distances to obtain an adsorbable distance; acquiring boundaries (such as upper, lower, left and right) of the virtual image and boundaries (such as upper, lower, left and right) of the to-be-selected adsorption image corresponding to the adsorbable distance to obtain adsorbable boundaries; determining the minimum value in the adsorbable distance, and taking the adsorption image to be selected corresponding to the minimum value as the target adsorption image; and
an image adsorption module 15, configured to adsorb the target image to the target adsorption image, specifically, obtain a boundary of the virtual image and a boundary of the to-be-selected adsorption image corresponding to the minimum value of the adsorbable distance, so as to obtain an adsorption boundary; respectively determining the adsorption side of the target image and the adsorption side of the target adsorption image according to the adsorption boundary; and adsorbing the adsorption side of the target image to the adsorption side of the target adsorption image.
For the specific working process and technical effects among the modules in the image adsorption apparatus 10 in this embodiment, reference is made to the description of the first embodiment, and details are not repeated here.
In addition, it should be understood that the foregoing embodiments are merely exemplary illustrations of the present application, and technical solutions of the embodiments can be arbitrarily combined and used in combination without conflict, contradiction, or conflict with the purpose of the present application.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and the actual implementation may have another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute some steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. An image adsorption method, comprising:
respectively acquiring position information and size information of a target image and an adsorption image to be selected;
constructing a virtual image according to displacement information in a user instruction, and position information and size information of the target image;
calculating the horizontal distance and the vertical distance between the virtual image and the to-be-selected adsorption image;
determining a target adsorption image according to the horizontal distance and the vertical distance; and
and adsorbing the target image to the target adsorption image.
2. The image adsorption method according to claim 1, wherein size information of the virtual image is the same as size information of the target image;
the position information of the virtual image is adjusted based on the displacement information and the position information of the target image.
3. The image adsorption method according to claim 1 or 2, wherein the calculating of the horizontal distance and the vertical distance between the virtual image and the to-be-selected adsorption image specifically includes:
calculating the horizontal distance from each horizontal boundary of the virtual image to each horizontal boundary of the to-be-selected adsorption image to obtain a plurality of horizontal distances; and
and calculating the vertical distance from each vertical-direction boundary of the virtual image to each vertical-direction boundary of the to-be-selected adsorption image respectively to obtain a plurality of vertical distances.
4. The image adsorption method according to claim 3, wherein the determining of the target adsorption image according to the horizontal distance and the vertical distance specifically comprises:
acquiring the horizontal distances or the vertical distances smaller than a preset distance threshold in the plurality of horizontal distances and the plurality of vertical distances to obtain adsorbable distances;
acquiring the boundary of the virtual image corresponding to the adsorbable distance and the boundary of the to-be-selected adsorbable image to obtain an adsorbable boundary;
and determining the minimum value in the adsorbable distance, and taking the adsorption image to be selected corresponding to the minimum value as the target adsorption image.
5. The image adsorption method according to claim 4, wherein the adsorbing the target image to the target adsorbed image is specifically:
acquiring the boundary of the virtual image corresponding to the minimum value of the adsorbable distance and the boundary of the to-be-selected adsorbable image to obtain an adsorbable boundary;
respectively determining the adsorption side of the target image and the adsorption side of the target adsorption image according to the adsorption boundary;
and adsorbing the adsorption side of the target image to the adsorption side of the target adsorption image.
6. An image suction apparatus, comprising:
the image acquisition module is used for respectively acquiring the position information and the size information of the target image and the to-be-selected adsorption image;
the virtual image module is used for constructing a virtual image according to displacement information in a user instruction, and position information and size information of the target image;
the adsorption calculation module is used for calculating the horizontal distance and the vertical distance between the virtual image and the to-be-selected adsorption image;
the adsorption judging module is used for determining a target adsorption image according to the horizontal distance and the vertical distance; and
and the image adsorption module is used for adsorbing the target image to the target adsorption image.
7. The image suction apparatus according to claim 6, wherein size information of the virtual image is the same as size information of the target image;
the position information of the virtual image is adjusted based on the displacement information and the position information of the target image.
8. The image adsorption device of claim 6 or 7, wherein the adsorption calculation module is specifically configured to:
calculating the horizontal distance from each horizontal boundary of the virtual image to each horizontal boundary of the to-be-selected adsorption image to obtain a plurality of horizontal distances; and
and calculating the vertical distance from each vertical-direction boundary of the virtual image to each vertical-direction boundary of the to-be-selected adsorption image respectively to obtain a plurality of vertical distances.
9. The image adsorption device of claim 8, wherein the adsorption determination module is specifically configured to:
acquiring the horizontal distances or the vertical distances smaller than a preset distance threshold in the plurality of horizontal distances and the plurality of vertical distances to obtain adsorbable distances;
acquiring the boundary of the virtual image corresponding to the adsorbable distance and the boundary of the to-be-selected adsorbable image to obtain an adsorbable boundary;
and determining the minimum value in the adsorbable distance, and taking the adsorption image to be selected corresponding to the minimum value as the target adsorption image.
10. The image adsorption device of claim 9, wherein the image adsorption module is specifically configured to:
acquiring the boundary of the virtual image corresponding to the minimum value of the adsorbable distance and the boundary of the to-be-selected adsorbable image to obtain an adsorbable boundary;
respectively determining the adsorption side of the target image and the adsorption side of the target adsorption image according to the adsorption boundary;
and adsorbing the adsorption side of the target image to the adsorption side of the target adsorption image.
CN201910842266.3A 2019-09-06 2019-09-06 Image adsorption method and device Pending CN112465934A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910842266.3A CN112465934A (en) 2019-09-06 2019-09-06 Image adsorption method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910842266.3A CN112465934A (en) 2019-09-06 2019-09-06 Image adsorption method and device

Publications (1)

Publication Number Publication Date
CN112465934A true CN112465934A (en) 2021-03-09

Family

ID=74807155

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910842266.3A Pending CN112465934A (en) 2019-09-06 2019-09-06 Image adsorption method and device

Country Status (1)

Country Link
CN (1) CN112465934A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102103578A (en) * 2009-12-17 2011-06-22 珠海金山软件有限公司 Method and system for performing fine adjustment on tables by using computer
CN102945557A (en) * 2012-10-12 2013-02-27 北京海鑫科金高科技股份有限公司 Vector site map drawing method based on mobile terminal
CN107798715A (en) * 2017-10-19 2018-03-13 广州视睿电子科技有限公司 Alignment adsorption method, device, computer equipment and the storage medium of solid figure

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102103578A (en) * 2009-12-17 2011-06-22 珠海金山软件有限公司 Method and system for performing fine adjustment on tables by using computer
CN102945557A (en) * 2012-10-12 2013-02-27 北京海鑫科金高科技股份有限公司 Vector site map drawing method based on mobile terminal
CN107798715A (en) * 2017-10-19 2018-03-13 广州视睿电子科技有限公司 Alignment adsorption method, device, computer equipment and the storage medium of solid figure

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
龙飞: "中文版Flash 8完全自学手册", 兵器工业出版社;北京希望电子出版社, pages: 393 - 394 *

Similar Documents

Publication Publication Date Title
CN111815755B (en) Method and device for determining blocked area of virtual object and terminal equipment
JP6203406B2 (en) System and method for determining plane spread in an augmented reality environment
US11050994B2 (en) Virtual reality parallax correction
CN107798715B (en) Alignment adsorption method and device for three-dimensional graph, computer equipment and storage medium
JP6274682B2 (en) Method and user equipment for displaying interface content
US8571304B2 (en) Method and apparatus for generating stereoscopic image from two-dimensional image by using mesh map
CN109300159A (en) Method for detecting position, device, equipment, storage medium and vehicle
JP5671533B2 (en) Perspective and parallax adjustment in stereoscopic image pairs
US20150356770A1 (en) Street view map display method and system
JP2018536915A (en) Method and system for detecting and combining structural features in 3D reconstruction
CN110648363A (en) Camera posture determining method and device, storage medium and electronic equipment
US11651533B2 (en) Method and apparatus for generating a floor plan
CN113256755B (en) Image rendering method, intelligent terminal and storage device
JP2018517312A (en) Cluster-based photo navigation
CN112634366A (en) Position information generation method, related device and computer program product
CN112465934A (en) Image adsorption method and device
CN104346046A (en) Three-dimensional simulation page turning method and system
CN113989376B (en) Method and device for acquiring indoor depth information and readable storage medium
CN112484678B (en) Accurate measurement method and device based on virtual three-dimensional space
CN112363621B (en) Terminal control method and device, electronic equipment and storage medium
US9077963B2 (en) Systems and methods for generating a depth map and converting two-dimensional data to stereoscopic data
CN112150527A (en) Measuring method and device, electronic device and storage medium
KR101921988B1 (en) Method for creating personalized 3d skeleton model
CN116188668B (en) Shadow rendering method, medium and electronic device based on IOS platform
CN106028140A (en) Terminal user identity login method and system

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