Disclosure of Invention
The technical problem to be solved by the invention is as follows: the method for processing the pictures on the digital television terminal is provided, and a user can edit the pictures through the digital television terminal by using the method.
The method for processing the picture on the digital television terminal provided by the embodiment of the invention comprises the following steps:
displaying the pictures in the picture storage unit on a screen of the digital television terminal, and selecting the pictures selected by a user from the pictures displayed on the screen as pictures to be edited according to the selection operation of the user;
displaying an editing interface in a screen, displaying the picture to be edited in the editing interface, and simultaneously displaying an editable option sequence, wherein each option in the option sequence is preset with a plurality of preset values in the value range;
and selecting the option selected by the user from the option sequence as an option to be edited according to the selection operation of the user, and editing the picture to be edited by using the option to be edited when the picture to be edited is edited.
When the picture to be edited is edited, the picture to be edited is edited by using the option to be edited, and the method comprises the following steps:
and displaying an effect graph of the picture to be edited when the value of the option to be edited is equal to each preset value in an editing interface in a thumbnail mode according to the preset value of the option to be edited.
When the picture to be edited is edited, the picture to be edited is edited by using the option to be edited, and the method further includes:
selecting operation is carried out in the thumbnail;
displaying the effect graph corresponding to the thumbnail selected by the selection operation in the editing interface,
when the effect graph confirming operation of a user is detected, saving the effect graph corresponding to the effect graph confirming operation, setting the value of the option to be edited of the picture to be edited as the preset value corresponding to the effect graph, finishing the editing of the option and returning to an editing interface;
and when the return operation of the user is received, finishing the editing of the option and returning to the editing interface.
When the picture to be edited is edited, the picture to be edited is edited by using the option to be edited, and the method further comprises the following steps:
generating an edited option box in an editing interface, and recording the edited option in the edited option box;
selecting the option selected by the user from the edited option box according to the selection operation of the user as the option to be returned to the editing;
when receiving the operation of returning the edited option of the user, displaying a corresponding editing interface when the editing of the option to be returned is finished in the screen.
Wherein, before the picture in the picture storage unit is displayed on the screen of the digital television terminal, the method also comprises the following steps;
preprocessing the pictures in the picture storage unit; the pretreatment comprises the following steps: and performing format conversion on the pictures in the picture storage unit, and converting the pictures which cannot be identified and displayed by the digital television terminal into the pictures which can be identified and displayed by the digital television terminal through format conversion.
The preset values of the options in the value range comprise a first gradient preset value and a second gradient preset value;
when the effect graph confirming operation of the user is detected, saving the effect graph corresponding to the effect graph confirming operation, and setting the value of the option to be edited of the picture to be edited as the preset value corresponding to the effect graph, including: an effect diagram initial selection confirmation operation and an effect diagram fine adjustment confirmation operation after the effect diagram initial selection confirmation operation;
in the operation of confirming the initial selection of the effect graph, the preset value is a first gradient preset value;
in the effect map fine adjustment confirmation operation, the preset value is a preset value of the second gradient.
On the other hand, an embodiment of the present invention further provides a digital television terminal, where the digital television terminal includes:
the picture storage unit is used for storing pictures;
the first selection module is used for displaying the pictures in the picture storage unit on a screen of the digital television terminal and selecting the pictures selected by the user from the pictures displayed on the screen as the pictures to be edited according to the selection operation of the user;
the first display module is used for displaying an editing interface in a screen, displaying the picture to be edited in the editing interface and simultaneously displaying an editable option sequence; each option in the option sequence is preset with a plurality of preset values in the value range;
and the editing module is used for selecting the option selected by the user from the option sequence as the option to be edited according to the selection operation of the user, and when the picture to be edited is edited, the picture to be edited is edited by using the option to be edited.
Wherein, the editing module comprises:
and the first display unit is used for displaying the effect graph of the picture to be edited when the value of the option to be edited is equal to each preset value in an editing interface in a thumbnail mode according to the preset value of the option to be edited.
Wherein, the editing module further comprises:
a first selection unit configured to perform a selection operation in the thumbnail;
a second display unit, configured to display an effect graph corresponding to the thumbnail selected by the selection operation of the first selection unit in an editing interface,
an option editing unit: the method comprises the steps that when the effect graph confirmation operation of a user is detected, the effect graph corresponding to the effect graph confirmation operation is stored, the value of an option to be edited of the picture to be edited is set as a preset value corresponding to the effect graph, the option is edited, and the user returns to an editing interface; and when the return operation of the user is received, finishing the editing of the option and returning to the editing interface.
Wherein, the editing module further comprises:
the history editing unit is used for generating an edited option box in an editing interface and recording the edited option in the edited option box; selecting the option selected by the user from the edited option box according to the selection operation of the user as the option to be returned to the editing; when receiving the operation of returning the edited option of the user, displaying a corresponding editing interface when the editing of the option to be returned is finished in the screen.
Wherein, the digital television terminal further comprises:
the preprocessing module is used for preprocessing the pictures in the picture storage unit before the pictures in the picture storage unit are displayed on a screen of the digital television terminal, and the preprocessing comprises the following steps: and performing format conversion on the pictures in the picture storage unit, and converting the pictures which cannot be identified and displayed by the digital television terminal into the pictures which can be identified and displayed by the digital television terminal through format conversion.
And the preset values of the options in the value range comprise a first gradient preset value and a second gradient preset value.
The invention has the following beneficial effects:
the picture processing method provided by the invention can realize effective editing of the picture on the digital television terminal, so that the digital television terminal can be used for browsing the picture and editing the picture. The practicability and the functions of the digital television terminal are enriched, and the user experience is improved.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example 1
Referring to fig. 1, it is a flowchart of a method for processing pictures according to a first embodiment of the present invention, including the following steps:
s101, displaying the pictures in the picture storage unit on a screen of the digital television terminal, and selecting the pictures selected by a user from the pictures displayed on the screen as pictures to be edited according to the selection operation of the user;
preferably, before displaying the picture in the picture storage unit on the screen of the digital television terminal, the method further comprises: preprocessing the pictures in the picture storage unit; the pretreatment comprises the following steps: and performing format conversion on the pictures in the picture storage unit, and converting the pictures which cannot be identified and displayed by the digital television terminal into the pictures which can be identified and displayed by the digital television terminal through format conversion. For example, files in RAW format or CR2 format photographed by an slr digital camera are processed and converted into JPEG format recognizable by a digital television terminal.
When browsing pictures through a digital television terminal, the pictures may have different aspect ratios due to different sources of the pictures, for example, the aspect ratio of the pictures may be 4:3, 16:10, or 16: 9. Whereas existing digital television terminals commonly employ an aspect ratio of 16: 9. When a picture is displayed on the screen of the digital television terminal in a full screen, due to different aspect ratios, the edge of the screen may appear as a black border, as shown in area a in fig. 3.
The preprocessing of the picture can also comprise adjusting the display area of the picture, specifically, zooming the picture with the aspect ratio different from that of the screen of the digital television terminal until the screen of the digital television terminal is completely covered by the zoomed picture; and adjusting the position of the zoomed picture to enable the zoomed picture to be displayed in the middle on the screen of the digital television terminal, and saving the area of the picture displayed on the screen of the digital television terminal at the moment as the display area of the preprocessed picture, as shown by an area B in fig. 4.
The preprocessed pictures are displayed on the screen of the digital television terminal in a thumbnail mode, and as shown in fig. 2, the user selects a picture in the second row and the second column from the pictures on the screen as a picture to be edited. Specifically, the user can perform a selection operation using a button on the remote controller; when the display screen of the digital television terminal is a touch screen, the display screen can be directly operated to perform selection operation.
S102, displaying an editing interface in a screen, displaying the picture to be edited in the editing interface, and simultaneously displaying an editable option sequence, wherein each option in the option sequence is preset with a plurality of preset values in the value range;
as shown in fig. 5, the editing interface fills the whole screen, the picture to be edited is displayed in the editing interface in full screen, and an editable option sequence is displayed in the editing interface, where the option sequence shown in fig. 5 includes 4 options: rotation, exposure, toning and perspective.
Each option is preset with a plurality of preset values in the value range. For example, 12 values of rotation may be preset, and correspond to clockwise rotation of 30 degrees, clockwise rotation of 60 degrees, clockwise rotation of 90 degrees, clockwise rotation of 120 degrees, clockwise rotation of 150 degrees, clockwise rotation of 180 degrees, counterclockwise rotation of 30 degrees, counterclockwise rotation of 60 degrees, counterclockwise rotation of 90 degrees, counterclockwise rotation of 120 degrees, counterclockwise rotation of 150 degrees, and counterclockwise rotation of 180 degrees, respectively. Of course, other values may be preset. Of course, the preset values may also include two gradients, for example, the value of the first gradient of the rotation value is as described above, and the value of the second gradient is a fine adjustment value around the preset value of the selected first gradient, for example, when the effect diagram corresponding to 30 degrees clockwise rotation is selected, the preset values further include 9 second gradient values relative to 30 degrees, which are respectively: 31 degrees clockwise, 32 degrees clockwise, 33 degrees clockwise, 34 degrees clockwise, 35 degrees clockwise, 36 degrees clockwise, 37 degrees clockwise, 38 degrees clockwise, 39 degrees clockwise.
S103, selecting the option selected by the user from the option sequence as an option to be edited according to the selection operation of the user, and editing the picture to be edited by using the option to be edited when the picture to be edited is edited.
Specifically, for example, when the user wants to edit the attribute value of the "exposure" option of the picture to be edited, selecting "exposure" as the option to be edited in the editing interface shown in fig. 5, and displaying, in the form of a thumbnail, an effect diagram when the value of the option to be edited of the picture to be edited is equal to each preset value according to the preset value of the option to be edited on the editing interface. For example, when the "exposure" option is selected, assuming that the exposure value of the picture to be edited is a, the preset values of the preset exposure options include 10, which are respectively 10%, 20%, 30%, 40%, 50%, 60%, 70%, 80%, 90%, and 100% of the exposure value a of the picture to be edited, and when the thumbnail of the effect map corresponding to the preset value is not completely displayed in the display screen, the user can browse in a manner of setting left and right keys and the like.
Selecting operation is carried out in the thumbnails of the effect graphs; displaying the effect graph corresponding to the thumbnail selected by the selection operation in the editing interface, for example, selecting the 3 rd thumbnail from the thumbnails from the left, where the preset value of the exposure option corresponding to the 3 rd thumbnail is 30% of the exposure value of the picture to be edited, displaying the effect graph corresponding to the third thumbnail in the editing interface in full screen, as shown in fig. 6, and displaying the name of the current editing option in the upper left corner of the editing interface: "exposure", and the percentage of the exposure value of the picture to be edited for the value of the exposure option corresponding to the effect map: "30%". When the effect diagram confirming operation of the user is detected, for example, the user clicks a confirming key in a remote controller, the editing of the option is finished, and the user returns to the editing interface. When receiving the return operation of the user, for example, the user clicks a return key of the remote controller, the editing of the option is ended, and the user returns to the editing interface.
When the exposure option comprises preset values of two gradients, the user can open an editing interface corresponding to the preset value of the second gradient by pressing a confirmation button for a long time. For example, the third diagram in fig. 6 is selected first, and then the confirmation key of the remote controller is clicked to perform the preliminary confirmation operation on the effect diagram, where the preset value corresponding to the preliminary confirmation operation on the effect diagram is the first gradient preset value; when the user wants to fine-tune the effect map corresponding to the selected third picture, the user presses the confirm key of the remote controller for a long time, opens the interface shown in fig. 7, displays thumbnails of the effect maps with the values of the options to be edited equal to the preset values of the second gradient in the interface shown in fig. 7, and assumes that the preset values of the second gradient in fig. 7 are respectively 21%, 22%, 23%, 24%, 25%, 26%, 27%, 28%, 29%, and 30% of the exposure value a of the picture to be edited, the user selects among the thumbnails in fig. 7, clicks the confirm key on the remote controller when one of the thumbnails is selected, such as the 7 th picture from the left, the effect map corresponding to the selected thumbnail is displayed in a full screen in the editing interface, and then pops up an editing success confirm window, as shown in fig. 8, if the confirm key on the remote controller is clicked, the editing of the option to be edited of the picture to be edited is set to the value of the option to be edited of the effect map corresponding to the option to be edited, returning to the editing interface, if the return key on the remote controller is clicked, returning to the editing interface shown in fig. 7, the user can re-select the thumbnail.
Specifically, as shown in the upper left of fig. 5, an edited options box is further included in the editing interface, and the edited options are recorded in the edited options box; when the user selects one option from the edited option box, the option is the option to be returned to be edited, a return key on the remote controller is clicked, the return history state key in fig. 5 is activated, and then the corresponding editing interface when the editing of the option to be returned to be edited is finished is displayed in the screen. And continuing to perform the selection operation on the returned editing interface until the editing is completed. And after the editing is finished, clicking a return key of the remote controller, and displaying the interface shown in the figure 2 in the screen. The editing of the picture to be edited is finished, and other pictures displayed in fig. 2 may be edited.
Example 2
Fig. 9 is a schematic structural diagram of a digital television terminal 2 according to a second embodiment of the present invention. The digital television terminal 2 includes: a picture storage unit 20, a first selection module 21, a first display module 22 and an editing module 23. The picture storage unit 20 is used for storing pictures; and the first selection module 21 is configured to display the pictures in the picture storage unit on a screen of the digital television terminal, and select a picture selected by the user from the pictures displayed on the screen as a picture to be edited according to a selection operation of the user. The first display module 2 is used for displaying an editing interface in a screen, displaying the picture to be edited in the editing interface and simultaneously displaying an editable option sequence; each option in the option sequence is preset with a plurality of preset values in the value range. The editing module 23 is configured to select, according to the selection operation of the user, an option selected by the user from an option sequence as an option to be edited, and when the picture to be edited is edited, edit the picture to be edited by using the option to be edited.
Specifically, the editing module includes: and the first display unit is used for displaying the effect graph of the picture to be edited when the value of the option to be edited is equal to each preset value in an editing interface in a thumbnail mode according to the preset value of the option to be edited.
Specifically, the editing module further comprises a first selection unit, a second display unit and an option editing unit; wherein,
a first selection unit configured to perform a selection operation in the thumbnail;
a second display unit, configured to display an effect graph corresponding to the thumbnail selected by the selection operation of the first selection unit in an editing interface,
the option editing unit is used for storing the effect diagram corresponding to the effect diagram confirmation operation when the effect diagram confirmation operation of the user is detected, setting the value of the option to be edited of the picture to be edited as the preset value corresponding to the effect diagram, ending the editing of the option, returning to an editing interface, and continuing to edit other options or ending the editing of the picture to be edited; and when the return operation of the user is received, finishing the editing of the option and returning to the editing interface.
The editing module may further include a history editing unit, configured to generate an edited option box in an editing interface, and record an edited option in the edited option box; selecting the option selected by the user from the edited option box according to the selection operation of the user as the option to be returned to the editing; when receiving the operation of returning the edited option of the user, displaying a corresponding editing interface when the editing of the option to be returned is finished in the screen.
Further, the digital television terminal may further include: the preprocessing module is used for preprocessing the pictures in the picture storage unit before the pictures in the picture storage unit are displayed on a screen of the digital television terminal, and the preprocessing comprises the following steps: and performing format conversion on the pictures in the picture storage unit, and converting the pictures which cannot be identified and displayed by the digital television terminal into the pictures which can be identified and displayed by the digital television terminal through format conversion.
The preset values of the options within the value range may include a first gradient preset value and a second gradient preset value.
After an effect preview thumbnail corresponding to a selected first gradient preset value, if the option to be edited of the picture needs to be fine-tuned near the selected preset value, the selection is continuously performed in the effect preview thumbnail corresponding to the second gradient preset value.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present invention, and it is therefore to be understood that the invention is not limited by the scope of the appended claims.