WO2019165676A1 - Element position correcting method, device, computer device, and storage medium - Google Patents

Element position correcting method, device, computer device, and storage medium Download PDF

Info

Publication number
WO2019165676A1
WO2019165676A1 PCT/CN2018/081549 CN2018081549W WO2019165676A1 WO 2019165676 A1 WO2019165676 A1 WO 2019165676A1 CN 2018081549 W CN2018081549 W CN 2018081549W WO 2019165676 A1 WO2019165676 A1 WO 2019165676A1
Authority
WO
WIPO (PCT)
Prior art keywords
picture
correction
picture element
rule
corrected
Prior art date
Application number
PCT/CN2018/081549
Other languages
French (fr)
Chinese (zh)
Inventor
张志伟
谭志荣
魏尧东
Original Assignee
平安科技(深圳)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 平安科技(深圳)有限公司 filed Critical 平安科技(深圳)有限公司
Publication of WO2019165676A1 publication Critical patent/WO2019165676A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/80Geometric correction
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/98Detection or correction of errors, e.g. by rescanning the pattern or by human intervention; Evaluation of the quality of the acquired patterns
    • G06V10/987Detection or correction of errors, e.g. by rescanning the pattern or by human intervention; Evaluation of the quality of the acquired patterns with the intervention of an operator
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V2201/00Indexing scheme relating to image or video recognition or understanding
    • G06V2201/09Recognition of logos

