Operation video editing method, electronic equipment and storage medium

By reflecting the positioning of the object and obtaining the target clips of the surgical video to be edited, the problem of low editing efficiency of surgical videos is solved and a more efficient video processing and editing experience is achieved.

CN119484734APending Publication Date: 2025-02-18NANJING MINDRAY BIO MEDICAL ELECTRONICS
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202311016645.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-08-11
Publication Date
2025-02-18

AI Technical Summary

Technical Problem

The editing efficiency of surgical videos is low, and users are prone to lag when processing large-capacity 4K surgical videos, and long-term videos make it difficult for users to quickly find the target content.

Method used

The target surgical video content reflects the object positioning the target surgical content, and determine the target time in the surgical video to be edited based on the corresponding relationship, so as to obtain the video clips associated with the target time for editing.

Benefits of technology

It reduces the capacity and duration of loading videos, avoids lag problems, improves the user's experience and target content positioning speed, and significantly improves the editing efficiency of surgical videos.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119484734A_ABST
    Figure CN119484734A_ABST
Patent Text Reader

Abstract

The operation video editing method comprises the steps that in response to a selection instruction, at least one target operation video content embodiment is determined from at least one operation video content embodiment, and each target operation video content embodiment has a corresponding relation with time in an operation video to be edited; for each target operation video content embodiment, determining a target time, and obtaining at least one fragment associated with each target time from the to-be-edited operation video; and generating and displaying an editing interface, loading the at least one segment on the editing interface, and editing the at least one segment in response to the editing instruction to obtain an edited video. The target operation content is positioned through the target operation video content embodiment, and only the segment of the to-be-edited operation video is loaded, so that the editing efficiency of the operation video is improved. The invention further provides electronic equipment and a storage medium.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of surgical videos, and in particular to a surgical video editing method, electronic equipment and storage medium. Background Art

[0002] Currently, when performing surgery in the operating room, the surgeon usually records the surgery video, and the recorded surgery video is mainly used for two purposes: 1. Editing and storing the wonderful clips in the surgery video for making presentation documents for lectures or participating in various meetings; 2. Editing the wonderful clips in the surgery video and meeting the competition requirements for participating in the competition.

[0003] However, current surgical videos are usually recorded in 4K, so their capacity is very large. Users usually process surgical videos on ordinary computers at home, which causes users to freeze and fail to operate when they need to drag the progress bar when editing and browsing surgical videos. In addition, surgical videos are usually long, so it takes users a long time to find the target content, so the editing efficiency is very low. In this regard, new technical solutions are needed. Summary of the invention

[0004] The main technical problem solved by the present invention is the low editing efficiency of surgical videos.

[0005] According to the first aspect, an embodiment provides a surgical video editing method, comprising:

[0006] In response to the selection instruction, at least one target surgical video content representation is determined from at least one surgical video content representation, each of the target surgical video content representations having a corresponding relationship with a time in the surgical video to be edited;

[0007] For each of the target surgical video content manifestations, a target time in the surgical video to be edited is determined according to the corresponding relationship, and at least one segment associated with each of the target times is obtained from the surgical video to be edited;

[0008] Generate and display an editing interface, load at least one of the clips into the editing interface, and edit at least one of the clips in response to an editing instruction to obtain an edited video.

[0009] In some embodiments, each of the surgical video content manifestations is obtained based on the recorded content at a corresponding time in the surgical video to be edited; the surgical video content manifestations include at least one of the following:

[0010] The surgical picture frames at the corresponding time in the surgical video to be edited;

[0011] A schematic diagram for illustrating the recorded content at a corresponding time in the surgical video to be edited;

[0012] The text is used to describe the recorded content at the corresponding time in the surgical video to be edited.

[0013] In some embodiments, the surgical picture frame is obtained by: receiving user input to determine a specified time in the surgical video to be edited, and obtaining the surgical picture frame from the specified time in the surgical video to be edited.

[0014] In some embodiments, the step of receiving user input to determine a specified time in the surgical video to be edited includes:

[0015] During the recording process of the surgical video to be edited, responding to the interception instruction input by the user and determining the current time of the surgical video to be edited, and using the current time as the designated time;

[0016] or,

[0017] An input time input by a user is received, and the input time is determined as the designated time.

[0018] In some embodiments, the surgical picture frame is acquired in the following manner: the surgical picture frame is acquired from the surgical video to be edited based on an acquisition condition.

[0019] In some embodiments, the acquisition condition is one of the following:

[0020] Obtaining one frame of the surgical picture from the surgical video to be edited at every time difference in the surgical video to be edited;

