WO2023109374A1 - 用户界面海报图片的处理方法、装置、存储介质及电子设备 - Google Patents
用户界面海报图片的处理方法、装置、存储介质及电子设备 Download PDFInfo
- Publication number
- WO2023109374A1 WO2023109374A1 PCT/CN2022/130495 CN2022130495W WO2023109374A1 WO 2023109374 A1 WO2023109374 A1 WO 2023109374A1 CN 2022130495 W CN2022130495 W CN 2022130495W WO 2023109374 A1 WO2023109374 A1 WO 2023109374A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- picture
- sharpness
- user interface
- processing
- electronic device
- Prior art date
Links
- 238000003672 processing method Methods 0.000 title abstract description 10
- 238000000034 method Methods 0.000 claims abstract description 58
- 230000006835 compression Effects 0.000 claims description 30
- 238000007906 compression Methods 0.000 claims description 30
- 238000004590 computer program Methods 0.000 claims description 11
- 238000009966 trimming Methods 0.000 claims description 6
- 238000010586 diagram Methods 0.000 description 11
- 230000006870 function Effects 0.000 description 4
- 230000001788 irregular Effects 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000007726 management method Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/73—Deblurring; Sharpening
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/50—Image enhancement or restoration using two or more images, e.g. averaging or subtraction
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/10—Image acquisition modality
- G06T2207/10004—Still image; Photographic image
Definitions
- the present application relates to the field of image technology, and in particular to a processing method, device, storage medium and electronic equipment for user interface poster pictures.
- the electronic device user interface needs multiple user interface poster pictures to be displayed together.
- the current electronic device user interface poster picture processing process may include: first design the picture material, and output it to the image library; then directly process the pictures in the image library Format compression and reduction processing; and then deploy the processed image to the corresponding position on the user interface.
- Embodiments of the present application provide a method, device, storage medium, and terminal for processing user interface poster images.
- the embodiment of the present application provides a method for processing a user interface poster picture, the method including:
- the sharpness processing includes sharpening
- the second picture is set at a preset position of the user interface of the electronic device.
- the method further includes:
- edge sharpness value is greater than the sharpness threshold, it is determined that the sharpness of the first picture is greater than the sharpness threshold.
- the acquiring the edge sharpness value of the first picture includes:
- the method further includes:
- performing the definition processing on the first picture to obtain the second picture includes:
- the picture format is a lossless compression format, performing compression processing on the first picture to obtain a compressed first picture
- the acquisition of the image format of the first image further include:
- the picture format is a lossy compression format, directly perform sharpening processing on the first picture to obtain a sharpened first picture.
- said performing size trimming on the sharpened first picture according to the target size to obtain the second picture includes:
- the sharpening process is performed according to the target size.
- the processed first picture is trimmed to obtain multiple second pictures of different sizes to match multiple preset positions in the user interface of the electronic device.
- the method also includes:
- the step of acquiring the first picture to be displayed at a preset position on the user interface of the electronic device is performed until the first picture whose sharpness is greater than the sharpness threshold is acquired.
- the setting the second picture before the preset position of the user interface of the electronic device further includes:
- the second picture is set at a preset position of the user interface of the electronic device.
- the acquiring the second definition of the second picture further include:
- the acquiring the second definition of the second picture further include:
- sharpness of the second picture is not greater than the target sharpness, continue to perform sharpness processing on the second picture, or perform sharpness processing on the first picture again, so that the obtained second picture
- the sharpness is greater than the target sharpness
- an embodiment of the present application provides a device for processing a user interface poster picture, the device comprising:
- An acquisition module configured to acquire the first picture to be displayed at a preset position on the user interface of the electronic device
- a sharpness processing module configured to perform sharpness processing on the first picture to obtain a second picture when the sharpness of the first picture is greater than a sharpness threshold, and the sharpness processing includes sharpening
- a setting module configured to set the second picture at a preset position on the user interface of the electronic device.
- the embodiment of the present application provides a storage medium, on which a computer program is stored, and when the computer program is executed on a computer, the computer executes the method provided in the embodiment of the present application.
- the embodiment of the present application further provides an electronic device, including a memory and a processor, and the processor is used to execute the method provided in the embodiment of the present application by invoking a computer program stored in the memory.
- the image obtains a user interface poster image with better definition, so as to prevent the selection of the first image with insufficient definition, resulting in the inability to obtain a sufficiently clear user interface poster image based on the first image. If the sharpness of the first picture is greater than the sharpness threshold, sharpness processing is performed on the first picture, and the sharpness processing includes sharpening processing, so as to obtain a second picture after sharpness processing.
- the first picture has better definition, then continue to carry out the definition processing on the first picture, to further improve its definition, thereby obtain the second picture with better definition, then set the second picture on the corresponding electronic
- the default location for the device UI It can be understood that the second picture is set as the user interface poster picture at the preset position of the corresponding electronic device user interface. Since the second picture has better clarity as a whole, the user interface poster picture in the electronic device user interface can be greatly improved. clarity.
- FIG. 1 is a schematic flowchart of a first method for processing a user interface poster image provided by an embodiment of the present application.
- FIG. 2 is a schematic flowchart of a second method for processing a user interface poster image provided by an embodiment of the present application.
- FIG. 3 is a schematic diagram of a scenario of a method for processing a user interface poster image provided by an embodiment of the present application.
- FIG. 4 is a schematic structural diagram of a first type of processing device for user interface poster images provided by an embodiment of the present application.
- FIG. 5 is a schematic diagram of a second structure of an apparatus for processing user interface poster pictures provided by an embodiment of the present application.
- FIG. 6 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
- FIG. 7 is another schematic structural diagram of an electronic device provided by an embodiment of the present application.
- FIG. 1 is a schematic flowchart of a first method for processing a user interface poster image provided by an embodiment of the present application.
- the flow of the method for processing the user interface poster image may include:
- a first picture to be displayed at a preset position on a user interface of an electronic device is acquired.
- a user interface of an electronic device needs multiple user interface poster pictures to be displayed together.
- the electronic equipment user interface poster image processing process may include: first design the image material, and output it to the image library; then directly compress and reduce the format of the image in the image library; and then deploy the processed image to the user corresponding position on the interface.
- some user interface poster pictures are not displayed clearly on the user interface of the electronic device.
- the first picture may be used as an initial picture for subsequent processing to obtain a required user interface poster picture.
- the first picture may be designed and obtained according to specific user interface display requirements.
- standardization requirements may be imposed on the design quality, for example, the picture resolution and picture definition of the first picture to be designed must meet the standardization requirements.
- the embodiment of the present application does not limit the specific manner of obtaining the first picture, for example, the first picture may also be obtained from the cloud.
- sharpness processing is performed on the first picture to obtain a second picture, and the sharpness processing includes sharpening.
- the first picture after the first picture is obtained, the first picture will be selected according to the definition. It is understandable that selecting the first picture with sufficient clarity as the initial picture can facilitate the follow-up to obtain the definition according to the initial picture.
- a good user interface poster picture prevents the selection of the first picture with insufficient clarity, resulting in the inability to obtain a clear enough user interface poster picture based on the first picture.
- the embodiment of the present application determines whether the acquired first picture has a sharpness greater than a sharpness threshold.
- an edge sharpness value of the first picture may be acquired; and it is judged whether the edge sharpness value is greater than a sharpness threshold. It is understandable that the edge area of a picture is more likely to be deformed or jagged than the non-edge area of the picture, so the edge area of the picture is more likely to be unclear than the non-edge area of the picture. Therefore, if the edge sharpness value of the first picture is greater than the sharpness threshold, it may indicate that the first picture has sufficient sharpness as a whole.
- the sharpness threshold can be set according to the specific design requirements of the user interface poster picture, so that the user interface poster picture can be at least basically clearly displayed on the user interface, and this application does not limit the sharpness threshold.
- the sharpness processing is performed on the first picture to obtain the second picture.
- the definition processing includes sharpening processing. It can be understood that if the first picture has better definition, then continue to perform sharpening processing on the first picture, and the sharpening processing can enhance the edge and grayscale jump of the first picture. The changed part helps the eyes to clearly see the details in the first picture, so that the second picture obtained after the sharpening process appears sharper and clearer, so that the second picture with better definition can be obtained.
- the sharpness processing in the embodiment of the present application may also include other processing on the picture, such as adjusting parameters such as brightness, contrast, curve, color scale, and saturation of the picture , so that the second picture obtained after the sharpness processing has better sharpness.
- the step of acquiring the first picture to be displayed at a preset position on the user interface of the electronic device is performed until the first picture with a sharpness greater than the sharpness threshold is obtained. picture.
- the second picture since the second picture has better definition, if the second picture is set as the user interface poster picture at the preset position of the corresponding user interface, the user interface poster picture will be more clear at the corresponding preset position of the user interface. Clear display.
- the second picture in order to ensure the clarity of the second picture, before the second picture is set at a preset position on the user interface of the electronic device, the second picture can be judged again for clarity, specifically, it can be Acquiring the second definition of the second picture; if the second definition is greater than the target definition, setting the second picture at a preset position on the user interface of the electronic device.
- the target sharpness can also be set according to the specific design requirements of the user interface poster picture, so that the user interface poster picture can be displayed relatively clearly on the user interface, and the target sharpness value can be greater than or equal to the sharpness threshold. This application does not limit the target definition.
- the clarity of the acquired first picture to be displayed at the preset position of the user interface of the electronic device is greater than the clarity threshold, and a sufficiently clear first picture is selected, so that the follow-up can be followed according to the first picture.
- a user interface poster image with better definition is obtained from the first image to prevent the selection of the first image with insufficient definition, resulting in failure to obtain a sufficiently clear user interface poster image based on the first image.
- sharpness processing is performed on the first picture, and the sharpness processing includes sharpening processing, so as to obtain a second picture after sharpness processing.
- the first picture has better definition, then continue to carry out definition processing on the first picture, to further improve its definition, thereby obtain the second picture with better definition, then set the second picture in the electronic device user The default position of the interface. It can be understood that the second picture is set as the user interface poster picture at the preset position of the corresponding user interface. Since the second picture has better clarity as a whole, the clarity of the user interface poster picture on the user interface is greatly improved. .
- FIG. 2 is another schematic flow diagram of a method for processing a user interface poster image provided in the embodiment of the present application.
- the flow may include:
- a first picture to be displayed at a preset position of a user interface of an electronic device is acquired.
- the first picture may be used as an initial picture for subsequent processing to obtain a required user interface poster picture.
- the first picture may be designed and obtained according to specific user interface display requirements.
- standardization requirements may be imposed on the design quality, for example, the picture resolution and picture definition of the first picture to be designed must meet the standardization requirements.
- the embodiment of the present application does not limit the specific manner of obtaining the first picture, for example, the first picture may also be obtained from the cloud.
- the first picture after the first picture is obtained, the first picture will be selected according to the definition. It is understandable that selecting the first picture with sufficient clarity as the initial picture can facilitate the follow-up to obtain the definition according to the initial picture.
- a good user interface poster picture prevents the selection of the first picture with insufficient clarity, resulting in the inability to obtain a clear enough user interface poster picture based on the first picture.
- the embodiment of the present application determines whether the acquired first picture has a sharpness greater than a sharpness threshold.
- an edge sharpness value of the first picture may be acquired; and it is judged whether the edge sharpness value is greater than a sharpness threshold. It is understandable that the edge area of a picture is more likely to be deformed or jagged than the non-edge area of the picture, so the edge area of the picture is more likely to be unclear than the non-edge area of the picture. Therefore, if the edge sharpness value of the first picture is greater than the sharpness threshold, it may indicate that the first picture has sufficient sharpness as a whole.
- the grayscale image of the first picture when obtaining the edge sharpness value of the first picture, can be obtained; the grayscale image is subjected to Laplace transform, and the variance of the Laplace result is obtained; according to Variance gets the edge sharpness value of the first image.
- judging whether the sharpness of the first picture is greater than the sharpness threshold may also be obtained by obtaining the first resolution of the first picture and the resolution threshold corresponding to the sharpness threshold; if the first resolution is greater than the resolution threshold , it is determined that the sharpness of the first picture is greater than the sharpness threshold.
- the sharpness threshold can be set according to the specific design requirements of the user interface poster picture, so that the user interface poster picture can be at least basically clearly displayed on the user interface, and this application does not limit the sharpness threshold.
- the step of acquiring the first picture to be displayed at a preset position on the user interface of the electronic device is performed until the first picture with a sharpness greater than the sharpness threshold is obtained. picture.
- the picture format of the first picture when the definition of the first picture is greater than the definition threshold, the picture format of the first picture is acquired.
- the picture format of the first picture can be multiple, such as JPG, PNG, GIF and other picture formats, wherein the picture format can be a lossless compression format, or a lossy compression format, which is understandable, such as the first image format of JPG format.
- the picture is a lossy compression format, and the file capacity is relatively small.
- the first picture in the PNG format is a lossless compression format, and the file capacity is relatively large.
- the image format of the first image may not be obtained, and the definition processing may be directly performed on the first image, and the definition processing may include sharpening processing and other image processing. way to improve the clarity of the first picture.
- the picture format is a lossless compression format, compress the first picture to obtain a compressed first picture.
- the first picture in the lossless compression format has a relatively large file capacity and needs to occupy relatively large memory resources
- the picture format of the first picture is a lossless compression format
- the first picture is compressed Process to obtain the compressed first picture.
- the first picture may be converted into a WebP picture format to reduce memory resources occupied by the first picture.
- the picture format is a lossy compression format, it is not necessary to perform compression processing on the first picture, so as to avoid reducing the definition of the first picture.
- the first image may not be compressed, but the first image may be directly processed for resolution. processing and other image processing methods to improve the clarity of the first image.
- the first picture is directly sharpened to obtain the sharpened first picture. a picture. If the sharpness of the first picture is greater than the sharpness threshold, and the picture format of the first picture is a lossless compression format, then the first picture is compressed to obtain the compressed first picture, and then the compressed first picture is compressed. sharpening to obtain the first sharpened image.
- the first picture has better definition, then continue to sharpen the first picture.
- the sharpening process can enhance the edge of the first picture and the part of the grayscale jump, which is helpful for the eyes to see clearly The details in the first picture are detected, so that the sharpened first picture appears sharper and clearer, thereby obtaining the first picture with better definition.
- sharpness processing in addition to sharpening the first picture, other sharpness processing can also be performed, such as adjusting parameters such as brightness, contrast, curve, color scale, and saturation of the picture , so that the first picture after sharpening processing has better sharpness.
- the sharpened first picture is trimmed according to the target size to obtain a second picture.
- the preset positions of different user interfaces need to match user interface poster images of different target sizes, and the size of the sharpened first image may not match the target size.
- the sharpened first picture may be trimmed according to the target size to obtain the second picture, so that the second picture matches the preset position of the user interface to be deployed.
- the sharpened first picture can be directly used as the second picture, and there is no need to cut the size according to the target size.
- the size of the sharpened first picture does not match the target size, if the resolution of the sharpened first picture is reduced, the definition of the picture will be reduced.
- the size of the obtained second picture is cut to match the preset position of the user interface to be deployed without reducing the clarity.
- the required size of the first picture may be standardized according to the target size, so that the acquired first picture size conforms to the target size as much as possible.
- the sharpened first picture may need to be deployed at multiple preset positions in the user interface of the electronic device. If there is a certain difference in the target size required by the multiple preset positions, it is necessary to place the sharpened A plurality of second images of different sizes are obtained by cutting out the first image after being optimized to match the plurality of preset positions in the user interfaces of the plurality of electronic devices.
- the second picture is set at a preset position on the user interface of the electronic device.
- the second picture since the second picture has better clarity, and the size of the second picture matches the preset position in the user interface of the electronic device to be deployed, the second picture is set as the user interface poster picture in the corresponding The preset position in the user interface of the electronic device, the user interface poster image will be displayed more clearly at the corresponding preset position of the user interface.
- the second picture in order to ensure the clarity of the second picture, before the second picture is set at the preset position of the user interface of the electronic device, the second picture can be judged again on the clarity, specifically, it can be obtained
- the second sharpness of the second picture if the second sharpness is greater than the target sharpness, the second picture is set at a preset position on the user interface of the electronic device.
- the preset location information of the user interface to be deployed may be obtained from the image metadata.
- an edge sharpness value of the second picture may be acquired; and whether the edge sharpness value is greater than the target sharpness is judged.
- the grayscale image of the second image can be obtained by obtaining the edge sharpness value of the second image; Laplace transform is performed on the grayscale image, and the variance of the Laplace result is obtained; the second image is obtained according to the variance Edge sharpness value.
- judging whether the resolution of the second picture is greater than the target resolution can also be obtained by obtaining the second resolution of the second picture and the target resolution corresponding to the target resolution; if the second resolution is greater than the target resolution , it is determined that the resolution of the second picture is greater than the target resolution.
- edge sharpness value of the second picture is greater than the target sharpness, it means that the second picture can be clearly displayed on the preset interface of the user interface.
- the target sharpness can also be set according to the specific design requirements of the user interface poster picture, so that the user interface poster picture can be displayed relatively clearly on the user interface, and the target sharpness value can be greater than or equal to the sharpness threshold. This application does not limit the target sharpness value.
- the resolution processing may be continued on the second picture, or the resolution processing may be performed on the first picture again, so that the obtained second picture The sharpness of is greater than the target sharpness.
- the embodiment of the present application conducts overall planning and standardized management from the design of the user interface poster picture, the processing of the user interface poster picture, the deployment of the user interface poster picture, etc., to ensure that the user interface poster picture can be clearly displayed at the preset position of the user interface.
- the definition of the first image can be specified as the initial image, and the first image can be selected according to the definition to determine whether the obtained first image is higher than the definition Threshold, select the first picture that is clear enough, so that the user interface poster picture with better clarity can be obtained according to the first picture, and prevent the selection of the first picture with insufficient clarity, resulting in the failure to obtain the first picture based on the follow-up A sufficiently clear user interface poster picture; in the processing stage of the user interface poster picture, after obtaining the first picture that meets the definition requirements, if the picture format of the first picture is a lossless compression format, the first picture will be compressed In order to obtain the compressed first picture, in order to reduce the memory resources required by the first picture without significantly reducing the definition of the first picture, if the picture format of the first picture is a lossy compression format, it is not necessary to modify the first picture The picture is compressed to maintain the clarity of the first picture; further, continue to sharpen the first picture, so that the sharpened first
- FIG. 3 is a schematic diagram of a scene of a method for processing a user interface poster image provided by an embodiment of the present application.
- a first picture to be displayed at a preset position of the user interface of the electronic device is acquired, and the first picture can be used as an initial picture for subsequent processing to obtain a required user interface poster picture.
- the first picture may be designed according to specific user interface display requirements.
- the first picture will be confirmed according to the sharpness, and it is judged whether the sharpness of the acquired first picture is greater than the sharpness threshold. It can be understood that, if the edge sharpness value of the first picture is greater than the sharpness threshold, it may indicate that the first picture as a whole has sufficient sharpness.
- the definition of the first picture is less than the definition threshold, continue to execute the step of acquiring the first picture to be displayed at the preset position of the user interface of the electronic device until the first picture with the definition greater than the definition threshold is acquired.
- the picture format of the first picture is a lossless compression format
- the first picture is compressed to obtain the compressed first picture, so as to reduce the loss caused by the first picture.
- the required memory resources will not significantly reduce the sharpness of the first picture.
- the sharpened image will be adjusted according to the target size corresponding to the preset position. Cut the size of the first picture to obtain the second picture, thereby maintaining the clarity of the sharpened first picture, and then set the second picture that meets the target size and has better clarity on the user interface of the electronic device Preset position; if the size of the sharpened first picture matches the preset position in the electronic device user interface, then directly set the sharpened first picture as the second picture on the electronic device user interface , thereby greatly improving the clarity of the user interface poster image displayed on the user interface.
- Fig. 4 is a schematic structural diagram of the first type of processing device for a user interface poster image provided by an embodiment of the present application
- Fig. 5 is a second schematic diagram of a processing device for a user interface poster image provided by an embodiment of this application
- the device 400 for processing user interface poster pictures may include: an acquisition module 401, a definition processing module 402, and a setting module 403:
- the acquiring module 401 is configured to: acquire a first picture to be displayed at a preset position on the user interface of the electronic device;
- the sharpness processing module 402 is configured to: when the sharpness of the first picture is greater than the sharpness threshold, then perform sharpness processing on the first picture to obtain a second picture, and the sharpness processing includes sharpening;
- the setting module 403 is configured to: set the second picture at a preset position on the user interface of the electronic device.
- the device for processing the user interface poster image further includes a judging module 404, the judging module is used to obtain the edge definition value of the first picture; if the edge definition value is greater than the sharpness threshold, then determine the Sharpness is greater than the sharpness threshold.
- the judging module 404 is also used to acquire the grayscale image of the first picture; perform Laplace transform on the grayscale image, and obtain the variance of the Laplace result; obtain the grayscale image of the first picture according to the variance Edge sharpness value.
- the judging module 404 can also be used to obtain the first resolution of the first picture and the resolution threshold corresponding to the sharpness threshold; if the first resolution is greater than the resolution threshold, determine the sharpness of the first picture sharpness greater than the sharpness threshold.
- the sharpness processing module 402 is further configured to: obtain the picture format of the first picture; if the picture format is a lossless compression format, compress the first picture to obtain a compressed first picture;
- the degree processing module 402 is also used to: obtain the picture format of the first picture; if the picture format is a lossless compression format, then compress the first picture to obtain the compressed first picture; sharpen the compressed first picture processing to obtain a sharpened first picture; according to the target size, the sharpened first picture is cut in size to obtain a second picture.
- the sharpness processing module 402 is further configured to: if the picture format is a lossy compression format, directly perform sharpening processing on the first picture to obtain a sharpened first picture.
- the sharpness processing module 402 is also used for: if the sharpened first picture needs to be deployed in multiple preset positions of the user interface of the electronic device, the target sizes required by the multiple preset positions are different , the sharpened first picture is trimmed according to the target size to obtain multiple second pictures of different sizes to match multiple preset positions in the user interface of the electronic device.
- the obtaining module 401 can also be used to: when the definition of the first picture is less than the definition threshold, execute the step of obtaining the first picture to be displayed at a preset position of the user interface of the electronic device , until the first picture whose resolution is greater than the resolution threshold is obtained.
- the judging module 404 can also be used to: obtain the second sharpness of the second picture; the setting module 403 can also be used to: if the second sharpness is greater than the target sharpness, set the second picture at Preset position for electronic device user interface.
- the sharpness processing module 402 is further configured to: obtain a target resolution corresponding to the target sharpness; if the second resolution is greater than the target resolution, determine that the sharpness of the second picture is greater than the target sharpness.
- the sharpness processing module 402 is further configured to: if the sharpness of the second picture is not greater than the target sharpness, continue to perform sharpness processing on the second picture, or re-perform sharpness processing on the first picture , so that the resolution of the obtained second picture is greater than the target resolution.
- An embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored.
- the computer program is executed on a computer, the computer is made to execute the procedure in the method for processing a user interface poster image provided in this embodiment.
- the embodiment of the present application also provides an electronic device, including a memory and a processor, and the processor is used to execute the procedure in the method for processing a user interface poster image provided in this embodiment by invoking a computer program stored in the memory.
- FIG. 6 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
- the electronic device 500 may include components such as a memory 501 and a processor 502 .
- components such as a memory 501 and a processor 502 .
- FIG. 6 does not constitute a limitation on the electronic device, and may include more or less components than shown in the figure, or combine some components, or arrange different components.
- the memory 501 can be used to store applications and data.
- the application programs stored in the memory 501 include executable codes.
- Applications can be composed of various functional modules.
- the processor 502 executes various functional applications and data processing by running the application programs stored in the memory 501 .
- the processor 502 is the control center of the electronic device. It uses various interfaces and lines to connect various parts of the entire electronic device. By running or executing the application program stored in the memory 501 and calling the data stored in the memory 501, the electronic device executes Various functions and processing data, so as to monitor the electronic equipment as a whole.
- the processor 502 in the electronic device loads the executable code corresponding to the process of one or more application programs into the memory 501 according to the following instructions, and the processor 502 runs the executable code stored in the memory. 501 in the application, thus executing:
- the sharpness processing is performed on the first picture to obtain the second picture, and the sharpness processing includes sharpening
- the second picture is set at a preset position of the user interface of the electronic device.
- the electronic device 500 may include memory 501 , processor 502 , camera module 503 , sensor 504 , battery 505 , display screen 506 and other components.
- the memory 501 can be used to store applications and data.
- the application programs stored in the memory 501 include executable codes.
- Applications can be composed of various functional modules.
- the processor 502 executes various functional applications and data processing by running the application programs stored in the memory 501 .
- the processor 502 is the control center of the electronic device. It uses various interfaces and lines to connect various parts of the entire electronic device. By running or executing the application program stored in the memory 501 and calling the data stored in the memory 501, the electronic device executes Various functions and processing data, so as to monitor the electronic equipment as a whole.
- the camera module 503 can be used for shooting images based on the camera module.
- the sensor 504 may include sensors such as a gyro sensor (eg, a three-axis gyro sensor), an acceleration sensor, a temperature sensor, and a humidity sensor.
- a gyro sensor eg, a three-axis gyro sensor
- an acceleration sensor e.g., a Bosch Sensortec BMA150 accelerometer
- a temperature sensor e.g., a Bosch Sensor 504
- a humidity sensor e.g., a humidity sensor.
- a battery 505 may be used to provide power support for various modules and components.
- the display screen 506 can be used to display information such as text and images.
- the processor 502 in the electronic device loads the executable code corresponding to the process of one or more application programs into the memory 501 according to the following instructions, and the processor 502 runs the executable code stored in the memory. 501 in the application, thus executing:
- the sharpness processing is performed on the first picture to obtain the second picture, and the sharpness processing includes sharpening
- the second picture is set at a preset position of the user interface of the electronic device.
- the processor 502 executes acquiring the edge sharpness value of the first picture; if the edge sharpness value is greater than the sharpness threshold, Then it is determined that the sharpness of the first picture is greater than the sharpness threshold.
- the processor 502 executes acquiring the grayscale image of the first picture; performing Laplace transform on the grayscale image, and obtaining the Laplace result The variance of ; according to the variance, the edge definition value of the first picture is obtained.
- the processor 502 executes acquiring the first resolution of the first picture and the resolution threshold corresponding to the sharpness threshold; if If the first resolution is greater than the resolution threshold, it is determined that the sharpness of the first picture is greater than the sharpness threshold.
- the processor 502 executes: acquiring the picture format of the first picture; if the picture format is a lossless compression format, compressing the first picture processing to obtain the compressed first picture; performing sharpening processing on the compressed first picture to obtain the sharpened first picture; performing size cropping on the sharpened first picture according to the target size to obtain the second Two pictures.
- the processor 502 executes: if the picture format is a lossy compression format, directly perform sharpening processing on the first picture to obtain the sharpened first picture.
- the processor 502 executes: if the sharpened first picture needs to be deployed on electronic device users There are multiple preset positions on the interface, and the target sizes required by the multiple preset positions are different, then the sharpened first picture is cut according to the target size to obtain multiple second pictures with different sizes to match the electronic device Multiple preset positions in the UI.
- the processor 502 executes: when the sharpness of the first picture is less than the sharpness threshold, execute the step of acquiring the first picture to be displayed at a preset position on the user interface of the electronic device until the sharpness of the first picture is obtained.
- the first picture whose resolution is greater than the sharpness threshold.
- the processor 502 executes: acquiring the second definition of the second picture; if the second definition is greater than the target definition, then The second picture is set at a preset position of the user interface of the electronic device.
- the processor 502 executes: acquiring a target resolution corresponding to the target definition;
- the second resolution is greater than the target resolution, it is determined that the resolution of the second picture is greater than the target resolution.
- the processor 502 executes: if the sharpness of the second picture is not greater than the target sharpness, continue to perform sharpness processing on the second picture, or re- The sharpness processing is performed on the first picture, so that the sharpness of the obtained second picture is greater than the target sharpness.
- the device for processing user interface poster images provided in the embodiment of the present application belongs to the same idea as the processing method for user interface poster images in the above embodiments, and the processing method for user interface poster images can be executed on the processing device for user interface poster images
- the processing method for user interface poster images can be executed on the processing device for user interface poster images
- any method provided in the example, for the specific implementation process refer to the embodiment of the method for processing a user interface poster image, and details are not repeated here.
- the processing method of the user interface poster image in the embodiment of the present application can be realized through a computer program.
- the computer program can be stored in a computer-readable storage medium, such as stored in a memory, and executed by at least one processor, during the execution process, it can include processing methods such as user interface poster pictures Example flow.
- the storage medium may be a magnetic disk, an optical disk, a read only memory (ROM, Read Only Memory), a random access memory (RAM, Random Access Memory), and the like.
- each functional module may be integrated into one processing chip, or each module may exist separately physically, or two or more modules may be integrated into one module .
- the above-mentioned integrated modules can be implemented in the form of hardware or in the form of software function modules. If the integrated modules are implemented in the form of software function modules and sold or used as independent products, they can also be stored in a computer-readable storage medium, such as a read-only memory, magnetic disk or optical disk.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Human Computer Interaction (AREA)
- General Engineering & Computer Science (AREA)
- Image Processing (AREA)
Abstract
本申请实施例提供一种用户界面海报图片的处理方法。该处理方法可以包括:获取待显示于电子设备用户界面的预设位置的第一图片;当第一图片的清晰度大于清晰度阈值时,则对第一图片进行清晰度处理以得到第二图片,清晰度处理包括锐化处理;将第二图片设置在电子设备用户界面的预设位置。
Description
本申请要求于2021年12月14日提交中国专利局、申请号为202111526280.6、申请名称为“用户界面海报图片的处理方法、装置、存储介质及电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
本申请涉及图像技术领域,尤其涉及一种用户界面海报图片的处理方法、装置、存储介质及电子设备。
电子设备用户界面需要多个用户界面海报图片配合显示,其中,目前电子设备用户界面海报图片处理流程可以包括:先对图片素材进行设计,并输出到图像库;然后对图像库中的图片直接进行格式压缩、缩小处理;再将处理后的图片部署到用户界面上相应的位置。
相关技术中,有些用户界面海报图片在电子设备用户界面上显示不清晰。
本申请实施例提供一种用户界面海报图片的处理方法、装置、存储介质及终端。
第一方面,本申请实施例提供一种用户界面海报图片的处理方法,所述方法包括:
获取待显示于电子设备用户界面的预设位置的第一图片;
当所述第一图片的清晰度大于清晰度阈值时,则对所述第一图片进行清晰度处理以得到第二图片,所述清晰度处理包括锐化处理;
将所述第二图片设置在所述电子设备用户界面的预设位置。
可选的,获取待显示于电子设备用户界面的预设位置的第一图片之后,所述方法还包括:
获取所述第一图片的边缘清晰程度值;
若所述边缘清晰程度值大于清晰度阈值,则确定所述第一图片的清晰度大于清晰度阈值。
可选的,所述获取所述第一图片的边缘清晰程度值包括:
获取所述第一图片的灰度图;
对所述灰度图进行拉普拉斯变换,并得到拉普拉斯结果的方差;
根据所述方差得到所述第一图片的边缘清晰程度值。
可选的,获取待显示于电子设备用户界面的预设位置的第一图片之后,所述方法还包括:
获取所述第一图片的第一分辨率以及清晰度阈值对应的分辨率阈值;
若所述第一分辨率大于所述分辨率阈值,则确定所述第一图片的清晰度大于清晰度阈值。
可选的,所述第一图片进行清晰度处理以得到第二图片包括:
获取所述第一图片的图片格式;
若所述图片格式为无损压缩格式,则将所述第一图片进行压缩处理以得到压缩后的第一图片;
对所述压缩后的第一图片进行锐化处理以得到锐化处理后的第一图片;
根据目标尺寸对所述锐化处理后的第一图片进行尺寸剪裁以得到第二图片。
可选的,所述获取所述第一图片的图片格式之后,还包括:
若所述图片格式为有损压缩格式,则直接将所述第一图片进行锐化处理以得到锐化处理后的第一图片。
可选的,所述根据目标尺寸对所述锐化处理后的第一图片进行尺寸剪裁以得到第二图片包括:
若所述锐化处理后的第一图片需要部署在电子设备用户界面的多个预设位置,所述多个预设位置所需的目标尺寸不同,则根据所述目标尺寸对所述锐化处理后的第一图片进行尺寸剪裁以得到多个尺寸不同的第二图片以匹配所述电子设备用户界面中的多个预设位置。
可选的,所述方法还包括:
当第一图片的清晰度小于清晰度阈值时,则执行所述获取待显示于电子设备用户界面的预设位置的第一图片的步骤,直至获取到清晰度大于清晰度阈值的第一图片。
可选的,所述将所述第二图片设置在所述电子设备用户界面的预设位置之前,还包括:
获取所述第二图片的第二清晰度;
若所述第二清晰度大于目标清晰度,则将所述第二图片设置在所述电子设备用户界面的预设位置。
可选的,所述获取所述第二图片的第二清晰度之后,还包括:
获取目标清晰度对应的目标分辨率;
若所述第二分辨率大于所述目标分辨率,则确定所述第二图片的清晰度大于所述目标清晰度。
可选的,所述获取所述第二图片的第二清晰度之后,还包括:
若所述第二图片的清晰度不大于目标清晰度,则对所述第二图片继续进行清晰度处理,或者重新对所述第一图片进行清晰度处理,以使得到的所述第二图片的清晰度大于所述目标清晰度。
第二方面,本申请实施例提供一种用户界面海报图片的处理装置,所述装置包括:
获取模块,用于获取待显示于电子设备用户界面的预设位置的第一图片;
清晰度处理模块,用于当所述第一图片的清晰度大于清晰度阈值时,则对所述第一图片进行清晰度处理以得到第二图片,清晰度处理包括锐化处理;
设置模块,用于将所述第二图片设置在所述电子设备用户界面的预设位置。
第三方面,本申请实施例提供一种存储介质,其上存储有计算机程序,当所述计算机程序在计算机上执行时,使得所述计算机执行本申请实施例提供的方法。
第四方面,本申请实施例还提供一种电子设备,包括存储器,处理器,所述处理器通过调用所述存储器中存储的计算机程序,用于执行本申请实施例提供的方法。
在本申请实施例中,首先判断获取的待显示于电子设备用户界面的预设位置的第一图片的清晰度是否大于清晰度阈值,选择足够清晰的第一图片,从而后续可以跟据第一图片得到清晰度较好的用户界面海报图片,防止选择清晰度不足的第一图片,导致后续跟据该第一图片无法得到足够清晰的用户界面海报图片。若第一图片的清晰度大于清晰度阈值,则对第一图片进行清晰度处理,清晰度处理包括锐化处理,以得到清晰度处理后的第二图片。若第一图片具有较好的清晰度,则继续对第一图片进行清晰度处理,以进一步提高其清晰度,从而得到清晰度更好的第二图片,再将第二图片设置在对应的电子设备用户界面的预设位置。可以理解的,将第二图片作为用户界面海报图片设置在对应的电子设备用户界面的预设位置,由于第二图片整体具有较好的清晰度,从而大幅提高电子设备用户界面中用户界面海报图片的清晰度。
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍。显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为本申请实施例提供的用户界面海报图片的处理方法的第一种流程示意图。
图2为本申请实施例提供的用户界面海报图片的处理方法的第二种流程示意图。
图3为本申请实施例提供的用户界面海报图片的处理方法的场景示意图。
图4为本申请实施例提供的用户界面海报图片的处理装置的第一种结构示意图。
图5为本申请实施例提供的用户界面海报图片的处理装置的第二种结构示意图。
图6为本申请实施例提供的电子设备的结构示意图。
图7为本申请实施例提供的电子设备的另一结构示意图。
请参照图示,其中相同的组件符号代表相同的组件,本申请的原理是以实施在一适当的运算环境中来举例说明。以下的说明是基于所例示的本申请具体实施例,其不应被视为限制本申请未在此详述的其它具体实施例。
请参阅图1,图1为本申请实施例提供的用户界面海报图片的处理方法的第一种流程示意图。该用户界面海报图片的处理方法的流程可以包括:
在101中,获取待显示于电子设备用户界面的预设位置的第一图片。
目前电子设备用户界面需要多个用户界面海报图片配合显示。其中,电子设备用户界面海报图片处理流程可以包括:先对图片素材进行设计,并输出到图像库;然后对图像库中的图片直接进行格式压缩、缩小处理;再将处理后的图片部署到用户界面上相应的位置。但是,相关技术中,有些用户界面海报图片在电子设备用户界面上显示不清晰。
可以理解的,在电子设备用户界面中,不同的预设位置需要对应不同的用户界面海报图片配合显示,因此根据不同预设位置的显示需要,需要获取不同的用户界面海报图片用于显示。
本申请实施例中,首先,需要获取待显示于电子设备用户界面的预设位置的第一图片,第一图片可以作为初始图片,用于后续处理得到所需要的用户界面海报图片。
在一种实施方式中,可以根据具体的用户界面的显示需求,设计得到第一图片。其中,在对第一图片进行设计时,可以对设计质量进行规范化要求,比如要求设计的第一图片的图片分辨率、图片清晰度等需符合规范化要求。具体的,可以分析所需的用户界面海报图片的设计需求,比如根据用户界面海报图片的部署位置、尺寸大小等信息,确定所需的用户界面海报图片的分辨率大小,再根据设计需求和设计素材,设计出第一图片,避免由于设计不规范导致获取不符合显示需求的初始图片。需要说明的是,本申请实施例不对第一图片的具体获取方式进行限制,比如还可以从云端获取第一图片。
在102中,当第一图片的清晰度大于清晰度阈值时,则对第一图片进行清晰度处理以得到第二图片,清晰度处理包括锐化处理。
本申请实施例中,获取到第一图片后,会对第一图片根据清晰度进行选择,可以理解的,选择足够清晰的第一图片作为初始图片,可以方便后续跟据该初始图片得到清晰度较好的用户界面海报图片,防止选择清晰度不足的第一图片,导致后续跟据该第一图片无法得到足够清晰的用户界面海报图片。
因此,为了选择足够清晰的第一图片,本申请实施例会判断获取的第一图片的清晰度是否大于清晰度阈值。
在一种实施方式中,可以获取第一图片的边缘清晰程度值;判断边缘清晰程度值是否大于清晰度阈值。可以理解的,一张图片的边缘区域比起图片的非边缘区域更容易发生变形、或更容易产生锯齿等现象,因此图片的边缘区域比起图片的非边缘区域更容易存在不清晰的现象,所以如果第一图片的边缘清晰度值大于清晰度阈值,则可以说明该第一图片整体都具有足够的清晰度。
需要说明的是,清晰度阈值可以根据具体的用户界面海报图片的设计需求设置,使得用户界面海报图片在用户界面上至少能够基本清晰的显示,本申请对清晰度阈值不作限制。
本申请实施例中,若第一图片的清晰度大于清晰度阈值,则对第一图片进行清晰度处理,以得到第二图片。其中,清晰度处理包括锐化处理,可以理解的,若第一图片具有较好的清晰度,则继续对第一图片进行锐化处理,锐化处理可以增强第一图片的边缘及灰度跳变的部分,有助于眼睛清楚看到第一图片中的细节,从而使锐化处理后得到的第二图片显得棱角分明、画面更加清晰,从而得到清晰度更好的第二图片。
需要说明的是,本申请实施例中的清晰度处理,除了包括锐化处理以外,还可以包括对图片的其它处理,比如对图片的亮度、对比度、曲线、色阶、饱和度等参数进行调整,以使清晰度处理后得到的第二图片具有更好的清晰度。
需要说明的是当第一图片的清晰度小于清晰度阈值时,则执行获取待显示于电子设备用户界面的预设位置的第一图片的步骤,直至获取到清晰度大于清晰度阈值的第一图片。
在103中,将第二图片设置在电子设备用户界面位置。
可以理解的,由于第二图片具有更好的清晰度,将第二图片作为用户界面海报图片设置在对应的用户界面的预设位置,用户界面海报图片在对应的用户界面的预设位置将更加清晰的显示。
在一种实施方式中,为了确保第二图片的清晰度,可以在将第二图片设置在电子设备用户界面的预设位置之前,对第二图片进行再次进行清晰度的判断,具体的,可以获取第二图片的第二清晰度;若第二清晰度大于目标清晰度,则将第二图片设置在电子设备用户界面的预设位置。需要说明的是,目标清晰度也可以根据具体的用户界面海报图片的设计需求设置,使得用户界面海报图片在用户界面上可以呈现比较清晰的显示,目标清晰度值可以大于或等于清晰度阈值,本申请对目标清晰度不作限制。
在本申请实施例中,首先判断获取的待显示于电子设备用户界面的预设位置的第一图片的清晰度是否大于清晰度阈值,选择足够清晰的第一图片,从而后续可以跟据该第一图片得到清晰度较好的用户界面海报图片,防止选择清晰度不足的第一图片,导致后续跟据该第一图片无法得到足够清晰的用户界面海报图片。若第一图片的清晰度大于清晰度阈值,则对第一图片进行清晰度处理,清晰度处理包括锐化处理,以得到清晰度处理后的第二图片。若第一图片具有较好的清晰度,则继续对第一图片进行清晰度处理,以进一步提高其清晰度,从而得到清晰度更好的第二图片,再将第二图片设置在电子设备用户界面的预设位置。可以理解的,将第二图片作为用户界面海报图片设置在对应的用户界面的预设位置,由于第二图片整体具有较好的清晰度,从而大幅提高用户界面海报图片在用户界面上的清晰度。
请参阅图2,图2为本申请实施例提供的用户界面海报图片的处理方法的另一流程示意图,流程可以包括:
在201中,获取待显示于电子设备用户界面的预设位置的第一图片。
在电子设备用户界面中,不同的预设位置需要对应不同的用户界面海报图片配合显示,因此根据不同预设位置的显示需要,需要获取不同的用户界面海报图片用于显示。
本申请实施例中,首先,需要获取待显示于电子设备用户界面的预设位置的第一图片,第一图片可以作为初始图片,用于后续处理得到所需要的用户界面海报图片。
在一种实施方式中,可以根据具体的用户界面的显示需求,设计得到第一图片。其中,在对第一图片进行设计时,可以对设计质量进行规范化要求,比如要求设计的第一图片的图片分辨率、图片清晰度等需符合规范化要求。具体的,可以分析所需的用户界面海报图片的设计需求,比如根据用户界面海报图片的部署位置、尺寸大小等信息,确定所需的用户界面海报图片的分辨率大小,再根据设计需求和设计素材,设计出第一图片,避免由于设计不规范导致获取不符合显示需求的初始图片。并将设计出的第一图片的分辨率、用户界面中所需部署的位置等信息保存到第一图片的元数据(Metadata),将第一图片输出到图片库中以待清晰度处理。
需要说明的是,本申请实施例不对第一图片的具体获取方式进行限制,比如还可以从云端获取第一图片。
在202中,当第一图片的清晰度大于清晰度阈值时,获取第一图片的图片格式。
本申请实施例中,获取到第一图片后,会对第一图片根据清晰度进行选择,可以理解的,选择足够清晰的第一图片作为初始图片,可以方便后续跟据该初始图片得到清晰度较好的用户界面海报图片,防止选择清晰度不足的第一图片,导致后续跟据该第一图片无法得到足够清晰的用户界面海报图片。
因此,为了选择足够清晰的第一图片,本申请实施例会判断获取的第一图片的清晰度是否大于清晰度阈值。
在一种实施方式中,可以获取第一图片的边缘清晰程度值;判断边缘清晰程度值是否大于清晰度阈值。可以理解的,一张图片的边缘区域比起图片的非边缘区域更容易发生变形、或更容易产生锯齿等现象,因此图片的边缘区域比起图片的非边缘区域更容易存在不清晰的现象,所以如果第一图片的边缘清晰度值大于清晰度阈值,则可以说明该第一图片整体都具有足够的清晰度。
在一种实施方式中,获取第一图片的边缘清晰程度值时,可以获取第一图片的灰度图;对灰度图进行拉普拉斯变换,并得到拉普拉斯结果的方差;根据方差得到第一图片的边缘清晰程度值。
在一种实施方式中,判断第一图片的清晰度是否大于清晰度阈值还可以通过获取第一图片的第一分辨率以及清晰度阈值对应的分辨率阈值;若第一分辨率大于分辨率阈值,则确定第一图片的清晰度大于清晰度阈值。
需要说明的是,清晰度阈值可以根据具体的用户界面海报图片的设计需求设置,使得用户界面海报图片在用户界面上至少能够基本清晰的显示,本申请对清晰度阈值不作限制。
需要说明的是当第一图片的清晰度小于清晰度阈值时,则执行获取待显示于电子设备用户界面的预设位置的第一图片的步骤,直至获取到清晰度大于清晰度阈值的第一图片。
本申请实施例中,当第一图片的清晰度大于清晰度阈值时,获取第一图片的图片格式。其中,第一图片的图片格式可以是多种,比如JPG,PNG,GIF等图片格式,其中图片格式可以为无损压缩格式,也可以是有损压缩格式,可以理解的,比如JPG格式的第一图片是有损压缩格式,文件容量相对比较小,PNG格式的第一图片是无损压缩格式,文件容量相对比较大。
需要说明的是,在一种实施例中,若内存资源足够,也可以不获取第一图片的图片格式,直接对第一图片进行清晰度处理,清晰度处理可以包括锐化处理以及其他图片处理方式,以提高第一图片的清晰度。
在203中,若图片格式为无损压缩格式,则将第一图片进行压缩处理以得到压缩后的第一图片。
由于无损压缩格式的第一图片,其文件容量相对比较大,需要占用较大的内存资源,因此本申请实施例中,若第一图片的图片格式为无损压缩格式,则将第一图片进行压缩处理以得到压缩后的第一图片,比如,如果第一图片为PNG等无损压缩格式,可以将第一图片转换为WebP图片格式以减少第一图片所需占有的内存资源。若图片格式为有损压缩格式,则不需要对第一图片进行压缩处理,避免降低第一图片的清晰度。
需要说明的是,在一种实施例中,若内存资源足够,即使图片格式为无损压缩格式,也可以不对第一图片进行压缩处理,直接对第一图片进行清晰度处理,清晰度处理包括锐化处理以及其他图片处理方式,以提高第一图片的清晰度。
在204,对压缩后的第一图片进行锐化处理以得到锐化处理后的第一图片。
本申请实施例中,若第一图片的清晰度大于清晰度阈值,且第一图片的图片格式为有损压缩格式,则直接对第一图片进行锐化处理,以得到锐化处理后的第一图片。若第一图片的清晰度大于清晰度阈值,且第一图片的图片格式为无损压缩格式,则将第一图片进行压缩处理以得到压缩后的第一图片,再对压缩后的第一图片进行锐化处理,以得到锐化处理后的第一图片。
可以理解的,若第一图片具有较好的清晰度,则继续对第一图片进行锐化处理,锐化处理可以增强第一图片的边缘及灰度跳变的部分,有助于眼睛清楚看到第一图片中的细节,从而使锐化处理后的第一图片显得棱角分明、画面更加清晰,从而得到清晰度更好的第一图片。
需要说明的是,本申请实施例中除了可以对第一图片进行锐化处理之外,还可以进行其它清晰度处理,比如对图片的亮度、对比度、曲线、色阶、饱和度等参数进行调整,以使清晰度处理后的第一图片具有更好的清晰度。
在205,根据目标尺寸对锐化处理后的第一图片进行尺寸剪裁以得到第二图片。
可以理解的,在电子设备用户界面中,不同的用户界面的预设位置需要匹配不同的目标尺寸的用户界面海报图片,而锐化处理后的第一图片尺寸可能会与目标尺寸存在尺寸不匹配的问题。因此,本申请实施例中,可以根据目标尺寸对锐化处理后的第一图片进行尺寸剪裁以得到第二图片,以使第二图片匹配所需部署的用户界面的预设位置。当然,如果锐化处理后的第一图片的尺寸符合目标尺寸,则锐化处理后的第一图片即可直接作为第二图片,不需要根据目标尺寸进行尺寸剪裁。
可以理解的,当锐化处理后的第一图片的尺寸与目标尺寸不匹配时,如果对锐化处理后的第一图片的尺寸进行分辨率缩小处理,则会降低图片的清晰度,而本申请实施例是通过尺寸剪裁的方式以使得到的第二图片的尺寸既匹配所需部署的用户界面的预设位置,又不会降低清晰度。
在一种实施方式中,可以在设计第一图片时,就对所需的第一图片的尺寸大小根据目标尺寸进行规范化要求,以使获取的第一图片的尺寸尽量符合目标尺寸。
在一种实施方式中,锐化处理后的第一图片可能需要部署在电子设备用户界面中的多个预设位置,多个预设位置所需的目标尺寸存在一定的差异,则需要将锐化处理后的第一图片通过尺寸剪裁的方式获得多个尺寸不同的第二图片以匹配多个电子设备用户界面中的多个预设位置。
在206中,将第二图片设置在电子设备用户界面的预设位置。
可以理解的,由于第二图片具有更好的清晰度,且第二图片的尺寸大小匹配所需部署的电子设备用户界面中的预设位置,因此将第二图片作为用户界面海报图片设置在对应的电子设备用户界面中的预设位置,用户界面海报图片在对应的用户界面的预设位置将更加清晰的显示。
在一种实施方式中,为了确保第二图片的清晰度,可以在将第二图片设置在电子设备用户界面的预设位置之前,对第二图片进行再次清晰度的判断,具体的,可以获取第二图片的第二清晰度;若第二清晰度大于目标清晰度,则将第二图片设置在电子设备用户界面的预设位置。具体的,可以从图片元数据中获取所需部署的用户界面的预设位置信息。
在一种实施方式中,可以获取第二图片的边缘清晰程度值;判断边缘清晰程度值是否大于目标清晰度。具体的,获取第二图片的边缘清晰程度值可以获取第二图片的灰度图;对灰度图进行拉普拉斯变换,并得到拉普拉斯结果的方差;根据方差得到第二图片的边缘清晰程度值。
在一种实施方式中,判断第二图片的清晰度是否大于目标清晰度还可以通过获取第二图片的第二分辨率以及目标清晰度对应的目标分辨率;若第二分辨率大于目标分辨率,则确定第二图片的清晰度大于目标清晰度。
若第二图片的边缘清晰程度值大于目标清晰度,则说明第二图片可以在用户界面的预设界面呈现清晰的显示。
需要说明的是,目标清晰度也可以根据具体的用户界面海报图片的设计需求设置,使得用户界面海报图片在用户界面上可以呈现比较清晰的显示,目标清晰度值可以大于或等于清晰度阈值,本申请对目标清晰度值不作限制。
在一种实施方式中,当第二图片的清晰度不大于目标清晰度时,可以对第二图片继续进行清晰度处理,或者重新对第一图片进行清晰度处理,以使得到的第二图片的清晰度大于目标清晰度。
本申请实施例从用户界面海报图片的设计,用户界面海报图片的处理,用户界面海报图片的部署等多方面进行统筹规范化管理,保证了用户界面海报图片在用户界面预设位置可以清晰的显示。具体的,在进行用户界面海报图片的设计阶段,可以规范要求第一图片作为初始图片的清晰度,可以对第一图片根据清晰度进行选择,判断获取的第一图片的清晰度是否大于清晰度阈值,选择足够清晰的第一图片,从而后续可以跟据该第一图片得到清晰度较好的用户界面海报图片,防止选择清晰度不足的第一图片,导致后续跟据该第一图片无法得到足够清晰的用户界面海报图片;在用户界面海报图片的处理阶段,在获取到符合清晰度要求的第一图片后,若第一图片的图片格式为无损压缩格式,则将第一图片进行压缩处理以得到压缩后的第一图片,以减少第一图片所需的内存资源又不会明显降低第一图片的清晰度,若第一图片的图片格式为有损压缩格式,则不需要对第一图片进行压缩处理,以保持第一图片的清晰度;进一步的,继续对第一图片进行锐化处理,使锐化处理后的第一图片显得棱角分明、画面更加清晰,从而得到清晰度更好的第一图片;在用户界面海报图片部署的阶段,若锐化处理后的第一图片的尺寸大小与所需部署的用户界面的预设位置不匹配,则根据预设位置对应的目标尺寸对锐化处理后的第一图片进行尺寸剪裁以得到第二图片,以使得到的第二图片的尺寸既匹配所需部署的用户界面的预设位置,又不会降低清晰度,然后将清晰度较好的第二图片设置在电子设备用户界面的预设位置,从而大幅提高用户界面海报图片在用户界面上显示的清晰度。
请参阅图3,图3是本申请实施例提供的用户界面海报图片的处理方法的场景示意图。
在电子设备用户界面中,不同的位置需要对应不同的用户界面海报图片配合显示,因此根据不同位置的显示需要,需要获取不同的用户界面海报图片用于显示。
首先,获取待显示于电子设备用户界面的预设位置的第一图片,第一图片可以作为初始图片,用于后续处理得到所需要的用户界面海报图片。在一种实施方式中,可以根据具体的用户界面的显示需要,设计得到第一图片。在对第一图片进行设计时,可以对设计质量进行规范化要求,比如要求设计的第一图片的图片分辨率、图片清晰度等需符合规范化要求,避免由于设计不规范导致获取不符合清晰度需求的初始图片。
其次,获取到第一图片后,会对第一图片根据清晰度进行确认,判断获取的第一图片的清晰度是否大于清晰度阈值。可以理解的,如果第一图片的边缘清晰度值大于清晰度阈值,则可以说明该第一图片整体都具有足够的清晰度。当第一图片的清晰度小于清晰度阈值时,则继续执行获取待显示于电子设备用户界面的预设位置的第一图片的步骤,直至获取到清晰度大于清晰度阈值的第一图片。
再次,在获取到符合清晰度要求的第一图片后,若第一图片的图片格式为无损压缩格式,则将第一图片进行压缩处理以得到压缩后的第一图片,以减少第一图片所需的内存资源又不会明显降低第一图片的清晰度。
再次,继续对第一图片进行锐化处理,从而使锐化处理后的第一图片显得棱角分明、画面更加清晰,从而得到清晰度更好的第一图片。
最后,在用户界面海报图片部署的阶段,若锐化处理后的第一图片的尺寸大小与电子设备用户界面中的预设位置不匹配,则根据预设位置对应的目标尺寸对锐化处理后的第一图片进行尺寸剪裁以得到第二图片,从而保持了锐化处理后的第一图片的清晰度,再将符合目标尺寸,且清晰度较好的第二图片设置在电子设备用户界面的预设位置;若锐化处理后的第一图片的尺寸大小与电子设备用户界面中的预设位置相匹配,则直接将锐化处理后的第一图片作为第二图片设置在电子设备用户界面的预设位置,从而大幅提高用户界面海报图片在用户界面上显示的清晰度。
请参阅图4和图5,图4为本申请实施例提供的用户界面海报图片的处理装置的第一种结构示意图,图5为本申请实施例提供的用户界面海报图片的处理装置的第二种结构示意图。用户界面海报图片的处理装置400可以包括:获取模块401,清晰度处理模块402,设置模块403:
获取模块401用于:获取待显示于电子设备用户界面的预设位置的第一图片;
清晰度处理模块402用于:当第一图片的清晰度大于清晰度阈值时,则对第一图片进行清晰度处理以得到第二图片,清晰度处理包括锐化处理;
设置模块403用于:将第二图片设置在电子设备用户界面的预设位置。
在一种实施方式中,用户界面海报图片的处理装置还包括判断模块404,判断模块用于获取第一图片的边缘清晰程度值;若边缘清晰程度值大于清晰度阈值,则确定第一图片的清晰度大于清晰度阈值。
在一种实施方式中,判断模块404还用于获取第一图片的灰度图;对灰度图进行拉普拉斯变换,并得到拉普拉斯结果的方差;根据方差得到第一图片的边缘清晰程度值。
在一种实施方式中,判断模块404还可以用于获取第一图片的第一分辨率以及清晰度阈值对应的分辨率阈值;若第一分辨率大于分辨率阈值,则确定第一图片的清晰度大于清晰度阈值。
在一种实施方式中,清晰度处理模块402还用于:获取第一图片的图片格式;若图片格式为无损压缩格式,则将第一图片进行压缩处理以得到压缩后的第一图片;清晰度处理模块402还用于:获取第一图片的图片格式;若图片格式为无损压缩格式,则将第一图片进行压缩处理以得到压缩后的第一图片;对压缩后的第一图片进行锐化处理以得到锐化处理后的第一图片;根据目标尺寸对锐化处理后的第一图片进行尺寸剪裁以得到第二图片。
在一种实施方式中,清晰度处理模块402还用于:若图片格式为有损压缩格式,则直接将第一图片进行锐化处理以得到锐化处理后的第一图片。
在一种实施方式中,清晰度处理模块402还用于:若锐化处理后的第一图片需要部署在电子设备用户界面的多个预设位置,多个预设位置所需的目标尺寸不同,则根据目标尺寸对锐化处理后的第一图片进行尺寸剪裁以得到多个尺寸不同的第二图片以匹配电子设备用户界面中的多个预设位置。
在一种实施方式中,获取模块401还可以用于:当第一图片的清晰度小于清晰度阈值时,则执行所述获取待显示于电子设备用户界面的预设位置的第一图片的步骤,直至获取到清晰度大于清晰度阈值的第一图片。
在一种实施方式中,判断模块404还可以用于:获取第二图片的第二清晰度;设置模块403还可以用于:若第二清晰度大于目标清晰度,则将第二图片设置在电子设备用户界面的预设位置。
在一种实施方式中,清晰度处理模块402还用于:获取目标清晰度对应的目标分辨率;若第二分辨率大于目标分辨率,则确定第二图片的清晰度大于目标清晰度。
在一种实施方式中,清晰度处理模块402还用于:若第二图片的清晰度不大于目标清晰度,则对第二图片继续进行清晰度处理,或者重新对第一图片进行清晰度处理,以使得到的第二图片的清晰度大于目标清晰度。
本申请实施例提供一种计算机可读的存储介质,其上存储有计算机程序,当计算机程序在计算机上执行时,使得计算机执行如本实施例提供的用户界面海报图片的处理方法中的流程。
本申请实施例还提供一种电子设备,包括存储器,处理器,处理器通过调用存储器中存储的计算机程序,用于执行本实施例提供的用户界面海报图片的处理方法中的流程。
参阅图6,图6为本申请实施例提供的电子设备的结构示意图。
该电子设备500可以包括存储器501、处理器502等部件。本领域技术人员可以理解,图6中示出的电子设备结构并不构成对电子设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。
存储器501可用于存储应用程序和数据。存储器501存储的应用程序中包含有可执行代码。应用程序可以组成各种功能模块。处理器502通过运行存储在存储器501的应用程序,从而执行各种功能应用以及数据处理。
处理器502是电子设备的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或执行存储在存储器501内的应用程序,以及调用存储在存储器501内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。
在本实施例中,电子设备中的处理器502会按照如下的指令,将一个或一个以上的应用程序的进程对应的可执行代码加载到存储器501中,并由处理器502来运行存储在存储器501中的应用程序,从而执行:
获取待显示于电子设备用户界面的预设位置的第一图片;
当第一图片的清晰度大于清晰度阈值时,则对第一图片进行清晰度处理以得到第二图片,清晰度处理包括锐化处理;
将第二图片设置在电子设备用户界面的预设位置。
请参阅图7,电子设备500可以包括、存储器501、处理器502、摄像模组503、传感器504、电池505、显示屏506等部件。
存储器501可用于存储应用程序和数据。存储器501存储的应用程序中包含有可执行代码。应用程序可以组成各种功能模块。处理器502通过运行存储在存储器501的应用程序,从而执行各种功能应用以及数据处理。
处理器502是电子设备的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或执行存储在存储器501内的应用程序,以及调用存储在存储器501内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。
摄像模组503可以用于进行基于摄像模组进行影像拍摄。
传感器504可以包括陀螺仪传感器(例如三轴陀螺仪传感器)、加速度传感器、温度传感器、湿度传感器等传感器。
电池505可以用于为各个模块和部件提供电力支持。
显示屏506可以用于显示诸如文字、图像等信息。
在本实施例中,电子设备中的处理器502会按照如下的指令,将一个或一个以上的应用程序的进程对应的可执行代码加载到存储器501中,并由处理器502来运行存储在存储器501中的应用程序,从而执行:
获取待显示于电子设备用户界面的预设位置的第一图片;
当第一图片的清晰度大于清晰度阈值时,则对第一图片进行清晰度处理以得到第二图片,清晰度处理包括锐化处理;
将第二图片设置在电子设备用户界面的预设位置。
在一种实施方式中,在获取待显示于电子设备用户界面的预设位置的第一图片之后,处理器502执行获取第一图片的边缘清晰程度值;若边缘清晰程度值大于清晰度阈值,则确定第一图片的清晰度大于清晰度阈值。
在一种实施方式中,在获取第一图片的边缘清晰程度值中,处理器502执行获取第一图片的灰度图;对灰度图进行拉普拉斯变换,并得到拉普拉斯结果的方差;根据方差得到第一图片的边缘清晰程度值。
在一种实施方式中,在获取待显示于电子设备用户界面的预设位置的第一图片之后,处理器502执行获取第一图片的第一分辨率以及清晰度阈值对应的分辨率阈值;若第一分辨率大于分辨率阈值,则确定第一图片的清晰度大于清晰度阈值。
在一种实施方式中,在第一图片进行清晰度处理以得到第二图片中,处理器502执行:获取第一图片的图片格式;若图片格式为无损压缩格式,则将第一图片进行压缩处理以得到压缩后的第一图片;对压缩后的第一图片进行锐化处理以得到锐化处理后的第一图片;根据目标尺寸对锐化处理后的第一图片进行尺寸剪裁以得到第二图片。
在一种实施方式中,在获取第一图片的图片格式之后,处理器502执行:若图片格式为有损压缩格式,则直接将第一图片进行锐化处理以得到锐化处理后的第一图片。
在一种实施方式中,在根据目标尺寸对锐化处理后的第一图片进行尺寸剪裁以得到第二图片中,处理器502执行:若锐化处理后的第一图片需要部署在电子设备用户界面的多个预设位置,多个预设位置所需的目标尺寸不同,则根据目标尺寸对锐化处理后的第一图片进行尺寸剪裁以得到多个尺寸不同的第二图片以匹配电子设备用户界面中的多个预设位置。
在一种实施方式中,处理器502执行:当第一图片的清晰度小于清晰度阈值时,则执行获取待显示于电子设备用户界面的预设位置的第一图片的步骤,直至获取到清晰度大于清晰度阈值的第一图片。
在一种实施方式中,在将第二图片设置在电子设备用户界面的预设位置之前,处理器502执行:获取第二图片的第二清晰度;若第二清晰度大于目标清晰度,则将第二图片设置在电子设备用户界面的预设位置。
在一种实施方式中,在获取第二图片的第二清晰度之后,处理器502执行: 获取目标清晰度对应的目标分辨率;
若第二分辨率大于目标分辨率,则确定第二图片的清晰度大于目标清晰度。
在一种实施方式中,在获取第二图片的第二清晰度之后,处理器502执行: 若第二图片的清晰度不大于目标清晰度,则对第二图片继续进行清晰度处理,或者重新对第一图片进行清晰度处理,以使得到的第二图片的清晰度大于目标清晰度。
在上述实施例中,对各个实施例的描述各有侧重,某个实施例中没有详述的部分,可以参见上文针对功耗确定方法的详细描述,此处不再赘述。
本申请实施例提供的用户界面海报图片的处理装置与上文实施例中的用户界面海报图片的处理方法属于同一构思,在用户界面海报图片的处理装置上可以运行用户界面海报图片的处理方法实施例中提供的任一方法,其具体实现过程详见用户界面海报图片的处理方法实施例,此处不再赘述。
需要说明的是,对本申请实施例用户界面海报图片的处理方法而言,本领域普通技术人员可以理解实现本申请实施例用户界面海报图片的处理方法的全部或部分流程,是可以通过计算机程序来控制相关的硬件来完成,计算机程序可存储于一计算机可读取存储介质中,如存储在存储器中,并被至少一个处理器执行,在执行过程中可包括如用户界面海报图片的处理方法的实施例的流程。其中,存储介质可为磁碟、光盘、只读存储器(ROM,Read Only Memory)、随机存取记忆体(RAM,Random Access Memory)等。
对本申请实施例的用户界面海报图片的处理装置而言,其各功能模块可以集成在一个处理芯片中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中,存储介质譬如为只读存储器,磁盘或光盘等。
Claims (20)
- 一种用户界面海报图片的处理方法,应用于电子设备,其中,所述方法包括:获取待显示于电子设备用户界面的预设位置的第一图片;当所述第一图片的清晰度大于清晰度阈值时,则对所述第一图片进行清晰度处理以得到第二图片,所述清晰度处理包括锐化处理;将所述第二图片设置在所述电子设备用户界面的预设位置。
- 根据权利要求1所述的用户界面海报图片的处理方法,其中,获取待显示于电子设备用户界面的预设位置的第一图片之后,所述方法还包括:获取所述第一图片的边缘清晰程度值;若所述边缘清晰程度值大于清晰度阈值,则确定所述第一图片的清晰度大于清晰度阈值。
- 根据权利要求2所述的用户界面海报图片的处理方法,其中,所述获取所述第一图片的边缘清晰程度值包括:获取所述第一图片的灰度图;对所述灰度图进行拉普拉斯变换,并得到拉普拉斯结果的方差;根据所述方差得到所述第一图片的边缘清晰程度值。
- 根据权利要求1所述的用户界面海报图片的处理方法,其中,获取待显示于电子设备用户界面的预设位置的第一图片之后,所述方法还包括:获取所述第一图片的第一分辨率以及清晰度阈值对应的分辨率阈值;若所述第一分辨率大于所述分辨率阈值,则确定所述第一图片的清晰度大于清晰度阈值。
- 根据权利要求1所述的用户界面海报图片的处理方法,其中,所述第一图片进行清晰度处理以得到第二图片包括:获取所述第一图片的图片格式;若所述图片格式为无损压缩格式,则将所述第一图片进行压缩处理以得到压缩后的第一图片;对所述压缩后的第一图片进行锐化处理以得到锐化处理后的第一图片;根据目标尺寸对所述锐化处理后的第一图片进行尺寸剪裁以得到第二图片。
- 根据权利要求5所述的用户界面海报图片的处理方法,其中,所述获取所述第一图片的图片格式之后,还包括:若所述图片格式为有损压缩格式,则直接将所述第一图片进行锐化处理以得到锐化处理后的第一图片。
- 根据权利要求5所述的用户界面海报图片的处理方法,其中,所述根据目标尺寸对所述锐化处理后的第一图片进行尺寸剪裁以得到第二图片包括:若所述锐化处理后的第一图片需要部署在电子设备用户界面的多个预设位置,所述多个预设位置所需的目标尺寸不同,则根据所述目标尺寸对所述锐化处理后的第一图片进行尺寸剪裁以得到多个尺寸不同的第二图片以匹配所述电子设备用户界面中的多个预设位置。
- 根据权利要求1所述的用户界面海报图片的处理方法,其中,所述方法还包括:当第一图片的清晰度小于清晰度阈值时,则执行所述获取待显示于电子设备用户界面的预设位置的第一图片的步骤,直至获取到清晰度大于清晰度阈值的第一图片。
- 根据权利要求1所述的用户界面海报图片的处理方法,其中,所述将所述第二图片设置在所述电子设备用户界面的预设位置之前,还包括:获取所述第二图片的第二清晰度;若所述第二清晰度大于目标清晰度,则将所述第二图片设置在所述电子设备用户界面的预设位置。
- 根据权利要求9所述的用户界面海报图片的处理方法,其中,所述获取所述第二图片的第二清晰度之后,还包括:获取目标清晰度对应的目标分辨率;若所述第二分辨率大于所述目标分辨率,则确定所述第二图片的清晰度大于所述目标清晰度。
- 根据权利要求9所述的用户界面海报图片的处理方法,其中,所述获取所述第二图片的第二清晰度之后,还包括:若所述第二图片的清晰度不大于目标清晰度,则对所述第二图片继续进行清晰度处理,或者重新对所述第一图片进行清晰度处理,以使得到的所述第二图片的清晰度大于所述目标清晰度。
- 一种用户界面海报图片的处理装置,其中,包括:获取模块,用于获取待显示于电子设备用户界面的预设位置的第一图片;清晰度处理模块,用于当所述第一图片的清晰度大于清晰度阈值时,则对所述第一图片进行清晰度处理以得到第二图片,清晰度处理包括锐化处理;设置模块,用于将所述第二图片设置在所述电子设备用户界面的预设位置。
- 一种存储介质,其上存储有计算机程序,其中,当所述计算机程序在计算机上执行时,使得所述计算机执行如权利要求1至11中任一项所述的方法。
- 一种电子设备,包括存储器,处理器,其中,所述处理器通过调用所述存储器中存储的计算机程序,用于执行以下方法:获取待显示于电子设备用户界面的预设位置的第一图片;当所述第一图片的清晰度大于清晰度阈值时,则对所述第一图片进行清晰度处理以得到第二图片,所述清晰度处理包括锐化处理;将所述第二图片设置在所述电子设备用户界面的预设位置。
- 根据权利要求14所述的电子设备,其中,所述处理器还用于执行:获取所述第一图片的边缘清晰程度值;若所述边缘清晰程度值大于清晰度阈值,则确定所述第一图片的清晰度大于清晰度阈值。
- 根据权利要求15所述的电子设备,其中,所述处理器还用于执行:获取所述第一图片的灰度图;对所述灰度图进行拉普拉斯变换,并得到拉普拉斯结果的方差;根据所述方差得到所述第一图片的边缘清晰程度值。
- 根据权利要求14所述的电子设备,其中,所述处理器还用于执行:获取所述第一图片的第一分辨率以及清晰度阈值对应的分辨率阈值;若所述第一分辨率大于所述分辨率阈值,则确定所述第一图片的清晰度大于清晰度阈值。
- 根据权利要求14所述的电子设备,其中,所述处理器还用于执行:获取所述第一图片的图片格式;若所述图片格式为无损压缩格式,则将所述第一图片进行压缩处理以得到压缩后的第一图片;对所述压缩后的第一图片进行锐化处理以得到锐化处理后的第一图片;根据目标尺寸对所述锐化处理后的第一图片进行尺寸剪裁以得到第二图片。
- 根据权利要求14所述的电子设备,其中,所述处理器还用于执行:当第一图片的清晰度小于清晰度阈值时,则执行所述获取待显示于电子设备用户界面的预设位置的第一图片的步骤,直至获取到清晰度大于清晰度阈值的第一图片。
- 根据权利要求14所述的电子设备,其中,所述处理器还用于执行:获取所述第二图片的第二清晰度;若所述第二清晰度大于目标清晰度,则将所述第二图片设置在所述电子设备用户界面的预设位置。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111526280.6 | 2021-12-14 | ||
CN202111526280.6A CN114219730A (zh) | 2021-12-14 | 2021-12-14 | 用户界面海报图片的处理方法、装置、存储介质及电子设备 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2023109374A1 true WO2023109374A1 (zh) | 2023-06-22 |
Family
ID=80701777
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2022/130495 WO2023109374A1 (zh) | 2021-12-14 | 2022-11-08 | 用户界面海报图片的处理方法、装置、存储介质及电子设备 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN114219730A (zh) |
WO (1) | WO2023109374A1 (zh) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114219730A (zh) * | 2021-12-14 | 2022-03-22 | 深圳Tcl新技术有限公司 | 用户界面海报图片的处理方法、装置、存储介质及电子设备 |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111383054A (zh) * | 2020-03-10 | 2020-07-07 | 中国联合网络通信集团有限公司 | 广告检验方法和装置 |
CN111402165A (zh) * | 2020-03-18 | 2020-07-10 | 展讯通信(上海)有限公司 | 图像处理方法、装置、设备及存储介质 |
CN114219730A (zh) * | 2021-12-14 | 2022-03-22 | 深圳Tcl新技术有限公司 | 用户界面海报图片的处理方法、装置、存储介质及电子设备 |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105791979A (zh) * | 2014-12-26 | 2016-07-20 | 深圳Tcl数字技术有限公司 | 视频文件处理方法及显示装置 |
CN111272148B (zh) * | 2020-01-20 | 2021-08-31 | 江苏方天电力技术有限公司 | 输电线路无人机自主巡检自适应成像质量优化方法 |
CN112489006A (zh) * | 2020-11-26 | 2021-03-12 | 腾讯科技(北京)有限公司 | 图像处理方法、装置、存储介质及终端 |
CN113298893B (zh) * | 2021-04-23 | 2023-06-23 | 贵州电网有限责任公司 | 一种基于电力调度的人工智能图像处理方法 |
-
2021
- 2021-12-14 CN CN202111526280.6A patent/CN114219730A/zh active Pending
-
2022
- 2022-11-08 WO PCT/CN2022/130495 patent/WO2023109374A1/zh unknown
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111383054A (zh) * | 2020-03-10 | 2020-07-07 | 中国联合网络通信集团有限公司 | 广告检验方法和装置 |
CN111402165A (zh) * | 2020-03-18 | 2020-07-10 | 展讯通信(上海)有限公司 | 图像处理方法、装置、设备及存储介质 |
CN114219730A (zh) * | 2021-12-14 | 2022-03-22 | 深圳Tcl新技术有限公司 | 用户界面海报图片的处理方法、装置、存储介质及电子设备 |
Also Published As
Publication number | Publication date |
---|---|
CN114219730A (zh) | 2022-03-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7978922B2 (en) | Compressing images in documents | |
US20180089202A1 (en) | Apparatus that provides generation service of document file incloud system, method, and storage medium | |
CN110363753B (zh) | 图像质量评估方法、装置及电子设备 | |
US9799099B2 (en) | Systems and methods for automatic image editing | |
AU2020202660B2 (en) | Image Modification Styles Learned from A Limited Set of Modified Images | |
US9256919B2 (en) | Systems and methods for image processing using a resizing template | |
CN109389659B (zh) | Ppt中数学公式的渲染方法、装置、存储介质及终端设备 | |
US9524540B2 (en) | Techniques for automatically correcting groups of images | |
US11922607B2 (en) | Electronic device for processing image and image processing method thereof | |
WO2023109374A1 (zh) | 用户界面海报图片的处理方法、装置、存储介质及电子设备 | |
WO2020124374A1 (zh) | 图像处理方法、终端设备及存储介质 | |
US9407835B2 (en) | Image obtaining method and electronic device | |
CN110727810A (zh) | 图像处理方法、装置、电子设备及存储介质 | |
CN106610828B (zh) | 基于Android系统的GIF动画播放方法及装置 | |
WO2023246403A1 (zh) | 模型的训练方法、水印复原方法及相关设备 | |
CN111045576B (zh) | 显示控制方法、显示控制装置、终端设备和电子设备 | |
US20190197986A1 (en) | Methods for dynamically providing an image to be displayed | |
CN114942854A (zh) | 一种gif动图的截图方法和相关设备 | |
US20200336697A1 (en) | Information processing apparatus | |
CN114820660A (zh) | 图像处理方法、装置、电子设备、存储介质及程序产品 | |
CN112399196B (zh) | 图像处理方法及装置 | |
CN113656717A (zh) | 一种网页的控件渲染方法、装置、设备及存储介质 | |
CN112835525A (zh) | 提高存储空间利用率的方法、装置及终端 | |
US11126884B2 (en) | Image processing apparatus, method for controlling image processing apparatus, and non-transitory computer-readable storage medium | |
US20150128029A1 (en) | Method and apparatus for rendering data of web application and recording medium thereof |
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: 22906126 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |