WO2018082239A1 - Method and apparatus for obtaining color based on touch screen - Google Patents

Method and apparatus for obtaining color based on touch screen Download PDF

Info

Publication number
WO2018082239A1
WO2018082239A1 PCT/CN2017/077147 CN2017077147W WO2018082239A1 WO 2018082239 A1 WO2018082239 A1 WO 2018082239A1 CN 2017077147 W CN2017077147 W CN 2017077147W WO 2018082239 A1 WO2018082239 A1 WO 2018082239A1
Authority
WO
WIPO (PCT)
Prior art keywords
color
value
user
touch screen
target area
Prior art date
Application number
PCT/CN2017/077147
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 WO2018082239A1 publication Critical patent/WO2018082239A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Definitions

  • the present invention relates to the field of computer vision, and in particular, to a touch screen based color acquisition method and apparatus.
  • the smart tablet is a new type of electronic display device. Users can write text and draw graphics on smart tablets, which are widely used in education, business meetings, business presentations and other fields.
  • the technical problem to be solved by the present invention is to provide a touch screen-based color acquisition method and apparatus, which can acquire the color required by the user more quickly and more accurately.
  • an aspect of an embodiment of the present invention provides a touch screen-based color acquisition method, the method comprising:
  • the predetermined touch operation is a two-touch operation
  • a circular range area centered on the midpoint and having a radius of a preset value is determined, and the circular range area is used as the target area for color extraction.
  • the method before the displaying the corresponding color according to the extracted color value, the method further includes:
  • the color values in the storage set are read and the color corresponding to the read color value is displayed.
  • the method before the displaying the corresponding color according to the extracted color value, the method further includes:
  • the method before the displaying the corresponding color according to the extracted color value, the method further includes:
  • the displaying the corresponding color according to the extracted color value so that the user can perform color selection according to the displayed color, specifically including:
  • the color selected by the user is obtained, specifically:
  • the color selected by the user is acquired.
  • an aspect of an embodiment of the present invention further provides a touch screen-based color acquiring device, where the device includes:
  • a contact detecting module for detecting contact between the user and the touch screen
  • a target area determining module configured to determine a target area for performing color extraction according to the contact when the detected contact corresponds to a predetermined touch operation
  • a color value extraction module configured to extract color values of all colors included in the target area
  • a color display module configured to display a corresponding color according to the extracted color value, so that the user can perform color selection according to the displayed color
  • the color obtaining module is configured to acquire a color selected by the user when the user selects a selected operation on the currently displayed color.
  • the predetermined touch operation is a two-touch operation
  • the target area determining module specifically includes:
  • a touch point coordinate acquiring unit configured to acquire coordinates of two touch points on the touch screen
  • a midpoint coordinate calculation unit for calculating a coordinate of a midpoint between the two touch points
  • the target area determining unit is configured to determine a circular range area centered on the midpoint and having a radius of a preset value, and use the circular range area as the target area for performing color extraction.
  • the device further comprises:
  • a color value saving module configured to save the extracted color value to a preset storage set
  • the color display module is specifically configured to:
  • the color values in the storage set are read and the color corresponding to the read color value is displayed.
  • the device further comprises:
  • a background color value obtaining module configured to obtain a color value corresponding to the current background color
  • a background color value deletion module configured to delete a color value corresponding to the current background color in the storage set when a color value corresponding to the current background color exists in the storage set.
  • the device further comprises:
  • a pixel number obtaining module configured to acquire a quantity of pixels occupied by a color corresponding to a color value stored in the storage set in the target area
  • the color value sorting module is configured to sort the corresponding color values in the storage set according to the number of pixels; wherein, the color values corresponding to the plurality of pixels are arranged first.
  • the color display module specifically includes:
  • a color display unit for displaying, by using a color panel, a color corresponding to the (i-1) j+1 color values in the storage set to the i**j color values; wherein the initial value of i is 1; j is a preset fixed value; and,
  • the color obtaining module is specifically configured to:
  • the color selected by the user is acquired.
  • the method and device for acquiring a color based on a touch screen by detecting contact between a user and a touch screen, determining a target area where a color that the user needs to select according to the contact, and extracting colors of all colors included in the target area. Value, and then display the corresponding color according to the extracted color value, filter the color to be selected based on the color value, and present it to the user, and then the user selects the color from the candidate color, which can be obtained more quickly and accurately.
  • the color required by the user simplifies the process of obtaining the target color, improves the work efficiency, and improves the accuracy of the target color acquisition and enhances the user experience.
  • FIG. 1 is a schematic flow chart of an embodiment of a touch screen-based color acquisition method provided by the present invention
  • FIG. 2 is a schematic structural diagram of an embodiment of a touch screen-based color acquiring device provided by the present invention.
  • An aspect of an embodiment of the present invention provides a touch screen based color acquisition method.
  • FIG. 1 is a schematic flowchart diagram of an embodiment of a touch screen-based color acquisition method provided by the present invention, where the method includes the following steps:
  • the user can touch the touch screen on the display device through the writing tool, for example, perform a writing operation on the touch screen, and slide the touch screen on the touch screen to input the writing track to the display device, and then display the corresponding information by the display device.
  • the handwriting lines, or function control operations on the touch screen such as two-point long press on the touch screen by a writing tool, two-click double-click, or click a function button set in a specific area of the touch screen to trigger the display device to respond accordingly Function control events.
  • the display device may be a mobile phone, a smart tablet or a PC, and the writing tool may be a user's finger or an electronic pen used in conjunction with the display device, which is not specifically limited in the present invention.
  • a touch operation is predefined in the display device, and the touch operation is associated with a color acquisition event, and when the user touches the touch screen to match the predetermined touch operation, the display is triggered.
  • the device responds to the color acquisition event, that is, performs steps S12 to S15; in a specific implementation, the touch operation may have various options, such as two-point long press on the touch screen, two-point double-click, and more than two long presses and multiple Double-clicking at two points, touching the contact area larger than the preset threshold and staying longer than the preset threshold, clicking a function button set in a specific area of the touch screen, and the like.
  • a plurality of touch operations may be defined in advance, and each touch operation corresponds to one function control event.
  • the display device is triggered to respond to the corresponding function control. For events, it is only necessary to ensure that the preset touch operations correspond to the function control events one by one, and do not conflict with each other.
  • the user's contact with the touch screen of the display device not only plays a triggering role, but also includes the user's demand information for the color.
  • the user places the color that needs to be selected in two touches. In the area between the points; when a touch operation is performed on the touch screen that the contact area is greater than the preset threshold and the dwell time exceeds the preset threshold to trigger the color acquisition event, the user places the color that needs to be selected in the area covered by the contact surface.
  • a target area selection box may be popped up on the display device, and the user may perform a movement operation on the touch screen to change the size of the selected area of the target area. And a position to place the color that the user wants to select in the selected frame of the target area; in summary, the target area for color extraction can be determined according to the contact of the user with the touch screen.
  • the color value of the color included in the target area needs to be extracted.
  • the size of the target area is related to the writing tool used by the user, for example, the user touches the touch screen with a finger. Since the coverage of the finger is relatively large, the target area may contain not only the target color that the user needs to extract, but also other colors. In order to more accurately obtain the color desired by the user, it is necessary to color all the colors included in the target area. The values are extracted.
  • the method for extracting the color value may be: after determining the target area, taking a screenshot of the target area, and extracting the color values of the colors included in the image one by one, it is understood that how to extract the color value is prior art, here No further explanation. Among them, the color value refers to the RGB value of the color.
  • the display device displays the corresponding color on the display panel according to the extracted color value, and presents the color to the user, thereby the user can perform a color selection operation through the touch screen to select the color that is required by the user.
  • the display device displays the colors corresponding to all the color values extracted from the target area at one time.
  • the user selects the selection operation of the currently displayed color in real time, and when the user inputs a selection command for the currently displayed color to the display device through the touch screen (ie, the user performs a selection operation on the currently displayed color, for example, on the touch screen.
  • the display device acquires the color value corresponding to the color selected by the user and uses it as the color of the output handwriting of the next writing operation.
  • the method for acquiring a color based on a touch screen provided by the embodiment, by detecting contact between the user and the touch screen, determining a target area where the color that the user needs to select according to the contact, and extracting color values of all colors included in the target area, and then Displaying the corresponding color according to the extracted color value, filtering out the selected color based on the color value, and presenting the color to the user, and then the user selects the color from the candidate color, thereby obtaining the user's need more quickly and accurately.
  • the color simplifies the process of obtaining the target color, improves the work efficiency, and improves the accuracy of the target color acquisition and enhances the user experience.
  • the predetermined touch operation is a two-touch operation
  • a circular range area centered on the midpoint and having a radius of a preset value is determined, and the circular range area is used as the target area for color extraction.
  • the two-point touch operation is a two-point long-press operation, that is, when the display device detects that two contacts are simultaneously present on the touch screen and the duration exceeds a preset time threshold, the color acquisition event is triggered, first. Determine the target area, according to the user's operating habits, it will generally need to choose The selected color is placed in the area between the two touch points. Therefore, the midpoint of the line connecting the two touch points is taken as the center of the circle, and a predetermined value is used as the radius to determine a circular range area, as long as The preset value is selected appropriately. Usually, the color that the user wants to select is included in the circular range area. Preferably, the preset value may be slightly larger than half the length of the connection of the two touch points.
  • the two-point touch operation can also be a two-click double-click operation, which is not described here.
  • the method before the displaying the corresponding color according to the extracted color value, the method further includes:
  • the color values in the storage set are read and the color corresponding to the read color value is displayed.
  • the color values corresponding to all the colors included in the target area are extracted one by one, and at the same time, the extracted color values are saved one by one to a preset storage set
  • one side may be Extracting and saving, that is, extracting a color value, first saving the currently extracted color value to a preset storage set, and then extracting to a color, and then saving the currently extracted color value to a preset storage set. Until the color values corresponding to all the colors in the target area are saved to the preset storage set.
  • the storage collection can be any of an array, a linked list, or a key-value pair.
  • the color values can be conveniently processed, such as deleting or sorting, which greatly improves the data processing efficiency.
  • the method before the displaying the corresponding color according to the extracted color value, the method further includes:
  • the display device acquires the current background color, and uses the background color as the color of the output handwriting of the next writing operation.
  • the handwriting of the writing will not be displayed normally, and the user experience is not good.
  • the color value corresponding to the current background color in the storage set is deleted, and therefore, the current background color of the display device will not be As the candidate color is displayed, the user can no longer select the current background color, which effectively reduces the probability of user misoperation and improves the accuracy of color acquisition.
  • the color value corresponding to the current background color is extracted, the color value corresponding to the current background color is not saved to the storage set, and the above problem can also be solved, and the specific implementation process is not described here.
  • the method before the displaying the corresponding color according to the extracted color value, the method further includes:
  • the user when the target area is directly determined by the display device according to the user's contact, instead of triggering the color acquisition event by the user through a predetermined touch operation, the user is required to participate in the determination of the target area, according to the user's operating habits.
  • the user touches at a position where the number of pixels of the color to be selected is large. Therefore, in general, the number of pixels occupying a large number of pixels in the target area is more likely to be the color that the user needs to select.
  • the corresponding color values in the storage set are sorted according to the number of pixels, and the colors occupying a large number of pixels are arranged in front, so that the display device can correspond to the color values arranged in the front.
  • the color is displayed in a more conspicuous position (for example, in the front of the color panel), or in a more conspicuous way (for example, occupying a larger display area in the color panel), which helps the user to Quickly select the color that the user needs in the candidate color, which effectively improves work efficiency.
  • the displaying the corresponding color according to the extracted color value so that the user can perform color selection according to the displayed color, specifically including:
  • the user selects the selected operation of the currently displayed color
  • the user selects the selected face Color, specifically:
  • the color selected by the user is acquired.
  • a plurality of methods may be used for color display, for example, a color panel is popped up, and the color panel displays only a preset number of colors at a time. Specifically, the color panel reads the preset number of color values arranged in the storage set, and displays the color corresponding to the currently read color value, if the user does not select the color currently displayed in the color panel. Color, the display device then reads the preset number of color values in the unread color values in the storage set according to the user's switching operation on the color panel, and displays the currently read color values.
  • the color display may be performed in order, that is, the color corresponding to the color value read first is arranged in the front position in the color panel, which is beneficial to attract the attention of the user and help the user to further Quickly make color selections. And when the user performs a switching operation on the color currently displayed by the color panel, the color value that has been read in the storage set may be deleted, thereby reducing the occupation of the storage space.
  • an aspect of the embodiment of the present invention further provides a touch screen-based color obtaining device, which can implement all the processes in the touch screen-based color obtaining method provided by one aspect of the embodiments of the present invention.
  • FIG. 2 is a schematic structural diagram of an embodiment of a touch screen-based color obtaining apparatus provided by the present invention, where the apparatus includes:
  • the contact detecting module 11 is configured to detect a contact between the user and the touch screen
  • a target area determining module 12 configured to determine, according to the contact, a target area for performing color extraction when the detected contact corresponds to a predetermined touch operation
  • a color value extraction module 13 for extracting color values of all colors included in the target area
  • a color display module 14 configured to display a corresponding color according to the extracted color value, so that the user can perform color selection according to the displayed color;
  • the color obtaining module 15 is configured to acquire a color selected by the user when the user selects a selected operation on the currently displayed color.
  • the predetermined touch operation is a two-touch operation
  • the target area determining module 12 specifically includes:
  • a touch point coordinate acquiring unit configured to acquire coordinates of two touch points on the touch screen
  • a midpoint coordinate calculation unit for calculating a coordinate of a midpoint between the two touch points
  • the target area determining unit is configured to determine a circular range area centered on the midpoint and having a radius of a preset value, and use the circular range area as the target area for performing color extraction.
  • the device further comprises:
  • a color value saving module configured to save the extracted color value to a preset storage set
  • the color display module 14 is specifically configured to:
  • the color values in the storage set are read and the color corresponding to the read color value is displayed.
  • the storage set may be any one of an array, a linked list, or a key-value pair.
  • the device further comprises:
  • a background color value obtaining module configured to obtain a color value corresponding to the current background color
  • a background color value deletion module configured to delete a color value corresponding to the current background color in the storage set when a color value corresponding to the current background color exists in the storage set.
  • the device further comprises:
  • a pixel number obtaining module configured to acquire a quantity of pixels occupied by a color corresponding to a color value stored in the storage set in the target area
  • the color value sorting module is configured to sort the corresponding color values in the storage set according to the number of pixels; wherein, the color values corresponding to the plurality of pixels are arranged first.
  • the color display module 14 specifically includes:
  • a color display unit for displaying, by using a color panel, a color corresponding to the (i-1) j+1 color values in the storage set to the i**j color values; wherein the initial value of i is 1; j is a preset fixed value;
  • the color obtaining module 15 is specifically configured to:
  • the color selected by the user is acquired.
  • the method and device for acquiring a color based on a touch screen by detecting contact between a user and a touch screen, determining a target area where a color that the user needs to select according to the contact, and extracting colors of all colors included in the target area. Value, and then display the corresponding color according to the extracted color value, filter the color to be selected based on the color value, and present it to the user, and then the user selects the color from the candidate color, which can be obtained more quickly and accurately.
  • the color required by the user simplifies the process of obtaining the target color, improves the work efficiency, and improves the accuracy of the target color acquisition and enhances the user experience.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

Landscapes

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

Abstract

A method and apparatus for obtaining a color based on a touch screen. The method comprises: detecting a touch between a user and a touch screen (S11); determining a target area for extracting a color according to the touch when the detected touch corresponds to a preset touch operation (S12); extracting color value of all colors comprised in the target area (S13); displaying a corresponding color according to the extracted color value so that the user can select the color according to the displayed color (S14); obtaining the color selected by the user when the user's selection of the color currently displayed is monitored (S15). By means of the method and apparatus, the color required by a user can be obtained faster and more accurately, the process of obtaining a target color is simplified, the working efficiency is improved, the accuracy of obtaining the target color is increased, and the user's experience is improved.

Description

基于触摸屏的颜色获取方法及装置Touch screen based color acquisition method and device 技术领域Technical field
本发明涉及计算机视觉领域,尤其涉及一种基于触摸屏的颜色获取方法及装置。The present invention relates to the field of computer vision, and in particular, to a touch screen based color acquisition method and apparatus.
背景技术Background technique
智能平板是一种新型的电子显示设备,用户可以在智能平板上书写文字和绘制图形,被广泛应用于教育教学、企业会议、商业展示等领域。The smart tablet is a new type of electronic display device. Users can write text and draw graphics on smart tablets, which are widely used in education, business meetings, business presentations and other fields.
通常,用户会使用不同颜色的笔迹来区分不同类别的书写内容,且用户大都想要使用相同颜色的笔迹来书写同一类别的内容。因此,在书写过程中,当用户需要对在前书写过的内容进行补充时,则需要切换回在前使用过的笔迹颜色。现有方案中,用户通过肉眼在智能平板的颜色软件工具中进行筛选,以找回在前使用过的笔迹颜色,然而,颜色软件工具中往往存在多个类似色,用户需要耗费很多的时间和精力去比较,降低了颜色选取的易用性,且有的用户对颜色的辨识能力较低,选择时容易出现偏差,影响用户的正常使用。Typically, users use different colored handwriting to distinguish between different categories of writing, and most users want to use the same color of handwriting to write the same category of content. Therefore, during the writing process, when the user needs to supplement the previously written content, it is necessary to switch back to the previously used handwriting color. In the existing solution, the user screens the color software tool of the smart tablet by the naked eye to retrieve the color of the handwriting used before. However, there are often multiple similar colors in the color software tool, and the user needs to spend a lot of time and Efforts to compare, reduce the ease of use of color selection, and some users have low ability to identify colors, easy to appear bias when selected, affecting the normal use of users.
发明内容Summary of the invention
本发明所要解决的技术问题在于,提供一种基于触摸屏的颜色获取方法及装置,能够更快捷且更准确地获取用户需要的颜色。The technical problem to be solved by the present invention is to provide a touch screen-based color acquisition method and apparatus, which can acquire the color required by the user more quickly and more accurately.
为了解决上述技术问题,本发明实施例的一个方面提供一种基于触摸屏的颜色获取方法,所述方法包括:In order to solve the above technical problem, an aspect of an embodiment of the present invention provides a touch screen-based color acquisition method, the method comprising:
检测用户与触摸屏的接触;Detecting user contact with the touch screen;
当检测到的接触与预定触摸操作相对应时,根据所述接触确定用于进行颜色提取的目标区域; Determining, according to the contact, a target area for performing color extraction when the detected contact corresponds to a predetermined touch operation;
提取所述目标区域内包含的所有颜色的颜色值;Extracting color values of all colors included in the target area;
根据提取到的颜色值显示相应的颜色,以使用户能够根据显示的颜色进行颜色选择;Displaying a corresponding color according to the extracted color value, so that the user can perform color selection according to the displayed color;
当监听到用户对当前显示的颜色的选中操作时,获取用户所选中的颜色。When the user selects the selected operation of the currently displayed color, the color selected by the user is obtained.
优选地,所述预定触摸操作为两点触摸操作;Preferably, the predetermined touch operation is a two-touch operation;
所述根据所述接触确定用于进行颜色提取的目标区域,具体为:Determining, according to the contact, a target area for performing color extraction, specifically:
获取所述触摸屏上的两个触摸点的坐标;Obtaining coordinates of two touch points on the touch screen;
计算所述两个触摸点之间的中点的坐标;Calculating coordinates of a midpoint between the two touch points;
确定以所述中点为圆心、且以预设的数值为半径的圆形范围区域,并将所述圆形范围区域作为所述用于进行颜色提取的目标区域。A circular range area centered on the midpoint and having a radius of a preset value is determined, and the circular range area is used as the target area for color extraction.
优选地,所述根据提取到的颜色值显示相应的颜色之前,还包括:Preferably, before the displaying the corresponding color according to the extracted color value, the method further includes:
将提取到的颜色值保存至预设的存储集合;Save the extracted color values to a preset storage set;
所述根据提取到的颜色值显示相应的颜色,具体为:The displaying the corresponding color according to the extracted color value, specifically:
读取所述存储集合中的颜色值,并显示与读取到的颜色值相对应的颜色。The color values in the storage set are read and the color corresponding to the read color value is displayed.
优选地,所述根据提取到的颜色值显示相应的颜色之前,还包括:Preferably, before the displaying the corresponding color according to the extracted color value, the method further includes:
获取当前背景色所对应的颜色值;Get the color value corresponding to the current background color;
当所述存储集合中存在所述当前背景色所对应的颜色值时,删除所述存储集合中所述当前背景色所对应的颜色值。When the color value corresponding to the current background color exists in the storage set, the color value corresponding to the current background color in the storage set is deleted.
优选地,其特征在于,所述根据提取到的颜色值显示相应的颜色之前,还包括:Preferably, before the displaying the corresponding color according to the extracted color value, the method further includes:
获取所述存储集合中存储的颜色值所对应的颜色在所述目标区域内所占的像素数量;Obtaining, by the number of pixels, the color corresponding to the color value stored in the storage set in the target area;
根据所述像素数量从多到少对所述存储集合中对应的颜色值排序;其中,占像素数量多的颜色所对应的颜色值排列在前。Sorting corresponding color values in the storage set according to the number of pixels; wherein color values corresponding to the number of pixels occupying a plurality of pixels are ranked first.
优选地,所述根据提取到的颜色值显示相应的颜色,以使用户能够根据显示的颜色进行颜色选择,具体包括:Preferably, the displaying the corresponding color according to the extracted color value, so that the user can perform color selection according to the displayed color, specifically including:
通过颜色面板显示所述存储集合中的第(i-1)j+1个颜色值至第i*j个颜色 值所对应的颜色;其中,i的初值为1;j为预设的固定数值;Displaying the (i-1) j+1th color value in the storage set to the i**th color through a color panel The color corresponding to the value; where the initial value of i is 1; j is a preset fixed value;
当监听到用户对所述颜色面板当前显示颜色的的切换操作时,令i=i+1,并根据当前的i值更新所述颜色面板所显示的颜色;When the user switches to the current display color of the color panel, let i=i+1, and update the color displayed by the color panel according to the current i value;
所述当监听到用户对当前显示的颜色的选中操作时,获取用户所选中的颜色,具体为:When the user selects the selected operation of the currently displayed color, the color selected by the user is obtained, specifically:
当监听到用户对所述颜色面板当前显示的颜色的选中操作时,获取用户所选中的颜色。When the user selects the selected operation of the color currently displayed by the color panel, the color selected by the user is acquired.
相应的,本发明实施例的一个方面还提供一种基于触摸屏的颜色获取装置,所述装置包括:Correspondingly, an aspect of an embodiment of the present invention further provides a touch screen-based color acquiring device, where the device includes:
接触检测模块,用于检测用户与触摸屏的接触;a contact detecting module for detecting contact between the user and the touch screen;
目标区域确定模块,用于当检测到的接触与预定触摸操作相对应时,根据所述接触确定用于进行颜色提取的目标区域;a target area determining module, configured to determine a target area for performing color extraction according to the contact when the detected contact corresponds to a predetermined touch operation;
颜色值提取模块,用于提取所述目标区域内包含的所有颜色的颜色值;a color value extraction module, configured to extract color values of all colors included in the target area;
颜色显示模块,用于根据提取到的颜色值显示相应的颜色,以使用户能够根据显示的颜色进行颜色选择;以及,a color display module, configured to display a corresponding color according to the extracted color value, so that the user can perform color selection according to the displayed color; and,
颜色获取模块,用于当监听到用户对当前显示的颜色的选中操作时,获取用户所选中的颜色。The color obtaining module is configured to acquire a color selected by the user when the user selects a selected operation on the currently displayed color.
优选地,所述预定触摸操作为两点触摸操作;Preferably, the predetermined touch operation is a two-touch operation;
所述目标区域确定模块具体包括:The target area determining module specifically includes:
触摸点坐标获取单元,用于获取所述触摸屏上的两个触摸点的坐标;a touch point coordinate acquiring unit, configured to acquire coordinates of two touch points on the touch screen;
中点坐标计算单元,用于计算所述两个触摸点之间的中点的坐标;以及,a midpoint coordinate calculation unit for calculating a coordinate of a midpoint between the two touch points; and
目标区域确定单元,用于确定以所述中点为圆心、且以预设的数值为半径的圆形范围区域,并将所述圆形范围区域作为所述用于进行颜色提取的目标区域。The target area determining unit is configured to determine a circular range area centered on the midpoint and having a radius of a preset value, and use the circular range area as the target area for performing color extraction.
优选地,所述装置还包括:Preferably, the device further comprises:
颜色值保存模块,用于将提取到的颜色值保存至预设的存储集合;a color value saving module, configured to save the extracted color value to a preset storage set;
所述颜色显示模块具体用于: The color display module is specifically configured to:
读取所述存储集合中的颜色值,并显示与读取到的颜色值相对应的颜色。The color values in the storage set are read and the color corresponding to the read color value is displayed.
优选地,所述装置还包括:Preferably, the device further comprises:
背景色颜色值获取模块,用于获取当前背景色所对应的颜色值;以及,a background color value obtaining module, configured to obtain a color value corresponding to the current background color; and,
背景色颜色值删除模块,用于当所述存储集合中存在所述当前背景色所对应的颜色值时,删除所述存储集合中所述当前背景色所对应的颜色值。a background color value deletion module, configured to delete a color value corresponding to the current background color in the storage set when a color value corresponding to the current background color exists in the storage set.
优选地,所述装置还包括:Preferably, the device further comprises:
像素数量获取模块,用于获取所述存储集合中存储的颜色值所对应的颜色在所述目标区域内所占的像素数量;以及,a pixel number obtaining module, configured to acquire a quantity of pixels occupied by a color corresponding to a color value stored in the storage set in the target area; and
颜色值排序模块,用于根据所述像素数量从多到少对所述存储集合中对应的颜色值排序;其中,占像素数量多的颜色所对应的颜色值排列在前。The color value sorting module is configured to sort the corresponding color values in the storage set according to the number of pixels; wherein, the color values corresponding to the plurality of pixels are arranged first.
优选地,所述颜色显示模块具体包括:Preferably, the color display module specifically includes:
待选颜色显示单元,用于通过颜色面板显示所述存储集合中的第(i-1)j+1个颜色值至第i*j个颜色值所对应的颜色;其中,i的初值为1;j为预设的固定数值;以及,a color display unit for displaying, by using a color panel, a color corresponding to the (i-1) j+1 color values in the storage set to the i**j color values; wherein the initial value of i is 1; j is a preset fixed value; and,
待选颜色更新单元,用于当监听到用户对所述颜色面板当前显示颜色的的切换操作时,令i=i+1,并根据当前的i值更新所述颜色面板所显示的颜色;a candidate color update unit, configured to: when the user switches to the current display color of the color panel, let i=i+1, and update the color displayed by the color panel according to the current value of i;
所述颜色获取模块具体用于:The color obtaining module is specifically configured to:
当监听到用户对所述颜色面板当前显示的颜色的选中操作时,获取用户所选中的颜色。When the user selects the selected operation of the color currently displayed by the color panel, the color selected by the user is acquired.
实施本发明,具有如下有益效果:The implementation of the present invention has the following beneficial effects:
本发明实施例提供的基于触摸屏的颜色获取方法及装置,通过检测用户与触摸屏的接触,根据所述接触确定用户需要选取的颜色所在的目标区域,提取所述目标区域内包含的所有颜色的颜色值,再根据提取到的颜色值显示相应的颜色,基于颜色值筛选出待选颜色,并将其呈现给用户,进而用户再从待选颜色中进行颜色选择,能够更快捷且更准确地获取用户需要的颜色,简化了获取目标颜色的过程,提高了工作效率,并且提高了目标颜色获取的准确性,增强了用户体验。 The method and device for acquiring a color based on a touch screen according to an embodiment of the present invention, by detecting contact between a user and a touch screen, determining a target area where a color that the user needs to select according to the contact, and extracting colors of all colors included in the target area. Value, and then display the corresponding color according to the extracted color value, filter the color to be selected based on the color value, and present it to the user, and then the user selects the color from the candidate color, which can be obtained more quickly and accurately. The color required by the user simplifies the process of obtaining the target color, improves the work efficiency, and improves the accuracy of the target color acquisition and enhances the user experience.
附图说明DRAWINGS
图1是本发明提供的基于触摸屏的颜色获取方法的一个实施例的流程示意图;1 is a schematic flow chart of an embodiment of a touch screen-based color acquisition method provided by the present invention;
图2是本发明提供的基于触摸屏的颜色获取装置的一个实施例的结构示意图。2 is a schematic structural diagram of an embodiment of a touch screen-based color acquiring device provided by the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
本发明实施例的一个方面提供一种基于触摸屏的颜色获取方法。An aspect of an embodiment of the present invention provides a touch screen based color acquisition method.
请参阅图1,是本发明提供的基于触摸屏的颜色获取方法的一个实施例的流程示意图,所述方法包括如下步骤:FIG. 1 is a schematic flowchart diagram of an embodiment of a touch screen-based color acquisition method provided by the present invention, where the method includes the following steps:
S11、检测用户与触摸屏的接触;S11. Detecting contact between the user and the touch screen;
在本实施例中,用户可以通过书写工具接触显示设备上的触摸屏,例如在触摸屏上进行书写操作,通过书写工具在触摸屏上滑动,以实现将书写轨迹输入到显示设备,进而由显示设备显示相应的笔迹线条,或者,在触摸屏上进行功能控制操作,如通过书写工具在触摸屏上完成两点长按、两点双击、或者点击设置在触摸屏的特定区域的功能按钮,以触发显示设备响应相应的功能控制事件。其中,显示设备可以为手机、智能平板或者PC机,书写工具可以为用户的手指或者与显示设备配合使用的电子笔,本发明不作具体限定。In this embodiment, the user can touch the touch screen on the display device through the writing tool, for example, perform a writing operation on the touch screen, and slide the touch screen on the touch screen to input the writing track to the display device, and then display the corresponding information by the display device. The handwriting lines, or function control operations on the touch screen, such as two-point long press on the touch screen by a writing tool, two-click double-click, or click a function button set in a specific area of the touch screen to trigger the display device to respond accordingly Function control events. The display device may be a mobile phone, a smart tablet or a PC, and the writing tool may be a user's finger or an electronic pen used in conjunction with the display device, which is not specifically limited in the present invention.
S12、当检测到的接触与预定触摸操作相对应时,根据所述接触确定用于进行颜色提取的目标区域;S12. When the detected contact corresponds to a predetermined touch operation, determining a target area for performing color extraction according to the contact;
在本实施例中,显示设备中预先定义了一个触摸操作,该触摸操作与颜色获取事件相关联,当用户对触摸屏的接触与预定的触摸操作匹配时,触发显示 设备响应颜色获取事件,即执行步骤S12至S15;在具体实施时,该触摸操作可以有多种选择,如在触摸屏上进行两点长按、两点双击、多于两点的长按、多于两点的双击、接触面积大于预设阈值且停留时间超过预设阈值的触摸、点击设置在触摸屏的特定区域的功能按钮等等。需要说明的是,显示设备中可以预先定义若干个触摸操作,每个触摸操作对应一个功能控制事件,当检测到用户对触摸屏的接触与预定的触摸操作匹配时,触发显示设备响应相应的功能控制事件,只需要保证预设的触摸操作与功能控制事件一一对应,不彼此冲突即可。In this embodiment, a touch operation is predefined in the display device, and the touch operation is associated with a color acquisition event, and when the user touches the touch screen to match the predetermined touch operation, the display is triggered. The device responds to the color acquisition event, that is, performs steps S12 to S15; in a specific implementation, the touch operation may have various options, such as two-point long press on the touch screen, two-point double-click, and more than two long presses and multiple Double-clicking at two points, touching the contact area larger than the preset threshold and staying longer than the preset threshold, clicking a function button set in a specific area of the touch screen, and the like. It should be noted that, in the display device, a plurality of touch operations may be defined in advance, and each touch operation corresponds to one function control event. When detecting that the user's contact with the touch screen matches a predetermined touch operation, the display device is triggered to respond to the corresponding function control. For events, it is only necessary to ensure that the preset touch operations correspond to the function control events one by one, and do not conflict with each other.
在本实施例中,用户对显示设备的触摸屏的接触,不仅起到触发作用,该接触还包含了用户的对颜色的需求信息。一般地,当采用两点长按、两点双击、多于两点的长按或者多于两点的双击等操作来触发颜色获取事件时,用户会将其需要选择的颜色置于两个触摸点之间的区域内;当在触摸屏上进行接触面积大于预设阈值且停留时间超过预设阈值的触摸操作来触发颜色获取事件时,用户会将其需要选择的颜色置于接触面覆盖的区域内;当采用点击设置在触摸屏的特定区域的功能按钮来触发颜色获取事件时,可以在显示设备上弹出目标区域选定框,用户可以在触摸屏上进行移动操作来改变目标区域选定框的大小及位置,以将用户想要选择的颜色置于该目标区域选定框内;综上所述,可以根据用户与触摸屏的接触来确定用于进行颜色提取的目标区域。In this embodiment, the user's contact with the touch screen of the display device not only plays a triggering role, but also includes the user's demand information for the color. Generally, when a two-point long press, a two-dot double-click, a long press of more than two points, or a double-click of more than two points is used to trigger a color acquisition event, the user places the color that needs to be selected in two touches. In the area between the points; when a touch operation is performed on the touch screen that the contact area is greater than the preset threshold and the dwell time exceeds the preset threshold to trigger the color acquisition event, the user places the color that needs to be selected in the area covered by the contact surface. When a function button for setting a specific area of the touch screen is clicked to trigger a color acquisition event, a target area selection box may be popped up on the display device, and the user may perform a movement operation on the touch screen to change the size of the selected area of the target area. And a position to place the color that the user wants to select in the selected frame of the target area; in summary, the target area for color extraction can be determined according to the contact of the user with the touch screen.
S13、提取所述目标区域内包含的所有颜色的颜色值;S13. Extract color values of all colors included in the target area;
在本实施例中,显示设备根据用户需求确定了目标区域后,需要提取目标区域内包含的颜色的颜色值,然而,目标区域的大小与用户使用的书写工具有关,例如用户使用手指接触触摸屏,由于手指接触时覆盖面比较大,因此目标区域内有可能不只包含用户需要提取的目标颜色,而还有其他颜色,为了更准确的获取用户需要的颜色,需要将目标区域内包含的所有颜色的颜色值都提取出来。提取颜色值的实现方法可以为,当确定目标区域后,对目标区域进行截图,进而逐一提取图片中所包含的颜色的颜色值,可以理解的是,如何提取颜色值为现有技术,此处不加赘述。其中,颜色值指的是颜色的RGB值。In this embodiment, after the display device determines the target area according to the user's needs, the color value of the color included in the target area needs to be extracted. However, the size of the target area is related to the writing tool used by the user, for example, the user touches the touch screen with a finger. Since the coverage of the finger is relatively large, the target area may contain not only the target color that the user needs to extract, but also other colors. In order to more accurately obtain the color desired by the user, it is necessary to color all the colors included in the target area. The values are extracted. The method for extracting the color value may be: after determining the target area, taking a screenshot of the target area, and extracting the color values of the colors included in the image one by one, it is understood that how to extract the color value is prior art, here No further explanation. Among them, the color value refers to the RGB value of the color.
S14、根据提取到的颜色值显示相应的颜色,以使用户能够根据显示的颜色 进行颜色选择;S14. Display a corresponding color according to the extracted color value, so that the user can display the color according to Make color selection;
在本实施例中,显示设备根据提取到的颜色值在显示板上显示相应的颜色,将其呈现给用户,由此,用户可以通过触摸屏进行颜色选择操作,以选取自己需要的颜色。另外,显示的方式有多种,例如显示设备将从目标区域内提取到的所有颜色值对应的颜色一次性显示。In this embodiment, the display device displays the corresponding color on the display panel according to the extracted color value, and presents the color to the user, thereby the user can perform a color selection operation through the touch screen to select the color that is required by the user. In addition, there are various ways of displaying, for example, the display device displays the colors corresponding to all the color values extracted from the target area at one time.
S15、当监听到用户对当前显示的颜色的选中操作时,获取用户所选中的颜色。S15. When the user selects the selected operation of the currently displayed color, the color selected by the user is obtained.
在本实施例中,实时监听用户对当前显示的颜色的选择操作,当用户通过触摸屏向显示设备输入对当前显示的颜色的选中命令(即用户对当前显示的颜色执行了选中操作,例如在触摸屏上某种颜色所在的位置进行单击操作)时,显示设备获取用户所选中的颜色所对应的颜色值,并将其作为下次书写操作的输出笔迹的颜色。In this embodiment, the user selects the selection operation of the currently displayed color in real time, and when the user inputs a selection command for the currently displayed color to the display device through the touch screen (ie, the user performs a selection operation on the currently displayed color, for example, on the touch screen. When a click operation is performed on a position where a certain color is located, the display device acquires the color value corresponding to the color selected by the user and uses it as the color of the output handwriting of the next writing operation.
本实施例提供的基于触摸屏的颜色获取方法,通过检测用户与触摸屏的接触,根据所述接触确定用户需要选取的颜色所在的目标区域,提取所述目标区域内包含的所有颜色的颜色值,再根据提取到的颜色值显示相应的颜色,基于颜色值筛选出待选颜色,并将其呈现给用户,进而用户再从待选颜色中进行颜色选择,能够更快捷且更准确地获取用户需要的颜色,简化了获取目标颜色的过程,提高了工作效率,并且提高了目标颜色获取的准确性,增强了用户体验。The method for acquiring a color based on a touch screen provided by the embodiment, by detecting contact between the user and the touch screen, determining a target area where the color that the user needs to select according to the contact, and extracting color values of all colors included in the target area, and then Displaying the corresponding color according to the extracted color value, filtering out the selected color based on the color value, and presenting the color to the user, and then the user selects the color from the candidate color, thereby obtaining the user's need more quickly and accurately. The color simplifies the process of obtaining the target color, improves the work efficiency, and improves the accuracy of the target color acquisition and enhances the user experience.
优选地,所述预定触摸操作为两点触摸操作;Preferably, the predetermined touch operation is a two-touch operation;
所述根据所述接触确定用于进行颜色提取的目标区域,具体为:Determining, according to the contact, a target area for performing color extraction, specifically:
获取所述触摸屏上的两个触摸点的坐标;Obtaining coordinates of two touch points on the touch screen;
计算所述两个触摸点之间的中点的坐标;Calculating coordinates of a midpoint between the two touch points;
确定以所述中点为圆心、且以预设的数值为半径的圆形范围区域,并将所述圆形范围区域作为所述用于进行颜色提取的目标区域。A circular range area centered on the midpoint and having a radius of a preset value is determined, and the circular range area is used as the target area for color extraction.
在本实施方式中,所述两点触摸操作为两点长按操作,即当显示设备检测到触摸屏上同时存在两个触点且持续时间超过预设的时间阈值时,触发颜色获取事件,首先进行目标区域的确定,根据用户的操作习惯,一般会将其需要选 择的颜色置于两个触摸点之间的区域内,因此,以两个触摸点的连线的中点作为圆心,且以一个预设的数值作为半径,而确定一个圆形范围区域,只要预设的数值选取得合适,通常用户想要选择的颜色会被包含在该圆形范围区域内,优选地,预设的数值可以略大于两个触摸点的连线的长度的一半。另外,所述两点触摸操作还可以为两点双击操作,此处不加赘述。In this embodiment, the two-point touch operation is a two-point long-press operation, that is, when the display device detects that two contacts are simultaneously present on the touch screen and the duration exceeds a preset time threshold, the color acquisition event is triggered, first. Determine the target area, according to the user's operating habits, it will generally need to choose The selected color is placed in the area between the two touch points. Therefore, the midpoint of the line connecting the two touch points is taken as the center of the circle, and a predetermined value is used as the radius to determine a circular range area, as long as The preset value is selected appropriately. Usually, the color that the user wants to select is included in the circular range area. Preferably, the preset value may be slightly larger than half the length of the connection of the two touch points. In addition, the two-point touch operation can also be a two-click double-click operation, which is not described here.
优选地,所述根据提取到的颜色值显示相应的颜色之前,还包括:Preferably, before the displaying the corresponding color according to the extracted color value, the method further includes:
将提取到的颜色值保存至预设的存储集合;Save the extracted color values to a preset storage set;
所述根据提取到的颜色值显示相应的颜色,具体为:The displaying the corresponding color according to the extracted color value, specifically:
读取所述存储集合中的颜色值,并显示与读取到的颜色值相对应的颜色。The color values in the storage set are read and the color corresponding to the read color value is displayed.
在本实施方式中,对所述目标区域内所包含的所有颜色对应颜色值逐一进行提取,与此同时,将提取到的颜色值逐一保存至预设的存储集合,在具体实施时,可以一边提取一边保存,即提取到一个颜色值,先将当前提取到的颜色值保存至预设的存储集合,随后,再提取到一个颜色,再将当前提取到的颜色值保存至预设的存储集合,直至目标区域内所有的颜色对应的颜色值都被保存至预设的存储集合。另外,存储集合可以为数组、链表或键值对中的任意一种。In this embodiment, the color values corresponding to all the colors included in the target area are extracted one by one, and at the same time, the extracted color values are saved one by one to a preset storage set, and in specific implementation, one side may be Extracting and saving, that is, extracting a color value, first saving the currently extracted color value to a preset storage set, and then extracting to a color, and then saving the currently extracted color value to a preset storage set. Until the color values corresponding to all the colors in the target area are saved to the preset storage set. In addition, the storage collection can be any of an array, a linked list, or a key-value pair.
需要说明的是,将提取到的颜色值保存至预设的存储集合,可以很便捷地对颜色值进行集中处理,例如删除或排序等,大大的提高了数据处理效率。It should be noted that, by saving the extracted color values to a preset storage set, the color values can be conveniently processed, such as deleting or sorting, which greatly improves the data processing efficiency.
优选地,所述根据提取到的颜色值显示相应的颜色之前,还包括:Preferably, before the displaying the corresponding color according to the extracted color value, the method further includes:
获取当前背景色所对应的颜色值;Get the color value corresponding to the current background color;
当所述存储集合中存在所述当前背景色所对应的颜色值时,删除所述存储集合中所述当前背景色所对应的颜色值。When the color value corresponding to the current background color exists in the storage set, the color value corresponding to the current background color in the storage set is deleted.
需要说明的是,若呈现给用户的待选颜色出现了显示设备的当前背景色,用户误选了当前背景色,显示设备获取当前背景色,将背景色作为下次书写操作的输出笔迹的颜色,当用户进行书写操作时,其书写的笔迹将无法正常显示,用户体验不佳。It should be noted that if the current background color of the display device appears in the candidate color presented to the user, the user misselects the current background color, and the display device acquires the current background color, and uses the background color as the color of the output handwriting of the next writing operation. When the user performs a writing operation, the handwriting of the writing will not be displayed normally, and the user experience is not good.
在本实施方式中,在根据提取到的颜色值显示相应的颜色之前,就将存储集合中当前背景色所对应的颜色值删除,因此,显示设备的当前背景色将不会 作为待选颜色被显示,进而用户就无法再选中当前背景色,有效地降低了用户误操作的机率,提高了颜色获取的准确性。另外,在提取到当前背景色所对应的颜色值时,就不将当前背景色所对应的颜色值保存至存储集合,也能解决上述问题,其具体实现过程此处不加赘述。In this embodiment, before the corresponding color is displayed according to the extracted color value, the color value corresponding to the current background color in the storage set is deleted, and therefore, the current background color of the display device will not be As the candidate color is displayed, the user can no longer select the current background color, which effectively reduces the probability of user misoperation and improves the accuracy of color acquisition. In addition, when the color value corresponding to the current background color is extracted, the color value corresponding to the current background color is not saved to the storage set, and the above problem can also be solved, and the specific implementation process is not described here.
优选地,所述根据提取到的颜色值显示相应的颜色之前,还包括:Preferably, before the displaying the corresponding color according to the extracted color value, the method further includes:
获取所述存储集合中存储的颜色值所对应的颜色在所述目标区域内所占的像素数量;Obtaining, by the number of pixels, the color corresponding to the color value stored in the storage set in the target area;
根据所述像素数量从多到少对所述存储集合中对应的颜色值排序;其中,占像素数量多的颜色所对应的颜色值排列在前。Sorting corresponding color values in the storage set according to the number of pixels; wherein color values corresponding to the number of pixels occupying a plurality of pixels are ranked first.
需要说明的是,当目标区域由显示设备根据用户的接触直接确定时,而不是在用户通过预定的触摸操作触发颜色获取事件后,还需要用户参与进行目标区域的确定,根据用户的操作习惯,一般用户会在其所需要选择的颜色的像素数量较多的位置进行触摸,因此,一般情况下,在目标区域内所占的像素数量多的颜色是用户需要选取的颜色的可能性比较大。It should be noted that, when the target area is directly determined by the display device according to the user's contact, instead of triggering the color acquisition event by the user through a predetermined touch operation, the user is required to participate in the determination of the target area, according to the user's operating habits. Generally, the user touches at a position where the number of pixels of the color to be selected is large. Therefore, in general, the number of pixels occupying a large number of pixels in the target area is more likely to be the color that the user needs to select.
因此,在本实施方式中,根据像素数量从多到少对存储集合中对应的颜色值进行排序,将占像素数量多的颜色排列在前,进而显示设备能够将排列在前的颜色值所对应的颜色显示在更为显眼的位置(例如显示在颜色面板中靠前的位置),或者以更为显眼的方式进行显示(例如在颜色面板中占有较大的显示面积),有利于帮助用户更快速地在待选颜色中选出用户所需要的颜色,有效地提高了工作效率。Therefore, in the present embodiment, the corresponding color values in the storage set are sorted according to the number of pixels, and the colors occupying a large number of pixels are arranged in front, so that the display device can correspond to the color values arranged in the front. The color is displayed in a more conspicuous position (for example, in the front of the color panel), or in a more conspicuous way (for example, occupying a larger display area in the color panel), which helps the user to Quickly select the color that the user needs in the candidate color, which effectively improves work efficiency.
优选地,所述根据提取到的颜色值显示相应的颜色,以使用户能够根据显示的颜色进行颜色选择,具体包括:Preferably, the displaying the corresponding color according to the extracted color value, so that the user can perform color selection according to the displayed color, specifically including:
通过颜色面板显示所述存储集合中的第(i-1)j+1个颜色值至第i*j个颜色值所对应的颜色;其中,i的初值为1;j为预设的固定数值;Displaying, by the color panel, the color corresponding to the (i-1) j+1th color value to the i**j color value in the storage set; wherein, the initial value of i is 1; j is a preset fixed Numerical value
当监听到用户对所述颜色面板当前显示颜色的的切换操作时,令i=i+1,并根据当前的i值更新所述颜色面板所显示的颜色;When the user switches to the current display color of the color panel, let i=i+1, and update the color displayed by the color panel according to the current i value;
所述当监听到用户对当前显示的颜色的选中操作时,获取用户所选中的颜 色,具体为:When the user selects the selected operation of the currently displayed color, the user selects the selected face Color, specifically:
当监听到用户对所述颜色面板当前显示的颜色的选中操作时,获取用户所选中的颜色。When the user selects the selected operation of the color currently displayed by the color panel, the color selected by the user is acquired.
在本实施方式中,可以选用多种方式进行颜色显示,例如,弹出颜色面板,颜色面板一次只显示预设数量的颜色。具体地,颜色面板读取存储集合中排列在前的预设数量的颜色值,并显示当前读取到的颜色值所对应的颜色,若用户没有在颜色面板当前显示的颜色中选中其所需要的颜色,显示设备再根据用户对颜色面板的切换操作,读取存储集合中未被读取过的颜色值中排列在前的预设数量的颜色值,并显示当前读取到的颜色值所对应的颜色,依次类推,直至用户选中当前显示的颜色,获取用户选中的颜色,或者在存储集合中已经不存在未被读取过的颜色值,但用户仍没有选中当前显示的颜色时,判定颜色获取失败。另外,可以根据读取到到颜色值的顺序,按照顺序进行颜色显示,即将先读取到的颜色值所对应的颜色排列在颜色面板中靠前的位置,有利于引起用户注意,帮助用户更快捷地进行颜色选取。以及,当用户对所述颜色面板当前显示的颜色作出切换操作时,可以删除存储集合中已经读取过的颜色值,减少对存储空间的占用。In this embodiment, a plurality of methods may be used for color display, for example, a color panel is popped up, and the color panel displays only a preset number of colors at a time. Specifically, the color panel reads the preset number of color values arranged in the storage set, and displays the color corresponding to the currently read color value, if the user does not select the color currently displayed in the color panel. Color, the display device then reads the preset number of color values in the unread color values in the storage set according to the user's switching operation on the color panel, and displays the currently read color values. The corresponding color, and so on, until the user selects the currently displayed color, obtains the color selected by the user, or has no color value that has not been read in the storage set, but the user still does not select the currently displayed color, and then determines Color acquisition failed. In addition, according to the order in which the color values are read, the color display may be performed in order, that is, the color corresponding to the color value read first is arranged in the front position in the color panel, which is beneficial to attract the attention of the user and help the user to further Quickly make color selections. And when the user performs a switching operation on the color currently displayed by the color panel, the color value that has been read in the storage set may be deleted, thereby reducing the occupation of the storage space.
相应的,本发明实施例的一个方面还提供一种基于触摸屏的颜色获取装置,能够实现本发明实施例的一个方面提供的基于触摸屏的颜色获取方法中的所有流程。Correspondingly, an aspect of the embodiment of the present invention further provides a touch screen-based color obtaining device, which can implement all the processes in the touch screen-based color obtaining method provided by one aspect of the embodiments of the present invention.
请参阅图2,是本发明提供的基于触摸屏的颜色获取装置的一个实施例的结构示意图,所述装置包括:2 is a schematic structural diagram of an embodiment of a touch screen-based color obtaining apparatus provided by the present invention, where the apparatus includes:
接触检测模块11,用于检测用户与触摸屏的接触;The contact detecting module 11 is configured to detect a contact between the user and the touch screen;
目标区域确定模块12,用于当检测到的接触与预定触摸操作相对应时,根据所述接触确定用于进行颜色提取的目标区域;a target area determining module 12, configured to determine, according to the contact, a target area for performing color extraction when the detected contact corresponds to a predetermined touch operation;
颜色值提取模块13,用于提取所述目标区域内包含的所有颜色的颜色值;a color value extraction module 13 for extracting color values of all colors included in the target area;
颜色显示模块14,用于根据提取到的颜色值显示相应的颜色,以使用户能够根据显示的颜色进行颜色选择;以及, a color display module 14 configured to display a corresponding color according to the extracted color value, so that the user can perform color selection according to the displayed color; and,
颜色获取模块15,用于当监听到用户对当前显示的颜色的选中操作时,获取用户所选中的颜色。The color obtaining module 15 is configured to acquire a color selected by the user when the user selects a selected operation on the currently displayed color.
优选地,所述预定触摸操作为两点触摸操作;Preferably, the predetermined touch operation is a two-touch operation;
所述目标区域确定模块12具体包括:The target area determining module 12 specifically includes:
触摸点坐标获取单元,用于获取所述触摸屏上的两个触摸点的坐标;a touch point coordinate acquiring unit, configured to acquire coordinates of two touch points on the touch screen;
中点坐标计算单元,用于计算所述两个触摸点之间的中点的坐标;以及,a midpoint coordinate calculation unit for calculating a coordinate of a midpoint between the two touch points; and
目标区域确定单元,用于确定以所述中点为圆心、且以预设的数值为半径的圆形范围区域,并将所述圆形范围区域作为所述用于进行颜色提取的目标区域。The target area determining unit is configured to determine a circular range area centered on the midpoint and having a radius of a preset value, and use the circular range area as the target area for performing color extraction.
优选地,所述装置还包括:Preferably, the device further comprises:
颜色值保存模块,用于将提取到的颜色值保存至预设的存储集合;a color value saving module, configured to save the extracted color value to a preset storage set;
所述颜色显示模块14具体用于:The color display module 14 is specifically configured to:
读取所述存储集合中的颜色值,并显示与读取到的颜色值相对应的颜色。The color values in the storage set are read and the color corresponding to the read color value is displayed.
优选地,所述存储集合可以为数组、链表或键值对中的任意一种。Preferably, the storage set may be any one of an array, a linked list, or a key-value pair.
优选地,所述装置还包括:Preferably, the device further comprises:
背景色颜色值获取模块,用于获取当前背景色所对应的颜色值;以及,a background color value obtaining module, configured to obtain a color value corresponding to the current background color; and,
背景色颜色值删除模块,用于当所述存储集合中存在所述当前背景色所对应的颜色值时,删除所述存储集合中所述当前背景色所对应的颜色值。a background color value deletion module, configured to delete a color value corresponding to the current background color in the storage set when a color value corresponding to the current background color exists in the storage set.
优选地,所述装置还包括:Preferably, the device further comprises:
像素数量获取模块,用于获取所述存储集合中存储的颜色值所对应的颜色在所述目标区域内所占的像素数量;以及,a pixel number obtaining module, configured to acquire a quantity of pixels occupied by a color corresponding to a color value stored in the storage set in the target area; and
颜色值排序模块,用于根据所述像素数量从多到少对所述存储集合中对应的颜色值排序;其中,占像素数量多的颜色所对应的颜色值排列在前。The color value sorting module is configured to sort the corresponding color values in the storage set according to the number of pixels; wherein, the color values corresponding to the plurality of pixels are arranged first.
优选地,所述颜色显示模块14具体包括:Preferably, the color display module 14 specifically includes:
待选颜色显示单元,用于通过颜色面板显示所述存储集合中的第(i-1)j+1个颜色值至第i*j个颜色值所对应的颜色;其中,i的初值为1;j为预设的固定数值; a color display unit for displaying, by using a color panel, a color corresponding to the (i-1) j+1 color values in the storage set to the i**j color values; wherein the initial value of i is 1; j is a preset fixed value;
待选颜色更新单元,用于当监听到用户对所述颜色面板当前显示颜色的的切换操作时,令i=i+1,并根据当前的i值更新所述颜色面板所显示的颜色;a candidate color update unit, configured to: when the user switches to the current display color of the color panel, let i=i+1, and update the color displayed by the color panel according to the current value of i;
所述颜色获取模块15具体用于:The color obtaining module 15 is specifically configured to:
当监听到用户对所述颜色面板当前显示的颜色的选中操作时,获取用户所选中的颜色。When the user selects the selected operation of the color currently displayed by the color panel, the color selected by the user is acquired.
本发明实施例提供的基于触摸屏的颜色获取方法及装置,通过检测用户与触摸屏的接触,根据所述接触确定用户需要选取的颜色所在的目标区域,提取所述目标区域内包含的所有颜色的颜色值,再根据提取到的颜色值显示相应的颜色,基于颜色值筛选出待选颜色,并将其呈现给用户,进而用户再从待选颜色中进行颜色选择,能够更快捷且更准确地获取用户需要的颜色,简化了获取目标颜色的过程,提高了工作效率,并且提高了目标颜色获取的准确性,增强了用户体验。The method and device for acquiring a color based on a touch screen according to an embodiment of the present invention, by detecting contact between a user and a touch screen, determining a target area where a color that the user needs to select according to the contact, and extracting colors of all colors included in the target area. Value, and then display the corresponding color according to the extracted color value, filter the color to be selected based on the color value, and present it to the user, and then the user selects the color from the candidate color, which can be obtained more quickly and accurately. The color required by the user simplifies the process of obtaining the target color, improves the work efficiency, and improves the accuracy of the target color acquisition and enhances the user experience.
以上所述是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和变形,这些改进和变形也视为本发明的保护范围。The above is a preferred embodiment of the present invention, and it should be noted that those skilled in the art can also make several improvements and modifications without departing from the principles of the present invention. It is the scope of protection of the present invention.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(RandomAccess Memory,RAM)等。 One of ordinary skill in the art can understand that all or part of the process of implementing the foregoing embodiments can be completed by a computer program to instruct related hardware, and the program can be stored in a computer readable storage medium. When executed, the flow of an embodiment of the methods as described above may be included. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

Claims (10)

  1. 一种基于触摸屏的颜色获取方法,其特征在于,包括:A touch screen-based color acquisition method, comprising:
    检测用户与触摸屏的接触;Detecting user contact with the touch screen;
    当检测到的接触与预定触摸操作相对应时,根据所述接触确定用于进行颜色提取的目标区域;Determining, according to the contact, a target area for performing color extraction when the detected contact corresponds to a predetermined touch operation;
    提取所述目标区域内包含的所有颜色的颜色值;Extracting color values of all colors included in the target area;
    根据提取到的颜色值显示相应的颜色,以使用户能够根据显示的颜色进行颜色选择;Displaying a corresponding color according to the extracted color value, so that the user can perform color selection according to the displayed color;
    当监听到用户对当前显示的颜色的选中操作时,获取用户所选中的颜色。When the user selects the selected operation of the currently displayed color, the color selected by the user is obtained.
  2. 如权利要求1所述的基于触摸屏的颜色获取方法,其特征在于,所述预定触摸操作为两点触摸操作;The touch screen-based color acquisition method according to claim 1, wherein the predetermined touch operation is a two-touch operation;
    所述根据所述接触确定用于进行颜色提取的目标区域,具体为:Determining, according to the contact, a target area for performing color extraction, specifically:
    获取所述触摸屏上的两个触摸点的坐标;Obtaining coordinates of two touch points on the touch screen;
    计算所述两个触摸点之间的中点的坐标;Calculating coordinates of a midpoint between the two touch points;
    确定以所述中点为圆心、且以预设的数值为半径的圆形范围区域,并将所述圆形范围区域作为所述用于进行颜色提取的目标区域。A circular range area centered on the midpoint and having a radius of a preset value is determined, and the circular range area is used as the target area for color extraction.
  3. 如权利要求1所述的基于触摸屏的颜色获取方法,其特征在于,所述根据提取到的颜色值显示相应的颜色之前,还包括:The touch screen-based color acquisition method according to claim 1, wherein before the displaying the corresponding color according to the extracted color value, the method further comprises:
    将提取到的颜色值保存至预设的存储集合;Save the extracted color values to a preset storage set;
    所述根据提取到的颜色值显示相应的颜色,具体为:The displaying the corresponding color according to the extracted color value, specifically:
    读取所述存储集合中的颜色值,并显示与读取到的颜色值相对应的颜色。The color values in the storage set are read and the color corresponding to the read color value is displayed.
  4. 如权利要求3所述的基于触摸屏的颜色获取方法,其特征在于,所述根据提取到的颜色值显示相应的颜色之前,还包括: The touch screen-based color acquisition method according to claim 3, wherein before the displaying the corresponding color according to the extracted color value, the method further comprises:
    获取当前背景色所对应的颜色值;Get the color value corresponding to the current background color;
    当所述存储集合中存在所述当前背景色所对应的颜色值时,删除所述存储集合中所述当前背景色所对应的颜色值。When the color value corresponding to the current background color exists in the storage set, the color value corresponding to the current background color in the storage set is deleted.
  5. 如权利要求3或4中任一项所述的基于触摸屏的颜色获取方法,其特征在于,所述根据提取到的颜色值显示相应的颜色之前,还包括:The touch screen-based color acquisition method according to any one of claims 3 to 4, wherein before the displaying the corresponding color according to the extracted color value, the method further comprises:
    获取所述存储集合中存储的颜色值所对应的颜色在所述目标区域内所占的像素数量;Obtaining, by the number of pixels, the color corresponding to the color value stored in the storage set in the target area;
    根据所述像素数量从多到少对所述存储集合中对应的颜色值排序;其中,占像素数量多的颜色所对应的颜色值排列在前。Sorting corresponding color values in the storage set according to the number of pixels; wherein color values corresponding to the number of pixels occupying a plurality of pixels are ranked first.
  6. 如权利要求5所述的基于触摸屏的颜色获取方法,其特征在于,所述根据提取到的颜色值显示相应的颜色,以使用户能够根据显示的颜色进行颜色选择,具体包括:The touch screen-based color acquisition method according to claim 5, wherein the displaying the corresponding color according to the extracted color value, so that the user can perform color selection according to the displayed color, specifically includes:
    通过颜色面板显示所述存储集合中的第(i-1)j+1个颜色值至第i*j个颜色值所对应的颜色;其中,i的初值为1;j为预设的固定数值;Displaying, by the color panel, the color corresponding to the (i-1) j+1th color value to the i**j color value in the storage set; wherein, the initial value of i is 1; j is a preset fixed Numerical value
    当监听到用户对所述颜色面板当前显示颜色的的切换操作时,令i=i+1,并根据当前的i值更新所述颜色面板所显示的颜色;When the user switches to the current display color of the color panel, let i=i+1, and update the color displayed by the color panel according to the current i value;
    所述当监听到用户对当前显示的颜色的选中操作时,获取用户所选中的颜色,具体为:When the user selects the selected operation of the currently displayed color, the color selected by the user is obtained, specifically:
    当监听到用户对所述颜色面板当前显示的颜色的选中操作时,获取用户所选中的颜色。When the user selects the selected operation of the color currently displayed by the color panel, the color selected by the user is acquired.
  7. 一种基于触摸屏的颜色获取装置,其特征在于,包括:A touch screen-based color acquiring device, comprising:
    接触检测模块,用于检测用户与触摸屏的接触;a contact detecting module for detecting contact between the user and the touch screen;
    目标区域确定模块,用于当检测到的接触与预定触摸操作相对应时,根据所述接触确定用于进行颜色提取的目标区域; a target area determining module, configured to determine a target area for performing color extraction according to the contact when the detected contact corresponds to a predetermined touch operation;
    颜色值提取模块,用于提取所述目标区域内包含的所有颜色的颜色值;a color value extraction module, configured to extract color values of all colors included in the target area;
    颜色显示模块,用于根据提取到的颜色值显示相应的颜色,以使用户能够根据显示的颜色进行颜色选择;以及,a color display module, configured to display a corresponding color according to the extracted color value, so that the user can perform color selection according to the displayed color; and,
    颜色获取模块,用于当监听到用户对当前显示的颜色的选中操作时,获取用户所选中的颜色。The color obtaining module is configured to acquire a color selected by the user when the user selects a selected operation on the currently displayed color.
  8. 如权利要求7所述的基于触摸屏的颜色获取装置,其特征在于,所述预定触摸操作为两点触摸操作;The touch screen-based color acquiring device according to claim 7, wherein the predetermined touch operation is a two-touch operation;
    所述目标区域确定模块具体包括:The target area determining module specifically includes:
    触摸点坐标获取单元,用于获取所述触摸屏上的两个触摸点的坐标;a touch point coordinate acquiring unit, configured to acquire coordinates of two touch points on the touch screen;
    中点坐标计算单元,用于计算所述两个触摸点之间的中点的坐标;以及,a midpoint coordinate calculation unit for calculating a coordinate of a midpoint between the two touch points; and
    目标区域确定单元,用于确定以所述中点为圆心、且以预设的数值为半径的圆形范围区域,并将所述圆形范围区域作为所述用于进行颜色提取的目标区域。The target area determining unit is configured to determine a circular range area centered on the midpoint and having a radius of a preset value, and use the circular range area as the target area for performing color extraction.
  9. 如权利要求8所述的基于触摸屏的颜色获取装置,其特征在于,所述装置还包括:The touch screen-based color obtaining device according to claim 8, wherein the device further comprises:
    颜色值保存模块,用于将提取到的颜色值保存至预设的存储集合;a color value saving module, configured to save the extracted color value to a preset storage set;
    像素数量获取模块,用于获取所述存储集合中存储的颜色值所对应的颜色在所述目标区域内所占的像素数量;以及,a pixel number obtaining module, configured to acquire a quantity of pixels occupied by a color corresponding to a color value stored in the storage set in the target area; and
    颜色值排序模块,用于根据所述像素数量从多到少对所述存储集合中对应的颜色值排序;其中,占像素数量多的颜色所对应的颜色值排列在前。The color value sorting module is configured to sort the corresponding color values in the storage set according to the number of pixels; wherein, the color values corresponding to the plurality of pixels are arranged first.
  10. 如权利要求9所述的基于触摸屏的颜色获取装置,其特征在于,所述颜色显示模块具体包括:The touch screen-based color obtaining device of claim 9, wherein the color display module comprises:
    待选颜色显示单元,用于通过颜色面板显示所述存储集合中的第(i-1)j+1个颜色值至第i*j个颜色值所对应的颜色;其中,i的初值为1;j为预设的固定 数值;以及,a color display unit for displaying, by using a color panel, a color corresponding to the (i-1) j+1 color values in the storage set to the i**j color values; wherein the initial value of i is 1; j is the default fixed Value; and,
    待选颜色更新单元,用于当监听到用户对所述颜色面板当前显示颜色的的切换操作时,令i=i+1,并根据当前的i值更新所述颜色面板所显示的颜色;a candidate color update unit, configured to: when the user switches to the current display color of the color panel, let i=i+1, and update the color displayed by the color panel according to the current value of i;
    所述颜色获取模块具体用于:The color obtaining module is specifically configured to:
    当监听到用户对所述颜色面板当前显示的颜色的选中操作时,获取用户所选中的颜色。 When the user selects the selected operation of the color currently displayed by the color panel, the color selected by the user is acquired.
PCT/CN2017/077147 2016-11-07 2017-03-17 Method and apparatus for obtaining color based on touch screen WO2018082239A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610979033.4 2016-11-07
CN201610979033 2016-11-07

Publications (1)

Publication Number Publication Date
WO2018082239A1 true WO2018082239A1 (en) 2018-05-11

Family

ID=62075649

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/077147 WO2018082239A1 (en) 2016-11-07 2017-03-17 Method and apparatus for obtaining color based on touch screen

Country Status (1)

Country Link
WO (1) WO2018082239A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111612857A (en) * 2020-05-28 2020-09-01 北京学之途网络科技有限公司 Color obtaining method and device, electronic equipment and readable storage medium
CN112261768A (en) * 2020-11-03 2021-01-22 广东科徕尼智能科技有限公司 Lamp strip color control method and system, intelligent terminal and storage device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101882034A (en) * 2010-07-23 2010-11-10 广东威创视讯科技股份有限公司 Device and method for discriminating color of touch pen of touch device
CN103793174A (en) * 2014-02-11 2014-05-14 厦门美图网科技有限公司 Scrawling method for image
US20150116227A1 (en) * 2013-10-30 2015-04-30 Htc Corporation Color Sampling Method and Touch Control Device thereof
CN106033305A (en) * 2015-03-20 2016-10-19 广州金山移动科技有限公司 Screen color picking method and device
CN106775374A (en) * 2016-11-17 2017-05-31 广州视源电子科技股份有限公司 Color obtaining method and device based on touch screen

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101882034A (en) * 2010-07-23 2010-11-10 广东威创视讯科技股份有限公司 Device and method for discriminating color of touch pen of touch device
US20150116227A1 (en) * 2013-10-30 2015-04-30 Htc Corporation Color Sampling Method and Touch Control Device thereof
CN103793174A (en) * 2014-02-11 2014-05-14 厦门美图网科技有限公司 Scrawling method for image
CN106033305A (en) * 2015-03-20 2016-10-19 广州金山移动科技有限公司 Screen color picking method and device
CN106775374A (en) * 2016-11-17 2017-05-31 广州视源电子科技股份有限公司 Color obtaining method and device based on touch screen

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111612857A (en) * 2020-05-28 2020-09-01 北京学之途网络科技有限公司 Color obtaining method and device, electronic equipment and readable storage medium
CN111612857B (en) * 2020-05-28 2024-03-26 北京明略昭辉科技有限公司 Color acquisition method and device, electronic equipment and readable storage medium
CN112261768A (en) * 2020-11-03 2021-01-22 广东科徕尼智能科技有限公司 Lamp strip color control method and system, intelligent terminal and storage device
CN112261768B (en) * 2020-11-03 2023-12-19 广东好太太智能家居有限公司 Lamp strip color control method and system, intelligent terminal and storage device

Similar Documents

Publication Publication Date Title
US20180107359A1 (en) Text processing method and device
CN108829314B (en) Screenshot selecting interface selection method, device, equipment and storage medium
US10810698B2 (en) Information processing method and client
CN111782332A (en) Application interface switching method and device, terminal and storage medium
CN106775374A (en) Color obtaining method and device based on touch screen
US20120287061A1 (en) Method and apparatus for providing graphic user interface having item deleting function
TWI486898B (en) Device and method for providing an always-on-top menu shortcut button in a stock quoting software.
CN106991179B (en) Data deleting method and device and mobile terminal
WO2023046130A1 (en) Application icon display method and apparatus, and electronic device and storage medium
WO2018119584A1 (en) Interaction method and device for flexible display screen
CN109697004B (en) Method, device and equipment for writing annotation by touch equipment and storage medium
CN105824496A (en) Method for setting icon brightness based on use of users and mobile terminal
US10331327B2 (en) Message display method, apparatus and terminal
CN105183287A (en) Display processing method and electronic device
WO2018068447A1 (en) Information display method, terminal, and storage medium
CN115357158A (en) Message processing method and device, electronic equipment and storage medium
US20150205483A1 (en) Object operation system, recording medium recorded with object operation control program, and object operation control method
WO2016173307A1 (en) Message copying method and device, and smart terminal
WO2018082239A1 (en) Method and apparatus for obtaining color based on touch screen
WO2022127804A1 (en) Method and device for managing application icons
WO2017012473A1 (en) Method and device for providing object information
CN104571811A (en) Information processing method and electronic equipment
CN114443203A (en) Information display method and device, electronic equipment and readable storage medium
US7598941B2 (en) Pointer for a large display
CN106371644B (en) Method and device for simultaneously writing by multiple persons on screen

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: 17867600

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17867600

Country of ref document: EP

Kind code of ref document: A1