[0021] When the surgical picture frame in the surgical video to be edited includes newly added surgical video content, the surgical picture frame is acquired; the surgical video content includes at least one of a surgical instrument and a surgical action.

[0022] In some embodiments, obtaining at least one segment associated with each of the target times from the surgical video to be edited includes:

[0023] For each of the target time, a segment associated with the target time is captured from the surgical video to be edited.

[0024] In some embodiments, the clip is a video of a preset length in the surgical video to be edited.

[0025] In some embodiments, the preset duration is related to the duration of the surgical video to be edited;

[0026] Alternatively, in response to the adjustment instruction, the preset duration is adjusted.

[0027] In some embodiments, the fragment is one of the following:

[0028] A portion of the surgical video to be edited after the target time;

[0029] A portion of the surgical video to be edited that follows and precedes the target time;

[0030] The surgical video to be edited includes a portion of video at a target time.

[0031] In some embodiments, the surgical video content embodiment includes a surgical picture frame at a corresponding time in the surgical video to be edited, and the segment is determined based on a method of obtaining the surgical picture frame;

[0032] When receiving the user's input to determine the designated time in the surgical video to be edited, and obtaining the surgical picture frame from the designated time in the surgical video to be edited, the segment is a portion of the surgical video to be edited after or before the target time;

[0033] When the surgical picture frame is obtained from the surgical video to be edited based on the acquisition condition, the segment is a portion of the surgical video to be edited that includes the target time.

[0034] In some embodiments, obtaining at least one segment associated with each of the target times from the surgical video to be edited includes:

[0035] When there are at least two target times, determining target times at both ends in time from the at least two target times;

[0036] At least the video between the target times at both ends is captured from the surgical video to be edited and used as the segment.

[0037] In some embodiments, both the surgical video content representation and the surgical video to be edited have timestamps, and there is a corresponding relationship between the timestamp of the surgical video content representation and the timestamp in the surgical video to be edited.

[0038] In some embodiments, the duration of the surgical video to be edited is higher than a threshold duration; or, the capacity of the surgical video to be edited is higher than a threshold capacity.

[0039] According to the second aspect, an embodiment provides an electronic device, which includes a processor and a memory, the memory is used to store an executable program, and the processor is used to execute the executable program, so that the processor executes the following to implement the method described in the first aspect.

[0040] According to the third aspect, an embodiment provides a computer-readable storage medium, on which a program is stored, and the program can be executed by a processor to implement the method as described in the first aspect or described above.

[0041] According to the surgical video editing method of the above embodiment, based on the target surgical video content embodiment selected by the user, the target time in the surgical video to be edited is determined by the corresponding relationship, and the segment associated with the target time in the surgical video to be edited is obtained by the target time, and finally the segment is loaded and used for editing. Since the target surgical content is located by the target surgical video content embodiment, and only the segment of the surgical video to be edited is loaded, the capacity and duration of the loaded video can be greatly reduced, thereby avoiding the problem of freezing, greatly improving the user's sense of experience, and can increase the speed at which the user finds the target surgical content, so as to effectively improve the editing efficiency of the surgical video. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] Figure 1 A flowchart of a surgical video editing method according to an embodiment;

[0043] Figure 2 A schematic diagram of a clipping interface of an embodiment;

[0044] Figure 3 is a schematic diagram of a clipping interface of another embodiment;

[0045] Figure 4 A schematic diagram of a clipping interface of yet another embodiment;

[0046] Figure 5 A schematic diagram of a clipping interface of yet another embodiment;

[0047] Figure 6 The present invention is a flowchart of a surgical video editing method according to an embodiment. DETAILED DESCRIPTION

[0048] The present invention is further described in detail below by specific embodiments in conjunction with the accompanying drawings. Wherein similar elements in different embodiments adopt associated similar element numbers. In the following embodiments, many detailed descriptions are for making the present application better understood. However, those skilled in the art can easily recognize that some features can be omitted in different situations, or can be replaced by other elements, materials, methods. In some cases, some operations related to the present application are not shown or described in the specification, this is to avoid the core part of the present application being overwhelmed by too much description, and for those skilled in the art, it is not necessary to describe these related operations in detail, and they can fully understand the related operations according to the description in the specification and the general technical knowledge in the art.

[0049] In addition, the features, operations or characteristics described in the specification can be combined in any appropriate manner to form various implementations. At the same time, the steps or actions in the method description can also be interchanged or adjusted in a manner that is obvious to those skilled in the art. Therefore, the various sequences in the specification and the drawings are only for the purpose of clearly describing a certain embodiment and are not meant to be a required sequence, unless otherwise specified that a certain sequence must be followed.

[0050] The serial numbers of the components in this document, such as "first", "second", etc., are only used to distinguish the objects described and do not have any order or technical meaning. The "connection" and "coupling" mentioned in this application, unless otherwise specified, include direct and indirect connections (couplings).

[0051] Currently, when users are editing surgical videos, it is easy to experience freezes. For example, a two-hour 4k surgical video can have a capacity of dozens of GB. The large-capacity surgical videos not only take a long time to load, but are also prone to various problems due to freezes. And surgical videos are usually long, so when users drag the progress bar to find the target content, they not only need to spend more time waiting for loading, but it is also not easy to find the target content quickly. Therefore, not only is the user experience very poor when editing surgical videos, but it is also difficult to improve the efficiency of video editing, which leads to users usually looking for third-party companies to cooperate in editing surgical videos, which is very expensive, thereby greatly increasing the cost of video editing.

[0052] In some embodiments of the present invention, the user can determine the target surgical video content embodiment from multiple surgical video content embodiments, and the target surgical video content embodiment has a corresponding relationship with the time in the surgical video to be edited. Therefore, the target surgical content in the surgical video to be edited can be quickly located through the target surgical video content embodiment to improve the speed at which the user finds the target surgical content. Based on the target surgical video content embodiment, the target time in the surgical video to be edited is determined by the corresponding relationship, and then the clip associated with the target time in the surgical video to be edited is obtained by the target time, and finally the clip is loaded and used for editing. Since only the clip of the surgical video to be edited is loaded, the capacity and duration of the loaded video can be greatly reduced, thereby avoiding the problem of jamming, greatly improving the user's sense of experience, and effectively improving the editing efficiency of the surgical video.

[0053] Some embodiments provide a surgical video editing method, which is used to edit surgical videos to obtain the videos required by users. During the surgical video editing process, it can assist users to quickly locate the target surgical content that users are interested in from the surgical video, thereby improving the editing efficiency of the user's surgical video. Figure 1,The following is a detailed description of the surgical video editing method.

[0054] Step 100: In response to a selection instruction, at least one target surgical video content representation is determined from at least one surgical video content representation, and each of the target surgical video content representations corresponds to a time in the surgical video to be edited.

[0055] In some embodiments, surgical video content objects may be displayed on a display interface for user selection. For example, all surgical video content objects may be displayed, or part of the surgical video content objects may be displayed, and another part of the surgical video content objects may be displayed by turning pages, sliding, or other operations, or by pop-up windows. The user may generate a selection instruction by means of a mouse, a key, a touch, or voice, and thereby select at least one target surgical video content object from the displayed surgical video content objects based on the selection instruction.

[0056] In some embodiments, each surgical video content embodiment is obtained based on the recorded content at the corresponding time in the surgical video to be edited. In this embodiment, since the surgical video content embodiment can reflect the surgical content in the surgical video to be edited, it can be used to allow the user to select the surgical content that the user is interested in, so that the user does not need to slide the progress bar of the surgical video to be edited after loading the surgical video to be edited to find the surgical content that the user is interested in. Therefore, locating the surgical content of the surgical video to be edited based on the surgical video content embodiment can improve the efficiency of the user in locating the surgical content that the user is interested in.

[0057] In some embodiments, the surgical video content embodiment may include surgical picture frames at corresponding times in the surgical video to be edited. For example, during the recording process of the surgical video to be edited, or after the recording is completed, the surgical picture frames at corresponding times are directly obtained from the surgical video to be edited.

[0058] In some embodiments, the surgical video content embodiment may include a schematic diagram, which is used to illustrate the recorded content at the corresponding time in the surgical video to be edited. For example, if the recorded content includes the doctor's movements and surgical instruments during the operation, the schematic diagram may include a doctor model and a surgical instrument model, so that the schematic diagram can illustrate the recorded content through the model.

[0059] In some embodiments, the surgical video content embodiment may include text for describing the recorded content at the corresponding time in the surgical video to be edited, such as describing the doctor's movements and surgical instruments during the operation through text, so that the text can also indicate the recorded content.

[0060] In some embodiments, the surgical video content embodiment may also include a combination of surgical picture frames, schematic diagrams, and text. In some embodiments, the schematic diagrams and text may be generated based on the surgical picture frames at the corresponding time in the surgical video to be edited, or may be directly generated based on the recorded content.

[0061] In some embodiments, when obtaining a surgical picture frame corresponding to a time in a surgical video to be edited, the user's input may be received to determine a specified time in the surgical video to be edited, and then the surgical picture frame may be obtained from the specified time in the surgical video to be edited. In this embodiment, since the surgical picture frame can reflect the recorded content at the corresponding time in the surgical video to be edited and can be used by the user to locate the surgical content, it is necessary to make the surgical picture frame more accurately reflect the surgical content required by the user. By determining the specified time in the surgical video to be edited based on the user's input and obtaining the surgical picture frame at the specified time in the surgical video to be edited, the surgical picture frame can accurately reflect the surgical content required by the user, thereby improving the efficiency of the user in locating the target surgical content in the surgical video to be edited.

[0062] In some embodiments, when determining the designated time in the surgical video to be edited based on the user's input, it can be that during the recording process of the surgical video to be edited, the current time of the surgical video to be edited is determined in response to the interception instruction input by the user, and the current time is used as the designated time. For example, during the recording process of the surgical video to be edited, if the content recorded at the current time includes the surgical content required by the user, such as the doctor has a new surgical action or uses a new surgical instrument, the user can input an interception instruction, such as by buttons, voice, touch, motion recognition, etc. to generate an interception instruction, and based on the interception instruction, the current time of the surgical video to be edited during recording can be determined. In some embodiments, it can also be that the surgical video to be edited is a video after recording, and the input time input by the user is directly received, and the input time is determined as the designated time.

[0063] In some embodiments, when acquiring the surgical picture frames at the corresponding time in the surgical video to be edited, the surgical picture frames may be acquired from the surgical video to be edited based on an acquisition condition, and the acquisition condition may be preset by the user or input by the user. In this embodiment, after the acquisition condition is determined, the surgical picture frames may be quickly acquired from the surgical video to be edited according to the acquisition condition, so that the acquisition method of the surgical picture frames is changed from manual acquisition to automatic acquisition, thereby improving the acquisition efficiency of the surgical picture frames and avoiding the omission of the surgical picture frames caused by manual acquisition.

[0064] In some embodiments, the acquisition condition may be to acquire a surgical picture frame from the surgical video to be edited at a time difference in the surgical video to be edited. For example, the user may set to acquire a surgical picture frame every five minutes or ten minutes, and then acquire all surgical picture frames that meet the time interval in the surgical video to be edited based on the set time interval. The first surgical picture frame at the beginning may be the start time of the surgical video to be edited, or may be the start time specified by the user.

[0065] In some embodiments, the acquisition condition may be that when a surgical picture frame in the surgical video to be edited includes newly added surgical video content, the surgical picture frame is acquired. The surgical video content includes at least one of surgical instruments and surgical actions. The surgical instruments may include forceps, electrocoagulation hooks, suction heads, ultrasonic scalpels, living tissue forceps, etc., and the surgical actions may include grabbing or putting down surgical instruments, etc. In some embodiments, it may be determined based on image recognition technology whether new surgical instruments and surgical actions have been added. For example, it may be based on a neural network model, and then the neural network model may be trained based on a large number of training picture frames of surgical instruments and surgical actions, so that the neural network model can recognize surgical instruments and surgical actions. When the surgical instruments and surgical actions in the identified current surgical picture frame are newly added compared to the previous surgical picture frame, it can be determined that the surgical picture frame includes newly added surgical video content.

[0066] In some embodiments, both the surgical video content embodiment and the surgical video to be edited have a timestamp, which can be the time when the surgical video to be edited was recorded, such as a certain day, hour, minute, and second, or it can be the duration of the surgical video to be edited, such as a certain hour, minute, and second in the surgical video to be edited. Therefore, the surgical video content embodiment can have a corresponding relationship in time with the surgical video to be edited through the timestamp, for example, the timestamp of the surgical video content embodiment is the same as the timestamp of the corresponding surgical picture frame in the surgical video to be edited, so that there is a one-to-one correspondence in time, so that the position of the corresponding surgical content in the surgical video to be edited can be located based on the surgical video content embodiment.

[0067] In some embodiments, the duration of the surgical video to be edited is higher than a threshold duration, for example, higher than two hours. In some embodiments, the capacity of the surgical video to be edited is higher than a threshold capacity, for example, higher than 10 GB. In this embodiment, since the duration or capacity of the surgical video to be edited is low, the user can also manually and quickly locate the target surgical content. At this time, the efficiency of improving the user's positioning of the target surgical content based on the surgical video content embodiment is limited. When the duration or capacity of the surgical video to be edited reaches a certain high value, the user's manual positioning of the target surgical content will be very inefficient, while the efficiency of the user's positioning of the target surgical content based on the surgical video content embodiment can be significantly and effectively improved.

[0068] Step 200: For each of the target surgical video content manifestations, a target time in the surgical video to be edited is determined based on the corresponding relationship, and at least one segment associated with each of the target times is obtained from the surgical video to be edited.

