Image processing method and apparatus, and device
Embodiments of the present disclosure provide an image processing method and apparatus, and a device. The method includes: displaying a number M of first images in a first region, each first image corresponding to a number N of sub-images, the number N of sub-images being images formed by dividing the first image into N parts, M being an integer greater than or equal to 1, and N being an integer greater than 1; in response to a first operation instruction, determining a number K of sub-images from the number of M*N sub-images corresponding to the number M of first images, and displaying some or all of the K sub-images in a second region, K being an integer greater than or equal to 1; and updating a display mode of the number M of first images according to the K sub-images, and displaying a splicing number corresponding to each first image, the splicing number being a number of first images formed by splicing the K sub-images.
1 . An image processing method, comprising:
displaying a plurality of first images in a first region and displaying a plurality of second images in a second region, wherein each of the plurality of first images is divided into a plurality parts corresponding to a plurality of sub-images;
in response to a first operation instruction, determining at least one subset of sub-images, wherein the sub-images are formed from dividing the plurality of first images;
switching to displaying the at least one subset of the sub-images in the second region, wherein the at least one subset of the sub-images includes all parts of at least one of the plurality of first images;
updating a display mode of the plurality of first images in the first region based on the at least one subset of the sub-images displayed in the second region, wherein the updating the display mode of the plurality of first images comprises highlighting or labeling parts in the plurality of first images, the highlighted or labelled parts corresponding to the at least one subset of the sub-images; and
displaying a splicing number, the splicing number being a number of the at least one of the plurality of first images all parts of which are included in the at least one subset of the sub-images.
2 . The method according to claim 1 , wherein the at least one subset of the sub-images are different from each other.
3 . The method according to claim 2 , further comprising:
displaying the at least one subset of the sub-images at image display positions of the second region.
4 . The method according to claim 3 , wherein when a number of the image display positions is greater than or equal to a preset threshold, adjacent image display positions among the image display positions have overlap regions.
5 . The method according to claim 1 , further comprising:
in response to determining that the splicing number is greater than or equal to 1, displaying the splicing number.
6 . The method according to claim 1 , wherein displaying a splicing number comprises:
displaying the splicing number in a display region corresponding to the at least one of the plurality of first images, wherein the display region is any one of the following regions:
an upper left corner of a region where the at least one of the plurality of first images is located; or,
an upper right corner of a region where the at least one of the plurality of first images is located; or,
a lower left corner of a region where the at least one of the plurality of first images is located; or,
a lower right corner of a region where the at least one of the plurality of first images is located.
7 . The method according to claim 1 , further comprising:
playing an image movement animation according to positions of the at least one subset of the sub-images and positions of the plurality of first images in the first region, wherein the image movement animation comprises:
an animation showing that each sub-image displayed in the second region moves towards a corresponding part in the first region.
8 . The method according to claim 1 , further comprising:
in response to the splicing number being greater than 1, generating prompt information.
9 . An electronic device, comprising: a processor and a memory,
wherein the memory stores computer-executable instructions; and
the processor executes the computer-executable instructions stored in the memory to cause the processor to:
display a plurality of first images in a first region and displaying a plurality of second images in a second region, wherein each of the plurality of first images is divided into a plurality parts corresponding to a plurality of sub-images;
in response to a first operation instruction, determine at least one subset of sub-images, wherein the sub-images are formed from dividing the plurality of first images;
switch to displaying the at least one subset of the sub-images in the second region, wherein the at least one subset of the sub-images includes all parts of at least one of the plurality of first images;
update a display mode of the plurality of first images in the first region based on the at least one subset of the sub-images displayed in the second region, wherein the updating the display mode of the plurality of first images comprises highlighting or labeling parts in the plurality of first images, the highlighted or labelled parts corresponding to the at least one subset of the sub-images; and
display a splicing number, the splicing number being a number of the at least one of the plurality of first images all parts of which are included in the at least one subset of the sub-images.
10 . The electronic device according to claim 9 , wherein the at least one subset of the sub-images are different from each other.
11 . The electronic device according to claim 10 , wherein the computer-executable instructions to further cause the processor to:
display the at least one subset of the sub-images at image display positions of the second region.
12 . The electronic device according to claim 11 , wherein when a number of the image display positions is greater than or equal to a preset threshold, adjacent image display positions among the image display positions have overlap regions.
13 . The electronic device according to claim 9 , wherein the computer-executable instructions to further cause the processor to:
in response to determining that the splicing number is greater than or equal to 1, display the splicing number.
14 . The electronic device according to claim 13 , wherein the computer-executable instructions to further cause the processor to:
display the splicing number in a display region corresponding to the at least one of the plurality of first images, wherein the display region is any one of the following regions:
an upper left corner of a region where the at least one of the plurality of first images is located; or,
an upper right corner of a region where the at least one of the plurality of first images is located; or,
a lower left corner of a region where the at least one of the plurality of first images is located; or,
a lower right corner of a region where the at least one of the plurality of first images is located.
15 . The electronic device according to claim 9 , wherein the computer-executable instructions further comprise computer-executable instructions to cause the processor to:
play an image movement animation according to positions of the at least one subset of the sub-images and positions of the plurality of first images in the first region, wherein the image movement animation comprises:
an animation showing that each sub-image displayed in the second region moves towards a corresponding part in the first region.
16 . The electronic device according to claim 9 , wherein the computer-executable instructions further comprise computer-executable instructions to cause the processor to:
in response to the splicing number being greater than 1, generate prompt information.
17 . A non-transitory computer-readable storage medium, comprising a computer program comprising computer-executable instructions, wherein the computer-executable instructions are executed by a processor to cause the processor to perform operations comprising:
displaying a plurality of first images in a first region and displaying a plurality of second images in a second region, wherein each of the plurality of first images is divided into a plurality parts corresponding to a plurality of sub-images;
in response to a first operation instruction, determining at least one subset of sub-images, wherein the sub-images are formed from dividing the plurality of first images;
switching to displaying the at least one subset of the sub-images in the second region, wherein the at least one subset of the sub-images includes all parts of at least one of the plurality of first images;
updating a display mode of the plurality of first images in the first region based on the at least one subset of the sub-images displayed in the second region, wherein the updating the display mode of the plurality of first images comprises highlighting or labeling parts in the plurality of first images, the highlighted or labelled parts corresponding to the at least one subset of the sub-images; and
displaying a splicing number, the splicing number being a number of the at least one of the plurality of first images all parts of which are included in the at least one subset of the sub-images.
18 . The computer program product according to claim 17 , wherein the at least one subset of the sub-images are different from each other.