Definitions

  • the present application relates to the field of picture recognition, and in particular, to an element position correction method, apparatus, computer device, and storage medium.
  • the corporate logo is the condensed corporate image, identity, reputation and culture, and is the representative of the corporate brand.
  • the visual communication elements that make up the corporate logo include many forms: graphics, numbers, web sites, or slogans.
  • the corporate logo may adapt to the variant design. Even if a variant design occurs, the corporate logo should follow the basic standards in the process of dissemination, that is, the various visual communication elements that constitute the corporate logo need to maintain the unity of proportion and position to maintain the consistency of the corporate culture.
  • the embodiment of the present application provides an element position correction method, device, computer device and storage medium to solve the problem of effectively identifying whether an enterprise logo meets a detection standard.
  • an embodiment of the present application provides an element position correction method, including:
  • the picture element detection request includes an element ID, a picture element corresponding to the element ID, and an element position;
  • a correction confirmation command is received, and the position correction of the picture element is completed based on the correction confirmation command.
  • an element position correction apparatus including:
  • Obtaining a detection request module configured to obtain a picture element detection request, where the picture element detection request includes an element ID, a picture element corresponding to the element ID, and an element location;
  • Obtaining a correction rule module configured to acquire an element modification rule corresponding to the element ID, and display an element correction area corresponding to the element ID;
  • a moving picture element module if the element position is not in the element correction area, moving the picture element corresponding to the element ID into the element correction area;
  • the receiving confirmation command module is configured to receive the correction confirmation command, and complete the position correction of the picture element based on the correction confirmation instruction.
  • a third aspect of the present application provides a computer device comprising a memory, a processor, and computer readable instructions stored in the memory and executable on the processor, the processor executing the computer readable instructions Implement the following steps:
  • the picture element detection request includes an element ID, a picture element corresponding to the element ID, and an element position;
  • a correction confirmation command is received, and the position correction of the picture element is completed based on the correction confirmation command.
  • a fourth aspect of the present application provides one or more non-transitory readable storage mediums storing computer readable instructions, the computer readable instructions being executed by one or more processors such that the one or more processes Perform the following steps:
  • the picture element detection request includes an element ID, a picture element corresponding to the element ID, and an element position;
  • a correction confirmation command is received, and the position correction of the picture element is completed based on the correction confirmation command.
  • the element position correction method, device, computer device and storage medium provided by the embodiment of the present invention obtain an element correction rule corresponding to the element ID by acquiring an element correction rule corresponding to the element ID, so that the user can timely and accurately obtain the corresponding
  • the correct placement of the picture elements is no longer determined by the human eye. It can effectively determine whether the picture elements in the corporate logo meet the element modification rules, and improve the efficiency and accuracy of the picture element detection.
  • the picture element corresponding to the element ID is moved into the element correction area, and the artificial correction picture is converted into an accurate and efficient automatic operation, thereby further improving the efficiency and accuracy of the picture element correction.
  • Embodiment 1 is a flow chart of a method for correcting an element position in Embodiment 1 of the present application
  • FIG. 3 is another specific flowchart of an element position correction method in Embodiment 1 of the present application.
  • FIG. 7 is a schematic block diagram of an element position correction device in Embodiment 2 of the present application.
  • FIG. 8 is a schematic diagram of a computer device in Embodiment 4 of the present application.
  • the technical solution proposed in this embodiment is deployed in an enterprise server, and is used to identify whether the enterprise logo meets the detection standard, and the detection standard includes an element modification rule corresponding to each picture element.
  • the corporate logo is a concentration of corporate image, identity, reputation and culture, and is a representative of a corporate brand.
  • Each company logo can be composed of a variety of picture elements, such as graphic pictures, text pictures and digital pictures, and each picture element occupies the corresponding position and proportion according to the design standard in the corporate logo, that is, all picture elements are in the whole enterprise. There is a corresponding position and scale in the logo.
  • the enterprise server assigns a unique element ID to each picture element, and the server uses the element ID to find the corresponding picture element.
  • This element ID is an identifier for identifying different picture elements.
  • the element position correction method provided in this embodiment is required, and the picture elements in the enterprise logo are correspondingly adjusted to the appropriate positions, so as to maintain the consistency of the enterprise identity as a whole.
  • the detection criterion is applied to the element modification rule in this embodiment, and is required to be preset in the enterprise server, so that the server adjusts the position of the picture element according to the element modification rule to maintain the consistency of the enterprise identity as a whole.
  • Fig. 1 is a flow chart showing a method of correcting an element position in this embodiment. As shown in FIG. 1, the element position correction method includes the following steps:
  • the picture element detection request is received by the server, and it is detected whether the element position of the picture element constituting the detected enterprise identity meets the request of the element modification rule.
  • the element position is position information of the picture element in the detected corporate logo, and the location information includes length, width, spacing from surrounding picture elements, and proportion in the corporate logo.
  • the server can quickly locate the picture element in the picture corresponding to the element ID according to the obtained picture element detection request, and obtain the element ID and the element position, and detect the picture element.
  • the element correction area is an area in which the picture element can be placed on the picture of the enterprise identity when the picture element satisfies the element correction rule. Because the element correction rule corresponding to each picture element reserves a certain error range, that is, the area of the element correction area is larger than the area of each picture element itself, so as to ensure the smooth correction of the picture element. Within the scope of the element correction area, the user can also move the picture element according to the subjective feeling, or automatically correct according to the preset correction program.
  • the image to be corrected is an overall picture composed of picture elements, and is applied to the enterprise logo in this embodiment.
  • the picture to be corrected refers to a picture that needs to be corrected.
  • the element correction rule corresponding to picture element 1 is:
  • Position error acceptance range It can be 0.1% of the height or width of the overall picture to be corrected.
  • picture element 1 occupies the ratio of the image to be corrected and the distance between adjacent picture elements: 3.75% of the total height (3.65% to 3.85% is allowed) and 100% of the width (99.9% to 100.1% is allowed); If not satisfied, the prompt: picture element 1 accounts for 3.75% of the total height and 100% of the width.
  • the element correction rule corresponding to picture element 2 is:
  • Position error acceptance range It can be 0.1% of the height or width of the overall picture to be corrected.
  • picture element 2 occupies the ratio of the image to be corrected and the distance between adjacent picture elements: 3.75% of the total height (3.65% to 3.85% is allowed) and 100% of the width (99.9% to 100.1% is allowed); If not satisfied, the prompt: picture element 2 should account for 3.75% of the total height and 100% of the width.
  • the element correction rule corresponding to picture element 3 is:
  • Position error acceptance range It can be 0.1% of the height or width of the overall picture to be corrected.
  • the dimension of picture element 3 occupies the ratio of the picture to be corrected and the distance between adjacent picture elements: the top of picture element 3 is located at the horizontal width of 75%/25% boundary (allowing 74.9%/25.1% boundary), the height from the bottom is 7.5 % (allows 7.4%-7.6%); if not, the prompt: the top of picture element 3 should be at the lateral width of 75%/25% boundary, 7.5% from the bottom height.
  • the display manner of the element correction area includes, but is not limited to, displaying the area boundary by a broken line, or highlighting the element correction area, and the like.
  • This step can visually display the element correction area corresponding to the element ID, thereby avoiding the inconvenience of detecting the element correction area by the human eye.
  • the server moves the picture element corresponding to the element ID to the boundary of the element correction area based on the boundary of the element correction area corresponding to the element ID.
  • the center point of the picture element corresponding to the element ID may be coincident with the center point of the element correction area, so that the picture element is located at the center of the element correction area and has an adjustable space.
  • the server moves the picture elements in the element correction area directly into the element correction area, thereby improving the automation level of the server correction picture, without manually calculating the specific position of the picture element, and improving the accuracy of the picture element placement position.
  • the correction confirmation command is an instruction sent by the server to the user to confirm that the location of the current picture element can be confirmed.
  • the server automatically moves the picture element corresponding to the element ID to the element correction area
  • the user can send a correction confirmation instruction to the server through the client satisfaction; or after the user manually fine-tunes, the client sends a correction confirmation instruction to the server.
  • the server may alert the user that the current picture element still does not conform to the element modification rule, to remind the user to place the picture element in the element correction area.
  • a polling mechanism is set in the server, and the polling mechanism is configured to perform the acquiring the picture element detection request after the position correction of each picture element is completed, until all the picture elements are detected and the position correction is performed. This step can automatically detect all picture elements through the polling mechanism, which greatly saves the time for manual confirmation.
  • the element position correction method further includes the following steps:
  • the element position of the next picture element can be quickly detected, without manual operation.
  • step S50 is also required.
  • the server continues to detect the picture element after the corrected position.
  • the requirement of step S50 is satisfied, and the acquiring picture element detection request is continued until the position correction of all the picture elements is detected, so as to ensure that the picture elements of all the corrected positions are consistent with the element correction. rule.
  • the element position correction method obtained by the embodiment of the present application obtains the element correction rule corresponding to the element ID by displaying the element correction rule corresponding to the element ID, so that the user can timely and accurately obtain the correct placement position of the corresponding picture element, and no longer passes.
  • the human eye performs the identification measurement, and can effectively determine whether the picture element in the enterprise logo conforms to the element correction rule, and improves the efficiency and accuracy of the picture element detection; by moving the picture element corresponding to the element ID into the element correction area, the artificial Corrected images into accurate and efficient automated operations, further improving the efficiency and accuracy of image element correction.
  • the element position correction method before the step S10, that is, before the step of acquiring the picture element detection request, the element position correction method further includes the following specific steps:
  • the image to be corrected is an overall picture composed of picture elements, and is applied to the enterprise logo in this embodiment.
  • the picture to be corrected refers to a picture that needs to be corrected.
  • the picture pre-processing request is received by the server, and is used to request pre-processing of the picture to be corrected corresponding to the picture ID, so that it is convenient to detect whether the request for the element modification rule is met.
  • the picture ID is a unique identifier assigned by the server to each picture to be corrected to identify the picture to be corrected.
  • the picture division rule is a rule for dividing picture elements on the picture to be corrected. Since each picture element occupies a certain original position on the picture to be corrected, different picture elements can be first cut and divided according to the original position, so as to further process each picture element.
  • the image type corresponding to each picture ID is pre-stored in the server, and each picture type corresponds to a picture division rule, so that the server can quickly obtain the corresponding picture by performing a query operation after receiving the picture ID. Divide the rules.
  • the server receives the picture to be corrected, saves the picture to be corrected into the memory, and sets a picture coordinate system for the picture to be corrected, so that the server further processes the picture element on the picture to be corrected. That is, on the basis of setting the picture coordinate system, the corrected picture is processed according to the picture division rule.
  • the edge of each picture element is located by the image to be corrected, and the position of the element of the picture element in the set picture coordinate system can be obtained, so that the server can correct the picture element based on the position of the element.
  • the server divides the image to be corrected according to the image division rule corresponding to the image ID, and each of the images can be obtained.
  • the specific element position of the picture element allows the server to perform fast and accurate position correction based on the element position of the picture element.
  • step S20 that is, the element correction area corresponding to the element ID is displayed, which specifically includes the following steps:
  • the element correction rule includes a correction length, a correction width, and a picture element spacing corresponding to each picture element.
  • the correction length and the correction width are the length and width of the element correction area in which the picture element is set by the element correction rule.
  • the picture element spacing is the distance between each picture element and the surrounding picture elements, and the distance between each picture element and the edge of the picture to be corrected.
  • the server obtains the correction length, the correction width, and the picture element spacing by using the element correction rule, and can accurately and quickly measure the element correction area, thereby saving the time of manual calculation.
  • the display manner of the element correction area includes, but is not limited to, displaying the area boundary by a broken line, or highlighting the element correction area or the like.
  • the element correction area of the picture element is calculated and displayed by the server, which greatly saves the time of manual calculation and improves the accuracy of the position; and forms an element correction area on the picture to be corrected where the picture element is located, and more Visually display the element correction area for easy position correction of picture elements.
  • the element position correction method further includes the following steps:
  • the picture element addition request is a request that the user sends to the server to add a new picture element to the picture to be corrected.
  • Each picture element corresponds to an element correction rule. It can be understood that when adding a picture element, a certain addition rule is also required to add the picture element to the picture to be corrected.
  • the rule for adding a picture element to the picture to be corrected is the element addition rule.
  • the picture element addition request proposed in this embodiment is needed to meet the actual needs.
  • the corresponding element addition area of the picture element can be accurately determined, and the time of manual calculation is greatly saved.
  • the element adding area corresponding to the element ID is displayed, and the picture element is added to the element adding area.
  • the element addition area is calculated by the server according to the element adding rule, and the location area of the new picture element is added to the picture to be corrected.
  • the server can automatically add the image elements to be added to the element addition area, which improves the automation of the picture element addition.
  • the addition confirmation command is an instruction that the user confirms that the position of the picture element is the final position.
  • the user can directly confirm the element position of the added picture element of the server, or after the user performs fine adjustment, send an add confirmation instruction to the server.
  • the user can directly confirm the addition result of the server, or the user can fine-tune the position of adding the picture element, and enhance the flexibility of adding the picture element.
  • This embodiment provides a picture element addition request, so as to add a new picture element to the picture to be corrected based on the picture element addition request, the range of the modified picture element is expanded, and the user experience is improved.
  • the element position correction method further includes the following steps:
  • the picture element deletion request is a request that the user sends to the server to delete the original picture element from the picture to be corrected.
  • the user can delete the picture element corresponding to the element ID in the picture to be corrected by using the picture element deletion request, and enhance the flexibility of correcting the picture element.
  • the element modification rule corresponding to the picture element is invalid at the same time, and can be deleted to save the storage space of the server.
  • the element correction rule corresponding to the picture element and the picture element is deleted, so that the picture related information carried by the picture to be corrected is simplified, and server resources are saved.
  • a picture element deletion request is provided, so that the existing picture element is deleted on the picture to be corrected based on the picture element deletion request, and the range of the modified picture element is expanded.
  • the element position correction method further includes the following specific steps:
  • the forming of the virtual combined graphic request is a request for simultaneously forming and displaying a plurality of image elements that have not been corrected in the image to be corrected.
  • the combination correction rule is an element correction rule corresponding to the remaining graphic elements to be corrected in the server set, and the combined correction rule is formed such that each picture element in the virtual combination graphic conforms to the element modification rule.
  • the remaining element ID refers to an identifier corresponding to each picture element that has not been corrected in the picture to be corrected.
  • the server combines the element correction rules of the remaining picture elements to be corrected to form a combination correction rule, which greatly saves the time of manual calculation and ensures the accuracy of the element position of each picture element.
  • the remaining graphic elements corresponding to the at least one remaining element ID are sequentially combined in a preset order to form a virtual combined graphic.
  • the server forms a virtual combination graphic for the remaining picture elements to be corrected at one time, saving the time for detecting the element position of the picture element one by one.
  • the preset order refers to the order of the corrected picture elements specified in the element correction rule. For example, in a picture to be corrected, it is necessary to first specify the position of the picture element 1, the position of the picture element 2 is set based on the position of the picture element 1, and so on, until the position of the last picture element is specified.
  • the virtual combination graphics are sequentially combined in a preset order, which satisfies the requirements of the element correction rules corresponding to each picture element, and ensures the correctness of the placement position of each picture element.
  • the remaining elements refer to the uncorrected picture elements in the image to be corrected.
  • the picture element center position is a center coordinate value of the virtual combination graphic in the set picture coordinate system.
  • the virtual combined graphic is calculated based on the central coordinate value in the set coordinate system, and the virtual combined graphic can be accurately placed on the image to be corrected to meet the requirements of the combined correction rule.
  • the center of the virtual combined graphic is coincident with the center position of the picture element to complete the correction of the virtual combined graphic.
  • the center position of the picture element is obtained by calculation, and the center of the virtual combination graphic is placed at the center position of the picture element in the set picture coordinate system to ensure that the virtual combination graphic is placed in an accurate position.
  • the element correction area corresponding to the element ID is displayed, so that the user can obtain the correct placement position of the corresponding picture element in time and accurately, and no longer recognize and determine by the human eye, and can effectively determine the enterprise.
  • the picture elements in the flag meet the element correction rules, improve the efficiency and accuracy of the picture element detection; by moving the picture element corresponding to the element ID into the element correction area, the artificial correction picture is converted into an accurate and efficient automatic operation, further Improve the efficiency and accuracy of image element corrections.
  • the server provided in this embodiment obtains the image to be corrected in the image preprocessing request, and after setting the image coordinate system to the image to be corrected, the image to be corrected is divided according to the image division rule corresponding to the image ID. Get the specific element position of each picture element, so that the server can quickly and accurately correct the position based on the element position of the picture element.
  • the element correction area of the picture element is calculated and displayed by the server, which greatly saves the time of manual calculation and improves the accuracy of the position; and forms an element correction on the picture to be corrected where the picture element is located.
  • the area more intuitively showing the element correction area, is convenient for position correction of picture elements.
  • the embodiment further provides a picture element addition request and a request for forming a virtual combination graphic, and expands the range of the corrected picture element; by forming the virtual combination graphic at one time, the time for detecting the element position of the picture element one by one is saved.
  • Fig. 7 is a block diagram showing the principle of the element position correcting means corresponding to the element position correcting method in the first embodiment.
  • the element position correction means includes an acquisition detection request module 10, an acquisition correction rule module 20, a moving picture element module 30, and a reception confirmation instruction module 40.
  • the implementation function of the acquisition detection request module 10, the acquisition correction rule module 20, the mobile image element module 30, and the reception confirmation instruction module 40 corresponds to the steps corresponding to the element position correction method in the embodiment. To avoid redundancy, the embodiment is omitted. Not detailed one by one.
  • the acquisition detection request module 10 is configured to acquire a picture element detection request, where the picture element detection request includes an element ID, a picture element corresponding to the element ID, and an element position.
  • the correction rule module 20 is configured to acquire an element correction rule corresponding to the element ID, and display an element correction area corresponding to the element ID.
  • the moving picture element module 30 is configured to move the picture element corresponding to the element ID into the element correction area if the element position is not within the element correction area.
  • the reception confirmation command module 40 is configured to receive the correction confirmation command, and complete the position correction of the picture element based on the correction confirmation command.
  • the element position correction device further includes the continuation of the detection request module 50.
  • the execution of the detection request module 50 is continued to continue to perform the acquisition of the picture element detection request if the element position is within the element correction area until the position correction of all picture elements is detected.
  • the element position correction device further includes an acquisition picture pre-processing request unit 61, an acquisition division rule unit 62, and an acquisition element position unit 63.
  • the image preprocessing requesting unit 61 is configured to obtain a picture preprocessing request, where the picture preprocessing request includes a picture to be corrected and a picture ID.
  • the obtaining dividing rule unit 62 is configured to obtain a corresponding picture dividing rule according to the picture ID.
  • the element location unit 63 is configured to divide the corrected image by using a picture division rule to obtain at least one picture element and a corresponding element position from the picture to be corrected.
  • the acquisition correction rule module 20 further includes an acquisition correction length unit 21 and a formation correction area unit 22.
  • the correction length unit 21 is obtained for acquiring the correction length, the correction width, and the picture element spacing of the picture element based on the element correction rule.
  • a correction area unit 22 is formed for forming an element correction area on the picture to be corrected where the picture element is located based on the corrected length of the picture element, the correction width, and the picture element spacing.
  • the element position correction device further includes an acquisition addition request unit 71, an addition picture element unit 72, and a reception addition confirmation instruction unit 73.
  • the acquisition request unit 71 is configured to acquire a picture element addition request, where the picture element addition request includes an element ID and a picture element and an element addition rule corresponding to the element ID.
  • the picture element unit 72 is configured to display an element addition area corresponding to the element ID based on the element addition rule, and add the picture element to the element addition area.
  • the receive addition confirmation command unit 73 is configured to receive the add confirmation command to complete the location addition of the picture element.
  • the element position correction device further includes an acquisition deletion request unit 81 and a deletion picture element unit 82.
  • the deletion request unit 81 is configured to acquire a picture element deletion request, and the picture element deletion request includes an element ID.
  • the delete picture element unit 82 is configured to delete the element correction rule and the picture element corresponding to the element ID.
  • the element position correction device further includes an acquisition virtual combination graphic unit 91, a formation virtual combination graphic unit 92, a determination center position unit 93, and a completion virtual combination graphic unit 94.
  • the virtual combination graphic unit 91 is configured to acquire a virtual combination graphic request, and the virtual combination graphic request includes at least one remaining element ID and a combination correction rule corresponding to each remaining element ID.
  • a virtual combination graphic unit 92 is formed for sequentially combining the remaining graphic elements corresponding to the at least one remaining element ID in a preset order to form a virtual combined graphic based on all the combination correction rules.
  • the determining center location unit 93 is configured to determine a picture element center location based on the remaining picture elements corresponding to the at least one remaining element ID.
  • the virtual combined graphic unit 94 is completed for superimposing the center of the virtual combined graphic with the center position of the picture element to complete the modification of the virtual combined graphic.
  • This embodiment provides one or more non-volatile readable storage media having computer readable instructions stored thereon.
  • the one or more non-volatile readable storage mediums storing computer readable instructions, when executed by one or more processors, causing one or more processors to perform element position correction in embodiment 1.
  • the method in order to avoid repetition, will not be described here.
  • the computer readable instructions when executed by the processor, the functions of the modules/units in the element position correction device in Embodiment 2 are implemented. To avoid repetition, details are not described herein again.
  • non-volatile readable storage media storing computer readable instructions may comprise: any entity or device capable of carrying the computer readable instruction code, a recording medium, a USB flash drive, a mobile hard drive, Disk, optical disk, computer memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier signals, and telecommunications signals.
  • FIG. 8 is a schematic diagram of a computer device according to an embodiment of the present application.
  • computer device 200 of this embodiment includes a processor 210, a memory 220, and computer readable instructions 230 stored in memory 220 and executable on processor 210.
  • the processor 210 implements the steps of the element position correction method in the above embodiment 1 when the computer readable instructions 230 are executed, such as steps S10 to S50 shown in FIG.
  • the processor 210 executes the computer readable instructions 230
  • the functions of the modules/units of the element position correction device in the second embodiment are implemented, such as the acquisition detection request module 10, the acquisition correction rule module 20, and the moving picture.
  • the element module 30 and the function of receiving the confirmation command module 40 are implemented, such as the acquisition detection request module 10, the acquisition correction rule module 20, and the moving picture.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Multimedia (AREA)
  • Processing Or Creating Images (AREA)

Abstract

Disclosed are an element position correcting method, a device, a computer device, and a storage medium. The element position correcting method comprises: acquiring an image element detection request, the image element detection request comprising an element ID, an image element corresponding to the element ID, and an element position; acquiring an element correction rule corresponding to the element ID, displaying an element correction area corresponding to the element ID; if the element position does not fall within the element correction area, then moving the image element corresponding to the element ID into the element correction area; receiving a correction confirmation instruction, and completing a positional correction for the image element on the basis of the correction confirmation instruction. The method facilitates a user to acquire in a timely and accurate manner the correct position for placing an image, allows the effective determination whether a business logo complies with the element correction rule, and transforms manual image correction into a precise and efficient automated operation.

Description

元素位置修正方法、装置、计算机设备及存储介质Element position correction method, device, computer device and storage medium
本申请以2018年02月27日提交的申请号为201810161847.6,名称为“元素位置修正方法、装置、计算机设备及存储介质”的中国发明申请为基础,并要求其优先权。The present application is based on the Chinese Patent Application No. 201101161847.6, entitled "Element Position Correction Method, Apparatus, Computer Equipment, and Storage Medium", which is filed on Feb. 27, 2018, and claims priority.
技术领域Technical field
本申请涉及图片识别领域,尤其涉及一种元素位置修正方法、装置、计算机设备及存储介质。The present application relates to the field of picture recognition, and in particular, to an element position correction method, apparatus, computer device, and storage medium.
背景技术Background technique
企业标志是企业形象、特征、信誉和文化的浓缩,是企业品牌的代表。构成企业标志的视觉传达要素包括多种形式:比如图形、数字、网址或者宣传语等。当企业标志在不同传播媒体上广泛应用时,根据印刷方式、制作工艺技术、材料质地、传播渠道和应用项目等的不同,企业标志可能适应性地发生变体设计。即使发生变体设计,企业标志在传播过程中应遵循基本的标准,即构成企业标志的各个视觉传达要素需保持比例和位置的统一,以保持传播企业文化的一致性。The corporate logo is the condensed corporate image, identity, reputation and culture, and is the representative of the corporate brand. The visual communication elements that make up the corporate logo include many forms: graphics, numbers, web sites, or slogans. When the corporate logo is widely used in different media, depending on the printing method, manufacturing process technology, material texture, communication channels and application projects, the corporate logo may adapt to the variant design. Even if a variant design occurs, the corporate logo should follow the basic standards in the process of dissemination, that is, the various visual communication elements that constitute the corporate logo need to maintain the unity of proportion and position to maintain the consistency of the corporate culture.
现有识别企业标志的视觉传达要素的比例和位置是否符合检测标准主要是通过人眼进行识别的,在精度和速度方面都受到人眼能力的限制。如何快速有效地识别企业标志是否符合检测标准成为亟需解决的问题。Whether the proportion and position of the visual communication elements of the existing identification enterprise logo meet the detection standard is mainly recognized by the human eye, and is limited by the ability of the human eye in terms of accuracy and speed. How to quickly and effectively identify whether the corporate logo meets the testing standards becomes an urgent problem to be solved.
发明内容Summary of the invention
本申请实施例提供一种元素位置修正方法、装置、计算机设备及存储介质,以解决有效地识别企业标志是否符合检测标准的问题。The embodiment of the present application provides an element position correction method, device, computer device and storage medium to solve the problem of effectively identifying whether an enterprise logo meets a detection standard.
第一方面,本申请实施例提供一种元素位置修正方法,包括:In a first aspect, an embodiment of the present application provides an element position correction method, including:
获取图片元素检测请求,图片元素检测请求包括元素ID、与元素ID相对应的图片元素和元素位置;Obtaining a picture element detection request, where the picture element detection request includes an element ID, a picture element corresponding to the element ID, and an element position;
获取与元素ID相对应的元素修正规则,显示元素ID对应的元素修正区域;Obtaining an element correction rule corresponding to the element ID, and displaying an element correction area corresponding to the element ID;
若元素位置不在元素修正区域内,则将与元素ID对应的图片元素移动至元素修正区域内;If the element position is not in the element correction area, move the picture element corresponding to the element ID into the element correction area;
接收修正确认指令,基于所述修正确认指令完成所述图片元素的位置修正。A correction confirmation command is received, and the position correction of the picture element is completed based on the correction confirmation command.
第二方面,本申请实施例提供一种元素位置修正装置,包括:In a second aspect, an embodiment of the present application provides an element position correction apparatus, including:
获取检测请求模块,用于获取图片元素检测请求,图片元素检测请求包括元素ID、与元素ID相对应的图片元素和元素位置;Obtaining a detection request module, configured to obtain a picture element detection request, where the picture element detection request includes an element ID, a picture element corresponding to the element ID, and an element location;
获取修正规则模块,用于获取与元素ID相对应的元素修正规则,显示元素ID对应的元素修正区域;Obtaining a correction rule module, configured to acquire an element modification rule corresponding to the element ID, and display an element correction area corresponding to the element ID;
移动图片元素模块,用于若元素位置不在元素修正区域内,则将与元素ID对应的图片元素移动至元素修正区域内;a moving picture element module, if the element position is not in the element correction area, moving the picture element corresponding to the element ID into the element correction area;
接收确认指令模块,用于接收修正确认指令,基于所述修正确认指令完成所述图片元素的位置修正。The receiving confirmation command module is configured to receive the correction confirmation command, and complete the position correction of the picture element based on the correction confirmation instruction.
本申请第三方面提供一种计算机设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机可读指令,所述处理器执行所述计算机可读指令时实现如下步骤:A third aspect of the present application provides a computer device comprising a memory, a processor, and computer readable instructions stored in the memory and executable on the processor, the processor executing the computer readable instructions Implement the following steps:
获取图片元素检测请求,图片元素检测请求包括元素ID、与元素ID相对应的图片元素和元素位置;Obtaining a picture element detection request, where the picture element detection request includes an element ID, a picture element corresponding to the element ID, and an element position;
获取与元素ID相对应的元素修正规则,显示元素ID对应的元素修正区域;Obtaining an element correction rule corresponding to the element ID, and displaying an element correction area corresponding to the element ID;
若元素位置不在元素修正区域内,则将与元素ID对应的图片元素移动至元素修正区域内;If the element position is not in the element correction area, move the picture element corresponding to the element ID into the element correction area;
接收修正确认指令,基于所述修正确认指令完成所述图片元素的位置修正。A correction confirmation command is received, and the position correction of the picture element is completed based on the correction confirmation command.
本申请第四方面提供一个或多个存储有计算机可读指令的非易失性可读存储介质,所述计算机可读指令被一个或多个处理器执行时,使得所述一个或多个处理器执行如下步骤:A fourth aspect of the present application provides one or more non-transitory readable storage mediums storing computer readable instructions, the computer readable instructions being executed by one or more processors such that the one or more processes Perform the following steps:
获取图片元素检测请求,图片元素检测请求包括元素ID、与元素ID相对应的图片元素和元素位置;Obtaining a picture element detection request, where the picture element detection request includes an element ID, a picture element corresponding to the element ID, and an element position;
获取与元素ID相对应的元素修正规则,显示元素ID对应的元素修正区域;Obtaining an element correction rule corresponding to the element ID, and displaying an element correction area corresponding to the element ID;
若元素位置不在元素修正区域内,则将与元素ID对应的图片元素移动至元素修正区域内;If the element position is not in the element correction area, move the picture element corresponding to the element ID into the element correction area;
接收修正确认指令,基于所述修正确认指令完成所述图片元素的位置修正。A correction confirmation command is received, and the position correction of the picture element is completed based on the correction confirmation command.
本申请实施例提供的元素位置修正方法、装置、计算机设备及存储介质,一方面,通过获取与元素ID相对应的元素修正规则,显示元素ID对应的元素修正区域,便于用户及 时准确地获取对应的图片元素正确的放置位置,不再通过人眼进行识别测定,可以有效地判定企业标志中的图片元素是否符合元素修正规则,提高图片元素检测的效率和准确度;另一方面,通过将与元素ID对应的图片元素移动至元素修正区域内,将人工修正图片转化为精确高效的自动化操作,进一步提高图片元素修正的效率和准确度。The element position correction method, device, computer device and storage medium provided by the embodiment of the present invention, on the one hand, obtain an element correction rule corresponding to the element ID by acquiring an element correction rule corresponding to the element ID, so that the user can timely and accurately obtain the corresponding The correct placement of the picture elements is no longer determined by the human eye. It can effectively determine whether the picture elements in the corporate logo meet the element modification rules, and improve the efficiency and accuracy of the picture element detection. On the other hand, The picture element corresponding to the element ID is moved into the element correction area, and the artificial correction picture is converted into an accurate and efficient automatic operation, thereby further improving the efficiency and accuracy of the picture element correction.
附图说明DRAWINGS
为了更清楚地说明本申请实施例的技术方案,下面将对本申请实施例的描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings used in the description of the embodiments of the present application will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the present application. Other drawings may also be obtained from those of ordinary skill in the art based on these drawings without the inventive labor.
图1是本申请实施例1中元素位置修正方法的一流程图;1 is a flow chart of a method for correcting an element position in Embodiment 1 of the present application;
图2是本申请实施例1中元素位置修正方法的另一具体流程图;2 is another specific flowchart of an element position correction method in Embodiment 1 of the present application;
图3是本申请实施例1中元素位置修正方法的另一具体流程图;3 is another specific flowchart of an element position correction method in Embodiment 1 of the present application;
图4是本申请实施例1中元素位置修正方法的另一具体流程图;4 is another specific flowchart of an element position correction method in Embodiment 1 of the present application;
图5是本申请实施例1中元素位置修正方法的另一具体流程图;5 is another specific flowchart of an element position correction method in Embodiment 1 of the present application;
图6是本申请实施例1中元素位置修正方法的另一具体流程图;6 is another specific flowchart of an element position correction method in Embodiment 1 of the present application;
图7是本申请实施例2中元素位置修正装置的一原理框图;7 is a schematic block diagram of an element position correction device in Embodiment 2 of the present application;
图8是本申请实施例4中计算机设备的一示意图。FIG. 8 is a schematic diagram of a computer device in Embodiment 4 of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application are clearly and completely described in the following with reference to the drawings in the embodiments of the present application. It is obvious that the described embodiments are a part of the embodiments of the present application, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present application without departing from the inventive scope are the scope of the present application.
实施例1Example 1
本实施例提出的技术方案部署于企业服务器中,用于识别企业标志是否符合检测标准,该检测标准包括每一图片元素对应的元素修正规则。企业标志是企业形象、特征、信誉和文化的浓缩,是一个企业品牌的代表。每个企业标志可以由多种图片元素构成,比如图形图片、文字图片和数字图片等,并且每个图片元素在企业标志中都依据设计标准占据相应的位置和比例,即所有图片元素在整个企业标识中具有对应的位置和比例。The technical solution proposed in this embodiment is deployed in an enterprise server, and is used to identify whether the enterprise logo meets the detection standard, and the detection standard includes an element modification rule corresponding to each picture element. The corporate logo is a concentration of corporate image, identity, reputation and culture, and is a representative of a corporate brand. Each company logo can be composed of a variety of picture elements, such as graphic pictures, text pictures and digital pictures, and each picture element occupies the corresponding position and proportion according to the design standard in the corporate logo, that is, all picture elements are in the whole enterprise. There is a corresponding position and scale in the logo.
可以理解地,企业服务器给每个图片元素都分配一个专有的元素ID,用以服务器通过元素ID来查找相应的图片元素。该元素ID是用于识别不同图片元素的标识。Understandably, the enterprise server assigns a unique element ID to each picture element, and the server uses the element ID to find the corresponding picture element. This element ID is an identifier for identifying different picture elements.
当企业标志展示于不同场合时,可能需要对企业标志中的原图片元素的位置和比例进行调整,从而改变企业标志中的原图片元素的位置,导致其符合不同的检测标准。此时就需本实施例提供的元素位置修正方法,将企业标志中的图片元素对应调整到合适的位置,以保持企业标识整体上的一致性。When the corporate logo is displayed on different occasions, it may be necessary to adjust the position and proportion of the original image elements in the corporate logo, thereby changing the position of the original image elements in the corporate logo, resulting in compliance with different testing standards. In this case, the element position correction method provided in this embodiment is required, and the picture elements in the enterprise logo are correspondingly adjusted to the appropriate positions, so as to maintain the consistency of the enterprise identity as a whole.
检测标准应用于本实施例即为元素修正规则,是需要预先设置在企业服务器中,用以使服务器据此元素修正规则调整图片元素的位置,以保持企业标识整体的一致。The detection criterion is applied to the element modification rule in this embodiment, and is required to be preset in the enterprise server, so that the server adjusts the position of the picture element according to the element modification rule to maintain the consistency of the enterprise identity as a whole.
图1示出本实施例中元素位置修正方法的流程图。如图1所示,该元素位置修正方法包括如下步骤:Fig. 1 is a flow chart showing a method of correcting an element position in this embodiment. As shown in FIG. 1, the element position correction method includes the following steps:
S10.获取图片元素检测请求,图片元素检测请求包括元素ID、与元素ID相对应的图片元素和元素位置。S10. Acquire a picture element detection request, where the picture element detection request includes an element ID, a picture element corresponding to the element ID, and an element position.
具体地,图片元素检测请求是服务器接收到的,检测构成该检测的企业标识的图片元素的元素位置是否符合元素修正规则的请求。Specifically, the picture element detection request is received by the server, and it is detected whether the element position of the picture element constituting the detected enterprise identity meets the request of the element modification rule.
元素位置是图片元素在该检测的企业标志中的位置信息,该位置信息包括长、宽、与周围图片元素的间距和在企业标志中的比例等。The element position is position information of the picture element in the detected corporate logo, and the location information includes length, width, spacing from surrounding picture elements, and proportion in the corporate logo.
本步骤中,服务器根据获取到的图片元素检测请求,通过获取元素ID和元素位置,即可快速定位该元素ID对应的图片中的图片元素,对该图片元素进行检测。In this step, the server can quickly locate the picture element in the picture corresponding to the element ID according to the obtained picture element detection request, and obtain the element ID and the element position, and detect the picture element.
S20.获取与元素ID相对应的元素修正规则,显示元素ID对应的元素修正区域。S20. Obtain an element correction rule corresponding to the element ID, and display an element correction area corresponding to the element ID.
具体地,元素修正区域是图片元素满足元素修正规则时,可在企业标识的图片上放置该图片元素的区域。因每个图片元素对应的元素修正规则都会预留一定的误差范围,也即元素修正区域的面积是大于每个图片元素自身的面积,以保证图片元素修正的顺利进行。在元素修正区域范围内,用户也可依据主观感受移动图片元素,也可依据预先设置到的修正程序自动修正。Specifically, the element correction area is an area in which the picture element can be placed on the picture of the enterprise identity when the picture element satisfies the element correction rule. Because the element correction rule corresponding to each picture element reserves a certain error range, that is, the area of the element correction area is larger than the area of each picture element itself, so as to ensure the smooth correction of the picture element. Within the scope of the element correction area, the user can also move the picture element according to the subjective feeling, or automatically correct according to the preset correction program.
以某公司企业标志中一图片元素的元素修正规则为例进行说明:Take the element correction rule of a picture element in a company logo as an example:
待修正图片是图片元素构成的整体图片,应用于本实施例即为企业标志。该待修正图片是指需要进行修正处理的图片。The image to be corrected is an overall picture composed of picture elements, and is applied to the enterprise logo in this embodiment. The picture to be corrected refers to a picture that needs to be corrected.
图片元素1对应的元素修正规则为:The element correction rule corresponding to picture element 1 is:
1)位置误差接受范围:可以是整体待修正图片的高度或宽度的0.1%。1) Position error acceptance range: It can be 0.1% of the height or width of the overall picture to be corrected.
2)图片元素1的维度占待修正图片的比例和相邻图片元素之间的距离:占总高度的 3.75%(允许3.65%至3.85%),宽度100%(允许99.9%至100.1%);如不满足,提示:图片元素1占总高度的3.75%,宽度100%。2) The dimension of picture element 1 occupies the ratio of the image to be corrected and the distance between adjacent picture elements: 3.75% of the total height (3.65% to 3.85% is allowed) and 100% of the width (99.9% to 100.1% is allowed); If not satisfied, the prompt: picture element 1 accounts for 3.75% of the total height and 100% of the width.
图片元素2对应的元素修正规则为:The element correction rule corresponding to picture element 2 is:
1)位置误差接受范围:可以是整体待修正图片的高度或宽度的0.1%。1) Position error acceptance range: It can be 0.1% of the height or width of the overall picture to be corrected.
2)图片元素2的维度占待修正图片的比例和相邻图片元素之间的距离:占总高度的3.75%(允许3.65%至3.85%),宽度100%(允许99.9%至100.1%);如不满足,提示:图片元素2应占总高度的3.75%,宽度100%。2) The dimension of picture element 2 occupies the ratio of the image to be corrected and the distance between adjacent picture elements: 3.75% of the total height (3.65% to 3.85% is allowed) and 100% of the width (99.9% to 100.1% is allowed); If not satisfied, the prompt: picture element 2 should account for 3.75% of the total height and 100% of the width.
图片元素3对应的元素修正规则为:The element correction rule corresponding to picture element 3 is:
1)位置误差接受范围:可以是整体待修正图片的高度或宽度的0.1%。1) Position error acceptance range: It can be 0.1% of the height or width of the overall picture to be corrected.
2)图片元素3的维度占待修正图片的比例和相邻图片元素之间的距离:图片元素3顶端位于横向宽度75%/25%分界(允许74.9%/25.1%分界),距离底部高度7.5%(允许7.4%-7.6%);如不满足,提示:图片元素3顶端应位于横向宽度75%/25%分界,距离底部高度7.5%。2) The dimension of picture element 3 occupies the ratio of the picture to be corrected and the distance between adjacent picture elements: the top of picture element 3 is located at the horizontal width of 75%/25% boundary (allowing 74.9%/25.1% boundary), the height from the bottom is 7.5 % (allows 7.4%-7.6%); if not, the prompt: the top of picture element 3 should be at the lateral width of 75%/25% boundary, 7.5% from the bottom height.
进一步地,元素修正区域的显示方式包括但不限于:通过虚线显示区域边界,或者将元素修正区域进行突出显示等。Further, the display manner of the element correction area includes, but is not limited to, displaying the area boundary by a broken line, or highlighting the element correction area, and the like.
本步骤可以直观地显示元素ID对应的元素修正区域,避免通过人眼来检测出元素修正区域的不便。This step can visually display the element correction area corresponding to the element ID, thereby avoiding the inconvenience of detecting the element correction area by the human eye.
S30.若元素位置不在元素修正区域内,则将与元素ID对应的图片元素移动至元素修正区域内。S30. If the element position is not in the element correction area, move the picture element corresponding to the element ID into the element correction area.
具体地,服务器基于元素ID对应的元素修正区域的边界,将与元素ID对应的图片元素移动到元素修正区域的边界。应用于本实施了,可将与元素ID对应的图片元素的中心点与元素修正区域的中心点重合,使得图片元素位于与元素修正区域中心位置,具有可调节空间。Specifically, the server moves the picture element corresponding to the element ID to the boundary of the element correction area based on the boundary of the element correction area corresponding to the element ID. In the present application, the center point of the picture element corresponding to the element ID may be coincident with the center point of the element correction area, so that the picture element is located at the center of the element correction area and has an adjustable space.
本步骤中,服务器将不在元素修正区域内的图片元素直接移动至元素修正区域内,提高服务器修正图片的自动化水平,无需人工计算图片元素的具体位置,提高图片元素放置位置的精准度。In this step, the server moves the picture elements in the element correction area directly into the element correction area, thereby improving the automation level of the server correction picture, without manually calculating the specific position of the picture element, and improving the accuracy of the picture element placement position.
S40.接收修正确认指令,基于修正确认指令完成图片元素的位置修正。S40. Receive a correction confirmation command, and complete position correction of the picture element based on the correction confirmation command.
具体地,修正确认指令是服务器接收用户发送的,确认当前图片元素所在的位置可被确认的指令。当服务器将与元素ID对应的图片元素自动移动至元素修正区域内,用户满意后可通过客户端向服务器发送修正确认指令;或者经过用户手动微调后,再通过客户端 发送修正确认指令给服务器。Specifically, the correction confirmation command is an instruction sent by the server to the user to confirm that the location of the current picture element can be confirmed. When the server automatically moves the picture element corresponding to the element ID to the element correction area, the user can send a correction confirmation instruction to the server through the client satisfaction; or after the user manually fine-tunes, the client sends a correction confirmation instruction to the server.
进一步地,在修正图片元素时,用户还可对图片元素进行移动、拉伸或缩短等操作。若图片元素经过用户微调后超出元素修正区域,服务器可警示用户当前图片元素仍不符合元素修正规则,以提醒用户将图片元素放置于元素修正区域内。Further, when the picture element is corrected, the user can also move, stretch or shorten the picture element. If the picture element is out of the element correction area after being fine-tuned by the user, the server may alert the user that the current picture element still does not conform to the element modification rule, to remind the user to place the picture element in the element correction area.
进一步地,服务器中设置轮询机制,该轮询机制用于使每一图片元素的位置修正完成后,继续执行获取图片元素检测请求,直至检测完所有图片元素并进行位置修正。本步骤通过轮询机制可以自动检测所有图片元素,极大节省人工确认的时间。Further, a polling mechanism is set in the server, and the polling mechanism is configured to perform the acquiring the picture element detection request after the position correction of each picture element is completed, until all the picture elements are detected and the position correction is performed. This step can automatically detect all picture elements through the polling mechanism, which greatly saves the time for manual confirmation.
优选地,步骤S20之后,也即在显示元素ID对应的元素修正区域的步骤之后,该元素位置修正方法还具体包括如下步骤:Preferably, after the step S20, that is, after the step of displaying the element correction area corresponding to the element ID, the element position correction method further includes the following steps:
S50.若元素位置在元素修正区域内,则继续执行获取图片元素检测请求,直至检测完所有图片元素的位置修正。S50. If the element position is within the element correction area, the acquisition of the picture element detection request is continued until the position correction of all the picture elements is detected.
本步骤中,若元素位置在元素修正区域内,也即该图片元素符合元素修正规则的要求,可迅速继续检测下一图片元素的元素位置,无需人工操作。In this step, if the element position is within the element correction area, that is, the picture element meets the requirements of the element correction rule, the element position of the next picture element can be quickly detected, without manual operation.
可以理解地,在步骤S40后,也即在接收修正确认指令,基于修正确认指令完成图片元素的位置修正的步骤之后,也需要执行步骤S50。当步骤S40将图片元素进行位置修正后,服务器继续检测修正位置后的图片元素。当检测到图片元素已经在元素修正区域内,则满足步骤S50的要求,继续执行获取图片元素检测请求,直至检测完所有图片元素的位置修正,以保障所有经修正位置的图片元素都符合元素修正规则。It can be understood that after step S40, that is, after receiving the correction confirmation command and completing the position correction of the picture element based on the correction confirmation command, step S50 is also required. After the positional correction of the picture element in step S40, the server continues to detect the picture element after the corrected position. When it is detected that the picture element is already in the element correction area, the requirement of step S50 is satisfied, and the acquiring picture element detection request is continued until the position correction of all the picture elements is detected, so as to ensure that the picture elements of all the corrected positions are consistent with the element correction. rule.
本申请实施例提供的元素位置修正方法,通过获取与元素ID相对应的元素修正规则,显示元素ID对应的元素修正区域,便于用户及时准确地获取对应的图片元素正确的放置位置,不再通过人眼进行识别测定,可以有效地判定企业标志中的图片元素是否符合元素修正规则,提高图片元素检测的效率和准确度;通过将与元素ID对应的图片元素移动至元素修正区域内,将人工修正图片转化为精确高效的自动化操作,进一步提高图片元素修正的效率和准确度。The element position correction method provided by the embodiment of the present application obtains the element correction rule corresponding to the element ID by displaying the element correction rule corresponding to the element ID, so that the user can timely and accurately obtain the correct placement position of the corresponding picture element, and no longer passes. The human eye performs the identification measurement, and can effectively determine whether the picture element in the enterprise logo conforms to the element correction rule, and improves the efficiency and accuracy of the picture element detection; by moving the picture element corresponding to the element ID into the element correction area, the artificial Corrected images into accurate and efficient automated operations, further improving the efficiency and accuracy of image element correction.
在一具体实施方式中,如图2所示,步骤S10之前,也即在获取图片元素检测请求步骤之前,该元素位置修正方法还包括如下具体步骤:In a specific embodiment, as shown in FIG. 2, before the step S10, that is, before the step of acquiring the picture element detection request, the element position correction method further includes the following specific steps:
S61.获取图片预处理请求,图片预处理请求包括待修正图片和图片ID。S61. Acquire a picture pre-processing request, where the picture pre-processing request includes a picture to be corrected and a picture ID.
具体地,待修正图片是图片元素构成的整体图片,应用于本实施例即为企业标志。该待修正图片是指需要进行修正处理的图片。Specifically, the image to be corrected is an overall picture composed of picture elements, and is applied to the enterprise logo in this embodiment. The picture to be corrected refers to a picture that needs to be corrected.
图片预处理请求是服务器接收的,用于请求对图片ID对应的待修正图片进行预先处 理,以使其方便于检测是否符合元素修正规则的请求。可以理解地,图片ID是服务器给每个待修正图片分配的唯一标识,用以识别待修正图片。The picture pre-processing request is received by the server, and is used to request pre-processing of the picture to be corrected corresponding to the picture ID, so that it is convenient to detect whether the request for the element modification rule is met. It can be understood that the picture ID is a unique identifier assigned by the server to each picture to be corrected to identify the picture to be corrected.
S62.根据图片ID,获取对应的图片划分规则。S62. Acquire a corresponding picture division rule according to the picture ID.
具体地,图片划分规则是将待修正图片上的图片元素划分出来的规则。因每个图片元素在待修正图片上都占据一定原始位置,可依据该原始位置将不同的图片元素先剪切划分出来,以便进一步处理每个图片元素。本实施例中,服务器中预先存储每一图片ID对应的图片类型,且每一种图片类型对应一种图片划分规则,以使服务器在接收到图片ID后可通过查询操作,快速获取对应的图片划分规则。Specifically, the picture division rule is a rule for dividing picture elements on the picture to be corrected. Since each picture element occupies a certain original position on the picture to be corrected, different picture elements can be first cut and divided according to the original position, so as to further process each picture element. In this embodiment, the image type corresponding to each picture ID is pre-stored in the server, and each picture type corresponds to a picture division rule, so that the server can quickly obtain the corresponding picture by performing a query operation after receiving the picture ID. Divide the rules.
具体地,服务器接收待修正图片,并将该待修正图片保存到内存中,并给该待修正图片设定图片坐标系,便于服务器进一步处理该待修正图片上的图片元素。即在设定好图片坐标系的基础上,依据图片划分规则对待修正图片进行处理。Specifically, the server receives the picture to be corrected, saves the picture to be corrected into the memory, and sets a picture coordinate system for the picture to be corrected, so that the server further processes the picture element on the picture to be corrected. That is, on the basis of setting the picture coordinate system, the corrected picture is processed according to the picture division rule.
S63.采用图片划分规则对待修正图片进行划分,以从待修正图片中获取至少一个图片元素和对应的元素位置。S63. Performing a division of the corrected image by using a picture division rule to obtain at least one picture element and a corresponding element position from the picture to be corrected.
本步骤中,通过待修正图片定位出每个图片元素的边缘进行划分,可以获得该图片元素在设定图片坐标系中的元素位置,便于服务器基于该元素位置修正图片元素。In this step, the edge of each picture element is located by the image to be corrected, and the position of the element of the picture element in the set picture coordinate system can be obtained, so that the server can correct the picture element based on the position of the element.
本实施例中,服务器通过获取图片预处理请求中的待修正图片,给该待修正图片设定图片坐标系后,依据与图片ID相对应的图片划分规则划分该待修正图片,可以获得每个图片元素的具体元素位置,便于服务器基于图片元素的元素位置进行快速精准的位置修正。In this embodiment, after the server obtains the image to be corrected in the image preprocessing request and sets the image coordinate system for the image to be corrected, the server divides the image to be corrected according to the image division rule corresponding to the image ID, and each of the images can be obtained. The specific element position of the picture element allows the server to perform fast and accurate position correction based on the element position of the picture element.
在一具体实施方式中,如图3所示,步骤S20中,也即显示元素ID对应的元素修正区域,具体包括如下步骤:In a specific embodiment, as shown in FIG. 3, in step S20, that is, the element correction area corresponding to the element ID is displayed, which specifically includes the following steps:
S21.基于元素修正规则,获取图片元素的修正长、修正宽和图片元素间距。S21. Based on the element correction rule, obtain the correction length, the correction width, and the picture element spacing of the picture element.
具体地,元素修正规则包括每个图片元素对应的修正长、修正宽和图片元素间距。修正长和修正宽是元素修正规则设定的该图片元素所在的元素修正区域的长和宽。图片元素间距是每个图片元素和周围图片元素之间的放置距离,以及每个图片元素和待修正图片边缘的距离。Specifically, the element correction rule includes a correction length, a correction width, and a picture element spacing corresponding to each picture element. The correction length and the correction width are the length and width of the element correction area in which the picture element is set by the element correction rule. The picture element spacing is the distance between each picture element and the surrounding picture elements, and the distance between each picture element and the edge of the picture to be corrected.
本步骤中,服务器通过元素修正规则获取图片元素的修正长、修正宽和图片元素间距,可以精确快速地测量出元素修正区域,节省人工计算的时间。In this step, the server obtains the correction length, the correction width, and the picture element spacing by using the element correction rule, and can accurately and quickly measure the element correction area, thereby saving the time of manual calculation.
S22.基于图片元素的修正长、修正宽和图片元素间距,在图片元素所在的待修正图片上形成元素修正区域。S22. Forming an element correction area on the picture to be corrected where the picture element is located based on the corrected length of the picture element, the correction width, and the picture element spacing.
具体地,元素修正区域的显示方式包括但不限于:通过虚线显示区域边界,或者将元素修正区域进行突出显示等。Specifically, the display manner of the element correction area includes, but is not limited to, displaying the area boundary by a broken line, or highlighting the element correction area or the like.
本实施例中,通过服务器计算得到图片元素的元素修正区域并显示出来,大大节省通过人工计算的时间,并且提高了位置的精准性;在图片元素所在的待修正图片上形成元素修正区域,更加直观地展示出元素修正区域,便于进行图片元素的位置修正。In this embodiment, the element correction area of the picture element is calculated and displayed by the server, which greatly saves the time of manual calculation and improves the accuracy of the position; and forms an element correction area on the picture to be corrected where the picture element is located, and more Visually display the element correction area for easy position correction of picture elements.
在一具体实施方式中,如图4所示,该元素位置修正方法还具体包括如下步骤:In a specific embodiment, as shown in FIG. 4, the element position correction method further includes the following steps:
S71.获取图片元素添加请求,图片元素添加请求包括元素ID和与元素ID对应的图片元素和元素添加规则。S71. Acquire a picture element addition request, where the picture element addition request includes an element ID and a picture element and an element addition rule corresponding to the element ID.
具体地,图片元素添加请求是用户向服务器发送的,向待修正图片上添加新的图片元素的请求。每个图片元素都对应一个元素修正规则,可以理解地,当添加图片元素时也需要满足一定的添加规则,才能将该图片元素添加到待修正图片中。该添加图片元素到待修正图片中的规则就是元素添加规则。Specifically, the picture element addition request is a request that the user sends to the server to add a new picture element to the picture to be corrected. Each picture element corresponds to an element correction rule. It can be understood that when adding a picture element, a certain addition rule is also required to add the picture element to the picture to be corrected. The rule for adding a picture element to the picture to be corrected is the element addition rule.
进一步地,考虑到实际需求,修正企业标志的过程中,可能需要添加或者删除某个图片元素,此时需要用到本实施例提出的图片元素添加请求,以满足实际需要。Further, in consideration of actual requirements, in the process of correcting the enterprise logo, it may be necessary to add or delete a certain picture element. In this case, the picture element addition request proposed in this embodiment is needed to meet the actual needs.
本步骤中,通过获取图片元素和图片元素对应的元素添加规则,可精准地确定该图片元素相应的元素添加区域,同时极大节省人工计算的时间。In this step, by acquiring an element adding rule corresponding to the picture element and the picture element, the corresponding element addition area of the picture element can be accurately determined, and the time of manual calculation is greatly saved.
S72.基于元素添加规则,显示元素ID对应的元素添加区域,并将图片元素添加到元素添加区域中。S72. Based on the element adding rule, the element adding area corresponding to the element ID is displayed, and the picture element is added to the element adding area.
具体地,元素添加区域是服务器根据元素添加规则计算得到的,在待修正图片上添加新的图片元素的位置区域。Specifically, the element addition area is calculated by the server according to the element adding rule, and the location area of the new picture element is added to the picture to be corrected.
本步骤中,服务器可将待添加的图片元素自动添加到元素添加区域中,提高了图片元素添加的自动化程度。In this step, the server can automatically add the image elements to be added to the element addition area, which improves the automation of the picture element addition.
S73.接收添加确认指令,以完成图片元素的位置添加。S73. Receive an add confirmation command to complete the location addition of the picture element.
具体地,添加确认指令是用户确认该图片元素所在的位置为最终位置的指令。Specifically, the addition confirmation command is an instruction that the user confirms that the position of the picture element is the final position.
进一步地,用户可以直接确认服务器的添加的图片元素的元素位置,或者用户进行微调后,再向服务器发送添加确认指令。本步骤中,用户可直接确认服务器的添加结果,或者用户可自行微调添加图片元素的位置,增强了添加图片元素的灵活性。Further, the user can directly confirm the element position of the added picture element of the server, or after the user performs fine adjustment, send an add confirmation instruction to the server. In this step, the user can directly confirm the addition result of the server, or the user can fine-tune the position of adding the picture element, and enhance the flexibility of adding the picture element.
本实施例提供图片元素添加请求,以便基于该图片元素添加请求在待修正图片上添加新的图片元素,扩展了修正图片元素的范围,提高用户体验。This embodiment provides a picture element addition request, so as to add a new picture element to the picture to be corrected based on the picture element addition request, the range of the modified picture element is expanded, and the user experience is improved.
在一具体实施方式中,如图5所示,该元素位置修正方法还具体包括如下步骤:In a specific embodiment, as shown in FIG. 5, the element position correction method further includes the following steps:
S81.获取图片元素删除请求,图片元素删除请求包括元素ID。S81. Acquire a picture element deletion request, and the picture element deletion request includes an element ID.
具体地,图片元素删除请求是用户向服务器发送的,向待修正图片上删除原有的图片元素的请求。Specifically, the picture element deletion request is a request that the user sends to the server to delete the original picture element from the picture to be corrected.
本步骤中,用户可通过图片元素删除请求删除待修正图片中与元素ID相对应的图片元素,增强修正图片元素的灵活性。In this step, the user can delete the picture element corresponding to the element ID in the picture to be corrected by using the picture element deletion request, and enhance the flexibility of correcting the picture element.
S82.删除元素ID对应的元素修正规则和图片元素。S82. The element correction rule and the picture element corresponding to the element ID are deleted.
具体地,删除图片元素时,该图片元素不再存在于待修正图片上,因此,该图片元素对应的元素修正规则同时作废,可删除以节约服务器的存储空间。Specifically, when the picture element is deleted, the picture element no longer exists on the picture to be corrected. Therefore, the element modification rule corresponding to the picture element is invalid at the same time, and can be deleted to save the storage space of the server.
本步骤,通过删除图片元素和图片元素对应的元素修正规则,以简化该待修正图片携带的图片相关信息,节省服务器资源。In this step, the element correction rule corresponding to the picture element and the picture element is deleted, so that the picture related information carried by the picture to be corrected is simplified, and server resources are saved.
本实施例提供图片元素删除请求,以便基于该图片元素删除请求在待修正图片上删除已有的图片元素,扩展了修正图片元素的范围。In this embodiment, a picture element deletion request is provided, so that the existing picture element is deleted on the picture to be corrected based on the picture element deletion request, and the range of the modified picture element is expanded.
在一具体实施方式中,如图6所示,步骤S20之后,也即在显示元素ID对应的元素修正区域的步骤之后,该元素位置修正方法还包括如下具体步骤:In a specific embodiment, as shown in FIG. 6, after the step S20, that is, after the step of displaying the element correction area corresponding to the element ID, the element position correction method further includes the following specific steps:
S91.获取形成虚拟组合图形请求,虚拟组合图形请求包括至少一个剩余元素ID和与每一剩余元素ID对应的组合修正规则。S91. Acquire a virtual combined graphic request, the virtual combined graphic request including at least one remaining element ID and a combined correction rule corresponding to each remaining element ID.
具体地,形成虚拟组合图形请求是将待修正图片中未经修正过的所有图片元素同时形成一个组合图形并显示的请求。组合修正规则是服务器集合剩余待修正的图形元素对应的元素修正规则,形成的组合修正规则,以使虚拟组合图形中的每一个图片元素都符合元素修正规则的规定。剩余元素ID是指待修正图片中未经修正过的每个图片元素对应的标识。Specifically, the forming of the virtual combined graphic request is a request for simultaneously forming and displaying a plurality of image elements that have not been corrected in the image to be corrected. The combination correction rule is an element correction rule corresponding to the remaining graphic elements to be corrected in the server set, and the combined correction rule is formed such that each picture element in the virtual combination graphic conforms to the element modification rule. The remaining element ID refers to an identifier corresponding to each picture element that has not been corrected in the picture to be corrected.
本步骤中,服务器一次结合剩余待修正的图片元素的元素修正规则形成组合修正规则,极大节省人工计算的时间,同时保证每个图片元素的元素位置的准确性。In this step, the server combines the element correction rules of the remaining picture elements to be corrected to form a combination correction rule, which greatly saves the time of manual calculation and ensures the accuracy of the element position of each picture element.
S92.基于所有的组合修正规则,将至少一个剩余元素ID对应的剩余图形元素按预设顺序依次组合形成虚拟组合图形。S92. Based on all the combination correction rules, the remaining graphic elements corresponding to the at least one remaining element ID are sequentially combined in a preset order to form a virtual combined graphic.
本步骤中服务器一次性将剩余待修正的图片元素形成虚拟组合图形,节省逐个检测图片元素的元素位置的时间。本实施例中,预设顺序是指按元素修正规则中规定的修正图片元素的顺序。比如,在一待修正图片中,需要首先指定图片元素1的位置,图片元素2的位置是基于图片元素1的位置来设定的,以此类推,直至指定最后一个图片元素的位置。In this step, the server forms a virtual combination graphic for the remaining picture elements to be corrected at one time, saving the time for detecting the element position of the picture element one by one. In this embodiment, the preset order refers to the order of the corrected picture elements specified in the element correction rule. For example, in a picture to be corrected, it is necessary to first specify the position of the picture element 1, the position of the picture element 2 is set based on the position of the picture element 1, and so on, until the position of the last picture element is specified.
具体地,按预设顺序依次组合形成虚拟组合图形,可以满足每个图片元素对应的元素修正规则的要求,保障了每个图片元素放置位置的正确性。Specifically, the virtual combination graphics are sequentially combined in a preset order, which satisfies the requirements of the element correction rules corresponding to each picture element, and ensures the correctness of the placement position of each picture element.
S93.基于至少一个剩余元素ID对应的剩余图片元素,确定图片元素中心位置。S93. Determine a picture element center position based on the remaining picture elements corresponding to the at least one remaining element ID.
剩余元素是指待修正图片中未经修正过的图片元素。具体地,图片元素中心位置是虚拟组合图形在设定图片坐标系中的中心坐标值。本步骤通过计算得到虚拟组合图形基于设定坐标系统中的中心坐标值,可以将虚拟组合图形准确地放置在待修正图片上,以满足组合修正规则的要求。The remaining elements refer to the uncorrected picture elements in the image to be corrected. Specifically, the picture element center position is a center coordinate value of the virtual combination graphic in the set picture coordinate system. In this step, the virtual combined graphic is calculated based on the central coordinate value in the set coordinate system, and the virtual combined graphic can be accurately placed on the image to be corrected to meet the requirements of the combined correction rule.
S94.使虚拟组合图形的中心与图片元素中心位置重合,以完成虚拟组合图形的修正。S94. The center of the virtual combined graphic is coincident with the center position of the picture element to complete the correction of the virtual combined graphic.
本步骤通过计算得到图片元素中心位置,并将该虚拟组合图形的中心放置于设定图片坐标系中的图片元素中心位置上,以保证虚拟组合图形放置到准确的位置。In this step, the center position of the picture element is obtained by calculation, and the center of the virtual combination graphic is placed at the center position of the picture element in the set picture coordinate system to ensure that the virtual combination graphic is placed in an accurate position.
本实施例通过一次性形成虚拟组合图形,节省逐个检测图片元素的元素位置的时间。In this embodiment, by forming a virtual combined graphic at a time, the time for detecting the element position of the picture element one by one is saved.
通过获取与元素ID相对应的元素修正规则,显示元素ID对应的元素修正区域,便于用户及时准确地获取对应的图片元素正确的放置位置,不再通过人眼进行识别测定,可以有效地判定企业标志中的图片元素是否符合元素修正规则,提高图片元素检测的效率和准确度;通过将与元素ID对应的图片元素移动至元素修正区域内,将人工修正图片转化为精确高效的自动化操作,进一步提高图片元素修正的效率和准确度。By obtaining the element correction rule corresponding to the element ID, the element correction area corresponding to the element ID is displayed, so that the user can obtain the correct placement position of the corresponding picture element in time and accurately, and no longer recognize and determine by the human eye, and can effectively determine the enterprise. Whether the picture elements in the flag meet the element correction rules, improve the efficiency and accuracy of the picture element detection; by moving the picture element corresponding to the element ID into the element correction area, the artificial correction picture is converted into an accurate and efficient automatic operation, further Improve the efficiency and accuracy of image element corrections.
进一步地,本实施例提供的服务器通过获取图片预处理请求中的待修正图片,给该待修正图片设定图片坐标系后,依据与图片ID相对应的图片划分规则划分该待修正图片,可以获得每个图片元素的具体元素位置,便于服务器基于图片元素的元素位置进行快速精准的位置修正。Further, the server provided in this embodiment obtains the image to be corrected in the image preprocessing request, and after setting the image coordinate system to the image to be corrected, the image to be corrected is divided according to the image division rule corresponding to the image ID. Get the specific element position of each picture element, so that the server can quickly and accurately correct the position based on the element position of the picture element.
再进一步地,本实施例还通过服务器计算得到图片元素的元素修正区域并显示出来,大大节省通过人工计算的时间,并且提高了位置的精准性;在图片元素所在的待修正图片上形成元素修正区域,更加直观地展示出元素修正区域,便于进行图片元素的位置修正。Further, in this embodiment, the element correction area of the picture element is calculated and displayed by the server, which greatly saves the time of manual calculation and improves the accuracy of the position; and forms an element correction on the picture to be corrected where the picture element is located. The area, more intuitively showing the element correction area, is convenient for position correction of picture elements.
本实施例还提供图片元素添加请求和获取形成虚拟组合图形请求,扩展了修正图片元素的范围;通过一次性形成虚拟组合图形,节省逐个检测图片元素的元素位置的时间。The embodiment further provides a picture element addition request and a request for forming a virtual combination graphic, and expands the range of the corrected picture element; by forming the virtual combination graphic at one time, the time for detecting the element position of the picture element one by one is saved.
应理解,上述实施例中各步骤的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。It should be understood that the size of the sequence of the steps in the above embodiments does not mean that the order of execution is performed. The order of execution of each process should be determined by its function and internal logic, and should not be construed as limiting the implementation process of the embodiments of the present application.
实施例2Example 2
图7示出与实施例1中元素位置修正方法一一对应的元素位置修正装置的原理框图。如图7所示,该元素位置修正装置包括获取检测请求模块10、获取修正规则模块20、移动图片元素模块30和接收确认指令模块40。其中,获取检测请求模块10、获取修正规则模块20、移动图片元素模块30和接收确认指令模块40的实现功能与实施例中元素位置修 正方法对应的步骤一一对应,为避免赘述,本实施例不一一详述。Fig. 7 is a block diagram showing the principle of the element position correcting means corresponding to the element position correcting method in the first embodiment. As shown in FIG. 7, the element position correction means includes an acquisition detection request module 10, an acquisition correction rule module 20, a moving picture element module 30, and a reception confirmation instruction module 40. The implementation function of the acquisition detection request module 10, the acquisition correction rule module 20, the mobile image element module 30, and the reception confirmation instruction module 40 corresponds to the steps corresponding to the element position correction method in the embodiment. To avoid redundancy, the embodiment is omitted. Not detailed one by one.
获取检测请求模块10,用于获取图片元素检测请求,图片元素检测请求包括元素ID、与元素ID相对应的图片元素和元素位置。The acquisition detection request module 10 is configured to acquire a picture element detection request, where the picture element detection request includes an element ID, a picture element corresponding to the element ID, and an element position.
获取修正规则模块20,用于获取与元素ID相对应的元素修正规则,显示元素ID对应的元素修正区域。The correction rule module 20 is configured to acquire an element correction rule corresponding to the element ID, and display an element correction area corresponding to the element ID.
移动图片元素模块30,用于若元素位置不在元素修正区域内,则将与元素ID对应的图片元素移动至元素修正区域内。The moving picture element module 30 is configured to move the picture element corresponding to the element ID into the element correction area if the element position is not within the element correction area.
接收确认指令模块40,用于接收修正确认指令,基于修正确认指令完成图片元素的位置修正。The reception confirmation command module 40 is configured to receive the correction confirmation command, and complete the position correction of the picture element based on the correction confirmation command.
优选地,该元素位置修正装置还包括继续执行检测请求模块50。Preferably, the element position correction device further includes the continuation of the detection request module 50.
继续执行检测请求模块50,用于若元素位置在元素修正区域内,则继续执行获取图片元素检测请求,直至检测完所有图片元素的位置修正。The execution of the detection request module 50 is continued to continue to perform the acquisition of the picture element detection request if the element position is within the element correction area until the position correction of all picture elements is detected.
优选地,该元素位置修正装置还包括获取图片预处理请求单元61、获取划分规则单元62和获取元素位置单元63。Preferably, the element position correction device further includes an acquisition picture pre-processing request unit 61, an acquisition division rule unit 62, and an acquisition element position unit 63.
获取图片预处理请求单元61,用于获取图片预处理请求,图片预处理请求包括待修正图片和图片ID。The image preprocessing requesting unit 61 is configured to obtain a picture preprocessing request, where the picture preprocessing request includes a picture to be corrected and a picture ID.
获取划分规则单元62,用于根据图片ID,获取对应的图片划分规则。The obtaining dividing rule unit 62 is configured to obtain a corresponding picture dividing rule according to the picture ID.
获取元素位置单元63,用于采用图片划分规则对待修正图片进行划分,以从待修正图片中获取至少一个图片元素和对应的元素位置。The element location unit 63 is configured to divide the corrected image by using a picture division rule to obtain at least one picture element and a corresponding element position from the picture to be corrected.
优选地,该获取修正规则模块20还包括获取修正长单元21和形成修正区域单元22。Preferably, the acquisition correction rule module 20 further includes an acquisition correction length unit 21 and a formation correction area unit 22.
获取修正长单元21,用于基于元素修正规则,获取图片元素的修正长、修正宽和图片元素间距。The correction length unit 21 is obtained for acquiring the correction length, the correction width, and the picture element spacing of the picture element based on the element correction rule.
形成修正区域单元22,用于基于图片元素的修正长、修正宽和图片元素间距,在图片元素所在的待修正图片上形成元素修正区域。A correction area unit 22 is formed for forming an element correction area on the picture to be corrected where the picture element is located based on the corrected length of the picture element, the correction width, and the picture element spacing.
优选地,该元素位置修正装置还包括获取添加请求单元71、添加图片元素单元72和接收添加确认指令单元73。Preferably, the element position correction device further includes an acquisition addition request unit 71, an addition picture element unit 72, and a reception addition confirmation instruction unit 73.
获取添加请求单元71,用于获取图片元素添加请求,图片元素添加请求包括元素ID和与元素ID对应的图片元素和元素添加规则。The acquisition request unit 71 is configured to acquire a picture element addition request, where the picture element addition request includes an element ID and a picture element and an element addition rule corresponding to the element ID.
添加图片元素单元72,用于基于元素添加规则,显示元素ID对应的元素添加区域,并将图片元素添加到元素添加区域中。The picture element unit 72 is configured to display an element addition area corresponding to the element ID based on the element addition rule, and add the picture element to the element addition area.
接收添加确认指令单元73,用于接收添加确认指令,以完成图片元素的位置添加。The receive addition confirmation command unit 73 is configured to receive the add confirmation command to complete the location addition of the picture element.
优选地,该元素位置修正装置还包括获取删除请求单元81和删除图片元素单元82。Preferably, the element position correction device further includes an acquisition deletion request unit 81 and a deletion picture element unit 82.
获取删除请求单元81,用于获取图片元素删除请求,图片元素删除请求包括元素ID。The deletion request unit 81 is configured to acquire a picture element deletion request, and the picture element deletion request includes an element ID.
删除图片元素单元82,用于删除元素ID对应的元素修正规则和图片元素。The delete picture element unit 82 is configured to delete the element correction rule and the picture element corresponding to the element ID.
优选地,该元素位置修正装置还包括获取虚拟组合图形单元91、形成虚拟组合图形单元92、确定中心位置单元93和完成虚拟组合图形单元94。Preferably, the element position correction device further includes an acquisition virtual combination graphic unit 91, a formation virtual combination graphic unit 92, a determination center position unit 93, and a completion virtual combination graphic unit 94.
获取虚拟组合图形单元91,用于获取形成虚拟组合图形请求,虚拟组合图形请求包括至少一个剩余元素ID和与每一剩余元素ID对应的组合修正规则。The virtual combination graphic unit 91 is configured to acquire a virtual combination graphic request, and the virtual combination graphic request includes at least one remaining element ID and a combination correction rule corresponding to each remaining element ID.
形成虚拟组合图形单元92,用于基于所有的组合修正规则,将至少一个剩余元素ID对应的剩余图形元素按预设顺序依次组合形成虚拟组合图形。A virtual combination graphic unit 92 is formed for sequentially combining the remaining graphic elements corresponding to the at least one remaining element ID in a preset order to form a virtual combined graphic based on all the combination correction rules.
确定中心位置单元93,用于基于至少一个剩余元素ID对应的剩余图片元素,确定图片元素中心位置。The determining center location unit 93 is configured to determine a picture element center location based on the remaining picture elements corresponding to the at least one remaining element ID.
完成虚拟组合图形单元94,用于使虚拟组合图形的中心与图片元素中心位置重合,以完成虚拟组合图形的修正。The virtual combined graphic unit 94 is completed for superimposing the center of the virtual combined graphic with the center position of the picture element to complete the modification of the virtual combined graphic.
实施例3Example 3
本实施例提供一个或多个存储有计算机可读指令的非易失性可读存储介质。该一个或多个存储有计算机可读指令的非易失性可读存储介质,计算机可读指令被一个或多个处理器执行时,使得一个或多个处理器执行实施例1中元素位置修正方法,为避免重复,这里不再赘述。或者,该计算机可读指令被处理器执行时实现实施例2中元素位置修正装置中各模块/单元的功能,为避免重复,这里不再赘述。This embodiment provides one or more non-volatile readable storage media having computer readable instructions stored thereon. The one or more non-volatile readable storage mediums storing computer readable instructions, when executed by one or more processors, causing one or more processors to perform element position correction in embodiment 1. The method, in order to avoid repetition, will not be described here. Alternatively, when the computer readable instructions are executed by the processor, the functions of the modules/units in the element position correction device in Embodiment 2 are implemented. To avoid repetition, details are not described herein again.
可以理解地,一个或多个存储有计算机可读指令的非易失性可读存储介质可以包括:能够携带所述计算机可读指令代码的任何实体或装置、记录介质、U盘、移动硬盘、磁碟、光盘、计算机存储器、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、电载波信号和电信信号等。It will be understood that one or more non-volatile readable storage media storing computer readable instructions may comprise: any entity or device capable of carrying the computer readable instruction code, a recording medium, a USB flash drive, a mobile hard drive, Disk, optical disk, computer memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier signals, and telecommunications signals.
实施例4Example 4
图8是本申请一实施例提供的计算机设备的示意图。如图8所示,该实施例的计算机设备200包括:处理器210、存储器220以及存储在存储器220中并可在处理器210上运行的计算机可读指令230。处理器210执行计算机可读指令230时实现上述实施例1中元素位置修正方法的步骤,例如图1所示的步骤S10至S50。或者,处理器210执行计算机可读指令230时实现上述实施例2中元素位置修正装置的各模块/单元的功能,例如图7 所示和获取检测请求模块10、获取修正规则模块20、移动图片元素模块30和接收确认指令模块40的功能。FIG. 8 is a schematic diagram of a computer device according to an embodiment of the present application. As shown in FIG. 8, computer device 200 of this embodiment includes a processor 210, a memory 220, and computer readable instructions 230 stored in memory 220 and executable on processor 210. The processor 210 implements the steps of the element position correction method in the above embodiment 1 when the computer readable instructions 230 are executed, such as steps S10 to S50 shown in FIG. Alternatively, when the processor 210 executes the computer readable instructions 230, the functions of the modules/units of the element position correction device in the second embodiment are implemented, such as the acquisition detection request module 10, the acquisition correction rule module 20, and the moving picture. The element module 30 and the function of receiving the confirmation command module 40.
所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,仅以上述各功能单元、模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能单元、模块完成,即将所述装置的内部结构划分成不同的功能单元或模块,以完成以上描述的全部或者部分功能。It will be apparent to those skilled in the art that, for convenience and brevity of description, only the division of each functional unit and module described above is exemplified. In practical applications, the above functions may be assigned to different functional units as needed. The module is completed by dividing the internal structure of the device into different functional units or modules to perform all or part of the functions described above.
以上所述实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围,均应包含在本申请的保护范围之内。The above-mentioned embodiments are only used to explain the technical solutions of the present application, and are not limited thereto; although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that they can still implement the foregoing embodiments. The technical solutions described in the examples are modified or equivalently replaced with some of the technical features; and the modifications or substitutions do not deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should be included in Within the scope of protection of this application.