[0069] In this embodiment, based on each target surgical video content embodiment selected by the user, each target time in the surgical video to be edited can be determined by the corresponding relationship, and then at least one associated segment is obtained from the surgical video to be edited based on each target time. In some embodiments, for each target time, a segment associated with the target time is intercepted from the surgical video to be edited. At this time, the user can select the target surgical video content embodiments one by one and edit the associated segments one by one. The user can also select multiple target surgical video content embodiments at one time and edit the associated multiple segments together.

[0070] In some embodiments, the associated segment may be a portion of the video following the target time in the surgical video to be edited, and the portion of the video may include or exclude the surgical picture frame corresponding to the target time. In some embodiments, the associated segment may be a portion of the video following the target time in the surgical video to be edited, and the portion of the video may include or exclude the surgical picture frame corresponding to the target time. In some embodiments, the associated segment may be a portion of the video following the target time in the surgical video to be edited, for example, half of the video before and after the target time may be intercepted, or a little more or less of the video before the target time may be intercepted. In some embodiments, the user may select a specific associated segment according to the situation, for example, if the required surgical content is after the target time, the associated segment is selected as the portion of the video following the target time. For example, after selecting the target surgical video content embodiment, the associated segment corresponding to it may be selected.

[0071] In some embodiments, when the surgical video content embodiment includes a surgical picture frame of a corresponding time in the surgical video to be edited, the associated segment can also be determined based on the acquisition method of the surgical picture frame. In some embodiments, when receiving the user's input to determine the specified time in the surgical video to be edited, and acquiring the surgical picture frame from the specified time in the surgical video to be edited, the associated segment is the partial video after or before the target time in the surgical video to be edited. In this embodiment, since the surgical picture frame is acquired based on the user's input, the surgical picture frame can accurately reflect the surgical content required by the user, and the partial video after or before the surgical picture frame is the video required by the user. Therefore, after the user locates the target surgical content based on the surgical picture frame, the relevant video for editing the target surgical content can be accurately acquired, thereby increasing the speed of the user's video editing. For example, the video to be edited by the user is a video of an ultrasonic scalpel performing surgery. At this time, the surgical picture frame including the ultrasonic scalpel can be accurately acquired based on the user's input. For example, during the video recording process, the corresponding surgical picture frame is obtained when the ultrasonic scalpel is just grabbed or put down. Then, based on the surgical picture frame, the grabbing of the ultrasonic scalpel or the putting down of the ultrasonic scalpel can be accurately located in the surgical video to be edited, and then the video after grabbing the ultrasonic scalpel is obtained as a clip, or the video before putting down the ultrasonic scalpel is obtained as a clip. Based on the clip, the user can accurately edit the video of the ultrasonic scalpel surgery.

[0072] In some embodiments, when a surgical picture frame is obtained from a surgical video to be edited based on an acquisition condition, the associated segment is a portion of the video containing the target time in the surgical video to be edited. In this embodiment, since the surgical picture frame is automatically obtained based on the acquisition condition, the surgical picture frame may not accurately reflect the surgical content required by the user, and the videos after or before the surgical picture frame may all be the videos required by the user, so the associated segment needs to include a portion of the video containing the target time. Therefore, after the user locates the target surgical content based on the surgical picture frame, even if the surgical picture frame may not accurately reflect the surgical content required by the user, the relevant video for editing the target surgical content can still be accurately obtained, thereby increasing the speed at which the user edits the video.

[0073] As can be seen from the above, when determining a specific segment, it can be selected based on whether the surgical picture frame can accurately reflect the surgical content required by the user. When the surgical picture frame can accurately reflect, the segment is based on the part of the video before or after the target time. On the contrary, when the surgical picture frame cannot accurately reflect, the segment is based on the part of the video including the target time. Therefore, in different situations, the segment can not only accurately locate the target surgical content, but also facilitate the user to accurately edit the target surgical content.

[0074] In some embodiments, the associated clips are videos of preset duration in the surgical video to be edited. In this embodiment, since the associated clips are all videos of preset duration based on the target time, the video of the preset duration can not only include the target surgical content required by the user, but also the capacity or duration of the video of the preset duration is limited, so the video of the preset duration can be quickly loaded, and it is convenient for the user to quickly drag the video of the preset duration for editing without causing any jamming. In some embodiments, the preset duration can be related to the duration of the surgical video to be edited, for example, the longer the duration of the surgical video to be edited, the longer the preset duration, and vice versa. The adaptive preset duration can avoid the duration of the segment being too long, thereby generating too much redundancy, and can also avoid the duration of the segment being too short, so that videos related to the target surgical content can be effectively obtained, so that related segments of reasonable duration can be obtained from the surgical video to be edited. At the same time, it can also avoid the loading or sliding of the segment due to excessive capacity. In some embodiments, the preset duration can also be set by the user, for example, in response to an adjustment instruction input by the user, so as to adjust the preset duration. For example, the preset duration of a single segment can be adjusted, or the preset duration of some or all segments can be uniformly adjusted.

[0075] In some embodiments, when the user selects at least two target surgical video content manifestations, the corresponding target time is also at least two. At this time, the target time at both ends can be determined from the at least two target times, and then at least the video between the target times at both ends can be intercepted from the surgical video to be edited, and used as the associated segment. For example, the multiple target times include the first target time, the second target time, and the third target time in time, then at least the video between the first target time and the third target time is used as the associated segment, which may include the surgical picture frame corresponding to the first target time and the third target time, or may not include it. In some embodiments, the associated segment may also include part of the video before the first target time, or may also include part of the video after the third target time. In this embodiment, when the multiple target times are relatively compact in time, for example, when the time intervals between the multiple target times are less than the threshold interval, a segment can be obtained based on the multiple target times, thereby improving the acquisition speed of the segment. For multiple target times that are not compact, the segments associated with them can be obtained respectively, for example, when the time intervals between the multiple target times are greater than the threshold interval. Whether the multiple target times are compact can be determined by comparing the time intervals between the multiple target times with the threshold interval, and then judging.

[0076] Step 300: Generate and display an editing interface, load at least one of the clips into the editing interface, and edit at least one of the clips in response to an editing instruction to obtain an edited video.

[0077] In some embodiments, the editing interface may be generated and displayed after the user selects the target surgical video content embodiment, or the editing interface may be generated and displayed first, and then the surgical video content embodiment is displayed on the editing interface for the user to select the target surgical video content embodiment. Figure 2 For example, the editing interface may include a video loading area 10 and a content representation area 20, wherein the content representation area 20 may be used to display at least one surgical video content representation, such as displaying one or part of the surgical video content representation, please refer to Figure 3 For example, display a surgical video content object and block other surgical video content objects, and then slide the content object area to display other surgical video content objects. Please refer to Figure 4 The video loading area 10 is used to load at least one segment, for example, multiple segments can be loaded simultaneously, or multiple segments can be loaded sequentially in time. In some embodiments, when multiple segments are loaded sequentially, if there are duplicate videos between the segments, the duplicate videos between the segments can be deleted, thereby reducing the operating resources required for loading the video. Please refer to Figure 5 When multiple target surgical video content embodiments are selected, the videos between the target times at both ends of the multiple target times can be obtained and used as associated segments.

[0078] In some embodiments, when a clip is loaded in the editing interface, the editing interface may display a progress bar of the clip, so that the user can drag the progress bar to adjust the video playback position. In some embodiments, the editing interface may also display the progress bar of the surgical video to be edited, and the position of the clip on the progress bar of the surgical video to be edited, for example, by highlighting the position with different colors or logos, so that the user can drag the progress bar to adjust the video playback position.

[0079] In some embodiments, after responding to the user's editing instruction, at least one clip can be edited, for example, redundant parts in the clip can be deleted, for example, the play order of the video in the clip can be adjusted, for example, some other materials can be inserted into the clip. For example, different editing methods such as cropping, splitting, merging, speeding up, and slowing down can be used. For example, the audio of the video in the clip can be adjusted, such as lowering or raising the volume, or reducing noise, etc. The clips are edited to obtain the video after the clip is edited. After completing the editing of each clip, the edited video can be exported. For example, the format of the video export can be selected, and the parameters such as resolution, frame rate, bit rate, etc. can be adjusted to achieve the best video effect.

[0080] As can be seen from the above, the target surgical content in the surgical video to be edited can be quickly located through the embodiment of the target surgical video content, so as to improve the speed at which users can find the target surgical content. By only loading the clips of the surgical video to be edited, the capacity and duration of the loaded video can be greatly reduced, the problem of freezing can be avoided, and the editing efficiency of the surgical video can be effectively improved. At the same time, when determining the specific clips, it can be selected based on whether the surgical picture frame can accurately reflect the surgical content required by the user, so that the clips can not only accurately locate the target surgical content, but also facilitate the user to accurately edit the target surgical content. And the associated clips are videos of adaptive preset duration in the surgical video to be edited, so that associated clips of reasonable duration can be obtained from the surgical video to be edited, while avoiding the generation of too many redundant videos, and effectively obtaining videos related to the target surgical content.

