[go: up one dir, main page]

ES3018144T3 - Picture display method and apparatus, electronic device, and medium - Google Patents

Picture display method and apparatus, electronic device, and medium Download PDF

Info

Publication number
ES3018144T3
ES3018144T3 ES20883100T ES20883100T ES3018144T3 ES 3018144 T3 ES3018144 T3 ES 3018144T3 ES 20883100 T ES20883100 T ES 20883100T ES 20883100 T ES20883100 T ES 20883100T ES 3018144 T3 ES3018144 T3 ES 3018144T3
Authority
ES
Spain
Prior art keywords
image
sub
size
images
text
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
ES20883100T
Other languages
Spanish (es)
Inventor
Kai Xu
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Application granted granted Critical
Publication of ES3018144T3 publication Critical patent/ES3018144T3/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/177Editing, e.g. inserting or deleting of tables; using ruled lines
    • G06F40/18Editing, e.g. inserting or deleting of tables; using ruled lines of spreadsheets
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/11Region-based segmentation
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/50Context or environment of the image
    • G06V20/56Context or environment of the image exterior to a vehicle by using sensors mounted on the vehicle
    • G06V20/58Recognition of moving objects or obstacles, e.g. vehicles or pedestrians; Recognition of traffic objects, e.g. traffic signs, traffic lights or roads
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/10Character recognition
    • G06V30/19Recognition using electronic means
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/40Document-oriented image-based pattern recognition
    • G06V30/41Analysis of document content
    • G06V30/412Layout analysis of documents structured with printed lines or input boxes, e.g. business forms or tables
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/048Indexing scheme relating to G06F3/048
    • G06F2203/04806Zoom, i.e. interaction techniques or interactors for controlling the zooming operation
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20021Dividing image into blocks, subimages or windows
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30176Document

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Artificial Intelligence (AREA)
  • Health & Medical Sciences (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Processing Or Creating Images (AREA)
  • User Interface Of Digital Computer (AREA)
  • Editing Of Facsimile Originals (AREA)

Abstract

Un método y aparato de visualización de imágenes, un dispositivo electrónico y un medio. El método de visualización de imágenes comprende: obtener una primera imagen, que comprende una primera región y una segunda región dispuestas en una primera dirección; y, si el tamaño de la primera imagen en la primera dirección cumple una condición predeterminada, mostrar una segunda imagen, que comprende la primera región y la segunda región dispuestas en una segunda dirección. (Traducción automática con Google Translate, sin valor legal)An image display method and apparatus, an electronic device, and a medium. The image display method comprises: obtaining a first image, comprising a first region and a second region arranged in a first direction; and, if the size of the first image in the first direction meets a predetermined condition, displaying a second image, comprising the first region and the second region arranged in a second direction. (Automatic translation with Google Translate, no legal value)

Description

DESCRIPCIÓNDESCRIPTION

Método y aparato de visualización de imágenes, dispositivo electrónico y medio Image display method and apparatus, electronic device and medium

Campo técnicoTechnical field

Las realizaciones de la presente invención se refieren al campo de los terminales y, en particular, a un método y un aparato de visualización de imágenes, un dispositivo electrónico y un medio. Embodiments of the present invention relate to the field of terminals, and in particular to an image display method and apparatus, an electronic device, and a medium.

AntecedentesBackground

Con el rápido desarrollo de las tecnologías de internet, los dispositivos electrónicos (tales como un teléfono móvil, un iPad y similares) se han convertido en una necesidad diaria para las personas. En el trabajo y la vida diaria, los dispositivos electrónicos ofrecen gran comodidad a los usuarios, por ejemplo, un usuario puede ver imágenes usando un dispositivo electrónico. With the rapid development of internet technologies, electronic devices (such as mobile phones, iPads, and the like) have become a daily necessity for people. In work and daily life, electronic devices offer great convenience to users; for example, a user can view images using an electronic device.

Cuando se usa un dispositivo electrónico para visualizar una imagen, si el tamaño del contenido de la imagen es demasiado pequeño y el usuario no puede ver claramente el contenido de la imagen, la imagen necesita ser ampliada para su visualización. Sin embargo, cuando la imagen se amplía, para ver el contenido en diferentes posiciones de la imagen, el usuario necesita cambiar constantemente una dirección de deslizamiento cuando se desliza para ver el contenido en diferentes posiciones, lo que es muy problemático de manejar. When using an electronic device to display an image, if the image content size is too small and the user cannot clearly see the image content, the image needs to be enlarged for viewing. However, when the image is enlarged, to view the content in different positions of the image, the user needs to constantly change a swipe direction when swiping to view the content in different positions, which is very cumbersome to manage.

El documento D1 (US2011/283228A1 da a conocer que un aparato de procesamiento de información incluye una sección de visualización que muestra una página que incluye una pluralidad de elementos de texto, una sección de detección que detecta una posición designada por el usuario para ser ampliada, en la página mostrada por la sección de visualización, una sección de selección que selecciona uno de los elementos de texto que está situado cerca de la posición detectada por la sección de detección, una sección de colocación que coloca una cadena de caracteres del elemento de texto seleccionado por la sección de selección, en una ventana emergente, de modo que la cadena de caracteres se muestra en la ventana emergente, y una sección de control de visualización que controla la visualización de modo que la ventana emergente en la que la cadena de caracteres ha sido colocada por la sección de colocación se muestra en la página. Document D1 (US2011/283228A1) discloses that an information processing apparatus includes a display section that displays a page that includes a plurality of text items, a detecting section that detects a position designated by the user to be enlarged, on the page displayed by the display section, a selecting section that selects one of the text items that is located near the position detected by the detecting section, a placing section that places a character string of the text item selected by the selecting section, in a pop-up window, so that the character string is displayed in the pop-up window, and a display control section that controls the display so that the pop-up window in which the character string has been placed by the placing section is displayed on the page.

CompendioCompendium

Las realizaciones de la presente invención dan a conocer un método y un aparato de visualización de imágenes, un dispositivo electrónico y un medio para resolver el problema de las operaciones engorrosas al visualizar imágenes por el usuario. Embodiments of the present invention provide an image display method and apparatus, an electronic device and a means for solving the problem of cumbersome operations when displaying images by the user.

De acuerdo con un primer aspecto, una realización de la presente invención da a conocer un método de visualización de imágenes, que se define en la reivindicación 1. According to a first aspect, an embodiment of the present invention provides an image display method, which is defined in claim 1.

De acuerdo con un segundo aspecto, una realización de la presente invención da a conocer un aparato de visualización de imágenes, que se define en la reivindicación 9. According to a second aspect, an embodiment of the present invention provides an image display apparatus, which is defined in claim 9.

De acuerdo con un tercer aspecto, una realización de la presente invención da a conocer un dispositivo electrónico, que se define en la reivindicación 14. According to a third aspect, an embodiment of the present invention provides an electronic device, which is defined in claim 14.

De acuerdo con un cuarto aspecto, una realización de la presente invención da a conocer un medio de almacenamiento legible por ordenador, que se define en la reivindicación 15. According to a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, which is defined in claim 15.

Otras realizaciones ventajosas de la presente invención se indican en las reivindicaciones dependientes. Other advantageous embodiments of the present invention are indicated in the dependent claims.

Debe entenderse que tanto la descripción general anterior como la siguiente descripción detallada son solo a modo de ejemplo, y no son restrictivas de la presente invención. It should be understood that both the foregoing general description and the following detailed description are for exemplary purposes only, and are not restrictive of the present invention.

Breve descripción de los dibujosBrief description of the drawings

La presente invención puede entenderse mejor a partir de las siguientes descripciones de implementaciones específicas de la presente invención haciendo referencia a los dibujos adjuntos en los que números de referencia iguales o similares representan características iguales o similares en la presente invención. The present invention may be better understood from the following descriptions of specific implementations of the present invention with reference to the accompanying drawings in which the same or similar reference numerals represent the same or similar features in the present invention.

La FIG. 1 es un diagrama esquemático de la visualización de una primera imagen según la técnica anterior; la FIG. 2 es un diagrama de flujo esquemático de un método de visualización de imágenes de acuerdo con una realización de la presente invención; FIG. 1 is a schematic diagram of displaying a first image according to the prior art; FIG. 2 is a schematic flowchart of an image display method according to an embodiment of the present invention;

la FIG. 3 es un diagrama esquemático de visualización de imágenes de acuerdo con una primera realización de la presente invención; FIG. 3 is a schematic diagram of image display according to a first embodiment of the present invention;

la FIG. 4 es un diagrama esquemático de visualización de imágenes de acuerdo con una segunda realización de la presente invención; FIG. 4 is a schematic diagram of image display according to a second embodiment of the present invention;

la FIG. 5 es un diagrama esquemático de división de imágenes de acuerdo con una primera realización de la presente invención; FIG. 5 is a schematic diagram of image division according to a first embodiment of the present invention;

la FIG. 6 es un diagrama esquemático de división de imágenes de acuerdo con una segunda realización de la presente invención; FIG. 6 is a schematic diagram of image division according to a second embodiment of the present invention;

la FIG. 7 es un diagrama esquemático de división de imágenes de acuerdo con una tercera realización de la presente invención; FIG. 7 is a schematic diagram of image division according to a third embodiment of the present invention;

la FIG. 8 es un diagrama esquemático de división de imágenes de acuerdo con una cuarta realización de la presente invención; FIG. 8 is a schematic diagram of image division according to a fourth embodiment of the present invention;

la FIG. 9 es un diagrama esquemático de una disposición de subimágenes de acuerdo con una realización de la presente invención; FIG. 9 is a schematic diagram of a sub-picture arrangement according to an embodiment of the present invention;

la FIG. 10 es un diagrama esquemático de visualización de un icono predeterminado de acuerdo con una realización de la presente invención; FIG. 10 is a schematic diagram of displaying a predetermined icon according to an embodiment of the present invention;

la FIG. 11 es un diagrama estructural esquemático de un aparato de visualización de imágenes de acuerdo con una realización de la presente invención; y FIG. 11 is a schematic structural diagram of an image display apparatus according to an embodiment of the present invention; and

La FIG. 12 es un diagrama esquemático de una estructura de hardware de un dispositivo electrónico de acuerdo con una realización de la presente invención. FIG. 12 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present invention.

Descripción detallada de las realizacionesDetailed description of the achievements

Lo siguiente describe clara y completamente las soluciones técnicas en las realizaciones de la presente invención haciendo referencia a los dibujos adjuntos en las realizaciones de la presente invención. Evidentemente, las realizaciones descritas son algunas, pero no todas las realizaciones de la presente invención. Todas las demás realizaciones obtenidas por un experto en la técnica basándose en las realizaciones de la presente invención sin esfuerzos creativos caerán dentro del alcance de protección de la presente invención. Haciendo referencia a la FIG. 1, una primera imagen es una imagen obtenida tomando una captura de pantalla de una tabla, y la imagen es una imagen de una franja larga. Cuando la primera imagen se muestra en una pantalla objetivo, la longitud de la primera imagen es relativamente larga, el contenido de la primera imagen no puede mostrarse claramente cuando se muestra toda la primera imagen, por lo que es necesario ampliar la primera. Cuando la primera imagen se amplía, es necesario deslizar a la izquierda y a la derecha para ver todo el contenido de la imagen, lo que es muy problemático de manejar por el usuario. En vista de este escenario, una realización de la presente invención da a conocer un método de visualización de imágenes. The following clearly and completely describes the technical solutions in embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some, but not all, of the embodiments of the present invention. All other embodiments obtained by a person skilled in the art based on the embodiments of the present invention without creative efforts will fall within the protection scope of the present invention. Referring to FIG. 1, a first image is an image obtained by taking a screenshot of a table, and the image is an image of a long strip. When the first image is displayed on a target display, the length of the first image is relatively long, the content of the first image cannot be clearly displayed when the entire first image is displayed, so it is necessary to enlarge the first image. When the first image is enlarged, it is necessary to swipe left and right to view the entire content of the image, which is very troublesome for the user to handle. In view of this scenario, an embodiment of the present invention provides an image display method.

La FIG. 2 es un diagrama de flujo esquemático de un método de visualización de imágenes de acuerdo con una realización de la presente invención. Como se muestra en la FIG. 2, el método de visualización de imágenes incluye: S102, obtener una primera imagen, y la primera imagen incluye una primera región y una segunda región dispuestas en una primera dirección. FIG. 2 is a schematic flowchart of an image display method according to an embodiment of the present invention. As shown in FIG. 2, the image display method includes: S102, obtaining a first image, and the first image includes a first region and a second region arranged in a first direction.

La primera imagen incluye al menos dos regiones dispuestas en la primera dirección, y las al menos dos regiones incluyen la primera región y la segunda región. The first image includes at least two regions arranged in the first direction, and the at least two regions include the first region and the second region.

Como se muestra en la FIG. 2, el método de visualización de imágenes incluye además: As shown in FIG. 2, the image display method further includes:

S104, visualizar una segunda imagen si un primer tamaño de la primera imagen en la primera dirección satisface una condición predeterminada, y la segunda imagen incluye la primera región y la segunda región dispuestas en una segunda dirección. La segunda dirección puede ser una dirección perpendicular a la primera dirección. Como ejemplo, la condición predeterminada incluye que el primer tamaño sea mayor que un umbral predeterminado. S104, displaying a second image if a first size of the first image in the first direction satisfies a predetermined condition, and the second image includes the first region and the second region arranged in a second direction. The second direction may be a direction perpendicular to the first direction. For example, the predetermined condition includes the first size being greater than a predetermined threshold.

Como otro ejemplo, la condición predeterminada incluye que un cociente del primer tamaño y un segundo tamaño de la primera imagen en la segunda dirección sea mayor que un segundo umbral predeterminado. Por ejemplo, el segundo umbral predeterminado es 6. As another example, the default condition includes that a ratio of the first size and a second size of the first image in the second direction be greater than a second predetermined threshold. For example, the second default threshold is 6.

El segundo umbral predeterminado puede determinarse por un tamaño de la pantalla objetivo. Por ejemplo, si la pantalla objetivo es una pantalla de visualización de un teléfono móvil, entonces el tamaño de la pantalla objetivo es relativamente pequeño, y el segundo umbral predeterminado es 4; y si la pantalla objetivo es una pantalla de visualización de una tableta, entonces el tamaño de la pantalla objetivo es relativamente grande, y el segundo umbral predeterminado es 6. The second default threshold can be determined by the target screen size. For example, if the target screen is a mobile phone display screen, then the target screen size is relatively small, and the second default threshold is 4; and if the target screen is a tablet display screen, then the target screen size is relatively large, and the second default threshold is 6.

El segundo umbral predeterminado también puede establecerse manualmente, tal como establecerse de acuerdo con un valor empírico. The second default threshold can also be set manually, such as set according to an empirical value.

En las realizaciones de la presente invención, para que se visualice la primera imagen, la primera imagen incluye la primera región y la segunda región dispuestas en la primera dirección; y si el primer tamaño de la primera imagen en la primera dirección satisface la condición predeterminada, se visualiza la segunda imagen, y la segunda imagen incluye la primera región y la segunda región dispuestas en la segunda dirección. La primera imagen no se muestra directamente, de acuerdo con las realizaciones de la presente invención, sino que un modo de disposición de la primera región y la segunda región en la primera imagen se cambia para mostrar la primera imagen. El usuario no necesita deslizar en la primera dirección para ver la segunda imagen, lo que reduce las direcciones en las que ha de deslizar el usuario, facilitando así que el usuario vea la imagen y simplificando las etapas para que el usuario vea la imagen. In embodiments of the present invention, to display the first image, the first image includes the first region and the second region arranged in the first direction; and if the first size of the first image in the first direction satisfies the predetermined condition, the second image is displayed, and the second image includes the first region and the second region arranged in the second direction. The first image is not displayed directly, according to embodiments of the present invention, but an arrangement mode of the first region and the second region in the first image is changed to display the first image. The user does not need to swipe in the first direction to view the second image, which reduces the directions in which the user must swipe, thereby making it easier for the user to view the image and simplifying the steps for the user to view the image.

Por ejemplo, para la primera imagen en la FIG. 1, la segunda imagen mostrada en la FIG. 3 se obtiene reordenando la primera imagen, y se muestra la segunda imagen. Cuando el usuario ve la segunda imagen, todo el contenido de la segunda imagen puede verse sin deslizar continuamente hacia la izquierda y hacia la derecha, lo que es cómodo de manejar por el usuario. For example, for the first image in FIG. 1, the second image shown in FIG. 3 is obtained by rearranging the first image, and the second image is displayed. When the user views the second image, the entire content of the second image can be viewed without continuously swiping left and right, which is convenient for the user to operate.

En una realización de la presente invención, después de que se obtenga la primera imagen y antes de visualizar la segunda imagen, el método de visualización de imágenes incluye además: dividir la primera imagen, y las regiones obtenidas a partir de la división incluyen al menos la primera región y la segunda región dispuestas en la primera dirección. In an embodiment of the present invention, after the first image is obtained and before displaying the second image, the image display method further includes: dividing the first image, and the regions obtained from the division include at least the first region and the second region arranged in the first direction.

En una realización de la presente invención, la visualización de una segunda imagen incluye: In one embodiment of the present invention, displaying a second image includes:

visualizar la segunda imagen en una pantalla objetivo, y estando al menos una dirección de la pantalla objetivo cubierta por la segunda imagen. displaying the second image on a target display, and at least one direction of the target display being covered by the second image.

En esta realización de la presente invención, al menos una dirección en la pantalla objetivo está cubierta con la segunda imagen, de manera que un tamaño del contenido en la segunda imagen es mayor que un tamaño del contenido en la primera imagen, facilitando así al usuario ver claramente el contenido de la segunda imagen. En algunos casos, el tamaño del contenido en la segunda imagen es relativamente grande, y el usuario no necesita ampliar manualmente la segunda imagen. In this embodiment of the present invention, at least one direction on the target display is covered with the second image, such that a size of the content in the second image is larger than a size of the content in the first image, thereby making it easier for the user to clearly view the content of the second image. In some cases, the size of the content in the second image is relatively large, and the user does not need to manually enlarge the second image.

Por ejemplo, haciendo referencia a la FIG. 1, si la primera imagen se visualiza según la técnica anterior, el tamaño del contenido visualizado en la primera imagen es muy pequeño, siendo difícil para el usuario verlo claramente. Para ver claramente el contenido de la primera imagen, el usuario necesita ampliar la primera imagen. Sin embargo, cuando la primera imagen se amplía, no todo el contenido de la primera imagen puede mostrarse, y el usuario necesita deslizar hacia la izquierda o hacia la derecha para mostrar todo el contenido de la primera imagen. De acuerdo con las realizaciones de la presente invención, haciendo referencia a la FIG. 4, tres regiones dispuestas en una dirección horizontal de la primera imagen están dispuestas en una dirección vertical de la segunda imagen, y la segunda imagen está cubriendo en la dirección horizontal, de manera que toda la información de precio de un producto A a un producto Q en la primera imagen se muestra al usuario. El producto A con respecto al producto Q puede ser diferentes tipos de vino, de manera que el usuario puede obtener rápidamente información eficaz en una misma pantalla, lo que es cómodo para que el usuario compare los precios de varios productos, y mejore la experiencia del usuario. For example, referring to FIG. 1, if the first image is displayed according to the prior art, the size of the content displayed in the first image is very small, making it difficult for the user to see it clearly. In order to clearly see the content of the first image, the user needs to enlarge the first image. However, when the first image is enlarged, not all of the content of the first image can be displayed, and the user needs to swipe left or right to display all of the content of the first image. According to embodiments of the present invention, referring to FIG. 4, three regions arranged in a horizontal direction of the first image are arranged in a vertical direction of the second image, and the second image is covering in the horizontal direction, such that all price information from a product A to a product Q in the first image is displayed to the user. Product A with respect to product Q may be different types of wine, such that the user can quickly obtain effective information on a single screen, which is convenient for the user to compare the prices of various products, and improves the user experience.

En una realización de la presente invención, antes de la visualización de una segunda imagen, el método de visualización de imágenes incluye además: In one embodiment of the present invention, prior to displaying a second image, the image display method further includes:

dividir la primera imagen en al menos dos subimágenes, incluyendo las al menos dos subimágenes una primera subimagen y una segunda subimagen, incluyendo la primera subimagen la primera región, incluyendo la segunda subimagen la segunda región y siendo el tamaño de cada una de las subimágenes en la primera dirección menor que el primer tamaño; y dividing the first image into at least two subimages, the at least two subimages including a first subimage and a second subimage, the first subimage including the first region, the second subimage including the second region, and the size of each of the subimages in the first direction being smaller than the first size; and

usar las al menos dos subimágenes como la segunda imagen; o empalmar las al menos dos subimágenes en la segunda dirección para obtener la segunda imagen. use at least two subimages as the second image; or splice at least two subimages in the second direction to obtain the second image.

En esta realización de la presente invención, las al menos dos subimágenes se obtienen dividiendo la primera imagen, y las al menos dos subimágenes obtenidas por división, se disponen y se muestran en la segunda dirección. La segunda imagen visualizada está más alineada con un hábito de visualización de imágenes del usuario, de manera que la segunda imagen visualizada puede proporcionar un mejor efecto visual al usuario. En una realización de la presente invención, la división de la primera imagen en al menos dos subimágenes incluye: determinar, basándose en un primer tamaño de la primera imagen en una primera dirección, una cantidad N de subimágenes que se obtendrán a partir de la división, donde N es un entero positivo; determinar una posición de división objetivo basándose en la cantidad N de las subimágenes y el primer tamaño; y dividir la primera imagen en la posición de división objetivo. In this embodiment of the present invention, the at least two sub-images are obtained by dividing the first image, and the at least two sub-images obtained by dividing are arranged and displayed in the second direction. The second displayed image is more aligned with an image viewing habit of the user, so that the second displayed image can provide a better visual effect to the user. In an embodiment of the present invention, dividing the first image into at least two sub-images includes: determining, based on a first size of the first image in a first direction, an amount N of sub-images to be obtained from the division, where N is a positive integer; determining a target division position based on the amount N of the sub-images and the first size; and dividing the first image at the target division position.

En esta realización de la presente invención, la posición de división de la primera imagen está determinada por el tamaño de la primera imagen en la primera dirección. Si el primer tamaño de la primera imagen en la primera dirección es demasiado grande, puede haber más posiciones divididas, es decir, más divisiones, de manera que el tamaño de la subimagen dispuesta es más normal. In this embodiment of the present invention, the split position of the first image is determined by the size of the first image in the first direction. If the first size of the first image in the first direction is too large, there may be more split positions, i.e., more splits, so that the size of the arranged sub-image is more normal.

En una realización de la presente invención, la determinación de una posición de división objetivo basándose en la cantidad N de las subimágenes y el primer tamaño incluye: In an embodiment of the present invention, determining a target split position based on the number N of the sub-pictures and the first size includes:

determinar una posición de división igual N de la primera imagen en la primera dirección basándose en la cantidad N de las subimágenes y el primer tamaño, y usar la posición de división igual N como posición de división de referencia. determining an equal split position N of the first image in the first direction based on the number N of the sub-images and the first size, and using the equal split position N as the reference split position.

Como ejemplo, se calculan un cociente del primer tamaño y N, el cociente se usa como una única longitud de división, la posición igual N se determina basándose en la única longitud de división, y una distancia entre dos posiciones adyacentes en las posiciones iguales N es la única longitud de división. Es decir, se consigue igualmente un propósito de dividir la primera imagen. For example, a quotient of the first size and N is calculated, the quotient is used as a single division length, the equal position N is determined based on the single division length, and a distance between two adjacent positions at equal positions N is the single division length. That is, the purpose of dividing the first image is equally achieved.

En una realización de la presente invención, la determinación de una posición de división objetivo basándose en la cantidad N de las subimágenes y el primer tamaño incluye: In an embodiment of the present invention, determining a target split position based on the number N of the sub-pictures and the first size includes:

determinar una posición de división igual N de la primera imagen en la primera dirección basándose en la cantidad N de las subimágenes y el primer tamaño, y usar la posición de división igual N como posición de división de referencia; en un caso en que haya texto en la posición de división de referencia, obtener una posición de espacio de texto adyacente al texto y usar la posición de espacio de texto como posición de división objetivo. determining an equal split position N of the first image in the first direction based on the number N of the subimages and the first size, and using the equal split position N as the reference split position; in a case where there is text at the reference split position, obtaining a text space position adjacent to the text and using the text space position as the target split position.

En esta realización de la presente invención, si hay texto en la posición de división de referencia, y la división se realiza en la posición de división de referencia, el texto también se divide, lo que afecta a la visualización del usuario. Por lo tanto, la división se realiza en la posición de espacio de texto, para evitar dividir el texto en dos partes y afectar a la visualización del usuario. In this embodiment of the present invention, if there is text at the reference split position, and the split is performed at the reference split position, the text is also split, which affects the user's display. Therefore, the split is performed at the text space position to avoid splitting the text into two parts and affecting the user's display.

Lo siguiente describe la división de imágenes en las realizaciones de esta solicitud por medio de varios ejemplos. Por ejemplo, haciendo referencia a la FIG. 5, la primera imagen es una imagen que incluye una tabla, la posición de división de referencia es una posición en la que la primera imagen se divide en N partes iguales, hay texto en la posición de división de referencia (concretamente, números y letras), la posición de espacio de texto se usa como la posición de división objetivo, y la división se realiza en la posición de división objetivo. The following describes the image division in embodiments of this application by means of several examples. For example, referring to FIG. 5 , the first image is an image including a table, the reference division position is a position where the first image is divided into N equal parts, there is text at the reference division position (namely, numbers and letters), the text space position is used as the target division position, and the division is performed at the target division position.

Como otro ejemplo, haciendo referencia a la FIG. 6, la primera imagen es una imagen que incluye una línea de texto, la posición de división de referencia es una posición en la que la primera imagen se divide en N partes iguales, hay texto en la posición de división de referencia, se obtiene texto adyacente al texto, se usa un espacio entre el texto en la posición de división de referencia y el texto adyacente como la posición de división objetivo, y la división se realiza en la posición de división objetivo. As another example, referring to FIG. 6, the first image is an image including a line of text, the reference split position is a position at which the first image is split into N equal parts, there is text at the reference split position, text adjacent to the text is obtained, a space between the text at the reference split position and the adjacent text is used as the target split position, and splitting is performed at the target split position.

En una realización de la presente invención, la determinación de una posición de división objetivo basándose en la cantidad N de las subimágenes y el primer tamaño incluye: In an embodiment of the present invention, determining a target split position based on the number N of the sub-pictures and the first size includes:

Identificar separadores en la primera imagen; por ejemplo, identificar el separador por medio de la tecnología de reconocimiento óptico de caracteres (OCR); determinar una posición de división igual N de la primera imagen en la primera dirección en base a la cantidad N de las subimágenes y al primer tamaño, y usar la posición de división igual N como una posición de división de referencia; y en un caso en el que haya un separador cuya distancia desde la posición de división de referencia sea menor que un primer umbral predeterminado, usar una ubicación del separador como la posición de división objetivo. Identifying separators in the first image; for example, identifying the separator by means of optical character recognition (OCR) technology; determining an equal split position N of the first image in the first direction based on the number N of the subimages and the first size, and using the equal split position N as a reference split position; and in a case where there is a separator whose distance from the reference split position is less than a first predetermined threshold, using a location of the separator as the target split position.

El separador puede ser una línea de marco en la dirección vertical de la tabla, o una puntuación predeterminada, por ejemplo, un período o una coma. The separator can be a frame line in the vertical direction of the table, or a predetermined punctuation, for example, a period or a comma.

En esta realización de la presente invención, si hay un separador cerca de la posición de división de referencia, la división se realiza en la ubicación del separador, para evitar separar el contenido relacionado entre dos separadores adyacentes en la medida de lo posible. De esta manera, incluso si la primera imagen se divide, puede ser conveniente para el usuario ver el contenido de la imagen. In this embodiment of the present invention, if there is a separator near the reference split position, the split is performed at the separator location, to avoid separating related content between two adjacent separators as much as possible. In this way, even if the first image is split, it may be convenient for the user to view the image content.

Lo siguiente describe la división de imágenes en las realizaciones de esta solicitud, por medio de un ejemplo. Por ejemplo, haciendo referencia a la FIG. 7, la primera imagen es una imagen que incluye una tabla, y el separador es una línea de marco en la dirección vertical de la tabla. Si hay una línea de marco cuya distancia desde la posición de división de referencia es menor que el primer valor umbral predeterminado entre líneas de marco en la dirección vertical, la línea de marco se usa como la posición de división objetivo. Si no hay ninguna línea de marco cuya distancia desde la posición de división de referencia sea menor que el primer umbral predeterminado entre las líneas de marco en la dirección vertical, la división se realiza en la posición de división de referencia. The following describes image division in embodiments of this application, by way of an example. For example, referring to FIG. 7 , the first image is an image including a table, and the separator is a frame line in the vertical direction of the table. If there is a frame line whose distance from the reference division position is less than the first predetermined threshold value between frame lines in the vertical direction, the frame line is used as the target division position. If there is no frame line whose distance from the reference division position is less than the first predetermined threshold value between frame lines in the vertical direction, the division is performed at the reference division position.

En una realización de la presente invención, la identificación de separadores en la primera imagen incluye: identificar la tabla en la primera imagen, y usar una línea de marco en la segunda dirección de la tabla como separador. In one embodiment of the present invention, identifying separators in the first image includes: identifying the table in the first image, and using a frame line in the second direction of the table as a separator.

La determinación, en base al primer tamaño, de una cantidad N de subimágenes que se obtendrán a partir de la división, incluye: The determination, based on the first size, of a quantity N of subimages that will be obtained from the division, includes:

determinar una distancia entre cada dos separadores adyacentes, donde la distancia entre cada dos separadores adyacentes es igual; calcular un primer cociente de un tamaño de la pantalla objetivo en la primera dirección y la distancia entre cada dos separadores adyacentes; y usar un valor obtenido redondeando el primer cociente como la cantidad N de las subimágenes. determining a distance between every two adjacent separators, where the distance between every two adjacent separators is equal; calculating a first quotient of a target screen size in the first direction and the distance between every two adjacent separators; and using a value obtained by rounding the first quotient as the number N of sub-images.

En una realización de la presente invención, la determinación, en base al primer tamaño, de una cantidad N de subimágenes que se obtendrán a partir de la división, incluye: In one embodiment of the present invention, determining, based on the first size, an amount N of sub-images to be obtained from the division includes:

calcular un segundo cociente del primer tamaño y un tamaño de la pantalla objetivo en la primera dirección; y usar un valor obtenido redondeando el segundo cociente como la cantidad N de las subimágenes. Si el valor obtenido redondeando el segundo cociente es menor que 2, la cantidad N de las subimágenes es 2. El redondeo incluye redondeo al más cercano, redondeo hacia arriba hasta un número entero y redondeo hacia abajo hasta un número entero. Redondeo hacia arriba hasta un número entero: independientemente de la regla de redondeo al más cercano, siempre que haya un decimal después de un punto decimal, un número entero antes del punto decimal se incrementa en 1; redondeo hacia abajo hasta un número entero: independientemente de la regla de redondeo al más cercano, si hay un decimal después de un punto decimal, se ignora el decimal. calculating a second quotient of the first size and a target screen size in the first direction; and using a value obtained by rounding the second quotient as the number N of the sub-pictures. If the value obtained by rounding the second quotient is less than 2, the number N of the sub-pictures is 2. The rounding includes rounding to the nearest, rounding up to an integer, and rounding down to an integer. Rounding up to an integer: Regardless of the rounding-to-the-nearest rule, whenever there is a decimal after a decimal point, an integer before the decimal point is increased by 1; rounding down to an integer: Regardless of the rounding-to-the-nearest rule, if there is a decimal after a decimal point, the decimal is ignored.

En una realización de la presente invención, antes de visualizar una segunda imagen, el método de visualización de imágenes incluye, además: In one embodiment of the present invention, before displaying a second image, the image display method further includes:

dividir la primera imagen en al menos dos subimágenes basándose en una cantidad preestablecida M de divisiones, incluyendo las al menos dos subimágenes una primera subimagen y una segunda subimagen, incluyendo la primera subimagen la primera región, incluyendo la segunda subimagen la segunda región, siendo un tamaño de cada una de las subimágenes en la primera dirección menor que el primer tamaño, y siendo M un entero positivo; disponer las al menos dos subimágenes en la segunda dirección; sintetizar las al menos dos subimágenes basándose en las al menos dos subimágenes dispuestas, para obtener una imagen sintetizada; y actualizar un valor de M en el caso de que un tamaño de la imagen sintetizada en la primera dirección satisfaga la condición predeterminada, establecer M=M+K, siendo K un entero positivo, y volver a dividir la primera imagen hasta que el tamaño de la imagen sintetizada no satisfaga la condición predeterminada. dividing the first image into at least two subimages based on a preset number M of divisions, the at least two subimages including a first subimage and a second subimage, the first subimage including the first region, the second subimage including the second region, a size of each of the subimages in the first direction being smaller than the first size, and M being a positive integer; arranging the at least two subimages in the second direction; synthesizing the at least two subimages based on the arranged at least two subimages, to obtain a synthesized image; and updating a value of M in a case where a size of the synthesized image in the first direction satisfies the predetermined condition, setting M=M+K, where K is a positive integer, and dividing the first image again until the size of the synthesized image no longer satisfies the predetermined condition.

Lo siguiente describe la división de imágenes en las realizaciones de esta solicitud por medio de un ejemplo. Por ejemplo, la primera imagen se divide una vez para obtener 2 subimágenes en base a la cantidad preestablecida de divisiones M=1, las 2 subimágenes se disponen, y las 2 subimágenes dispuestas se sintetizan para obtener una imagen sintetizada. Si un tamaño de la imagen sintetizada en la primera dirección satisface la condición predeterminada, indicando que la cantidad de divisiones es relativamente pequeña, es necesario incrementar la cantidad de divisiones, donde M=1+1. La primera imagen se vuelve a dividir, y la primera imagen se divide dos veces. Por analogía, hasta que el tamaño de la imagen sintetizada en la primera dirección no satisface la condición predeterminada. Si no se cumple la condición predeterminada, indicando que el tamaño de la imagen sintetizada en la primera dirección es normal, entonces se detiene la división, y se usa una última imagen sintetizada obtenida, como la segunda imagen. The following describes image division in embodiments of this application by way of an example. For example, the first image is divided once to obtain 2 subimages based on the preset number of divisions M=1, the 2 subimages are arranged, and the 2 arranged subimages are synthesized to obtain a synthesized image. If a size of the synthesized image in the first direction satisfies the predetermined condition, indicating that the number of divisions is relatively small, it is necessary to increase the number of divisions, where M=1+1. The first image is divided again, and the first image is divided twice. By analogy, until the size of the synthesized image in the first direction does not satisfy the predetermined condition. If the predetermined condition is not met, indicating that the size of the synthesized image in the first direction is normal, then the division is stopped, and a last obtained synthesized image is used as the second image.

En una realización de la presente invención, la división de la primera imagen en al menos dos subimágenes incluye: identificar una pluralidad de líneas o columnas de texto en la primera imagen; y In one embodiment of the present invention, dividing the first image into at least two subimages includes: identifying a plurality of lines or columns of text in the first image; and

dividir la primera imagen en las al menos dos subimágenes según la pluralidad de líneas o columnas de texto, donde cada una de las subimágenes incluye al menos una línea o una columna de fragmento de texto. dividing the first image into the at least two sub-images according to the plurality of lines or columns of text, where each of the sub-images includes at least one line or one column of text fragment.

Lo siguiente describe cómo disponer las al menos dos subimágenes en la segunda dirección en dos casos (concretamente, un caso en el que la primera imagen incluye una pluralidad de líneas de texto y un caso en el que la primera imagen incluye una pluralidad de columnas de texto). The following describes how to arrange the at least two sub-images in the second direction in two cases (namely, a case in which the first image includes a plurality of lines of text and a case in which the first image includes a plurality of columns of text).

1. Si la primera imagen incluye una pluralidad de líneas de texto, la disposición de las al menos dos subimágenes en la segunda dirección incluye: 1. If the first image includes a plurality of lines of text, the arrangement of the at least two subimages in the second direction includes:

disponer, en la segunda dirección, subimágenes que corresponden respectivamente a la pluralidad de líneas de texto basándose en un orden de línea del texto en la primera imagen; y para una pluralidad de fragmentos de texto en una misma línea, disponer subimágenes que corresponden respectivamente a la pluralidad de fragmentos de texto basándose en un orden de la pluralidad de fragmentos de texto en la misma línea. arranging, in the second direction, subimages corresponding respectively to the plurality of lines of text based on a line order of the text in the first image; and for a plurality of text fragments on the same line, arranging subimages corresponding respectively to the plurality of text fragments based on an order of the plurality of text fragments on the same line.

Lo siguiente usa un ejemplo para describir cómo disponer al menos dos subimágenes en la segunda dirección en un caso en el que la primera imagen incluye una pluralidad de líneas de texto. The following uses an example to describe how to arrange at least two subimages in the second direction in a case where the first image includes a plurality of lines of text.

Por ejemplo, haciendo referencia a la FIG. 8, la primera imagen incluye dos líneas de texto, y una primera línea de texto se divide en tres segmentos de texto, donde una subimagen 1 incluye un segmento izquierdo de la primera línea de texto, una subimagen 2 incluye un segmento central de la primera línea de texto, y una subimagen 3 incluye un fragmento derecho de la primera línea de texto. Una segunda línea de texto se divide en tres segmentos de texto, donde una subimagen 4 incluye un segmento izquierdo de la segunda línea de texto, una subimagen 5 incluye un segmento central de la segunda línea de texto, y una subimagen 6 incluye un fragmento derecho de la segunda línea de texto. For example, referring to FIG. 8, the first image includes two lines of text, and a first line of text is divided into three text segments, where a subimage 1 includes a left segment of the first line of text, a subimage 2 includes a center segment of the first line of text, and a subimage 3 includes a right fragment of the first line of text. A second line of text is divided into three text segments, where a subimage 4 includes a left segment of the second line of text, a subimage 5 includes a center segment of the second line of text, and a subimage 6 includes a right fragment of the second line of text.

Haciendo referencia a la FIG. 9, en la dirección vertical, las subimágenes para la primera fila se disponen primero, y a continuación las subimágenes para la segunda fila se disponen de acuerdo con el orden de fila del texto en la primera imagen. Cuando se disponen las subimágenes para la primera fila, se disponen en orden una subimagen 1, una subimagen 2 y una subimagen 3, y cuando se disponen las subimágenes para la segunda fila, se disponen en orden una subimagen 4, una subimagen 5 y una subimagen 6. Referring to FIG. 9, in the vertical direction, the sub-images for the first row are arranged first, and then the sub-images for the second row are arranged according to the row order of the text in the first image. When arranging the sub-images for the first row, a sub-image 1, a sub-image 2, and a sub-image 3 are arranged in order, and when arranging the sub-images for the second row, a sub-image 4, a sub-image 5, and a sub-image 6 are arranged in order.

Además, se puede identificar si cada subimagen tiene contenido, y si no hay contenido en la subimagen, se puede eliminar la subimagen sin contenido. Por ejemplo, en la FIG. 8, si la subimagen 6 no tiene contenido, la subimagen 6 se elimina y la subimagen 6 puede no participar en la disposición de las subimágenes. In addition, it is possible to identify whether each sub-image has content, and if there is no content in the sub-image, the sub-image without content can be deleted. For example, in FIG. 8, if sub-image 6 has no content, sub-image 6 is deleted, and sub-image 6 may not participate in the sub-image arrangement.

Como ejemplo, disponer las subimágenes de la pluralidad de líneas de texto en la primera imagen incluye específicamente: As an example, arranging the subimages of the plurality of lines of text in the first image specifically includes:

Dividir las subimágenes divididas de una misma línea de texto en un mismo grupo para obtener una pluralidad de grupos de subimágenes; y realizar las siguientes operaciones en la pluralidad de grupos de subimágenes basándose en un orden de arriba a abajo de cada uno de la pluralidad de grupos de subimágenes en la primera imagen: etapa A: disponer las subimágenes de un primer grupo de arriba a abajo basándose en un orden de izquierda a derecha de las subimágenes del primer grupo en la pluralidad de grupos de subimágenes (concretamente, subimágenes de la primera línea de texto) en la primera imagen; etapa B: realizar una operación de disposición de imágenes: basándose en un orden de izquierda a derecha de subimágenes de un i-ésimo grupo en la pluralidad de grupos de subimágenes en la primera imagen, disponer una primera subimagen del i-ésimo grupo debajo de una última subimagen de un i-1-ésimo grupo y disponer una j-ésima subimagen del i-ésimo grupo debajo de una j-1-ésima subimagen de i-ésimo grupo hasta que todas las subimágenes del i-ésimo grupo están dispuestas, donde i y j son números enteros mayores que 1; y etapa C: i = i+1, volver a la etapa B hasta que están dispuestas un último grupo de subimágenes en la pluralidad de grupos de subimágenes. Dividing the divided sub-images of the same line of text into the same group to obtain a plurality of sub-image groups; and performing the following operations on the plurality of sub-image groups based on a top-to-bottom order of each of the plurality of sub-image groups in the first image: Step A: arranging the sub-images of a first group from top to bottom based on a left-to-right order of the sub-images of the first group in the plurality of sub-image groups (specifically, sub-images of the first line of text) in the first image; Step B: performing an image arrangement operation: based on a left-to-right order of subimages of an ith group in the plurality of subimage groups in the first image, arranging a first subimage of the ith group below a last subimage of an i-1-th group, and arranging a j-th subimage of the ith group below a j-1-th subimage of ith group until all of the subimages of the ith group are arranged, where i and j are integers greater than 1; and Step C: i=i+1, returning to Step B until a last group of subimages are arranged in the plurality of subimage groups.

2. Si la primera imagen incluye una pluralidad de columnas de texto, la disposición de las al menos dos subimágenes en la segunda dirección incluye: 2. If the first image includes a plurality of columns of text, the arrangement of the at least two subimages in the second direction includes:

- disponer, en la segunda dirección, subimágenes que corresponden respectivamente a la pluralidad de columnas de texto en función de un orden de columnas del texto en la primera imagen; y para una pluralidad de fragmentos de texto en una misma columna, disponer subimágenes que corresponden respectivamente a la pluralidad de fragmentos de texto en función de un orden de la pluralidad de fragmentos de texto en la misma columna. - arranging, in the second direction, subimages corresponding respectively to the plurality of columns of text based on an order of columns of the text in the first image; and for a plurality of text fragments in the same column, arranging subimages corresponding respectively to the plurality of text fragments based on an order of the plurality of text fragments in the same column.

Una implementación de división y disposición de la primera imagen que incluye una pluralidad de columnas de texto es similar a una implementación de división y disposición de la primera imagen que incluye una pluralidad de filas de texto, y los detalles no se repiten aquí nuevamente. An implementation of dividing and arranging the first image including a plurality of columns of text is similar to an implementation of dividing and arranging the first image including a plurality of rows of text, and the details are not repeated here again.

En una o más realizaciones de la presente invención, el método de visualización de imágenes incluye además: Haciendo referencia a la FIG. 10, en un caso en el que el primer tamaño satisface la condición predeterminada, visualizar un icono predeterminado. In one or more embodiments of the present invention, the image display method further includes: Referring to FIG. 10, in a case where the first size satisfies the predetermined condition, displaying a predetermined icon.

Antes de S102, el método de visualización de imágenes incluye, además: Before S102, the image display method further includes:

recibir una operación de entrada para el icono predeterminado; y dividir la primera imagen para obtener al menos dos subimágenes en respuesta a la operación de entrada, y obtener la segunda imagen basándose en las al menos dos subimágenes. receiving an input operation for the default icon; and dividing the first image to obtain at least two subimages in response to the input operation, and obtaining the second image based on the at least two subimages.

En esta realización de la presente invención, el usuario puede determinar si dividir la imagen dependiendo de los requisitos de la misma. Si el usuario necesita dividir la imagen, se activa el icono predeterminado para dividir la imagen. In this embodiment of the present invention, the user can determine whether to split the image depending on the user's requirements. If the user needs to split the image, the default image split icon is activated.

En una o más realizaciones de la presente invención, el método de visualización de imágenes incluye además: en un caso de visualización del contenido de la tabla, tomar una captura de pantalla del contenido de la tabla para obtener la primera imagen. In one or more embodiments of the present invention, the image display method further includes: in a case of displaying the table content, taking a screenshot of the table content to obtain the first image.

Por ejemplo, en el caso de identificar la visualización de una tabla de excel, el contenido visualizado actualmente se lee automáticamente, y se determina si optimizar una región que visualiza el contenido actual en base a una relación de longitud-anchura de la región que visualiza el contenido actual. Si la región necesita optimizarse, entonces el icono predeterminado aparece. Cuando se detecta una operación de entrada para el icono predeterminado, se toma una captura de pantalla para la región que muestra el contenido actual para obtener la primera imagen, la primera imagen se divide, se disponen las subimágenes obtenidas a partir de la división y se muestran las subimágenes dispuestas. For example, when identifying an Excel table display, the currently displayed content is automatically read, and a determination is made as to whether to optimize a region displaying the current content based on the length-to-width ratio of the region displaying the current content. If the region needs to be optimized, the default icon is displayed. When an input operation for the default icon is detected, a screenshot is taken for the region displaying the current content to obtain the first image, the first image is divided, the sub-images obtained from the division are arranged, and the arranged sub-images are displayed.

En una o más realizaciones de la presente invención, el método de visualización de imágenes incluye además: sintetizar las al menos dos subimágenes dispuestas, para obtener una imagen sintetizada; y en un caso de recibir una operación de entrada de almacenamiento para la imagen sintetizada, almacenar la imagen sintetizada en respuesta a la operación de entrada de almacenamiento. In one or more embodiments of the present invention, the image display method further includes: synthesizing the at least two arranged sub-images to obtain a synthesized image; and in a case of receiving a storage input operation for the synthesized image, storing the synthesized image in response to the storage input operation.

Por ejemplo, la imagen sintetizada se visualiza después de obtenerse; si se recibe una operación de entrada de retorno, se sale de la visualización de la imagen sintetizada, y se visualiza un mensaje emergente para preguntar al usuario si guardar la imagen sintetizada; si se recibe una operación de entrada de guardar, que indica que el usuario elige guardar la imagen sintetizada, la imagen sintetizada se almacena en un álbum en respuesta a la operación de entrada de guardado; y si se recibe una operación de entrada de no guardar, que indica que el usuario selecciona no guardar la imagen sintetizada, la imagen sintetizada se destruye automáticamente en respuesta a la operación de entrada de no guardar. For example, the synthesized image is displayed after being obtained; if a return input operation is received, the display of the synthesized image is exited, and a pop-up message is displayed to prompt the user whether to save the synthesized image; if a save input operation is received, indicating that the user chooses to save the synthesized image, the synthesized image is stored in an album in response to the save input operation; and if a no-save input operation is received, indicating that the user chooses not to save the synthesized image, the synthesized image is automatically destroyed in response to the no-save input operation.

La imagen sintetizada puede nombrarse de una manera de un nombre de la primera imagen un tiempo de división. Por ejemplo, el nombre de la primera imagen es abc.jpg, el tiempo de división de la primera imagen es 16:29 el 31 de mayo de 2019, y el nombre de la imagen sintetizada es abc-cut201905311629.jpg. La imagen sintetizada puede almacenarse temporalmente en un sistema de archivos local. The synthesized image can be named in a manner that includes the name of the first image and the split time. For example, the name of the first image is abc.jpg, the split time of the first image is 16:29 on May 31, 2019, and the name of the synthesized image is abc-cut201905311629.jpg. The synthesized image can be temporarily stored on a local file system.

En una o más realizaciones de la presente invención, el método de visualización de imágenes incluye además: después de visualizar la imagen sintetizada, recibir una operación de entrada de ampliación de la imagen sintetizada; y volver a dividir la primera imagen en respuesta a la operación de entrada de ampliación. Por ejemplo, un valor de N se incrementa basándose en la cantidad N de las subimágenes determinadas la última vez, incrementando de ese modo la cantidad de las subimágenes obtenidas a partir de la división, y la primera imagen se vuelve a dividir según el valor incrementado de N. In one or more embodiments of the present invention, the image display method further includes: after displaying the synthesized image, receiving an input operation of enlarging the synthesized image; and redivisioning the first image in response to the enlarging input operation. For example, a value of N is incremented based on the number N of the sub-images determined last time, thereby increasing the number of the sub-images obtained from the division, and the first image is redivisioned according to the incremented value of N.

En una o más realizaciones de la presente invención, antes de S104, el método de visualización de imágenes incluye además: identificar si hay contenido de texto en la primera imagen; y realizar S104 en un caso en el que se identifica que la primera imagen tiene el contenido de texto. Por ejemplo, cuando se detecta una imagen visualizada, se usa tecnología OCR para identificar si hay contenido de texto en la imagen. In one or more embodiments of the present invention, prior to S104, the image display method further includes: identifying whether there is text content in the first image; and performing S104 in a case where the first image is identified as having the text content. For example, when a displayed image is detected, OCR technology is used to identify whether there is text content in the image.

La FIG. 11 es un diagrama estructural esquemático de un aparato de visualización de imágenes de acuerdo con una realización. El aparato de visualización de imágenes se realiza mediante un dispositivo electrónico, como se muestra en la FIG. 11, y el aparato de visualización de imágenes 200 incluye: FIG. 11 is a schematic structural diagram of an image display apparatus according to an embodiment. The image display apparatus is realized by an electronic device, as shown in FIG. 11, and the image display apparatus 200 includes:

un primer módulo de obtención de imágenes 202, configurado para obtener una primera imagen, y la primera imagen incluye una primera región y una segunda región dispuestas en una primera dirección; y a first image acquisition module 202, configured to obtain a first image, and the first image includes a first region and a second region arranged in a first direction; and

un primer módulo 204 de visualización de imágenes, configurado para visualizar una segunda imagen si un primer tamaño de la primera imagen en la primera dirección satisface una condición predeterminada, y la segunda imagen incluye la primera región y la segunda región dispuestas en una segunda dirección. a first image display module 204, configured to display a second image if a first size of the first image in the first direction satisfies a predetermined condition, and the second image includes the first region and the second region arranged in a second direction.

En las realizaciones de la presente invención, para que se visualice la primera imagen, la primera imagen incluye la primera región y la segunda región dispuestas en la primera dirección; y si el primer tamaño de la primera imagen en la primera dirección satisface la condición predeterminada, se visualiza la segunda imagen, y la segunda imagen incluye la primera región y la segunda región dispuestas en la segunda dirección. La primera imagen no se muestra directamente, de acuerdo con las realizaciones de la presente invención, sino que un modo de disposición de la primera región y la segunda región en la primera imagen se cambia para mostrar la primera imagen. El usuario no necesita deslizar en la primera dirección para ver la segunda imagen, lo que reduce las direcciones en las que ha de deslizar el usuario, facilitando así que el usuario vea la imagen y simplificando las etapas para que el usuario vea la imagen. In embodiments of the present invention, to display the first image, the first image includes the first region and the second region arranged in the first direction; and if the first size of the first image in the first direction satisfies the predetermined condition, the second image is displayed, and the second image includes the first region and the second region arranged in the second direction. The first image is not displayed directly, according to embodiments of the present invention, but an arrangement mode of the first region and the second region in the first image is changed to display the first image. The user does not need to swipe in the first direction to view the second image, which reduces the directions in which the user must swipe, thereby making it easier for the user to view the image and simplifying the steps for the user to view the image.

En una realización de la presente invención, el primer módulo de visualización de imágenes 204 está configurado para visualizar la segunda imagen en una pantalla objetivo, y al menos una dirección de la pantalla objetivo está cubierta con la segunda imagen. In an embodiment of the present invention, the first image display module 204 is configured to display the second image on a target screen, and at least one direction of the target screen is covered with the second image.

En una realización de la presente invención, el aparato de visualización de imágenes 200 incluye además: un primer módulo de división de imágenes, configurado para dividir la primera imagen en al menos dos subimágenes, incluyendo las al menos dos subimágenes una primera subimagen y una segunda subimagen, incluyendo la primera subimagen la primera región, incluyendo la segunda subimagen la segunda región y siendo el tamaño de cada una de las subimágenes en la primera dirección menor que el primer tamaño; y un módulo de determinación de imagen, configurado para usar las al menos dos subimágenes como la segunda imagen; o empalmar las al menos dos subimágenes en la segunda dirección para obtener la segunda imagen. En una realización de la presente invención, el primer módulo de división de imágenes incluye: In an embodiment of the present invention, the image display apparatus 200 further includes: a first image dividing module, configured to divide the first image into at least two sub-images, the at least two sub-images including a first sub-image and a second sub-image, the first sub-image including the first region, the second sub-image including the second region, and the size of each of the sub-images in the first direction being smaller than the first size; and an image determining module, configured to use the at least two sub-images as the second image; or splice the at least two sub-images in the second direction to obtain the second image. In an embodiment of the present invention, the first image dividing module includes:

un módulo de determinación de la cantidad de divisiones, configurado para determinar, en base al primer tamaño, una cantidad N de subimágenes que se obtendrán a partir de la división, donde N es un entero positivo; a module for determining the number of divisions, configured to determine, based on the first size, a number N of sub-images to be obtained from the division, where N is a positive integer;

un primer módulo de determinación de posición objetivo, configurado para determinar una posición de división objetivo basándose en la cantidad N de las subimágenes y el primer tamaño; y a first target position determination module, configured to determine a target split position based on the number N of the sub-images and the first size; and

un primer submódulo de división, configurado para dividir la primera imagen en la posición de división objetivo. En una realización de la presente invención, el primer módulo de determinación de posición objetivo incluye: un primer módulo de determinación de posición de referencia, configurado para determinar una posición de división igual N de la primera imagen en la primera dirección basándose en la cantidad N de las subimágenes y el primer tamaño, y usar la posición de división igual N como una posición de división de referencia; y un primer módulo de determinación de posición dividida, configurado para: en un caso en que hay texto en la posición de división de referencia, obtener una posición de espacio de texto adyacente al texto y usar la posición de espacio de texto como la posición de división objetivo. a first splitting sub-module, configured to split the first image at the target splitting position. In one embodiment of the present invention, the first target position determining module includes: a first reference position determining module, configured to determine an equal splitting position N of the first image in the first direction based on the number N of the sub-images and the first size, and use the equal splitting position N as a reference splitting position; and a first splitting position determining module, configured to: in a case where there is text at the reference splitting position, obtain a text space position adjacent to the text and use the text space position as the target splitting position.

En una realización de la presente invención, el primer módulo de determinación de posición objetivo incluye: un módulo de identificación de separadores, configurado para identificar separadores en la primera imagen; un segundo módulo de determinación de posición de referencia, configurado para determinar una posición de división igual N de la primera imagen en la primera dirección basándose en la cantidad N de las subimágenes y el primer tamaño, y usar la posición de división igual N como una posición de división de referencia; y un segundo módulo de determinación de posición dividida, configurado para: en el caso de que haya un separador cuya distancia desde la posición de división de referencia sea menor que un primer umbral predeterminado, usar una ubicación del separador como la posición de división objetivo. In an embodiment of the present invention, the first target position determining module includes: a separator identification module, configured to identify separators in the first image; a second reference position determining module, configured to determine an equal split position N of the first image in the first direction based on the number N of the subimages and the first size, and use the equal split position N as a reference split position; and a second split position determining module, configured to: in a case where there is a separator whose distance from the reference split position is less than a first predetermined threshold, use a location of the separator as the target split position.

En una realización de la presente invención, el módulo de determinación de la cantidad de divisiones incluye: un módulo de cálculo de cocientes, configurado para calcular un segundo cociente del primer tamaño y un tamaño de la pantalla objetivo en la primera dirección; y In one embodiment of the present invention, the division quantity determining module includes: a quotient calculating module, configured to calculate a second quotient of the first size and a target screen size in the first direction; and

un módulo de redondeo de cocientes, configurado para usar un valor obtenido redondeando el segundo cociente como la cantidad N de las subimágenes. a quotient rounding module, configured to use a value obtained by rounding the second quotient as the quantity N of the sub-images.

En una realización de la presente invención, el aparato 200 incluye, además: In one embodiment of the present invention, the apparatus 200 further includes:

un segundo módulo de división de imágenes, configurado para dividir la primera imagen en al menos dos subimágenes basándose en una cantidad preestablecida M de divisiones, incluyendo las al menos dos subimágenes una primera subimagen y una segunda subimagen, incluyendo la primera subimagen la primera región, incluyendo la segunda subimagen la segunda región, siendo un tamaño de cada una de las subimágenes en la primera dirección menor que el primer tamaño, y siendo M un número entero positivo; un módulo de disposición de subimágenes, configurado para disponer las al menos dos subimágenes en la segunda dirección; a second image splitting module, configured to split the first image into at least two sub-images based on a preset number M of splits, the at least two sub-images including a first sub-image and a second sub-image, the first sub-image including the first region, the second sub-image including the second region, a size of each of the sub-images in the first direction being smaller than the first size, and M being a positive integer; a sub-image arranging module, configured to arrange the at least two sub-images in the second direction;

un módulo de síntesis de imágenes, configurado para sintetizar las al menos dos subimágenes basándose en las al menos dos subimágenes dispuestas, para obtener una imagen sintetizada; y an image synthesis module, configured to synthesize the at least two sub-images based on the at least two arranged sub-images, to obtain a synthesized image; and

un módulo para volver a dividir, configurado para actualizar un valor de M en el caso de que un tamaño de la imagen sintetizada en la primera dirección satisfaga la condición predeterminada, establecer M=M+K, siendo K un número entero positivo, y volver a dividir la primera imagen hasta que el tamaño de la imagen sintetizada no satisfaga la condición predeterminada. a module for re-dividing, configured to update a value of M in the case that a size of the synthesized image in the first direction satisfies the predetermined condition, set M=M+K, where K is a positive integer, and re-divide the first image until the size of the synthesized image does not satisfy the predetermined condition.

En una realización de la presente invención, el segundo módulo de división de imágenes incluye: In one embodiment of the present invention, the second image splitting module includes:

un módulo de identificación de texto, configurado para identificar una pluralidad de líneas o columnas de texto en la primera imagen; y a text identification module, configured to identify a plurality of lines or columns of text in the first image; and

un segundo submódulo de división, configurado para dividir la primera imagen en las al menos dos subimágenes de acuerdo con la pluralidad de líneas o columnas de texto, donde cada una de las subimágenes incluye al menos una línea o una columna de fragmento de texto; y a second splitting submodule, configured to split the first image into the at least two subimages according to the plurality of lines or columns of text, where each of the subimages includes at least one line or one column of text fragment; and

el módulo de disposición de subimágenes incluye: The subimage layout module includes:

un primer módulo de disposición, configurado para disponer, en la segunda dirección, subimágenes que corresponden respectivamente a la pluralidad de líneas de texto basándose en un orden de línea del texto en la primera imagen; y para una pluralidad de fragmentos de texto en una misma línea, disponer subimágenes que corresponden respectivamente a la pluralidad de fragmentos de texto basándose en un orden de la pluralidad de fragmentos de texto en la misma línea; a first layout module, configured to arrange, in the second direction, sub-images respectively corresponding to the plurality of lines of text based on a line order of the text in the first image; and for a plurality of text fragments on the same line, arrange sub-images respectively corresponding to the plurality of text fragments based on an order of the plurality of text fragments on the same line;

o bien el módulo de disposición de subimágenes incluye: or the subimage layout module includes:

un segundo módulo de disposición, configurado para disponer, en la segunda dirección, subimágenes que corresponden respectivamente a la pluralidad de columnas de texto basándose en un orden de columnas del texto en la primera imagen; y para una pluralidad de fragmentos de texto en una misma columna, disponer subimágenes que corresponden respectivamente a la pluralidad de fragmentos de texto basándose en un orden de la pluralidad de fragmentos de texto en la misma columna. a second layout module, configured to arrange, in the second direction, subimages corresponding respectively to the plurality of columns of text based on a column order of the text in the first image; and for a plurality of text fragments in a same column, arrange subimages corresponding respectively to the plurality of text fragments based on an order of the plurality of text fragments in the same column.

En una realización de la presente invención, que el primer tamaño satisfaga la condición predeterminada incluye: que el primer tamaño sea mayor que un umbral predeterminado, o que un cociente del primer tamaño y de un segundo tamaño de la primera imagen en la segunda dirección sea mayor que un segundo umbral predeterminado. La FIG. 12 es un diagrama esquemático de una estructura de hardware de un dispositivo electrónico de acuerdo con una realización de la presente invención. El dispositivo electrónico 300 incluye, pero no se limita a: una unidad de radiofrecuencia 301, un módulo de red 302, una unidad de salida de audio 303, una unidad de entrada 304, un sensor 305, una unidad de visualización 306, una unidad de entrada de usuario 307, una unidad de interfaz 308, una memoria 309, un procesador 310 y una fuente de alimentación 311. Un experto en la materia puede entender que la estructura del dispositivo electrónico mostrado en la FIG. 12 no constituye ninguna limitación sobre el dispositivo electrónico. El dispositivo electrónico puede incluir más o menos componentes que los mostrados en la figura, o una combinación de algunos componentes, o una disposición de diferentes componentes. En esta realización de la presente invención, el dispositivo electrónico incluye, pero no se limita a, un teléfono móvil, una tableta, un ordenador portátil, un ordenador de mano, un terminal en vehículo, un dispositivo ponible, un podómetro y similares. In an embodiment of the present invention, the first size satisfying the predetermined condition includes: the first size being larger than a predetermined threshold, or a quotient of the first size and a second size of the first image in the second direction being larger than a predetermined second threshold. FIG. 12 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present invention. The electronic device 300 includes, but is not limited to: a radio frequency unit 301, a network module 302, an audio output unit 303, an input unit 304, a sensor 305, a display unit 306, a user input unit 307, an interface unit 308, a memory 309, a processor 310, and a power supply 311. One skilled in the art can understand that the structure of the electronic device shown in FIG. 12 does not constitute any limitation on the electronic device. The electronic device may include more or fewer components than those shown in the figure, or a combination of some components, or an arrangement of different components. In this embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet, a laptop computer, a handheld computer, a vehicle terminal, a wearable device, a pedometer, and the like.

El procesador 310 está configurado para obtener una primera imagen, y la primera imagen incluye una primera región y una segunda región dispuestas en una primera dirección. El módulo de visualización 306 está configurado para visualizar una segunda imagen si un primer tamaño de la primera imagen en la primera dirección satisface una condición predeterminada, y la segunda imagen incluye la primera región y la segunda región dispuestas en una segunda dirección. The processor 310 is configured to obtain a first image, and the first image includes a first region and a second region arranged in a first direction. The display module 306 is configured to display a second image if a first size of the first image in the first direction satisfies a predetermined condition, and the second image includes the first region and the second region arranged in a second direction.

En las realizaciones de la presente invención, para que se visualice la primera imagen, la primera imagen incluye la primera región y la segunda región dispuestas en la primera dirección; y si el primer tamaño de la primera imagen en la primera dirección satisface la condición predeterminada, se visualiza la segunda imagen, y la segunda imagen incluye la primera región y la segunda región dispuestas en la segunda dirección. La primera imagen no se muestra directamente, de acuerdo con las realizaciones de la presente invención, sino que un modo de disposición de la primera región y la segunda región en la primera imagen se cambia para mostrar la primera imagen. El usuario no necesita deslizar en la primera dirección para ver la segunda imagen, lo que reduce las direcciones en las que ha de deslizar el usuario, facilitando así que el usuario vea la imagen y simplificando las etapas para que el usuario vea la imagen. In embodiments of the present invention, to display the first image, the first image includes the first region and the second region arranged in the first direction; and if the first size of the first image in the first direction satisfies the predetermined condition, the second image is displayed, and the second image includes the first region and the second region arranged in the second direction. The first image is not displayed directly, according to embodiments of the present invention, but an arrangement mode of the first region and the second region in the first image is changed to display the first image. The user does not need to swipe in the first direction to view the second image, which reduces the directions in which the user must swipe, thereby making it easier for the user to view the image and simplifying the steps for the user to view the image.

Debe entenderse que en esta realización de la presente invención, la unidad de radiofrecuencia 301 puede configurarse para recibir y transmitir información, o recibir y transmitir señales durante una llamada. Específicamente, la unidad de radiofrecuencia 301 recibe datos de enlace descendente desde una estación base, y transmite los datos de enlace descendente al procesador 310 para su procesamiento; y además, transmite datos de enlace ascendente a la estación base. En general, la unidad de radiofrecuencia 301 incluye, pero no se limita a: una antena, al menos un amplificador, un transceptor, un acoplador, un amplificador de bajo ruido, un duplexor y similares. Además, la unidad de radiofrecuencia 301 puede comunicarse además con una red y otros dispositivos utilizando un sistema de comunicación inalámbrica. It should be understood that in this embodiment of the present invention, the radio frequency unit 301 may be configured to receive and transmit information, or receive and transmit signals during a call. Specifically, the radio frequency unit 301 receives downlink data from a base station, and transmits the downlink data to the processor 310 for processing; and further, transmits uplink data to the base station. In general, the radio frequency unit 301 includes, but is not limited to: an antenna, at least one amplifier, a transceiver, a coupler, a low-noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 301 may further communicate with a network and other devices using a wireless communication system.

El dispositivo electrónico proporciona a los usuarios acceso inalámbrico a internet de banda ancha a través del módulo 302 de red, por ejemplo, ayuda a los usuarios a recibir y enviar correos electrónicos, navegar páginas web y acceder a medios de transmisión continua. The electronic device provides users with wireless broadband Internet access via the network module 302, for example, helping users receive and send emails, browse web pages, and access streaming media.

La unidad 303 de salida de audio puede convertir los datos de audio recibidos por la unidad 301 de radiofrecuencia o el módulo 302 de red o almacenados en la memoria 309 en una señal de audio y emitir la señal de audio como un sonido. Además, la unidad 303 de salida de audio puede proporcionar además una salida de audio (por ejemplo, un sonido de recepción de señal de llamada y un sonido de recepción de mensaje) relacionada con una función específica realizada por el dispositivo electrónico 300. La unidad 303 de salida de audio incluye un altavoz, un zumbador, un receptor y similares. The audio output unit 303 may convert audio data received by the radio frequency unit 301 or the network module 302 or stored in the memory 309 into an audio signal and output the audio signal as a sound. In addition, the audio output unit 303 may further provide audio output (for example, a ringing signal reception sound and a message reception sound) related to a specific function performed by the electronic device 300. The audio output unit 303 includes a speaker, a buzzer, a receiver, and the like.

La unidad de entrada 304 está configurada para recibir señales de audio o vídeo. La unidad de entrada 304 puede incluir una unidad de procesamiento de gráficos (Graphics Processing Unit, GPU) 3041 y un micrófono 3042. La unidad de procesamiento de gráficos 3041 está configurada para procesar datos de imagen de una imagen fija o un vídeo obtenido por un aparato de captura de imágenes (por ejemplo, una cámara) en un modo de captura de vídeo o un modo de captura de imágenes. Un cuadro de imagen procesado puede mostrarse en la unidad de visualización 306. El cuadro de imagen procesado por la unidad de procesamiento de gráficos 3041 puede almacenarse en la memoria 309 (u otro medio de almacenamiento) o enviarse por medio de la unidad de radiofrecuencia 301 o el módulo de red 302. El micrófono 3042 puede recibir un sonido y puede procesar dicho sonido en datos de audio. Los datos de audio procesados pueden convertirse, en un modo de llamada telefónica, en un formato que puede transmitirse a una estación base de comunicación móvil usando la unidad de radiofrecuencia 301 para su salida. The input unit 304 is configured to receive audio or video signals. The input unit 304 may include a graphics processing unit (GPU) 3041 and a microphone 3042. The graphics processing unit 3041 is configured to process image data of a still image or a video obtained by an image capture apparatus (e.g., a camera) in a video capture mode or an image capture mode. A processed image frame may be displayed on the display unit 306. The image frame processed by the graphics processing unit 3041 may be stored in the memory 309 (or other storage medium) or sent via the radio frequency unit 301 or the network module 302. The microphone 3042 may receive a sound and may process the sound into audio data. The processed audio data may be converted, in a telephone call mode, into a format that may be transmitted to a mobile communication base station using the radio frequency unit 301 for output.

El dispositivo electrónico 300 incluye además al menos un sensor 305, por ejemplo, un sensor de luz, un sensor de motor y otro sensor. Específicamente, el sensor de luz incluye un sensor de luz ambiental y un sensor de proximidad. El sensor de luz ambiental puede ajustar el brillo de un panel de visualización 3061 de acuerdo con el brillo de la luz ambiental. El sensor de proximidad puede apagar el panel de visualización 3061 y/o la retroiluminación cuando el dispositivo electrónico 300 se mueve cerca de un oído. Como sensor de movimiento, un sensor de acelerómetro puede detectar la magnitud de la aceleración en diversas direcciones (normalmente tres ejes), puede detectar la magnitud y la dirección de la gravedad cuando está estacionario, puede configurarse para identificar posturas de dispositivos electrónicos (tales como la conmutación entre un modo paisaje y un modo retrato, juegos relacionados y calibración de postura de magnetómetro), puede realizar funciones relacionadas con la identificación de vibración (tales como un podómetro y un golpeteo), y similares. El sensor 305 puede incluir además un sensor de huella dactilar, un sensor de presión, un sensor de iris, un sensor molecular, un giroscopio, un barómetro, un higrómetro, un termómetro, un sensor de infrarrojos o similares. Los detalles no se describen en el presente documento. The electronic device 300 further includes at least one sensor 305, for example, a light sensor, a motor sensor, and another sensor. Specifically, the light sensor includes an ambient light sensor and a proximity sensor. The ambient light sensor may adjust the brightness of a display panel 3061 according to the brightness of the ambient light. The proximity sensor may turn off the display panel 3061 and/or the backlight when the electronic device 300 is moved near an ear. As a motion sensor, an accelerometer sensor may detect the magnitude of acceleration in various directions (typically three axes), may detect the magnitude and direction of gravity when stationary, may be configured to identify postures of electronic devices (such as switching between a landscape mode and a portrait mode, related games and magnetometer posture calibration), may perform functions related to vibration identification (such as a pedometer and a tap), and the like. Sensor 305 may further include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, or the like. Details are not described here.

La unidad de visualización 306 está configurada para visualizar información introducida por un usuario o información proporcionada para el usuario. La unidad de visualización 306 puede incluir un panel de visualización 3061, y el panel de visualización 3061 puede configurarse en forma de una pantalla de cristal líquido (Liquid Crystal Display, LCD), un diodo emisor de luz orgánico (Organic Light-Emitting Diode, OLED) o similares. The display unit 306 is configured to display information inputted by a user or information provided to the user. The display unit 306 may include a display panel 3061, and the display panel 3061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.

La unidad 307 de entrada de usuario puede estar configurada para recibir información de números o caracteres introducida, y generar una entrada de señal de tecla relacionada con ajustes de usuario y control de función del dispositivo electrónico. Específicamente, la unidad 307 de entrada de usuario incluye un panel táctil 3071 y otro dispositivo 3072 de entrada. El panel táctil 3071 también se denomina pantalla táctil, y puede recopilar una operación táctil realizada por el usuario en, o cerca del panel táctil 3071 (por ejemplo, una operación realizada en, o cerca del panel táctil 3071 por el usuario usando cualquier objeto o accesorio apropiado tal como un dedo o un lápiz). El panel táctil 3071 puede incluir dos partes: un aparato de detección táctil y un controlador táctil. El aparato de detección táctil detecta una posición táctil de un usuario, detecta una señal proporcionada por una operación táctil y transmite la señal al controlador táctil. El controlador táctil recibe información táctil del aparato de detección táctil, convierte la información táctil en coordenadas de contacto, envía las coordenadas de contacto al procesador 310 y recibe y ejecuta un comando del procesador 310. Además, el panel táctil 3071 puede implementarse en una pluralidad de formas, tales como un tipo resistivo, un tipo capacitivo, un tipo de rayos infrarrojos o un tipo de onda acústica superficial. Además del panel táctil 3071, la unidad 307 de entrada de usuario puede incluir además otro dispositivo 3072 de entrada. Específicamente, el otro dispositivo 3072 de entrada puede incluir, pero no se limita a, un teclado físico, un botón funcional (tal como una tecla de control de volumen o una tecla de encendido/apagado), una bola de seguimiento, un ratón y una palanca de mando. Los detalles no se describen de nuevo en el presente documento. The user input unit 307 may be configured to receive inputted number or character information, and generate a key signal input related to user settings and function control of the electronic device. Specifically, the user input unit 307 includes a touch panel 3071 and another input device 3072. The touch panel 3071 is also called a touch screen, and may collect a touch operation performed by the user on or near the touch panel 3071 (for example, an operation performed on or near the touch panel 3071 by the user using any appropriate object or accessory such as a finger or a stylus). The touch panel 3071 may include two parts: a touch detection apparatus and a touch controller. The touch detection apparatus detects a touch position of a user, detects a signal provided by a touch operation, and transmits the signal to the touch controller. The touch controller receives touch information from the touch sensing apparatus, converts the touch information into touch coordinates, sends the contact coordinates to the processor 310, and receives and executes a command from the processor 310. Furthermore, the touch panel 3071 may be implemented in a plurality of forms, such as a resistive type, a capacitive type, an infrared ray type, or a surface acoustic wave type. In addition to the touch panel 3071, the user input unit 307 may further include another input device 3072. Specifically, the other input device 3072 may include, but is not limited to, a physical keyboard, a functional button (such as a volume control key or a power on/off key), a trackball, a mouse, and a joystick. The details are not described again herein.

Además, el panel táctil 3071 puede cubrir el panel de visualización 3061. Cuando se detecta una operación táctil en, o cerca del panel táctil 3071, el panel táctil 3071 transmite la operación táctil al procesador 310 para determinar un tipo de evento táctil. A continuación, el procesador 310 proporciona la salida visual correspondiente en el panel 3061 de visualización en base al tipo de evento táctil. Aunque en la FIG. 12, el panel táctil 3071 y el panel de visualización 3061 están configurados como dos componentes independientes para implementar funciones de entrada y salida del dispositivo electrónico, en algunas realizaciones, el panel táctil 3071 y el panel de visualización 3061 pueden integrarse para implementar las funciones de entrada y salida del dispositivo electrónico. Los detalles no están limitados en el presente documento. Additionally, the touch panel 3071 may cover the display panel 3061. When a touch operation is detected on or near the touch panel 3071, the touch panel 3071 transmits the touch operation to the processor 310 to determine a touch event type. The processor 310 then provides corresponding visual output on the display panel 3061 based on the touch event type. Although in FIG. 12 , the touch panel 3071 and the display panel 3061 are configured as two separate components for implementing input and output functions of the electronic device, in some embodiments, the touch panel 3071 and the display panel 3061 may be integrated to implement the input and output functions of the electronic device. The details are not limited herein.

La unidad de interfaz 308 es una interfaz para conectar un aparato externo y el dispositivo electrónico 300. Por ejemplo, el dispositivo externo puede incluir un puerto de auriculares cableado o inalámbrico, un puerto de fuente de alimentación externa (o un cargador de batería), un puerto de datos cableado o inalámbrico, un puerto de tarjeta de almacenamiento, un puerto utilizado para conectarse a un aparato que tiene un módulo de identidad, un puerto de entrada/salida (E/S) de audio, un puerto de E/S de vídeo, un puerto de auriculares y similares. La unidad de interfaz 308 puede configurarse para recibir entrada desde un aparato externo (por ejemplo, información de datos y alimentación) y transmitir la entrada recibida a uno o más elementos en el dispositivo electrónico 300, o puede configurarse para transmitir datos entre el dispositivo electrónico 300 y el aparato externo. The interface unit 308 is an interface for connecting an external apparatus and the electronic device 300. For example, the external device may include a wired or wireless headphone port, an external power supply port (or a battery charger), a wired or wireless data port, a storage card port, a port used to connect to an apparatus having an identity module, an audio input/output (I/O) port, a video I/O port, a headphone port, and the like. The interface unit 308 may be configured to receive input from an external apparatus (e.g., data and power information) and transmit the received input to one or more elements in the electronic device 300, or may be configured to transmit data between the electronic device 300 and the external apparatus.

La memoria 309 puede configurarse para almacenar un programa de software y diversos datos. La memoria 309 puede incluir principalmente una región de almacenamiento de programa y una región de almacenamiento de datos, donde la región de almacenamiento de programa puede almacenar un sistema operativo, una aplicación (tal como una función de reproducción de sonido, una función de reproducción de imagen) requerida para al menos una función, y similares; y la región de almacenamiento de datos puede almacenar datos (tales como datos de audio, una agenda telefónica) creados en base al uso de un teléfono móvil. Además, la memoria 309 puede incluir una memoria de acceso aleatorio de alta velocidad, y puede incluir además una memoria no volátil tal como al menos un componente de almacenamiento en disco magnético, un componente de memoria flash, u otro componente de almacenamiento en estado sólido volátil. The memory 309 may be configured to store a software program and various data. The memory 309 may mainly include a program storage region and a data storage region, where the program storage region may store an operating system, an application (such as a sound playback function, an image playback function) required for at least one function, and the like; and the data storage region may store data (such as audio data, a phone book) created based on use of a mobile phone. In addition, the memory 309 may include a high-speed random access memory, and may further include a non-volatile memory such as at least one magnetic disk storage component, a flash memory component, or other volatile solid-state storage component.

El procesador 310 es un centro de control del dispositivo electrónico y conecta todas las partes del dispositivo electrónico usando diversas interfaces y circuitos. Ejecutando programas de software y/o módulos almacenados en la memoria 309 e invocando datos almacenados en la memoria 309, el procesador 310 implementa diversas funciones del dispositivo electrónico y procesa datos, realizando así una monitorización global en el dispositivo electrónico. El procesador 310 puede incluir una o más unidades de procesamiento. Preferentemente, el procesador 310 puede estar integrado con un procesador de aplicaciones y un procesador de módem. El procesador de aplicaciones procesa principalmente un sistema operativo, una interfaz de usuario, una aplicación y similares. El procesador de módem procesa principalmente la comunicación inalámbrica. Se puede entender que, alternativamente, el procesador de módem puede no estar integrado en el procesador 310. The processor 310 is a control center of the electronic device and connects all parts of the electronic device using various interfaces and circuits. By executing software programs and/or modules stored in the memory 309 and invoking data stored in the memory 309, the processor 310 implements various functions of the electronic device and processes data, thereby performing overall monitoring of the electronic device. The processor 310 may include one or more processing units. Preferably, the processor 310 may be integrated with an application processor and a modem processor. The application processor primarily processes an operating system, a user interface, an application, and the like. The modem processor primarily processes wireless communication. It can be understood that, alternatively, the modem processor may not be integrated into the processor 310.

El dispositivo electrónico 300 puede incluir además la fuente de alimentación 311 (por ejemplo, una batería) que suministra alimentación a diversos componentes. Preferentemente, la fuente de alimentación 311 puede conectarse lógicamente al procesador 310 a través de un sistema de gestión de energía, para implementar funciones tales como carga, descarga y gestión de consumo de energía a través del sistema de gestión de energía. The electronic device 300 may further include a power supply 311 (e.g., a battery) that supplies power to various components. Preferably, the power supply 311 may be logically connected to the processor 310 via a power management system, to implement functions such as charging, discharging, and power consumption management via the power management system.

Además, el dispositivo electrónico 300 incluye algunos módulos funcionales no mostrados. Los detalles no se describen en el presente documento. In addition, the electronic device 300 includes some functional modules not shown. Details are not described herein.

Preferentemente, una realización de la presente invención da a conocer además un dispositivo electrónico, que incluye un procesador 310, una memoria 309 y un programa informático que se almacena en la memoria 309 y que puede ejecutarse en el procesador 310. Cuando el procesador 310 ejecuta el programa informático, se implementan los procesos anteriores de la realización del método de visualización de imágenes y se puede conseguir el mismo resultado técnico. Para evitar repeticiones, los detalles no se describen de nuevo en el presente documento. Preferably, an embodiment of the present invention further provides an electronic device, including a processor 310, a memory 309, and a computer program stored in the memory 309 and executable on the processor 310. When the processor 310 executes the computer program, the above processes of the embodiment of the image display method are implemented, and the same technical result can be achieved. To avoid repetition, the details are not described again herein.

Una realización de la presente invención da a conocer además un medio de almacenamiento legible por ordenador. El medio de almacenamiento legible por ordenador almacena un programa informático, y cuando el programa informático es ejecutado por un procesador, se implementan los procesos de la realización del método de visualización de imágenes anterior y se puede conseguir un mismo resultado técnico. Para evitar repeticiones, los detalles no se describen de nuevo en el presente documento. El medio de almacenamiento legible por ordenador es, por ejemplo, una memoria de solo lectura (Read-Only Memory, ROM para abreviar), una memoria de acceso aleatorio (Random Access Memory, RAM para abreviar), un disco magnético o un disco óptico. An embodiment of the present invention further provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processes of the embodiment of the above image display method are implemented, and the same technical result can be achieved. To avoid repetition, the details are not described again herein. The computer-readable storage medium is, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.

Debe observarse que en esta memoria descriptiva, los términos "comprender", "incluir" y cualquier otra variante de los mismos están destinados a cubrir una inclusión no exclusiva, de modo que un proceso, un método, un artículo o un aparato que incluye una serie de elementos no solo incluye esos elementos, sino que también incluye otros elementos no enumerados expresamente, o también incluye elementos inherentes a dicho proceso, método, artículo o aparato. Un elemento limitado por "incluye un..." no excluye, sin más restricciones, la presencia de elementos idénticos adicionales en el proceso, método, artículo o aparato que incluye el elemento. It should be noted that in this specification, the terms "comprise," "include," and any other variations thereof are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that includes a plurality of elements not only includes those elements, but also includes other elements not expressly enumerated, or also includes elements inherent to such process, method, article, or apparatus. An element limited by "includes a..." does not exclude, without further restriction, the presence of additional identical elements in the process, method, article, or apparatus that includes the element.

Basándose en las descripciones anteriores de las realizaciones, un experto en la técnica puede comprender claramente que el método en la realización anterior puede implementarse mediante software además de una plataforma de hardware universal necesaria, o solo mediante hardware. En la mayoría de las circunstancias, la primera es una implementación preferida. Basándose en tal comprensión, las soluciones técnicas de la presente invención esencialmente, o la parte que contribuye a la técnica anterior, pueden implementarse en forma de un producto de software. El producto de software informático se almacena en un medio de almacenamiento (tal como una ROM/RAM, un disco duro o un disco óptico), e incluye varias instrucciones para dar instrucciones a un terminal (que puede ser un teléfono móvil, un ordenador, un servidor, un acondicionador de aire, un dispositivo de red o similares) para realizar los métodos descritos en las realizaciones de la presente invención. Los aspectos de la presente invención se describen anteriormente haciendo referencia a un diagrama de flujo y/o diagrama de bloques de un método, un aparato (sistema) o un producto de programa informático de acuerdo con realizaciones de la presente invención. Debe entenderse que cada bloque en el diagrama de flujo y/o diagrama de bloques y una combinación de bloques en el diagrama de flujo y/o diagrama de bloques pueden implementarse mediante una instrucción de programa informático. Estas instrucciones de programa informático pueden proporcionarse para un ordenador de propósito general, un ordenador dedicado o un procesador de otro aparato de procesamiento de datos programable para generar una máquina, de modo que cuando estas instrucciones son ejecutadas por el ordenador o el procesador del otro aparato de procesamiento de datos programable, se implementan funciones/acciones específicas en uno o más bloques en los diagramas de flujo y/o en los diagramas de bloques. Dicho procesador puede ser, pero no se limita a, un procesador de propósito general, un procesador de propósito especial, un procesador específico de la aplicación o una matriz lógica programable en campo. También debe entenderse que cada bloque en los diagramas de bloques y/o diagramas de flujo y combinaciones de los bloques en los diagramas de bloques y/o diagramas de flujo también puede implementarse mediante un sistema basado en hardware dedicado para ejecutar funciones o acciones especificadas, o puede implementarse mediante una combinación de hardware dedicado e instrucciones informáticas. Based on the above descriptions of embodiments, one skilled in the art can clearly understand that the method in the above embodiment may be implemented by software in addition to a necessary universal hardware platform, or by hardware alone. In most circumstances, the former is a preferred implementation. Based on such an understanding, the technical solutions of the present invention may essentially, or the portion contributing to the prior art, be implemented in the form of a software product. The computer software product is stored on a storage medium (such as a ROM/RAM, a hard disk, or an optical disk), and includes various instructions for instructing a terminal (which may be a mobile phone, a computer, a server, an air conditioner, a network device, or the like) to perform the methods described in embodiments of the present invention. Aspects of the present invention are described above with reference to a flowchart and/or block diagram of a method, an apparatus (system), or a computer program product according to embodiments of the present invention. It should be understood that each block in the flowchart and/or block diagram and a combination of blocks in the flowchart and/or block diagram may be implemented by a computer program instruction. These computer program instructions may be provided for a general-purpose computer, a dedicated computer, or a processor of other programmable data processing apparatus to generate a machine, such that when these instructions are executed by the computer or the processor of the other programmable data processing apparatus, specific functions/actions are implemented in one or more blocks in the flowcharts and/or block diagrams. Such a processor may be, but is not limited to, a general-purpose processor, a special-purpose processor, an application-specific processor, or a field-programmable logic array. It should also be understood that each block in the block diagrams and/or flowcharts and combinations of the blocks in the block diagrams and/or flowcharts may also be implemented by a dedicated hardware-based system to execute specified functions or actions, or may be implemented by a combination of dedicated hardware and computer instructions.

Claims (15)

REIVINDICACIONES 1. Un método de visualización de imágenes, realizado por un dispositivo electrónico,caracterizado por queel método comprende:1. A method of displaying images, performed by an electronic device, characterized in that the method comprises: obtener (S102) una primera imagen, y comprendiendo la primera imagen una primera región y una segunda región dispuestas en una primera dirección; yobtaining (S102) a first image, the first image comprising a first region and a second region arranged in a first direction; and (S104) mostrar una segunda imagen si un primer tamaño de la primera imagen en la primera dirección satisface una condición predeterminada, y comprendiendo la segunda imagen la primera región y la segunda región dispuestas en una segunda dirección; donde(S104) displaying a second image if a first size of the first image in the first direction satisfies a predetermined condition, and the second image comprising the first region and the second region arranged in a second direction; where antes de visualizar (S104) una segunda imagen, el método comprende además:Before displaying (S104) a second image, the method further comprises: dividir la primera imagen en al menos dos subimágenes, comprendiendo las al menos dos subimágenes una primera subimagen y una segunda subimagen, comprendiendo la primera subimagen la primera región, comprendiendo la segunda subimagen la segunda región y siendo un tamaño de cada una de las subimágenes en la primera dirección menor que el primer tamaño; ydividing the first image into at least two subimages, the at least two subimages comprising a first subimage and a second subimage, the first subimage comprising the first region, the second subimage comprising the second region, and a size of each of the subimages in the first direction being smaller than the first size; and usar las al menos dos subimágenes como la segunda imagen; o empalmar las al menos dos subimágenes en la segunda dirección para obtener la segunda imagen.use at least two subimages as the second image; or splice at least two subimages in the second direction to obtain the second image. 2. El método según la reivindicación 1,caracterizado por quela visualización (S104) de una segunda imagen comprende:2. The method according to claim 1, characterized in that the display (S104) of a second image comprises: visualizar la segunda imagen en una pantalla objetivo, y estando al menos una dirección de la pantalla objetivo cubierta por la segunda imagen.displaying the second image on a target display, and at least one direction of the target display being covered by the second image. 3. El método según la reivindicación 1,caracterizado por quela división de la primera imagen en al menos dos subimágenes comprende:3. The method according to claim 1, characterized in that the division of the first image into at least two sub-images comprises: determinar, basándose en el primer tamaño, una cantidad N de subimágenes que van a obtenerse a partir de la división, donde N es un número entero positivo;determining, based on the first size, a quantity N of sub-images to be obtained from the division, where N is a positive integer; determinar una posición de división objetivo basándose en la cantidad N de las subimágenes y el primer tamaño; ydetermine a target split position based on the number N of sub-images and the first size; and dividir la primera imagen en la posición de división objetivo.split the first image at the target split position. 4. El método según la reivindicación 3,caracterizado por quedeterminar una posición de división objetivo en función de la cantidad N de las subimágenes y del primer tamaño comprende:4. The method according to claim 3, characterized in that determining a target split position based on the quantity N of the sub-images and the first size comprises: determinar una posición de división igual N de la primera imagen en la primera dirección basándose en la cantidad N de las subimágenes y el primer tamaño, y usar la posición de división igual N como posición de división de referencia; ydetermining an equal split position N of the first image in the first direction based on the number N of the subimages and the first size, and using the equal split position N as the reference split position; and en un caso en el que hay texto en la posición de división de referencia, obtener una posición de espacio de texto adyacente al texto y utilizar la posición de espacio de texto como la posición de división objetivo; o determinar una posición de división objetivo en función de la cantidad N de las subimágenes y del primer tamaño comprende:In a case where there is text at the reference split position, obtaining a text space position adjacent to the text and using the text space position as the target split position; or determining a target split position based on the number N of sub-images and the first size comprises: identificar separadores en la primera imagen;identify separators in the first image; determinar una posición de división igual N de la primera imagen en la primera dirección basándose en la cantidad N de las subimágenes y el primer tamaño, y usar la posición de división igual N como posición de división de referencia; ydetermining an equal split position N of the first image in the first direction based on the number N of the subimages and the first size, and using the equal split position N as the reference split position; and en caso de que haya un separador cuya distancia desde la posición de división de referencia sea menor que un primer umbral predeterminado, utilizar una ubicación del separador como la posición de división objetivo.If there is a separator whose distance from the reference split position is less than a first predetermined threshold, use a location of the separator as the target split position. 5. El método según la reivindicación 3,caracterizado por quela determinación, a partir del primer tamaño, de una cantidad N de subimágenes que se obtendrán a partir de la división comprende:5. The method according to claim 3, characterized in that the determination, from the first size, of a quantity N of sub-images to be obtained from the division comprises: calcular un segundo cociente del primer tamaño y un tamaño de la pantalla objetivo en la primera dirección; y usar un valor obtenido redondeando el segundo cociente como la cantidad N de las subimágenes.calculating a second quotient of the first size and a target screen size in the first direction; and using a value obtained by rounding the second quotient as the number N of sub-images. 6. El método según la reivindicación 1,caracterizado por queantes de visualizar (S104) una segunda imagen, el método comprende además:6. The method according to claim 1, characterized in that before displaying (S104) a second image, the method further comprises: dividir la primera imagen en al menos dos subimágenes basándose en una cantidad preestablecida M de divisiones, comprendiendo las al menos dos subimágenes una primera subimagen y una segunda subimagen, comprendiendo la primera subimagen la primera región, comprendiendo la segunda subimagen la segunda región, siendo un tamaño de cada una de las subimágenes en la primera dirección menor que el primer tamaño, y siendo M un entero positivo;dividing the first image into at least two sub-images based on a preset number M of divisions, the at least two sub-images comprising a first sub-image and a second sub-image, the first sub-image comprising the first region, the second sub-image comprising the second region, a size of each of the sub-images in the first direction being smaller than the first size, and M being a positive integer; disponer las al menos dos subimágenes en la segunda dirección;arrange the at least two sub-images in the second direction; sintetizar las al menos dos subimágenes basándose en las al menos dos subimágenes dispuestas, para obtener una imagen sintetizada; ysynthesizing the at least two subimages based on the at least two arranged subimages, to obtain a synthesized image; and actualizar un valor de M en el caso de que un tamaño de la imagen sintetizada en la primera dirección satisfaga la condición predeterminada, establecer M = M K, siendo K un número entero positivo, y volver a dividir la primera imagen hasta que el tamaño de la imagen sintetizada no satisfaga la condición predeterminada.updating a value of M in the case that a size of the synthesized image in the first direction satisfies the predetermined condition, setting M = M K, where K is a positive integer, and dividing the first image again until the size of the synthesized image no longer satisfies the predetermined condition. 7. El método según la reivindicación 6,caracterizado por quela división de la primera imagen en al menos dos subimágenes comprende:7. The method according to claim 6, characterized in that the division of the first image into at least two sub-images comprises: identificar una pluralidad de líneas o columnas de texto en la primera imagen; y dividir la primera imagen en las al menos dos subimágenes según la pluralidad de líneas o columnas de texto, donde cada una de las subimágenes comprende al menos una línea o una columna de fragmento de texto; yIdentifying a plurality of lines or columns of text in the first image; and dividing the first image into the at least two subimages according to the plurality of lines or columns of text, where each of the subimages comprises at least one line or one column of text fragment; and disponer las al menos dos subimágenes en la segunda dirección, comprende:arranging the at least two sub-images in the second direction, comprises: disponer, en la segunda dirección, subimágenes que corresponden respectivamente a la pluralidad de líneas de texto en base a un orden de línea del texto en la primera imagen; y para una pluralidad de fragmentos de texto en una misma línea, disponer subimágenes que corresponden respectivamente a la pluralidad de fragmentos de texto en base a un orden de la pluralidad de fragmentos de texto en la misma línea; o, disponer, en la segunda dirección, subimágenes que corresponden respectivamente a la pluralidad de columnas de texto en función de un orden de columnas del texto en la primera imagen; y para una pluralidad de fragmentos de texto en una misma columna, disponer subimágenes que corresponden respectivamente a la pluralidad de fragmentos de texto en función de un orden de la pluralidad de fragmentos de texto en la misma columna.arranging, in the second direction, subimages respectively corresponding to the plurality of lines of text based on a line order of the text in the first image; and for a plurality of text fragments in the same line, arranging subimages respectively corresponding to the plurality of text fragments based on an order of the plurality of text fragments in the same line; or, arranging, in the second direction, subimages respectively corresponding to the plurality of columns of text based on a column order of the text in the first image; and for a plurality of text fragments in the same column, arranging subimages respectively corresponding to the plurality of text fragments based on an order of the plurality of text fragments in the same column. 8. El método según la reivindicación 1,caracterizado por que, que el primer tamaño satisfaga la condición predeterminada comprende: que el primer tamaño sea mayor que un umbral predeterminado, o que un cociente del primer tamaño y un segundo tamaño de la primera imagen en la segunda dirección sea mayor que un segundo umbral predeterminado.8. The method according to claim 1, characterized in that the first size satisfies the predetermined condition comprises: the first size being greater than a predetermined threshold, or a quotient of the first size and a second size of the first image in the second direction being greater than a second predetermined threshold. 9. Un aparato de visualización de imágenes (200), realizado por un dispositivo electrónico,caracterizado por queel aparato (200) comprende:9. An image display apparatus (200), made by an electronic device, characterized in that the apparatus (200) comprises: un primer módulo de obtención de imágenes (202), configurado para obtener una primera imagen, y comprendiendo la primera imagen una primera región y una segunda región dispuestas en una primera dirección; ya first imaging module (202), configured to obtain a first image, and the first image comprising a first region and a second region arranged in a first direction; and un primer módulo de visualización de imágenes (204), configurado para visualizar una segunda imagen si un primer tamaño de la primera imagen en la primera dirección satisface una condición predeterminada, y comprendiendo la segunda imagen la primera región y la segunda región dispuestas en una segunda dirección; en el que el aparato (200) comprende además:a first image display module (204), configured to display a second image if a first size of the first image in the first direction satisfies a predetermined condition, and the second image comprising the first region and the second region arranged in a second direction; wherein the apparatus (200) further comprises: un primer módulo de división de imágenes, configurado para dividir la primera imagen en al menos dos subimágenes, comprendiendo las al menos dos subimágenes una primera subimagen y una segunda subimagen, comprendiendo la primera subimagen la primera región, comprendiendo la segunda subimagen la segunda región y siendo un tamaño de cada una de las subimágenes en la primera dirección menor que el primer tamaño; ya first image division module, configured to divide the first image into at least two sub-images, the at least two sub-images comprising a first sub-image and a second sub-image, the first sub-image comprising the first region, the second sub-image comprising the second region, and a size of each of the sub-images in the first direction being smaller than the first size; and un módulo de determinación de imagen, configurado para usar las al menos dos subimágenes como la segunda imagen; o empalmar las al menos dos subimágenes en la segunda dirección para obtener la segunda imagen.an image determination module, configured to use the at least two subimages as the second image; or splice the at least two subimages in the second direction to obtain the second image. 10. El aparato (200) según la reivindicación 9,caracterizado por queel primer módulo de división de imágenes comprende:10. The apparatus (200) according to claim 9, characterized in that the first image division module comprises: un módulo de determinación de la cantidad de divisiones, configurado para determinar, en base al primer tamaño, una cantidad N de subimágenes que se obtendrán a partir de la división, donde N es un entero positivo; un primer módulo de determinación de posición objetivo, configurado para determinar una posición de división objetivo basándose en la cantidad N de las subimágenes y el primer tamaño; ya division quantity determining module, configured to determine, based on the first size, a number N of sub-images to be obtained from the division, where N is a positive integer; a first target position determining module, configured to determine a target division position based on the number N of the sub-images and the first size; and un primer submódulo de división, configurado para dividir la primera imagen en la posición de división objetivo.a first splitting sub-module, configured to split the first image at the target splitting position. 11. El aparato (200) según la reivindicación 10, en el que el primer módulo de determinación de posición objetivo comprende:11. The apparatus (200) according to claim 10, wherein the first target position determining module comprises: un primer módulo de determinación de posición de referencia, configurado para determinar una posición de división igual N de la primera imagen en la primera dirección basándose en la cantidad N de las subimágenes y el tamaño de la primera dirección, y usar la posición de división igual N como una posición de división de referencia; ya first reference position determining module, configured to determine an equal division position N of the first image in the first direction based on the number N of the sub-images and the size of the first direction, and use the equal division position N as a reference division position; and un primer módulo de determinación de posición dividida, configurado para: en un caso en que hay texto en la posición de división de referencia, obtener una posición de espacio de texto adyacente al texto y usar la posición de espacio de texto como la posición de división objetivo; oa first split position determination module, configured to: in a case where there is text at the reference split position, obtain a text space position adjacent to the text and use the text space position as the target split position; or el primer módulo de determinación de posición objetivo comprende:The first target position determination module comprises: un módulo de identificación de separadores, configurado para identificar separadores en la primera imagen; un segundo módulo de determinación de posición de referencia, configurado para determinar una posición de división igual N de la primera imagen en la primera dirección basándose en la cantidad N de las subimágenes y el primer tamaño, y usar la posición de división igual N como una posición de división de referencia; ya separator identification module, configured to identify separators in the first image; a second reference position determination module, configured to determine an equal split position N of the first image in the first direction based on the number N of the sub-images and the first size, and use the equal split position N as a reference split position; and un segundo módulo de determinación de posición dividida, configurado para: en el caso de que haya un separador cuya distancia desde la posición de división de referencia sea menor que un primer umbral predeterminado, usar una ubicación del separador como la posición de división objetivo.a second split position determination module, configured to: in the case that there is a separator whose distance from the reference split position is less than a first predetermined threshold, use a location of the separator as the target split position. 12. El aparato (200) según la reivindicación 10, en el que el módulo de determinación de la cantidad de divisiones comprende:12. The apparatus (200) according to claim 10, wherein the division quantity determining module comprises: un módulo de cálculo de cocientes, configurado para calcular un segundo cociente del primer tamaño y un tamaño de la pantalla objetivo en la primera dirección; ya quotient calculation module, configured to calculate a second quotient of the first size and a target screen size in the first direction; and un módulo de redondeo de cocientes, configurado para usar un valor obtenido redondeando el segundo cociente como la cantidad N de las subimágenes.a quotient rounding module, configured to use a value obtained by rounding the second quotient as the quantity N of the sub-images. 13. El aparato (200) según la reivindicación 10,caracterizado por queel aparato (200) comprende además: un segundo módulo de división de imágenes, configurado para dividir la primera imagen en al menos dos subimágenes basándose en una cantidad preestablecida M de divisiones, comprendiendo las al menos dos subimágenes una primera subimagen y una segunda subimagen, comprendiendo la primera subimagen la primera región, comprendiendo la segunda subimagen la segunda región, siendo un tamaño de cada una de las subimágenes en la primera dirección menor que el primer tamaño, y siendo M un entero positivo;13. The apparatus (200) according to claim 10, characterized in that the apparatus (200) further comprises: a second image division module, configured to divide the first image into at least two sub-images based on a preset number M of divisions, the at least two sub-images comprising a first sub-image and a second sub-image, the first sub-image comprising the first region, the second sub-image comprising the second region, a size of each of the sub-images in the first direction being smaller than the first size, and M being a positive integer; un módulo de disposición de subimágenes, configurado para disponer las al menos dos subimágenes en la segunda dirección;a sub-image arrangement module, configured to arrange the at least two sub-images in the second direction; un módulo de síntesis de imágenes, configurado para sintetizar las al menos dos subimágenes basándose en las al menos dos subimágenes dispuestas, para obtener una imagen sintetizada; yan image synthesis module, configured to synthesize the at least two sub-images based on the at least two arranged sub-images, to obtain a synthesized image; and un módulo para volver a dividir, configurado para actualizar un valor de M en el caso de que un tamaño de la imagen sintetizada en la primera dirección satisfaga la condición predeterminada, establecer M=M+K, siendo K un número entero positivo, y volver a dividir la primera imagen hasta que el tamaño de la imagen sintetizada no satisfaga la condición predeterminada.a module for re-dividing, configured to update a value of M in the case that a size of the synthesized image in the first direction satisfies the predetermined condition, set M=M+K, where K is a positive integer, and re-divide the first image until the size of the synthesized image does not satisfy the predetermined condition. 14. Un dispositivo electrónico (300),caracterizado por quecomprende: un procesador (310), una memoria (309) y un programa informático almacenado en la memoria (309) y ejecutable en el procesador (310), en el que cuando el programa informático es ejecutado por el procesador (310), se implementan las etapas del método de visualización de imágenes según una cualquiera de las reivindicaciones 1 a 8.14. An electronic device (300), characterized in that it comprises: a processor (310), a memory (309) and a computer program stored in the memory (309) and executable in the processor (310), wherein when the computer program is executed by the processor (310), the steps of the image display method according to any one of claims 1 to 8 are implemented. 15. Un medio de almacenamiento legible por ordenador,caracterizado por queel medio de almacenamiento legible por ordenador almacena un programa informático, y cuando el programa informático es ejecutado por un procesador (310), se implementan etapas del método de visualización de imágenes según una cualquiera de las reivindicaciones 1 a 8.15. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor (310), steps of the image display method according to any one of claims 1 to 8 are implemented.
ES20883100T 2019-10-29 2020-10-23 Picture display method and apparatus, electronic device, and medium Active ES3018144T3 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201911039400.2A CN110865859B (en) 2019-10-29 2019-10-29 Image display method, device, electronic device and medium
PCT/CN2020/123341 WO2021083057A1 (en) 2019-10-29 2020-10-23 Picture display method and apparatus, electronic device, and medium

Publications (1)

Publication Number Publication Date
ES3018144T3 true ES3018144T3 (en) 2025-05-14

Family

ID=69654207

Family Applications (1)

Application Number Title Priority Date Filing Date
ES20883100T Active ES3018144T3 (en) 2019-10-29 2020-10-23 Picture display method and apparatus, electronic device, and medium

Country Status (5)

Country Link
US (1) US12032975B2 (en)
EP (1) EP4053697B1 (en)
CN (1) CN110865859B (en)
ES (1) ES3018144T3 (en)
WO (1) WO2021083057A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110865859B (en) * 2019-10-29 2021-10-22 维沃移动通信有限公司 Image display method, device, electronic device and medium

Family Cites Families (36)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7640516B2 (en) * 2003-09-30 2009-12-29 Hewlett-Packard Development Company, L.P. Arranging graphic objects on pages
US7788579B2 (en) * 2006-03-06 2010-08-31 Ricoh Co., Ltd. Automated document layout design
JP5198883B2 (en) * 2008-01-16 2013-05-15 富士フイルム株式会社 Tumor area size measuring method, apparatus and program
US8261186B2 (en) * 2009-01-02 2012-09-04 Apple Inc. Methods for efficient cluster analysis
US9152292B2 (en) * 2009-02-05 2015-10-06 Hewlett-Packard Development Company, L.P. Image collage authoring
JP5388683B2 (en) * 2009-05-12 2014-01-15 キヤノン株式会社 Image arrangement apparatus, image arrangement method, program, and storage medium
JP5312277B2 (en) * 2009-09-29 2013-10-09 シャープ株式会社 Image processing apparatus and image processing method
JP2011242821A (en) * 2010-05-14 2011-12-01 Sony Corp Information processing apparatus and method, and program
US9348801B2 (en) * 2010-08-10 2016-05-24 HP Brasil LTDA System and method for automatic page layout
JP5585886B2 (en) * 2011-07-13 2014-09-10 コニカミノルタ株式会社 Printing instruction apparatus and printing instruction program
US9396167B2 (en) * 2011-07-21 2016-07-19 Flipboard, Inc. Template-based page layout for hosted social magazines
CN102890827B (en) * 2011-10-09 2015-05-13 北京多看科技有限公司 Method for resetting scanned document
CN102567300B (en) * 2011-12-29 2013-11-27 方正国际软件有限公司 Picture document processing method and device
US9460089B1 (en) * 2012-11-07 2016-10-04 Amazon Technologies, Inc. Flow rendering of annotation characters
JP5312701B1 (en) * 2013-02-08 2013-10-09 三三株式会社 Business card management server, business card image acquisition device, business card management method, business card image acquisition method, and program
US9330070B2 (en) * 2013-03-11 2016-05-03 Microsoft Technology Licensing, Llc Detection and reconstruction of east asian layout features in a fixed format document
US9626708B2 (en) * 2013-04-15 2017-04-18 Thirty-One Gifts Llc Photographic mementos
JP6311360B2 (en) * 2014-03-06 2018-04-18 ブラザー工業株式会社 Image processing device
JP6344064B2 (en) * 2014-05-30 2018-06-20 ブラザー工業株式会社 Image processing apparatus and computer program
WO2017012111A1 (en) * 2015-07-23 2017-01-26 Hewlett-Packard Development Company, L.P. Presenting display data on a text display
US10353986B2 (en) * 2015-08-02 2019-07-16 Apple Inc. Automatically dividing text into multiple columns
JP6105179B1 (en) * 2016-06-30 2017-03-29 楽天株式会社 Image processing apparatus, image processing method, and image processing program
US10261667B2 (en) * 2016-09-23 2019-04-16 Apple Inc. Dynamic function row item discovery and context
CN106775301A (en) * 2016-11-29 2017-05-31 珠海市魅族科技有限公司 The screenshot method and terminal device of a kind of terminal
CN106603838A (en) * 2016-12-06 2017-04-26 深圳市金立通信设备有限公司 Image processing method and terminal
CN106649639A (en) * 2016-12-08 2017-05-10 珠海市魅族科技有限公司 Page display method and device
US10783320B2 (en) * 2017-05-16 2020-09-22 Apple Inc. Device, method, and graphical user interface for editing screenshot images
CN109388726A (en) * 2017-08-11 2019-02-26 车伯乐(北京)信息科技有限公司 A kind of image display method, device, equipment and computer-readable medium
CN107608606A (en) * 2017-10-18 2018-01-19 维沃移动通信有限公司 A kind of image display method, mobile terminal and computer-readable recording medium
CN107741816A (en) * 2017-10-27 2018-02-27 咪咕动漫有限公司 Image information processing method, device and storage medium
US10459670B2 (en) * 2018-01-15 2019-10-29 Lucid Dream Software, Inc. Methods, systems, apparatuses and devices for facilitating printing of a digital image based on image splitting
CN108460769B (en) * 2018-03-12 2019-12-13 北京达佳互联信息技术有限公司 image processing method and terminal equipment
KR102637732B1 (en) * 2018-09-21 2024-02-19 삼성전자주식회사 Image signal processor, method of operating the image signal processor, and application processor including the image signal processor
CN109544455B (en) * 2018-11-22 2023-05-02 重庆市勘测院 A method for seamless fusion of ultra-long high-definition real-scene scrolls
WO2021018082A1 (en) * 2019-07-26 2021-02-04 Beijing Bytedance Network Technology Co., Ltd. Determination of picture partition mode based on block size
CN110865859B (en) * 2019-10-29 2021-10-22 维沃移动通信有限公司 Image display method, device, electronic device and medium

Also Published As

Publication number Publication date
EP4053697B1 (en) 2025-03-19
US20220300704A1 (en) 2022-09-22
US12032975B2 (en) 2024-07-09
CN110865859B (en) 2021-10-22
CN110865859A (en) 2020-03-06
EP4053697A1 (en) 2022-09-07
WO2021083057A1 (en) 2021-05-06
EP4053697A4 (en) 2022-12-28

Similar Documents

Publication Publication Date Title
US10521111B2 (en) Electronic apparatus and method for displaying a plurality of images in a plurality of areas of a display
US11930268B2 (en) Shooting method and terminal device
ES3016743T3 (en) Interface display method and terminal
CN109725683B (en) A program display control method and a folding screen terminal
ES3026685T3 (en) Information display method and terminal
ES3028792T3 (en) Screenshot method and terminal device
ES3030124T3 (en) Object processing method and terminal device
WO2021104321A1 (en) Image display method and electronic device
ES2910058T3 (en) Image display method and mobile terminal
CN107704185B (en) Split screen desktop display method, terminal and computer readable storage medium
US20200341623A1 (en) Image display method and mobile terminal
CN108509122B (en) Image sharing method and terminal
ES3035161T3 (en) Display interface processing method and mobile terminal
ES2936630T3 (en) Presentation method and mobile terminal
CN109948581B (en) Image-text rendering method, device, equipment and readable storage medium
ES2988916T3 (en) Interface and terminal display method
EP2800025B1 (en) Portable terminal and method for protecting a displayed object
ES2994261T3 (en) Photographing method and terminal
CN111064848B (en) Picture display method and electronic equipment
WO2022134632A1 (en) Work processing method and apparatus
US11669237B2 (en) Operation method and terminal device
WO2020125405A1 (en) Control method for terminal apparatus, and terminal apparatus
ES3015736T3 (en) Dialing method and mobile terminal
ES3018144T3 (en) Picture display method and apparatus, electronic device, and medium
CN110780795A (en) Screen capturing method and electronic equipment