Claims (20)

  1. 一种元素位置修正方法,其特征在于,包括:An element position correction method, comprising:
    获取图片元素检测请求,所述图片元素检测请求包括元素ID、与所述元素ID相对应的图片元素和元素位置;Obtaining a picture element detection request, where the picture element detection request includes an element ID, a picture element corresponding to the element ID, and an element position;
    获取与所述元素ID相对应的元素修正规则,显示所述元素ID对应的元素修正区域;Obtaining an element correction rule corresponding to the element ID, and displaying an element correction area corresponding to the element ID;
    若所述元素位置不在所述元素修正区域内,则将与所述元素ID对应的图片元素移动至所述元素修正区域内;If the element position is not in the element correction area, moving the picture element corresponding to the element ID into the element correction area;
    接收修正确认指令,基于所述修正确认指令完成所述图片元素的位置修正。A correction confirmation command is received, and the position correction of the picture element is completed based on the correction confirmation command.
  2. 如权利要求1所述的元素位置修正方法,其特征在于,在所述显示所述元素ID对应的元素修正区域的步骤之后,所述元素位置修正方法还包括:The element position correction method according to claim 1, wherein after the step of displaying the element correction area corresponding to the element ID, the element position correction method further comprises:
    若所述元素位置在所述元素修正区域内,则继续执行获取图片元素检测请求,直至检测完所有所述图片元素的位置修正。If the element position is within the element correction area, the acquiring picture element detection request is continued until the position correction of all the picture elements is detected.
  3. 如权利要求1所述的位置修正方法,其特征在于,在所述获取图片元素检测请求的步骤之前,所述元素位置修正方法还包括:The position correction method according to claim 1, wherein before the step of acquiring the picture element detection request, the element position correction method further comprises:
    获取图片预处理请求,所述图片预处理请求包括待修正图片和图片ID;Obtaining a picture pre-processing request, where the picture pre-processing request includes a picture to be corrected and a picture ID;
    根据所述图片ID,获取对应的图片划分规则;Obtaining a corresponding picture division rule according to the picture ID;
    采用所述图片划分规则对所述待修正图片进行划分,以从所述待修正图片中获取至少一个图片元素和对应的元素位置。The picture to be corrected is divided by the picture division rule to obtain at least one picture element and a corresponding element position from the picture to be corrected.
  4. 如权利要求1所述的元素位置修正方法,其特征在于,所述显示所述元素ID对应的元素修正区域,包括:The element position correction method according to claim 1, wherein the displaying the element correction area corresponding to the element ID comprises:
    基于所述元素修正规则,获取所述图片元素的修正长、修正宽和图片元素间距;Obtaining a modified length, a correction width, and a picture element spacing of the picture element based on the element correction rule;
    基于所述图片元素的修正长、修正宽和图片元素间距,在图片元素所在的待修正图片上形成元素修正区域。Based on the corrected length, the corrected width, and the picture element spacing of the picture element, an element correction area is formed on the picture to be corrected where the picture element is located.
  5. 如权利要求1所述的元素位置修正方法,其特征在于,所述元素修正方法还包括:The element position correction method according to claim 1, wherein the element correction method further comprises:
    获取图片元素添加请求,所述图片元素添加请求包括元素ID和与所述元素ID对应的图片元素和元素添加规则;Obtaining a picture element adding request, the picture element adding request including an element ID and a picture element and an element adding rule corresponding to the element ID;
    基于所述元素添加规则,显示所述元素ID对应的元素添加区域,并将所述图片元素添加到所述元素添加区域中;And displaying, according to the element adding rule, an element adding area corresponding to the element ID, and adding the picture element to the element adding area;
    接收添加确认指令,以完成所述图片元素的位置添加。An add confirmation command is received to complete the location addition of the picture element.
  6. 如权利要求1所述的元素位置修正方法,其特征在于,所述元素修正方法还包括:The element position correction method according to claim 1, wherein the element correction method further comprises:
    获取图片元素删除请求,所述图片元素删除请求包括元素ID;Obtaining a picture element deletion request, where the picture element deletion request includes an element ID;
    删除所述元素ID对应的元素修正规则和图片元素。The element correction rule and the picture element corresponding to the element ID are deleted.
  7. 如权利要求1所述的元素位置修正方法,其特征在于,在所述显示所述元素ID对应的元素修正区域的步骤之后,所述元素修正方法还包括:The element position correction method according to claim 1, wherein after the step of displaying the element correction area corresponding to the element ID, the element correction method further comprises:
    获取形成虚拟组合图形请求,所述虚拟组合图形请求包括至少一个剩余元素ID和与每一所述剩余元素ID对应的组合修正规则;Acquiring to form a virtual combined graphic request, the virtual combined graphic request including at least one remaining element ID and a combined correction rule corresponding to each of the remaining element IDs;
    基于所有的所述组合修正规则,将至少一个所述剩余元素ID对应的剩余图形元素按预设顺序依次组合形成虚拟组合图形;And remaining, according to all the combination correction rules, the remaining graphic elements corresponding to the at least one of the remaining element IDs are sequentially combined to form a virtual combination graphic in a preset order;
    基于至少一个所述剩余元素ID对应的剩余图片元素,确定图片元素中心位置;Determining a picture element center position based on the remaining picture elements corresponding to the at least one of the remaining element IDs;
    使所述虚拟组合图形的中心与所述图片元素中心位置重合,以完成虚拟组合图形的修正。The center of the virtual combined graphic is coincident with the center position of the picture element to complete the modification of the virtual combined graphic.
  8. 一种元素位置修正装置,其特征在于,包括:An element position correction device, comprising:
    获取检测请求模块,用于获取图片元素检测请求,所述图片元素检测请求包括元素ID、与所述元素ID相对应的图片元素和元素位置;Obtaining a detection request module, configured to acquire a picture element detection request, where the picture element detection request includes an element ID, a picture element corresponding to the element ID, and an element location;
    获取修正规则模块,用于获取与所述元素ID相对应的元素修正规则,显示所述元素ID对应的元素修正区域;Obtaining a correction rule module, configured to acquire an element modification rule corresponding to the element ID, and display an element correction area corresponding to the element ID;
    移动图片元素模块,用于若所述元素位置不在所述元素修正区域内,则将与所述元素ID对应的图片元素移动至所述元素修正区域内;a moving picture element module, configured to move a picture element corresponding to the element ID into the element correction area if the element position is not in the element correction area;
    接收确认指令模块,用于接收修正确认指令,基于所述修正确认指令完成所述图片元素的位置修正。The receiving confirmation command module is configured to receive the correction confirmation command, and complete the position correction of the picture element based on the correction confirmation instruction.
  9. 一种计算机设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机可读指令,其特征在于,所述处理器执行所述计算机可读指令时实现如下步骤:A computer device comprising a memory, a processor, and computer readable instructions stored in the memory and operative on the processor, wherein the processor executes the computer readable instructions as follows step:
    获取图片元素检测请求,所述图片元素检测请求包括元素ID、与所述元素ID相对应的图片元素和元素位置;Obtaining a picture element detection request, where the picture element detection request includes an element ID, a picture element corresponding to the element ID, and an element position;
    获取与所述元素ID相对应的元素修正规则,显示所述元素ID对应的元素修正区域;Obtaining an element correction rule corresponding to the element ID, and displaying an element correction area corresponding to the element ID;
    若所述元素位置不在所述元素修正区域内,则将与所述元素ID对应的图片元素移动至所述元素修正区域内;If the element position is not in the element correction area, moving the picture element corresponding to the element ID into the element correction area;
    接收修正确认指令,基于所述修正确认指令完成所述图片元素的位置修正。A correction confirmation command is received, and the position correction of the picture element is completed based on the correction confirmation command.
  10. 如权利要求9所述的终端设备,其特征在于,在所述显示所述元素ID对应的元素修正区域的步骤之后,所述处理器执行所述计算机可读指令时还实现如下步骤:The terminal device according to claim 9, wherein after the step of displaying the element correction region corresponding to the element ID, the processor further implements the following steps when the computer readable instruction is executed:
    若所述元素位置在所述元素修正区域内,则继续执行获取图片元素检测请求,直至检测完所有所述图片元素的位置修正。If the element position is within the element correction area, the acquiring picture element detection request is continued until the position correction of all the picture elements is detected.
  11. 如权利要求9所述的终端设备,其特征在于,在所述获取图片元素检测请求的步骤之前,所述处理器执行所述计算机可读指令时还实现如下步骤:The terminal device according to claim 9, wherein the processor further implements the following steps when the processor executes the computer readable instructions before the step of acquiring a picture element detection request:
    获取图片预处理请求,所述图片预处理请求包括待修正图片和图片ID;Obtaining a picture pre-processing request, where the picture pre-processing request includes a picture to be corrected and a picture ID;
    根据所述图片ID,获取对应的图片划分规则;Obtaining a corresponding picture division rule according to the picture ID;
    采用所述图片划分规则对所述待修正图片进行划分,以从所述待修正图片中获取至少一个图片元素和对应的元素位置。The picture to be corrected is divided by the picture division rule to obtain at least one picture element and a corresponding element position from the picture to be corrected.
  12. 如权利要求9所述的终端设备,其特征在于,所述显示所述元素ID对应的元素修正区域,包括:The terminal device according to claim 9, wherein the displaying the element correction area corresponding to the element ID comprises:
    基于所述元素修正规则,获取所述图片元素的修正长、修正宽和图片元素间距;Obtaining a modified length, a correction width, and a picture element spacing of the picture element based on the element correction rule;
    基于所述图片元素的修正长、修正宽和图片元素间距,在图片元素所在的待修正图片上形成元素修正区域。Based on the corrected length, the corrected width, and the picture element spacing of the picture element, an element correction area is formed on the picture to be corrected where the picture element is located.
  13. 如权利要求9所述的终端设备,其特征在于,所述处理器执行所述计算机可读指令时还实现如下步骤:The terminal device according to claim 9, wherein said processor further implements the following steps when said computer readable instructions are executed:
    获取图片元素添加请求,所述图片元素添加请求包括元素ID和与所述元素ID对应的图片元素和元素添加规则;Obtaining a picture element adding request, the picture element adding request including an element ID and a picture element and an element adding rule corresponding to the element ID;
    基于所述元素添加规则,显示所述元素ID对应的元素添加区域,并将所述图片元素添加到所述元素添加区域中;And displaying, according to the element adding rule, an element adding area corresponding to the element ID, and adding the picture element to the element adding area;
    接收添加确认指令,以完成所述图片元素的位置添加。An add confirmation command is received to complete the location addition of the picture element.
  14. 如权利要求9所述的终端设备,其特征在于,所述处理器执行所述计算机可读指令时还实现如下步骤:The terminal device according to claim 9, wherein said processor further implements the following steps when said computer readable instructions are executed:
    获取图片元素删除请求,所述图片元素删除请求包括元素ID;Obtaining a picture element deletion request, where the picture element deletion request includes an element ID;
    删除所述元素ID对应的元素修正规则和图片元素。The element correction rule and the picture element corresponding to the element ID are deleted.
  15. 一个或多个存储有计算机可读指令的非易失性可读存储介质,其特征在于,所述计算机可读指令被一个或多个处理器执行时,使得所述一个或多个处理器执行如下步骤:One or more non-transitory readable storage mediums storing computer readable instructions, wherein when the computer readable instructions are executed by one or more processors, cause the one or more processors to execute The following steps:
    获取图片元素检测请求,所述图片元素检测请求包括元素ID、与所述元素ID相对应的图片元素和元素位置;Obtaining a picture element detection request, where the picture element detection request includes an element ID, a picture element corresponding to the element ID, and an element position;
    获取与所述元素ID相对应的元素修正规则,显示所述元素ID对应的元素修正区域;Obtaining an element correction rule corresponding to the element ID, and displaying an element correction area corresponding to the element ID;
    若所述元素位置不在所述元素修正区域内,则将与所述元素ID对应的图片元素移动至所述元素修正区域内;If the element position is not in the element correction area, moving the picture element corresponding to the element ID into the element correction area;
    接收修正确认指令,基于所述修正确认指令完成所述图片元素的位置修正。A correction confirmation command is received, and the position correction of the picture element is completed based on the correction confirmation command.
  16. 如权利要求15所述的非易失性可读存储介质,其特征在于,在所述显示所述元素ID对应的元素修正区域的步骤之后,所述计算机可读指令被一个或多个处理器执行时,使得所述一个或多个处理器还执行如下步骤:A non-volatile readable storage medium according to claim 15, wherein said computer readable instructions are executed by one or more processors after said step of displaying an element correction region corresponding to said element ID When executed, the one or more processors are further configured to perform the following steps:
    若所述元素位置在所述元素修正区域内,则继续执行获取图片元素检测请求,直至检测完所有所述图片元素的位置修正。If the element position is within the element correction area, the acquiring picture element detection request is continued until the position correction of all the picture elements is detected.
  17. 如权利要求15所述的非易失性可读存储介质,其特征在于,在所述获取图片元素检测请求的步骤之前,所述计算机可读指令被一个或多个处理器执行时,使得所述一个或多个处理器还执行如下步骤:A non-volatile readable storage medium as claimed in claim 15 wherein, prior to said step of obtaining a picture element detection request, said computer readable instructions being executed by one or more processors The one or more processors also perform the following steps:
    获取图片预处理请求,所述图片预处理请求包括待修正图片和图片ID;Obtaining a picture pre-processing request, where the picture pre-processing request includes a picture to be corrected and a picture ID;
    根据所述图片ID,获取对应的图片划分规则;Obtaining a corresponding picture division rule according to the picture ID;
    采用所述图片划分规则对所述待修正图片进行划分,以从所述待修正图片中获取至少一个图片元素和对应的元素位置。The picture to be corrected is divided by the picture division rule to obtain at least one picture element and a corresponding element position from the picture to be corrected.
  18. 如权利要求15所述的非易失性可读存储介质,其特征在于,所述显示所述元素ID对应的元素修正区域,包括:The non-volatile readable storage medium according to claim 15, wherein the displaying the element correction area corresponding to the element ID comprises:
    基于所述元素修正规则,获取所述图片元素的修正长、修正宽和图片元素间距;Obtaining a modified length, a correction width, and a picture element spacing of the picture element based on the element correction rule;
    基于所述图片元素的修正长、修正宽和图片元素间距,在图片元素所在的待修正图片上形成元素修正区域。Based on the corrected length, the corrected width, and the picture element spacing of the picture element, an element correction area is formed on the picture to be corrected where the picture element is located.
  19. 如权利要求15所述的非易失性可读存储介质,其特征在于,所述计算机可读指令被一个或多个处理器执行时,使得所述一个或多个处理器还执行如下步骤:The non-volatile readable storage medium of claim 15 wherein said computer readable instructions are executed by one or more processors such that said one or more processors further perform the steps of:
    获取图片元素添加请求,所述图片元素添加请求包括元素ID和与所述元素ID对应的图片元素和元素添加规则;Obtaining a picture element adding request, the picture element adding request including an element ID and a picture element and an element adding rule corresponding to the element ID;
    基于所述元素添加规则,显示所述元素ID对应的元素添加区域,并将所述图片元素添加到所述元素添加区域中;And displaying, according to the element adding rule, an element adding area corresponding to the element ID, and adding the picture element to the element adding area;
    接收添加确认指令,以完成所述图片元素的位置添加。An add confirmation command is received to complete the location addition of the picture element.
  20. 如权利要求15所述的非易失性可读存储介质,其特征在于,所述计算机可读指令被一个或多个处理器执行时,使得所述一个或多个处理器还执行如下步骤:The non-volatile readable storage medium of claim 15 wherein said computer readable instructions are executed by one or more processors such that said one or more processors further perform the steps of:
    获取图片元素删除请求,所述图片元素删除请求包括元素ID;Obtaining a picture element deletion request, where the picture element deletion request includes an element ID;
    删除所述元素ID对应的元素修正规则和图片元素。The element correction rule and the picture element corresponding to the element ID are deleted.