[0081] In some embodiments, a surgical video editing method is provided, which is used to obtain surgical video content manifestations based on the surgical video to be edited, and each surgical video content manifestation has a corresponding relationship with the time in the surgical video to be edited, so as to be used for surgical video editing. Figure 6 ,The following is a detailed description of the surgical video editing method.

[0082] Step 400: Obtain at least one surgical image frame from the surgical video to be edited, and obtain a corresponding surgical video content embodiment based on the surgical video content of each surgical image frame, wherein each of the target surgical video content embodiments corresponds to the time in the surgical video to be edited.

[0083] Step 500: Each of the surgical video content manifestations is used to, in response to a selection instruction, determine at least one target surgical video content manifestation from each of the surgical video content manifestations, for each of the target surgical video content manifestations, determine a target time in the surgical video to be edited based on the corresponding relationship, and obtain at least one segment associated with each of the target times from the surgical video to be edited.

[0084] Step 600: Generate and display an editing interface, load at least one of the clips into the editing interface, and edit at least one of the clips in response to an editing instruction to obtain an edited video.

[0085] In some embodiments, user input is received to determine a specified time in the surgical video to be edited, and at least a portion of the at least one surgical image frame is obtained from the specified time in the surgical video to be edited.

[0086] In some embodiments, receiving user input to determine the specified time in the surgical video to be edited includes: during the recording process of the surgical video to be edited, responding to an interception instruction input by the user and determining the current time of the surgical video to be edited, and using the current time as the specified time; or, receiving an input time input by the user, and determining the input time as the specified time.

[0087] In some embodiments, at least a portion of the at least one surgical image frame is acquired from the surgical video to be edited based on an acquisition condition.

[0088] In some embodiments, the acquisition condition is one of the following: obtaining a surgical picture frame from the surgical video to be edited at every time difference in the surgical video to be edited; when the surgical picture frame in the surgical video to be edited includes newly added surgical video content, obtaining the surgical picture frame; the surgical video content includes at least one of surgical instruments and surgical actions.

[0089] Some embodiments provide a computer-readable storage medium having a program stored thereon, wherein the program can be executed by a processor to implement the above-mentioned surgical video editing method.

[0090] According to the above-mentioned computer-readable access medium, the present invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method steps of any of the above-mentioned method embodiments when executing the computer program.

[0091] This document is described with reference to various exemplary embodiments. However, those skilled in the art will recognize that changes and modifications may be made to the exemplary embodiments without departing from the scope of this document. For example, various operating steps and components for performing the operating steps may be implemented in different ways (e.g., one or more steps may be deleted, modified, or incorporated into other steps) depending on the specific application or considering any number of cost functions associated with the operation of the system.

[0092] As will be appreciated by those skilled in the art, the principles of this invention may be reflected in a computer program product on a computer-readable storage medium, which is pre-installed with a computer-readable program code. Any tangible, non-temporary computer-readable storage medium may be used, including magnetic storage devices (hard disks, floppy disks, etc.), optical storage devices (CD-ROMs, DVDs, Blu Ray disks, etc.), flash memory, and / or the like. These computer program instructions may be loaded onto a general-purpose computer, a special-purpose computer, or other programmable data processing device to form a machine, so that these instructions executed on a computer or other programmable data processing device may generate a device that implements a specified function. These computer program instructions may also be stored in a computer-readable memory, which may instruct a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory may form a manufactured product, including an implementation device that implements a specified function. Computer program instructions may also be loaded onto a computer or other programmable data processing device, so that a series of operating steps are performed on the computer or other programmable device to produce a computer-implemented process, so that the instructions executed on the computer or other programmable device may provide steps for implementing a specified function.

[0093] The foregoing specific description has been described with reference to various embodiments. However, those skilled in the art will recognize that various modifications and changes can be made without departing from the scope of the present disclosure. Therefore, the consideration of the present disclosure will be illustrative rather than restrictive, and all these modifications will be included in its scope. Similarly, the advantages, other advantages and solutions to the problems of various embodiments have been described above. However, the benefits, advantages, solutions to the problems and any elements that can produce these, or make them more clear, should not be interpreted as critical, necessary or necessary. The term "include" and any other variants used in this article are all non-exclusive inclusions, so that the process, method, article or device including the list of elements not only includes these elements, but also includes other elements that are not explicitly listed or do not belong to the process, method, system, article or device. In addition, the term "coupled" and any other variants used in this article refer to physical connections, electrical connections, magnetic connections, optical connections, communication connections, functional connections and / or any other connections.

Claims

