Image processing method, device, electronic device, medium and program
By obtaining the spanning splicing information from the server and automatically completing the splicing on the client, the problem of discontinuous spanning image browsing on mobile devices is solved, improving user experience and saving storage space.
Patent Information
- Application Number
- CN202111299468.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-04
- Publication Date
- 2025-08-12
- Estimated Expiration
- 2041-11-04
AI Technical Summary
When browsing cross-page pictures on mobile devices, users need to manually select the cross-page splicing scheme, resulting in discontinuous and inconvenient browsing experience.
By obtaining spanning information from the server and automatically completing spanning locally on the client, avoiding manual operations.
Improves the continuity and user experience of cross-page image browsing, provides flexible browsing options, saves client storage space and supports information sharing.
Smart Images

Figure CN113989119B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of image processing technology, and in particular to an image processing method, device, electronic device, medium, and program for image stitching. Background Art
[0002] With the continuous development of terminal technology, users use mobile terminals in more and more scenarios. For example, users use mobile e-readers to browse electronic content such as Japanese comics and Chinese comics. When users browse pictures on mobile clients, they often encounter the situation where pictures span across pages. A span refers to two pictures that are continuous in content, but due to the physical form of traditional printed materials (such as books), they are printed on two opposite pages, resulting in the original overall content being separated. On traditional printed materials, such a span can be browsed normally, but on mobile devices, span browsing is limited to only being able to see two separate pictures on one screen. As a result, the content is discontinuous when users browse spanned pictures, and the browsing experience is extremely poor.
[0003] The approaches described in this section are not necessarily approaches that have been previously conceived or employed. Unless otherwise indicated, it should not be assumed that any approach described in this section is prior art simply by virtue of its inclusion in this section. Similarly, unless otherwise indicated, the issues raised in this section should not be considered as having been recognized in any prior art. Summary of the Invention
[0004] The present disclosure provides an image processing method, apparatus, electronic device, computer-readable storage medium, and computer program product.
[0005] According to one aspect of the present disclosure, an image processing method is provided, comprising: determining, at a server, at least one piece of stitching information corresponding to a plurality of target images; and in response to receiving an acquisition request, sending the corresponding plurality of target images and the at least one piece of stitching information corresponding to the plurality of target images to a client, wherein the plurality of target images include a plurality of first images to be stitched together, and each piece of the at least one piece of stitching information includes identification information of corresponding at least two first images to be stitched together.
[0006] According to one aspect of the present disclosure, an image processing method is also provided, including: obtaining, at a client, a plurality of target images and at least one piece of stitching information corresponding to the plurality of target images, the plurality of target images including a plurality of first images to be stitched, each piece of stitching information in the at least one piece of stitching information including identification information of corresponding at least two first images to be stitched, the plurality of target images and the at least one piece of stitching information being obtained from a server; and stitching the plurality of first images to be stitched based on the at least one piece of stitching information to obtain at least one stitched image.
[0007] According to another aspect of the present disclosure, an image processing device for a client is also provided, including: an acquisition unit, configured to acquire multiple target images and at least one piece of stitching information corresponding to the multiple target images, the multiple target images including multiple first images to be stitched, each piece of stitching information in the at least one piece of stitching information including identification information of corresponding at least two first images to be stitched, the multiple target images and the at least one piece of stitching information being obtained from a server; and a stitching unit, configured to stitch the multiple first images to be stitched based on the at least one piece of stitching information to obtain at least one stitched image.
[0008] According to another aspect of the present disclosure, an image processing device for a server is also provided, including: a determination unit, configured to determine at least one piece of stitching information corresponding to a plurality of target images; and a sending unit, configured to send the corresponding plurality of target images and the at least one piece of stitching information corresponding to the plurality of target images to a client in response to receiving an acquisition request, the plurality of target images including a plurality of first images to be stitched, and each piece of stitching information in the at least one piece of stitching information including identification information of corresponding at least two first images to be stitched.
[0009] According to another aspect of the present disclosure, an electronic device is also provided, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores a computer program, and the computer program implements the above method when executed by the at least one processor.
[0010] According to another aspect of the present disclosure, a non-transitory computer-readable storage medium storing a computer program is further provided, wherein the computer program implements the above method when executed by a processor.
[0011] According to another aspect of the present disclosure, a computer program product is further provided, comprising a computer program, wherein the computer program implements the above method when executed by a processor.
[0012] According to one or more embodiments of the present disclosure, by obtaining the cross-page splicing information while obtaining the target image from the server, and completing the cross-page splicing operation locally, the cross-page splicing can be automatically completed without the need for client operation, thereby improving the user experience when browsing the target image across pages.
[0013] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present disclosure, nor are they intended to limit the scope of the present disclosure. Other features of the present disclosure will become readily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] The accompanying drawings illustrate exemplary embodiments and constitute a part of the specification. Together with the description of the specification, they serve to explain exemplary implementation of the embodiments. The illustrated embodiments are for illustrative purposes only and do not limit the scope of the claims. Throughout the drawings, the same reference numerals designate similar, but not necessarily identical, elements.
[0015] Figure 1 A flowchart of an image processing method according to an embodiment of the present disclosure is shown;
[0016] Figure 2 A flowchart illustrating a method for generating and updating identification information according to an embodiment of the present disclosure is shown;
[0017] Figure 3 A flowchart of a method for determining at least two second pictures to be stitched together according to an embodiment of the present disclosure is shown;
[0018] Figure 4 A flowchart of a method for implementing and displaying stitched pictures at a client according to an embodiment of the present disclosure is shown;
[0019] Figures 5a-5c A schematic diagram showing a method for implementing and displaying stitched pictures at a client according to an embodiment of the present disclosure is shown;
[0020] Figure 6 A flowchart of an image processing method according to an embodiment of the present disclosure is shown;
[0021] Figure 7 A flowchart of a method for determining a plurality of first to-be-joined pictures among a plurality of target pictures according to an embodiment of the present disclosure is shown;
[0022] Figure 8 A flowchart of a method for marking a temporary cross-page according to an embodiment of the present disclosure is shown;
[0023] Figures 9a-9b A flow chart of converting a temporary page span into a persistent page span at a server according to an embodiment of the present disclosure is shown;
[0024] Figure 10 A handshake diagram between a client and a server according to an embodiment of the present disclosure is shown;
[0025] Figure 11 FIG2 shows a structural block diagram of an image processing device at a client according to an embodiment of the present disclosure;
[0026] Figure 12 FIG2 shows a structural block diagram of an image processing apparatus at a server according to an embodiment of the present disclosure;
[0027] Figure 13A structural block diagram of an electronic device of a server or client according to an embodiment of the present disclosure is shown. DETAILED DESCRIPTION
[0028] The following description of exemplary embodiments of the present disclosure is made in conjunction with the accompanying drawings, including various details of the embodiments of the present disclosure to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be appreciated by those skilled in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope of the present disclosure. Similarly, for the sake of clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.
[0029] In this disclosure, unless otherwise specified, the use of terms such as "first" and "second" to describe various elements is not intended to limit the positional relationship, temporal relationship, or importance relationship of these elements. Such terms are only used to distinguish one element from another. In some examples, the first element and the second element may refer to the same instance of the element, while in some cases, based on the context of the description, they may also refer to different instances.
[0030] The terms used in the descriptions of the various examples described in this disclosure are for the purpose of describing specific examples only and are not intended to be limiting. Unless the context clearly indicates otherwise, if the number of elements is not specifically limited, the element may be one or more. In addition, the term "and / or" used in this disclosure encompasses any one and all possible combinations of the listed items.
[0031] Existing technologies for stitching images across multiple pages exist. The inventors noted that in these technologies, users must manually select a stitching scheme, which opens a new page on the client screen for manual stitching. After completion, the user must manually exit the page and then continue viewing, disrupting the browsing experience. Alternatively, users can continuously use gestures to navigate across two consecutive pages. However, in this case, fingers block the view, preventing the entire page from being viewed and preventing integrated operations on both pages, resulting in a poor user experience.
[0032] According to one or more embodiments of the present disclosure, a new image stitching technology is proposed to address the aforementioned technical issues. This technology obtains multiple target images from a server along with their cross-page stitching information. Based on this information, the cross-page stitching operation is performed locally on the client. This automatically completes the cross-page stitching without requiring client-side operation, thereby improving the user experience when browsing across multiple target images.
[0033] The embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings.
[0034] Figure 1FIG2 is a flowchart of an image processing method 100 according to an embodiment of the present disclosure. The image processing method can be, but is not limited to, applicable to a client.
[0035] like Figure 1 As shown, the method includes: step S110, obtaining multiple target images and at least one piece of stitching information corresponding to the multiple target images, the multiple target images including multiple first images to be stitched, each piece of stitching information in the at least one piece of stitching information including identification information of at least two corresponding first images to be stitched, and the multiple target images and the at least one piece of stitching information being obtained from a server; and step S120, stitching the multiple first images to be stitched based on the at least one piece of stitching information to obtain at least one stitched image. By implementing this method, the client can automatically stitch the multiple target images to obtain a stitched image based on the multiple target images obtained from the server and the at least one piece of stitching information, thereby avoiding manual stitching operations and improving browsing continuity and user experience.
[0036] In step S110, the multiple target images obtained may be two or more target images. The identification information may include the page number of the image. In this case, the page numbers of at least two first images to be spliced may be consecutive. The multiple target images may be, for example, multiple images included in the same chapter. When the multiple target images are all included in the same chapter, the identification information may also include the chapter identifier of the chapter to which the image belongs. Exemplarily, when the identification information includes the chapter identifier and the page number of the image, if the user opens a chapter on the client, the client obtains all persistent page spreads in the chapter, the multiple first images to be spliced corresponding to these persistent page spreads, and the corresponding splicing information from the server.
[0037] In step S120, the client stitches multiple first images to be stitched together based on at least one piece of stitching information to obtain at least one stitched image. According to some embodiments, step S120 is performed in response to a cross-page browsing request input by the user. In other words, after obtaining multiple target images and their corresponding at least one piece of stitching information, a user interface can be output so that the user can input a request for cross-page browsing through the user interface. And in response to the user inputting a cross-page browsing request, step S120 is executed, and in response to the user inputting a request not to cross-page browsing, the multiple target images are directly displayed. In this way, more flexible user needs can be met.
[0038] Exemplarily, when browsing content on the client, the user can independently choose whether to browse across pages, for example, by inputting a request for browsing across pages in the user interface or clicking a browsing across pages icon to enter the browsing across pages mode. After the user has selected browsing across pages, the client will splice the corresponding multiple target images based on at least one splicing information obtained from the server, for example, aligning the upper and lower edges of multiple first images to be spliced and overlapping the left and right edges to obtain a spliced image, and the image subsequently displayed is the spliced image as a whole. If the user does not select browsing across pages, the client will not splice the multiple target images, and the image subsequently displayed is a separate multiple target image. This method of selecting browsing across pages by the user provides the user with greater freedom of use, so that the user can freely choose whether to browse across pages according to his or her preferences.
[0039] According to some embodiments, the stitching information of the plurality of target images may be generated and updated based on identification information of the stitched images uploaded by the client through a stitching operation.
[0040] Figure 2 A flow chart of a method 200 for generating and updating identification information according to an embodiment of the present disclosure is shown. Figure 2 As shown, method 200 includes: step S210, determining at least two second images to be stitched from the multiple target images; step S220, stitching the at least two second images to be stitched; and step S230, uploading identification information of the at least two second images to be stitched to a server. According to method 200, the stitching information on the server can be updated in real time based on the client's stitching operation on the multiple target images, and user feedback is incorporated to ensure that the determined stitching information better meets user needs, thereby improving the user experience.
[0041] In step S210, for example, the user can manually trigger the target image stitching on the client, and select at least two images to be stitched from multiple target images, for example, by clicking on the screen to pop up a user interface. In this case, step S210 can be based on Figure 3 The method 300 for determining at least two second images to be stitched is shown, and includes: step S310, in response to receiving a target image stitching instruction, obtaining at least two images selected from the plurality of target images; and step S320, determining the at least two images selected from the plurality of target images as the at least two second images to be stitched. This method of determining the second images to be stitched by user selection can more accurately respond to actual customer needs.
[0042] In step S220, optionally, in response to the user selecting multiple target images to be stitched, multiple second images to be stitched are determined, and the client can directly perform a stitching operation on these multiple second images to be stitched to obtain a stitched image. In some embodiments, the two images can be stitched together by aligning their sides, which is simple and easy to implement. It is understood that a suitable stitching method can be selected to stitch the two images together based on the specific application scenario and stitching quality requirements, and the specific stitching method used is not limited here.
[0043] In step S230, the identification information of the plurality of second images to be spliced is uploaded to the server, so that the server generates the page-crossing marks of the plurality of second images to be spliced, and generates the splicing information of the plurality of target images based on the page-crossing marks. The specific embodiment will be described below in conjunction with Figure 9a and Figure 9b According to some embodiments, the identification information of the plurality of second images to be spliced may include page numbers of the images. According to other embodiments, the identification information of the plurality of second images to be spliced may include page numbers of the images and chapter identifiers corresponding to the images.
[0044] In another embodiment, step 230 may be performed in response to determining that the page numbers of the at least two second images to be stitched are consecutive. That is, the corresponding identification information is uploaded to the server only when the at least two second images to be stitched have consecutive page numbers. This avoids uploading identification information of discontinuous target images to the server, thereby saving server storage space.
[0045] Figure 4 FIG. 4 is a flow chart showing a method 400 for implementing and displaying stitched pictures at a client according to an embodiment of the present disclosure. The method 400 is executed after step S120. Figure 4 As shown, the method 400 includes: step S410, displaying the at least one stitched picture; and step S420, for each stitched picture in the at least one stitched picture, treating the stitched picture as a whole and performing corresponding operations on the stitched picture, these corresponding operations can support users to browse the stitched pictures in a personalized manner, increase browsing convenience, and enhance user experience.
[0046] In step S410, the stitched picture is displayed in the visible area of the client screen. At this time, the displayed picture is no longer a single picture, but an overall stitched picture formed by stitching together multiple first pictures to be stitched.
[0047] In step S420, the corresponding operation is performed on the spliced puzzle on the client. In one example, the corresponding operation includes scaling the spliced picture so that the spliced picture is displayed in a visible area of the client screen at an appropriate size; in one example, the corresponding operation includes adding a bullet comment to the spliced picture, and the added bullet comment is added to the spliced picture as a whole, rather than to a separate picture. In one example, the corresponding operation includes scrolling the spliced image. In another example, the corresponding operation includes canceling the page turning operation between the at least two first spliced pictures corresponding to the spliced picture. That is, the corresponding at least two first spliced pictures can be switched to display by scrolling the spliced picture, rather than switching to display the corresponding at least two first spliced pictures by a page turning operation.
[0048] Figures 5a-5c A schematic diagram showing a method for implementing and displaying stitched pictures at a client according to an embodiment of the present disclosure is shown. Figure 5a The dashed box 510 in the non-spread diagram represents the visible area (corresponding to the size of the mobile screen), the solid box 520 with numbers represents the content page (a single target image), and the numbers represent the page number; the area enclosed by the four right-angle brackets 530 (shaped like "") is the scrollable area. For visual convenience, the scrollable area in the figure is slightly larger than the boundary of the content page, but in fact it should be consistent with the boundary of the content page. These symbols and marks also apply to Figure 5b Schematic cross-page scrolling and Figure 5c Schematic cross-page zooming. The method to implement and display the spliced image is as follows:
[0049] See also Figure 5b To illustrate the cross-page scrolling, first cancel the page turning effect between the two pictures that need to be merged in the client to make it scroll smoothly. The pictures on pages 2 and 3 are the two pictures that need to be merged. First cancel the page turning effect between pages 2 and 3, mark pages 2 and 3 as cross-page scrolling items, and the scrolling range is the size of the merged pictures on pages 2 and 3. At this time, the new page turning boundary is: the boundary between page 1 and page 2 ( Figure 5b The left edge of page 2 in the illustrated scrolling spread), the edges of pages 3 and 4 ( Figure 5b The right edge of page number 3 in the illustrated scrolling spread).
[0050] Then the two pictures on pages 2 and 3 are stitched together to form an overall stitched picture, which means that subsequent corresponding operations, such as zooming and other additional functions such as barrage, act on the overall stitched picture at the same time, rather than on two isolated pictures. Figure 5b In the illustrated cross-page scrolling, pages 2 and 3 are a whole, and the scrolling range is the size of the combined content pages 2 and 3. Subsequent zooming operations are also performed on pages 2 and 3 as a whole at the same time.
[0051] according to Figure 5c The example of page-spanning zooming shows how to adjust the minimum zoom ratio from 1.0 (non-page-spanning) to 0.5 (suitable for page-spanning of two target images), so that when zoomed to the minimum, the entire composite image can be fully displayed on one screen. Figure 5a In the non-spread situation, one screen only needs to display one page of image content, so the minimum zoom ratio is 1.0 to display the entire page of image content on the screen. However, as shown in Figure 5b, if the minimum zoom ratio is still 1.0, the spread scrolling items after the 2nd and 3rd pages are merged cannot be displayed on one screen, and you need to scroll to view the entire content. Figure 5c The schematic diagram of cross-page zooming shows that if the minimum zoom ratio is changed to 0.5, the merged cross-page will be reduced to 0.5 times the original size, so that the merged second and third pages can be displayed on one screen.
[0052] Figure 6 FIG. 6 is a flowchart of an image processing method 600 according to an embodiment of the present disclosure. The method 600 may be applicable to a server.
[0053] like Figure 6 As shown, the method 600 includes: step S610, determining at least one piece of stitching information corresponding to a plurality of target images; and step S620, in response to receiving an acquisition request, sending the corresponding plurality of target images and the at least one piece of stitching information corresponding to the plurality of target images to the client, wherein the plurality of target images include a plurality of first images to be stitched, and each piece of stitching information in the at least one piece of stitching information includes identification information of at least two corresponding first images to be stitched. In method 600, the server sends the plurality of target images and the corresponding at least one piece of stitching information to the client in response to the client's acquisition request, thereby eliminating the need for the user to manually select the images to be stitched through the client, which is beneficial to improving the user experience. In addition, the client's local storage space can be saved, and one server can be connected to multiple clients, which is beneficial to sharing stitching information.
[0054] Figure 7 FIG. 7 is a flow chart showing a method 700 for determining a plurality of first to-be-joined pictures in a plurality of target pictures in step S610 according to an embodiment of the present disclosure. Figure 7 As shown, the method 700 includes:
[0055] Step S710: receiving identification information of at least two second pictures to be stitched uploaded by a client, where the at least two second pictures to be stitched are at least two pictures corresponding to a stitching operation performed by the client.
[0056] Step S720: Determine stitching parameters of the at least two second pictures to be stitched.
[0057] In some embodiments, the stitching parameters include stitching times. When a stitching operation is performed on the plurality of second images to be stitched, the stitching times increases once. In other embodiments, the stitching parameters include stitching times and the last stitching time of the plurality of second images to be stitched.
[0058] Step S730: Based at least on the stitching parameters of the at least two second pictures to be stitched, mark the page span status of the at least two second pictures to be stitched, where the page span status includes a temporary page span and a permanent page span.
[0059] The specific embodiment of marking the cross-page status of the at least two second pictures to be spliced will be described below in conjunction with Figure 8 and Figures 9a-9b Further description.
[0060] Step S740: In response to determining that the spread status of the at least two second pictures to be stitched is marked as a persistent spread, each of the two second pictures to be stitched is determined as a first picture to be stitched.
[0061] Method 700 utilizes the conversion between temporary cross-pages and permanent cross-pages, as well as the conversion between the second image to be stitched corresponding to the temporary cross-pages and the first image to be stitched corresponding to the permanent cross-pages, and realizes the dynamic update of the first image to be stitched according to the change of the stitching parameters, so that the cross-page stitching can be updated according to the feedback provided by the user.
[0062] In some embodiments, as described above, the identification information of the second image to be spliced in step S710 may include the page number of the image, and the page numbers of the at least two first images to be spliced corresponding to the splicing information may be continuous to meet the needs and habits of the user. When the at least two second images to be spliced belong to the same chapter, the identification information of the second images to be spliced may also include the chapter identifier of the chapter to which they belong. Furthermore, in response to determining that the page numbers of the at least two second images to be spliced are continuous, each of the two second images to be spliced may be determined as the first image to be spliced.
[0063] For example, the stitching parameters of the second images to be stitched in step S720 may include, but are not limited to, the number of stitchings and / or the time of the last stitching. In step S730, the temporary page spread corresponds to multiple second images to be stitched, and the page numbers of the multiple second images to be stitched are continuous; the permanent page spread corresponds to multiple first images to be stitched, and the page numbers of the multiple first images to be stitched are also continuous.
[0064] In step S740, in response to the stitching parameters of the multiple second stitched pictures corresponding to the temporary spread meeting the preset conditions, the temporary spread is marked as a permanent spread, and each of the multiple second stitched pictures corresponding to the temporary spread is determined as a first picture to be stitched; conversely, in response to the stitching parameters of the multiple second stitched pictures corresponding to the temporary spread not meeting the preset conditions, the temporary spread remains a temporary spread, and the multiple second stitched pictures corresponding to the temporary spread remain second stitched pictures.
[0065] Figure 8 FIG. 8 is a flow chart showing a method 800 for marking a temporary cross-page in step S730 according to an embodiment of the present disclosure. Figure 8 As shown, the method 800 includes:
[0066] Step S810: The server receives page numbers of at least two second images to be stitched;
[0067] Step S820 , determining whether the page numbers are continuous; if the page numbers are not continuous, executing step S830 , discarding the at least two second images to be spliced; if the page numbers are continuous, executing step S840 , marking the at least two second images to be spliced as temporary page spreads.
[0068] In method 800 , only the second picture to be spliced with consecutive page numbers is marked as a temporary page span, which conforms to the actual situation of splicing page spans and avoids the server obtaining incorrect splicing information due to human misselection.
[0069] In one example, when selecting multiple target images to be stitched together, the user may mistakenly select images with discontinuous page numbers, such as images with page number 1 and images with page number 3. Then, the identification information of the second image to be stitched received by the server from the client contains discontinuous page numbers. Figure 8 In the method 800, the server will discard these two pictures to avoid generating incorrect stitching information and generating incorrect stitching pictures. In another example, when the user selects multiple target pictures to be stitched, he correctly selects pictures with consecutive page numbers, such as pictures with page number 1 and pictures with page number 2. Figure 8 In method 800, the server will mark the pictures on page 1 and page 2 as temporary spreads. The corresponding temporary spreads are permanent spreads. Figures 9a-9b Describes the difference between temporary and persistent spreads, and how to convert a temporary spread into a persistent spread.
[0070] Figures 9a-9b A flow chart of converting a temporary page span into a persistent page span at a server according to an embodiment of the present disclosure is shown.
[0071] According to some embodiments, Figure 9aDescribes a method for converting a temporary spread into a persistent spread. Figure 9a The dashed box 910 in Figure 9a represents the temporary spread markers of two second images to be spliced. It should be noted that the number of second images to be spliced is not limited to two and can be three or more. The two gray boxes in the dashed box represent two second images to be spliced, and the numbers in the middle represent the page numbers of the images, shown as the image with page number 1 and the image with page number 2. Here, the page numbers of the two second images to be spliced are consecutive, so temporary spread markers can be generated. Similarly, if the page numbers of three second images to be spliced are consecutive, these three images can also be marked as a temporary spread.
[0072] According to some embodiments, in response to determining that the splicing parameters of at least two second images to be spliced meet a preset condition, the at least two second images to be spliced are marked as a persistent spread.
[0073] In some embodiments, the splicing parameter includes the number of splices, and the preset condition includes: the number of splices of at least two second images to be spliced is not less than a preset threshold. Exemplarily, a preset threshold N can be set, and the function of the preset threshold N is as follows: when the number of splices of multiple second images to be spliced reaches the preset threshold, the corresponding temporary spread markers of the multiple second images to be spliced are converted into persistent spread markers, and the multiple second images to be spliced are determined as multiple first images to be spliced, and splicing information of the multiple first images to be spliced is generated. The page numbers of the multiple second images to be spliced are consecutive, and the page numbers of the multiple first images to be spliced are also consecutive. By the above method of setting the threshold, when there are a small number of users selecting target images to splice, the server will not convert the corresponding temporary spread into a persistent spread, so it can avoid the wrong operation of splicing images that should not be spliced together by a small number of users, which helps to improve the fluency of reading.
[0074] In Figure 9a the illustrated embodiment, an exemplary preset threshold N is 10, and N 1,2 represents the number of times of splicing the image with page number 1 and the image with page number 2 in the client. Then, step S920 is executed, and it is judged the size relationship between N 1,2 and N. If N 1,2 is a natural number less than 10, then N 1,2 <N holds, and step S930 is executed. The server still marks the image with page number 1 and the image with page number 2 as a temporary spread; if N 1,2 is a natural number greater than or equal to 10, then N 1,2 ≥N holds, and step S940 is executed. The server marks the image with page number 1 and the image with page number 2 as a persistent spread. Then, the server determines these two pages of images from the second images to be spliced as the first images to be spliced, and generates splicing information of the multiple first images to be spliced.
[0075] In addition, alternatively, the preset threshold corresponding to the number of splicing times may be replaced by a splicing percentage, and the expression of the splicing percentage is as follows:
[0076]
[0077] The number of stitching times is the number of times the user who uploaded the client stitches the multiple second images to be stitched together, and the total number of users is the number of times the client requests the multiple second images to be stitched together.
[0078] Similarly, by setting a preset percentage threshold, for example 50%, when the stitching percentage is greater than or equal to 50%, that is, half or more of the users who request the multiple second pictures to be stitched perform the stitching operation on the multiple second pictures to be stitched, the server will mark the corresponding multiple second pictures to be stitched as persistent cross-pages, and then determine the second pictures to be stitched as the first pictures to be stitched.
[0079] There is a situation where, when there are two pictures as the first pictures to be spliced, the user splices one picture with the other two pictures at the same time, and the number of splicing operations reaches a preset threshold. In order to meet the reading habits of users, it is necessary to determine which of the picture and the other two pictures should be marked as a combination as a persistent cross-page. For example, a part of users chooses to splice the picture with page number 1 and the picture with page number 2, and another part of users chooses to splice the picture with page number 2 and the picture with page number 3, and the number of these two parts of users is large enough, resulting in the number of splicing operations of the two second pictures to be spliced in two different temporary cross-page marks being greater than or equal to the set threshold. In such a case, it is necessary to set another strategy for generating persistent cross-page.
[0080] Based on this, according to some embodiments, the stitching parameters include the number of stitching times and the last stitching time, and the at least two second pictures to be stitched include the first target picture to be stitched. Wherein, marking the at least two second pictures to be stitched as persistent page spreads includes: in response to determining that the number of stitching times of the at least two second pictures to be stitched is not less than a preset threshold, marking the at least two second pictures to be stitched as persistent page spreads; in response to determining that the number of stitching times of the other at least two second pictures to be stitched corresponding to the first target picture to be stitched is equal to the preset threshold, and the last stitching time of the other at least two second pictures to be stitched is after the time when the at least two second pictures to be stitched are marked as persistent page spreads, still marking the at least two second pictures to be stitched as persistent page spreads, and still marking the other at least two second pictures to be stitched as temporary page spreads.
[0081] Therefore, when there is a picture that has been marked as a persistent spread, even if the number of times the picture is spliced with other pictures reaches a preset threshold, it will still be marked as a temporary spread instead of being switched to a persistent spread, so as to overcome the problem that one picture corresponds to multiple persistent spreads and does not conform to the user's browsing habits.
[0082] According to some other embodiments, the stitching parameters include the number of stitching times, and the at least two second pictures to be stitched include a second target picture to be stitched, wherein marking the at least two second pictures to be stitched as persistent page spreads includes: in response to determining that the number of stitching times of the at least two second pictures to be stitched is not less than a preset threshold, the number of stitching times of the other at least two second pictures to be stitched corresponding to the second target picture to be stitched is also not less than the preset threshold, and the number of stitching times of the at least two second pictures to be stitched is greater than the number of stitching times of the other at least two second pictures to be stitched, marking the at least two second pictures to be stitched as persistent page spreads, and marking the other at least two second pictures to be stitched as temporary page spreads.
[0083] Thus, when there is a picture and at least two pictures that have been marked as a persistent spread, and the picture and at least two other pictures are marked as temporary spreads, in response to the fact that the number of splicing times of the picture and the at least two other pictures is greater than the number of splicing times of the picture and the at least two pictures, the picture and the at least two pictures are marked as temporary spreads, and the picture and the at least two other pictures are marked as persistent spreads, so that the persistent spreads are more in line with the user's browsing needs.
[0084] The two methods for converting a temporary spread into a permanent spread will be described below with reference to the accompanying drawings and specific examples.
[0085] Figure 9b Describes an alternative method for converting a temporary spread into a persistent spread. Figure 9a resemblance, Figure 9b The two dotted boxes 950 and 960 in the figure represent two different temporary page spread marks, and each page spread mark contains two second pictures to be spliced. It should be noted that the number of second pictures to be spliced in each page spread mark is not limited to two, and can be three or more. The two gray boxes in each dotted box represent two second pictures to be spliced, and the numbers in the middle represent the page numbers of the pictures. The two second pictures to be spliced corresponding to the page spread mark 950 are the picture with page number 1 and the picture with page number 2, and the two second pictures to be spliced corresponding to the page spread mark 960 are the picture with page number 2 and the picture with page number 3. Here, the page numbers of the two second pictures to be spliced corresponding to the two temporary page spread marks 950 and 960 are continuous, so a temporary page spread mark can be generated. Similarly, if the page numbers of the three second pictures to be spliced corresponding to the two temporary page spread marks 950 and 960 are continuous, these three pictures can also be marked as temporary page spreads.
[0086] According to some embodiments, the stitching parameters of the plurality of second to-be-stitched pictures may include the number of stitching times (N 1,2 and N 2,3 ) and the last splicing time (T 1,2 and T 2,3 ). In response to the decision N 1,2 >N and N 2,3 >N, execute step S970 to determine N 1,2 and N 2,3 Are they equal? In response to N 1,2 and N 2,3 Equal, for example, N 1,2 =N 2,3 =10>N=9, the server compares the last splicing time T 1,2 and T 2,3 , the temporary page span that reaches the threshold number of splicing times in a shorter time is marked as a permanent page span, and the other temporary page span remains unchanged, that is, the page span that is marked as a permanent page span first is still a permanent page span, and the temporary page span that reaches the threshold number of splicing times later is still marked as a temporary page span. 1,2 and N 2,3 If they are not equal, execute step S990 to compare N 1,2 and N 2,3 If the size of N 1,2 <N 2,3 , for example N 1,2 =10, N 2,3 =11, execute step S994, the server will 2,3 The corresponding temporary page span is converted into a permanent page span, and N 2,3 The corresponding second image to be stitched is converted into the first image to be stitched. On the contrary, if N 1,2 >N 2,3 , for example N 1,2 =11 and N 2,3 =10, execute step S992, the server will 1,2 The corresponding temporary page span is converted into a permanent page span, and N 1,2 The corresponding second image to be spliced is converted into the first image to be spliced. The above method realizes the dynamic update of the generation of the persistent cross-page mark, which can better reflect the user's intention.
[0087] Figure 10 FIG. 1 shows a handshake diagram between a client and a server according to an embodiment of the present disclosure. Figure 10As shown, the data 1010 transmitted from the client to the server includes identification information of at least two second images to be stitched determined by the client; the data 1020 transmitted from the server to the client includes multiple target images corresponding to the client's acquisition request and at least one stitching information corresponding to the multiple target images.
[0088] In some embodiments, at the client, at least two second pictures to be stitched selected by the user are obtained, and the at least two second pictures to be stitched are stitched; then, the client sends identification information of the at least two second pictures to be stitched to the server; at the server, corresponding stitching information is generated based on the identification information and stitching parameters of the at least two second pictures to be stitched; in response to the client's acquisition request, the server sends multiple target pictures corresponding to the client's acquisition request and at least one piece of stitching information corresponding to the multiple target pictures to the client; then, at the client, the client stitches multiple first pictures to be stitched based on the at least one piece of stitching information to obtain at least one stitched picture.
[0089] Figure 11 The block diagram of an image processing apparatus 1100 according to an embodiment of the present disclosure is shown. The apparatus comprises: an acquiring unit 1110 configured to acquire a plurality of target images and at least one piece of stitching information corresponding to the plurality of target images, wherein the plurality of target images include a plurality of first images to be stitched together, each piece of stitching information includes identification information of at least two corresponding first images to be stitched together, and the plurality of target images and the at least one piece of stitching information are obtained from a server; and a stitching unit 1120 configured to stitch the plurality of first images to be stitched together based on the at least one piece of stitching information to obtain at least one stitched image.
[0090] Figure 12 A block diagram of an image processing apparatus 1200 according to an embodiment of the present disclosure is shown. The apparatus comprises: a determining unit 1210 configured to determine at least one piece of stitching information corresponding to a plurality of target images; and a sending unit 1220 configured to, in response to receiving an acquisition request, send the corresponding plurality of target images and the at least one piece of stitching information corresponding to the plurality of target images to a client, wherein the plurality of target images include a plurality of first images to be stitched together, and each piece of the at least one piece of stitching information includes identification information of at least two corresponding first images to be stitched together.
[0091] According to another aspect of the present disclosure, an electronic device is also provided, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores a computer program, and the computer program implements the above method when executed by the at least one processor.
[0092] According to another aspect of the present disclosure, a non-transitory computer-readable storage medium storing a computer program is further provided, wherein the computer program implements the above method when executed by a processor.
[0093] According to another aspect of the present disclosure, a computer program product is further provided, comprising a computer program, wherein the computer program implements the above method when executed by a processor.
[0094] See also Figure 13 , a block diagram of an electronic device 1300 that can serve as a server or client of the present disclosure will now be described, which is an example of a hardware device that can be applied to various aspects of the present disclosure. The electronic device can be different types of computer devices, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.
[0095] like Figure 13 As shown, the electronic device 1300 may include at least one processor 1301 , a working memory 1302 , an input unit 1304 , a display unit 1305 , a speaker 1306 , a storage unit 1307 , a communication unit 1308 , and other output units 1309 , which can communicate with each other via a system bus 1303 .
[0096] The processor 1301 may be a single processing unit or multiple processing units, all of which may include a single or multiple computing units or multiple cores. The processor 1301 may be implemented as one or more microprocessors, microcomputers, microcontrollers, digital signal processors, central processing units, state machines, logic circuits, and / or any device that manipulates signals based on operational instructions. The processor 1301 may be configured to retrieve and execute computer-readable instructions stored in the working memory 1302, the storage unit 1307, or other computer-readable media, such as program code of an operating system 1302a, program code of an application program 1302b, and the like.
[0097] The working memory 1302 and the storage unit 1307 are examples of computer-readable storage media for storing instructions that are executed by the processor 1301 to implement the various functions described above. The working memory 1302 may include both volatile memory and non-volatile memory (e.g., RAM, ROM, etc.). In addition, the storage unit 1307 may include a hard drive, a solid-state drive, removable media, including external and removable drives, memory cards, flash memory, floppy disks, optical disks (e.g., CDs, DVDs), storage arrays, network attached storage, storage area networks, etc. The working memory 1302 and the storage unit 1307 may all be collectively referred to herein as memory or computer-readable storage media, and may be non-transitory media capable of storing computer-readable, processor-executable program instructions as computer program code, which may be executed by the processor 1301 as a specific machine configured to implement the operations and functions described in the examples herein.
[0098] The input unit 1306 may be any type of device capable of inputting information into the electronic device 1300. The input unit 1306 may receive input numeric or character information and generate key signal input related to user settings and / or function control of the electronic device, and may include, but is not limited to, a mouse, a keyboard, a touch screen, a trackpad, a trackball, a joystick, a microphone, and / or a remote control. The output unit may be any type of device capable of presenting information, and may include, but is not limited to, a display unit 1305, a speaker 1306, and other output units 1309. Other output units 1309 may include, but are not limited to, video / audio output terminals, vibrators, and / or printers. The communication unit 1308 allows the electronic device 1300 to exchange information / data with other devices via a computer network such as the Internet and / or various telecommunication networks, and may include, but is not limited to, a modem, a network card, an infrared communication device, a wireless communication transceiver, and / or a chipset, such as a Bluetooth™ device, a 1302.11 device, a WiFi device, a WiMax device, a cellular communication device, and / or the like.
[0099] The application 1302b in the working register 1302 can be loaded to execute the various methods and processes described above, such as Figure 1. For example, in some embodiments, the image processing method may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as the storage unit 1307. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 1300 via the storage unit 1307 and / or the communication unit 1308. When the computer program is loaded and executed by the processor 1301, one or more steps of the image processing method described above may be performed. Alternatively, in other embodiments, the processor 1301 may be configured to perform the image processing method in any other appropriate manner (e.g., by means of firmware).
[0100] Various embodiments of the systems and techniques described herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), system-on-chip systems (SOCs), programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include being implemented in one or more computer programs that are executable and / or interpreted on a programmable system that includes at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0101] The program code for implementing the method of the present disclosure can be written in any combination of one or more programming languages. These program codes can be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device so that when the program code is executed by the processor or controller, the functions / operations specified in the flow chart and / or block diagram are implemented. The program code can be executed entirely on the machine, partially on the machine, as a stand-alone software package, partially on the machine and partially on a remote machine, or entirely on a remote machine or server.
[0102] In the context of the present disclosure, a machine-readable medium can be a tangible medium that can contain or store a program for use by or in conjunction with an instruction execution system, device or equipment. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium can include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0103] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0104] The systems and techniques described herein can be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network (LAN), a wide area network (WAN), and the Internet.
[0105] Computer systems may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The client and server relationship arises through computer programs running on the respective computers and having a client-server relationship to each other.
[0106] It should be understood that the various forms of the processes shown above can be used to reorder, add, or delete steps. For example, the steps described in this disclosure can be performed in parallel, sequentially, or in a different order, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved. This is not limited herein.
[0107] Although the embodiments or examples of the present disclosure have been described with reference to the accompanying drawings, it should be understood that the above-mentioned methods, systems and devices are merely exemplary embodiments or examples, and the scope of the present invention is not limited by these embodiments or examples, but is only limited by the claims after authorization and their equivalents. Various elements in the embodiments or examples may be omitted or replaced by their equivalents. In addition, the steps may be performed in an order different from that described in this disclosure. Further, the various elements in the embodiments or examples may be combined in various ways. It is important that as technology evolves, many of the elements described herein may be replaced by equivalent elements that appear after this disclosure.
Claims
1. An image processing method, comprising: Acquire a plurality of target images and at least one piece of stitching information corresponding to the plurality of target images, wherein the plurality of target images include a plurality of first images to be stitched together, each piece of stitching information in the at least one piece of stitching information includes identification information of at least two corresponding first images to be stitched together, and the plurality of target images and the at least one piece of stitching information are obtained from a server; Determining at least two second pictures to be stitched from the multiple target pictures; Stitching the at least two second pictures to be stitched together; Uploading identification information of the at least two second pictures to be stitched to a server; as well as Based on the at least one piece of splicing information, the plurality of first to-be-spliced pictures are spliced to obtain at least one spliced picture, The plurality of first images to be stitched are determined by the following operation of the server: Determining stitching parameters of the at least two second pictures to be stitched; Marking a page span status of the at least two second pictures to be stitched based at least on stitching parameters of the at least two second pictures to be stitched, where the page span status includes a temporary page span and a permanent page span; as well as In response to determining that the spread status of the at least two second pictures to be stitched is marked as a persistent spread, each of the two second pictures to be stitched is determined as a first picture to be stitched.
2. The method according to claim 1, wherein The identification information includes page numbers, and the page numbers of at least two first pictures to be spliced corresponding to each piece of splicing information are continuous.
3. The method of claim 1, wherein Determining at least two second pictures to be stitched includes: In response to receiving a target picture splicing instruction, obtaining at least two pictures selected from the plurality of target pictures; and The at least two pictures selected from the multiple target pictures are determined as the at least two second pictures to be spliced.
4. The method according to claim 3, wherein: When the identification information includes a page number, in response to determining that the page numbers of the at least two second pictures to be stitched are consecutive, the identification information of the at least two second pictures to be stitched is uploaded to a server.
5. The method according to any one of claims 1 to 4, further comprising: displaying the at least one stitched picture; as well as For each stitched picture in the at least one stitched picture, the stitched picture is taken as a whole and a corresponding operation is performed on the stitched picture.
6. The method according to claim 5, wherein: The operations performed on each stitched image include at least one of the following: Zooming the stitched picture, adding bullet comments, scrolling the stitched picture, and canceling the page turning operation between at least two first stitched pictures corresponding to the stitched picture.
7. The method according to any one of claims 1 to 4, wherein The multiple target pictures belong to the same chapter, and the identification information of the at least two first pictures to be spliced includes a chapter identifier of the chapter to which the first pictures to be spliced belong.
8. An image processing method, comprising: Determining at least one piece of splicing information corresponding to the plurality of target images; as well as In response to receiving the acquisition request, sending a corresponding plurality of target images and at least one piece of stitching information corresponding to the plurality of target images to the client, the plurality of target images including a plurality of first images to be stitched, each piece of stitching information including identification information of corresponding at least two first images to be stitched, The step of determining a plurality of first pictures to be stitched from a plurality of target pictures includes: Receiving identification information of at least two second pictures to be stitched uploaded by a client, where the at least two second pictures to be stitched are at least two pictures corresponding to a stitching operation performed by the client; Determining stitching parameters of the at least two second pictures to be stitched; At least based on the stitching parameters of the at least two second pictures to be stitched, marking a page span status of the at least two second pictures to be stitched, wherein the page span status includes a temporary page span and a permanent page span; and In response to determining that the spread status of the at least two second pictures to be stitched is marked as a persistent spread, each of the two second pictures to be stitched is determined as a first picture to be stitched.
9. The method of claim 8, wherein: At least based on the stitching parameters of the at least two second pictures to be stitched, marking the cross-page status of the at least two second pictures to be stitched includes: In response to determining that the stitching parameters of the at least two second pictures to be stitched meet a preset condition, the at least two second pictures to be stitched are marked as a persistent page span.
10. The method of claim 9, wherein: The splicing parameters include the number of splicing times, and the preset conditions include: The number of times the at least two second pictures to be stitched are stitched together is not less than a preset threshold.
11. The method of claim 9, wherein: The splicing parameters include the number of splicing times and the last splicing time, the at least two second pictures to be spliced include the first target picture to be spliced, The step of marking the at least two second images to be spliced as persistent cross-page images includes: In response to determining that the number of stitching times of the at least two second pictures to be stitched is not less than a preset threshold, marking the at least two second pictures to be stitched as a persistent page span; In response to determining that the number of stitching of the at least two other second pictures to be stitched corresponding to the first target picture to be stitched is equal to the preset threshold, and the last stitching time of the at least two other second pictures to be stitched is after the time when the at least two second pictures to be stitched are marked as persistent page spans, the at least two second pictures to be stitched are still marked as persistent page spans, and the at least two other second pictures to be stitched are still marked as temporary page spans.
12. The method of claim 9, wherein: The splicing parameter includes the number of splicing times, and the at least two second pictures to be spliced include a second target picture to be spliced. The step of marking the at least two second images to be spliced as persistent cross-page images includes: In response to determining that the number of stitching of the at least two second pictures to be stitched is not less than a preset threshold, the number of stitching of the other at least two second pictures to be stitched corresponding to the second target picture to be stitched is also not less than the preset threshold, and the number of stitching of the at least two second pictures to be stitched is greater than the number of stitching of the other at least two second pictures to be stitched, the at least two second pictures to be stitched are marked as permanent spreads, and the other at least two second pictures to be stitched are marked as temporary spreads.
13. The method according to any one of claims 8 to 12, wherein The identification information includes page numbers, and the page numbers of at least two first pictures to be spliced corresponding to each piece of splicing information are continuous.
14. The method of claim 13, wherein: In response to determining that the page numbers of the at least two second pictures to be stitched are continuous, each of the two second pictures to be stitched is determined as a first picture to be stitched.
15. An image processing apparatus, comprising: an acquiring unit configured to acquire a plurality of target images and at least one piece of stitching information corresponding to the plurality of target images, wherein the plurality of target images include a plurality of first images to be stitched together, each piece of stitching information in the at least one piece of stitching information includes identification information of at least two corresponding first images to be stitched together, and the plurality of target images and the at least one piece of stitching information are acquired from a server; a unit configured to determine at least two second pictures to be stitched from the plurality of target pictures; a unit configured to stitch the at least two second pictures to be stitched together; a unit configured to upload identification information of the at least two second pictures to be stitched to a server; as well as a splicing unit configured to splice the plurality of first to-be-spliced pictures based on the at least one piece of splicing information to obtain at least one spliced picture, The plurality of first images to be stitched are determined by the following operation of the server: Determining stitching parameters of the at least two second pictures to be stitched; Marking a page span status of the at least two second pictures to be stitched based at least on stitching parameters of the at least two second pictures to be stitched, where the page span status includes a temporary page span and a permanent page span; as well as In response to determining that the spread status of the at least two second pictures to be stitched is marked as a persistent spread, each of the two second pictures to be stitched is determined as a first picture to be stitched.
16. An image processing apparatus, comprising: a determining unit configured to determine at least one piece of splicing information corresponding to a plurality of target images; as well as a sending unit configured to send, in response to receiving the acquisition request, a corresponding plurality of target images and at least one piece of stitching information corresponding to the plurality of target images to a client, wherein the plurality of target images include a plurality of first images to be stitched together, and each piece of stitching information in the at least one piece of stitching information includes identification information of corresponding at least two first images to be stitched together; The step of determining a plurality of first pictures to be stitched from a plurality of target pictures includes: Receiving identification information of at least two second pictures to be stitched uploaded by a client, where the at least two second pictures to be stitched are at least two pictures corresponding to a stitching operation performed by the client; Determining stitching parameters of the at least two second pictures to be stitched; At least based on the stitching parameters of the at least two second pictures to be stitched, marking a page span status of the at least two second pictures to be stitched, wherein the page span status includes a temporary page span and a permanent page span; and In response to determining that the spread status of the at least two second pictures to be stitched is marked as a persistent spread, each of the two second pictures to be stitched is determined as a first picture to be stitched.
17. An electronic device comprising: at least one processor; as well as a memory communicatively coupled to the at least one processor; in The memory stores a computer program which, when executed by the at least one processor, implements the method according to any one of claims 1 to 14.
18. A non-transitory computer-readable storage medium storing a computer program, wherein: The computer program implements the method according to any one of claims 1 to 14 when executed by a processor.
19. A computer program product comprising a computer program, wherein The computer program implements the method according to any one of claims 1 to 14 when executed by a processor.
Citation Information
Patent Citations
Picture splicing method, picture splicing device, mobile terminal and storage medium
CN110399074A
Picture display method and device, mobile terminal and storage medium
CN112394863A