PCT/CN2018/081549 2018-02-27 2018-04-02 Element position correcting method, device, computer device, and storage medium WO2019165676A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810161847.6 2018-02-27
CN201810161847.6A CN108416747B (en) 2018-02-27 2018-02-27 Element position correction method, element position correction device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
WO2019165676A1 true WO2019165676A1 (en) 2019-09-06

Family

ID=63129121

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/081549 WO2019165676A1 (en) 2018-02-27 2018-04-02 Element position correcting method, device, computer device, and storage medium

Country Status (2)

Country Link
CN (1) CN108416747B (en)
WO (1) WO2019165676A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112823357B (en) * 2019-02-04 2023-11-21 印福仕私人有限公司 Method for pre-printing checking of graphic manuscript file
WO2022082704A1 (en) * 2020-10-23 2022-04-28 上海亦我信息技术有限公司 Model correction method and apparatus, and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103702024A (en) * 2013-12-02 2014-04-02 宇龙计算机通信科技(深圳)有限公司 Image processing device and image processing method
CN105590877A (en) * 2014-11-12 2016-05-18 株式会社思可林集团 Data correcting apparatus, drawing apparatus, inspection apparatus, data correcting method, drawing method, inspection method and recording medium
CN105653152A (en) * 2015-12-23 2016-06-08 北京金山安全软件有限公司 Picture processing method and device and electronic equipment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008140301A (en) * 2006-12-05 2008-06-19 Fujitsu Ltd Cad apparatus and cad program
JP6240226B2 (en) * 2013-03-06 2017-11-29 コーニンクレッカ フィリップス エヌ ヴェKoninklijke Philips N.V. Scan range determination device
CN104574321B (en) * 2015-01-29 2018-10-23 京东方科技集团股份有限公司 Image correcting method, image correcting apparatus and video system
CN107239390B (en) * 2016-03-28 2020-11-10 百度在线网络技术(北京)有限公司 Method and device for checking application interface information

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103702024A (en) * 2013-12-02 2014-04-02 宇龙计算机通信科技(深圳)有限公司 Image processing device and image processing method
CN105590877A (en) * 2014-11-12 2016-05-18 株式会社思可林集团 Data correcting apparatus, drawing apparatus, inspection apparatus, data correcting method, drawing method, inspection method and recording medium
CN105653152A (en) * 2015-12-23 2016-06-08 北京金山安全软件有限公司 Picture processing method and device and electronic equipment

Also Published As

Publication number Publication date
CN108416747A (en) 2018-08-17
CN108416747B (en) 2020-07-10

Similar Documents

Publication Publication Date Title
CN110069767B (en) Typesetting method based on electronic book, electronic equipment and computer storage medium
CN107239390B (en) Method and device for checking application interface information
WO2019165676A1 (en) Element position correcting method, device, computer device, and storage medium
US9064314B2 (en) Robust automatic determination and location of MacBeth color checker charts
US20170094237A1 (en) Image processing apparatus, image processing method, and computer-readable storage medium
CN114004882A (en) Two-dimensional map generation method and device, terminal equipment and storage medium
CN105824843B (en) Map rendering method and device for geographic information system
CN106297536B (en) Method and device for determining labeling position of planar graphic element name in electronic map
CN111638929A (en) Startup image processing method, device, equipment and storage medium
CN115393474A (en) Method and system for rapidly drawing flow chart
CN111382223B (en) Electronic map display method, terminal and electronic equipment
CN106201255B (en) Information processing method and electronic equipment
CN111914046B (en) Generation method and device of target seating chart and computer equipment
CN112667343B (en) Interface adjustment method, device, equipment and storage medium
CN107608733B (en) Picture display method and device and terminal equipment
CN111476201A (en) Certificate photo manufacturing method, terminal and storage medium
US20170059313A1 (en) Image capture device with a calibration function and calibration method of an image capture device
CN111598832A (en) Slot defect marking method and device and storage medium
CN113689413A (en) Alignment correction method and device and computer readable storage medium
CN113670338B (en) Error measurement method, error measurement device, electronic equipment and readable storage medium
CN115147422A (en) Method, device and equipment for generating crystal grains at center of wafer and storage medium
CN106709495B (en) Image area centering method and device
JP2022086454A (en) Image inspection device and image inspection program
CN108898572B (en) Light spot extraction method
CN110992447B (en) Image-text adaptation method, device, storage medium and equipment

Legal Events

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

Ref document number: 18907610

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 27.11.2020)

122 Ep: pct application non-entry in european phase

Ref document number: 18907610

Country of ref document: EP

Kind code of ref document: A1