1. A surgical video editing method, characterized in that: include: In response to the selection instruction, at least one target surgical video content representation is determined from at least one surgical video content representation, each of the target surgical video content representations having a corresponding relationship with a time in the surgical video to be edited; For each of the target surgical video content manifestations, a target time in the surgical video to be edited is determined according to the corresponding relationship, and at least one segment associated with each of the target times is obtained from the surgical video to be edited; Generate and display an editing interface, load at least one of the clips into the editing interface, and edit at least one of the clips in response to an editing instruction to obtain an edited video.

2. The surgical video editing method according to claim 1, characterized in that: Each of the surgical video content manifestations is obtained based on the recorded content at a corresponding time in the surgical video to be edited; the surgical video content manifestations include at least one of the following: The surgical picture frames at the corresponding time in the surgical video to be edited; A schematic diagram for illustrating the recorded content at a corresponding time in the surgical video to be edited; The text is used to describe the recorded content at the corresponding time in the surgical video to be edited.

3. The surgical video editing method according to claim 2, characterized in that: The surgical picture frame is obtained in the following manner: receiving a user input to determine a specified time in the surgical video to be edited, and obtaining the surgical picture frame from the specified time in the surgical video to be edited.

4. The surgical video editing method according to claim 3, characterized in that: The receiving user input to determine the designated time in the surgical video to be edited comprises: During the recording process of the surgical video to be edited, responding to the interception instruction input by the user and determining the current time of the surgical video to be edited, and using the current time as the designated time; or, An input time input by a user is received, and the input time is determined as the designated time.

5. The surgical video editing method according to claim 2, characterized in that: The surgical picture frame is obtained in the following manner: the surgical picture frame is obtained from the surgical video to be edited based on an acquisition condition.

6. The surgical video editing method according to claim 5, characterized in that: The acquisition condition is one of the following: Obtaining one frame of the surgical picture from the surgical video to be edited at every time difference in the surgical video to be edited; When the surgical picture frame in the surgical video to be edited includes newly added surgical video content, the surgical picture frame is acquired; the surgical video content includes at least one of a surgical instrument and a surgical action.

7. The surgical video editing method according to claim 1, characterized in that: The step of acquiring at least one segment associated with each of the target times from the surgical video to be edited comprises: For each of the target time, a segment associated with the target time is captured from the surgical video to be edited.

8. The surgical video editing method according to claim 7, characterized in that: The clip is a video of a preset length in the surgical video to be edited.

9. The surgical video editing method according to claim 8, characterized in that: The preset duration is related to the duration of the surgical video to be edited; Alternatively, in response to the adjustment instruction, the preset duration is adjusted.

10. The surgical video editing method according to claim 7, characterized in that: The fragment is one of the following: A portion of the surgical video to be edited after the target time; A portion of the surgical video to be edited that follows and precedes the target time; The surgical video to be edited includes a portion of video at a target time.

11. The surgical video editing method according to claim 10, characterized in that: The surgical video content embodiment includes a surgical picture frame at a corresponding time in the surgical video to be edited, and the segment is determined based on a method for obtaining the surgical picture frame; When receiving the user's input to determine the designated time in the surgical video to be edited, and obtaining the surgical picture frame from the designated time in the surgical video to be edited, the segment is a portion of the surgical video to be edited after or before the target time; When the surgical picture frame is obtained from the surgical video to be edited based on the acquisition condition, the segment is a portion of the surgical video to be edited that includes the target time.

12. The surgical video editing method according to claim 1, characterized in that: The step of acquiring at least one segment associated with each of the target times from the surgical video to be edited comprises: When there are at least two target times, determining target times at both ends in time from the at least two target times; At least the video between the target times at both ends is captured from the surgical video to be edited and used as the segment.

13. The surgical video editing method according to any one of claims 1 to 12, characterized in that: The surgical video content representation and the surgical video to be edited both have timestamps, and there is a corresponding relationship between the timestamp of the surgical video content representation and the timestamp in the surgical video to be edited.

14. The surgical video editing method according to any one of claims 1 to 12, characterized in that: The duration of the surgical video to be edited is higher than a threshold duration; or, the capacity of the surgical video to be edited is higher than a threshold capacity.

15. An electronic device, characterized in that: The electronic device comprises a processor and a memory, the memory is used to store an executable program, and the processor is used to execute the executable program, so that the processor executes the following to implement the method as described in any one of claims 1-14.

16. A computer-readable storage medium, characterized in that: The medium stores a program, which can be executed by a processor to implement the method according to any one of claims 1 to 14.

Citation Information

Cited By

  • Operation video playing editing progress marking method

    CN120111165A