[go: up one dir, main page]

CN118411498A - Image processing method and device in virtual space and electronic equipment - Google Patents

Image processing method and device in virtual space and electronic equipment Download PDF

Info

Publication number
CN118411498A
CN118411498A CN202410447587.4A CN202410447587A CN118411498A CN 118411498 A CN118411498 A CN 118411498A CN 202410447587 A CN202410447587 A CN 202410447587A CN 118411498 A CN118411498 A CN 118411498A
Authority
CN
China
Prior art keywords
image processing
data
image
virtual
virtual space
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.)
Pending
Application number
CN202410447587.4A
Other languages
Chinese (zh)
Inventor
张忠宝
仝博
李星辰
张江北
黄春华
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.)
China Mobile Communications Group Co Ltd
MIGU Culture Technology Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
MIGU Culture Technology 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 China Mobile Communications Group Co Ltd, MIGU Culture Technology Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN202410447587.4A priority Critical patent/CN118411498A/en
Publication of CN118411498A publication Critical patent/CN118411498A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T19/00Manipulating 3D models or images for computer graphics
    • G06T19/20Editing of 3D images, e.g. changing shapes or colours, aligning objects or positioning parts
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/60Information retrieval; Database structures therefor; File system structures therefor of audio data
    • G06F16/63Querying
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering
    • G06T15/005General purpose rendering architectures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/11Region-based segmentation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/60Analysis of geometric attributes
    • G06T7/62Analysis of geometric attributes of area, perimeter, diameter or volume

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Graphics (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Geometry (AREA)
  • Multimedia (AREA)
  • Architecture (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Processing Or Creating Images (AREA)

Abstract

本公开提供了一种虚拟空间中的图像处理方法、装置和电子设备,图像处理方法包括:基于虚拟空间中的虚拟展示界面,创建图像处理区域;将从模型库中选择图像数据导入到图像处理区域中,基于用户对图像数据的编辑生成图像处理数据;模型库至少包括:三维模型库;利用虚拟相机采集图像处理数据在图像处理区域中的坐标数据;基于坐标数据与图像处理数据,在虚拟展示界面展示图像处理数据。这样,虚拟会议的虚拟展示界面就能进行3D图像的处理以及展示,使得不仅能进行2D的图像处理,还可以进行3D的图像处理,克服了会议内容单一固定的问题。满足了实际使用过程中的客观需求。

The present disclosure provides an image processing method, device and electronic device in a virtual space. The image processing method includes: creating an image processing area based on a virtual display interface in the virtual space; importing image data from a model library into the image processing area, and generating image processing data based on the user's editing of the image data; the model library includes at least: a three-dimensional model library; using a virtual camera to collect coordinate data of the image processing data in the image processing area; based on the coordinate data and the image processing data, displaying the image processing data on the virtual display interface. In this way, the virtual display interface of the virtual meeting can process and display 3D images, so that not only 2D image processing but also 3D image processing can be performed, overcoming the problem of single and fixed content of the meeting. It meets the objective needs in actual use.

Description

一种虚拟空间中的图像处理方法、装置和电子设备Image processing method, device and electronic device in virtual space

技术领域Technical Field

本公开涉及虚拟会议数字场景技术领域,尤其涉及一种虚拟空间中的图像处理方法、装置和电子设备。The present disclosure relates to the technical field of virtual conference digital scenes, and in particular to an image processing method, device and electronic device in a virtual space.

背景技术Background technique

现有技术中虚拟会议中的虚拟界面通常只能进行基本的二维(two dimensional,简称2D)文字图表编辑,无法创建三维(three dimensional,简称3D)图形,且无法对3D图像进行处理。例如,无法对3D图形进行测量计算,也不能对3D图形进行其他操作处理,甚至不能保存其相应处理结果。而目前的3D图像呈现需要依靠专门的3D建模软件或者复杂的绘图工具,对于非专业人员来说增加了学习和使用成本,并且过程复杂,浪费资源。In the prior art, the virtual interface in the virtual conference can usually only perform basic two-dimensional (2D) text and chart editing, and cannot create three-dimensional (3D) graphics, and cannot process 3D images. For example, it is impossible to measure and calculate 3D graphics, nor can it perform other operations on 3D graphics, and even cannot save its corresponding processing results. The current 3D image presentation requires specialized 3D modeling software or complex drawing tools, which increases the learning and use costs for non-professionals, and the process is complicated and wastes resources.

综上,针对现有的虚拟场景,无法在虚拟会议的白板中使用3D图形,且不能对3D图形进行操作处理也不能保存其相应处理结果,不能满足实际使用过程中的客观需求。In summary, for existing virtual scenes, 3D graphics cannot be used in the whiteboard of a virtual meeting, and 3D graphics cannot be operated or processed, nor can the corresponding processing results be saved, which cannot meet the objective needs in actual use.

发明内容Summary of the invention

鉴于上述问题而提出了本公开。本公开提供了一种虚拟空间中的图像处理方法、装置、电子设备和计算机可读存储介质,可以解决现有技术中针对现有的虚拟场景,无法在虚拟会议的白板中使用3D图形,且不能对3D图形进行操作处理也不能保存其相应处理结果,不能满足实际使用过程中的客观需求的技术问题。The present disclosure is proposed in view of the above problems. The present disclosure provides an image processing method, device, electronic device and computer-readable storage medium in a virtual space, which can solve the technical problems in the prior art that, for existing virtual scenes, 3D graphics cannot be used in the whiteboard of a virtual meeting, and the 3D graphics cannot be operated or processed, and the corresponding processing results cannot be saved, and the objective needs in actual use cannot be met.

根据本公开的一个方面,提供了一种虚拟空间中的图像处理方法,包括:基于虚拟空间中的虚拟展示界面,创建图像处理区域;将从模型库中选择图像数据导入到图像处理区域中,基于用户对图像数据的编辑生成图像处理数据;模型库至少包括:三维模型库;利用虚拟相机采集图像处理数据在图像处理区域中的坐标数据;基于坐标数据与图像处理数据,在虚拟展示界面展示图像处理数据。According to one aspect of the present disclosure, there is provided an image processing method in a virtual space, comprising: creating an image processing area based on a virtual display interface in the virtual space; selecting image data from a model library and importing it into the image processing area, and generating image processing data based on user editing of the image data; the model library at least comprising: a three-dimensional model library; using a virtual camera to collect coordinate data of the image processing data in the image processing area; and displaying the image processing data on the virtual display interface based on the coordinate data and the image processing data.

此外,根据本公开一个方面的虚拟空间中的图像处理方法,将从模型库中选择图像数据导入到图像处理区域中,包括:在图像处理区域中创建并展示用户在模型库中选择的模型数据;其中,三维模型库包括如下至少一种:角色模型库和路径模型库。In addition, according to an image processing method in a virtual space of one aspect of the present disclosure, image data is selected from a model library and imported into an image processing area, including: creating and displaying model data selected by a user in the model library in the image processing area; wherein the three-dimensional model library includes at least one of the following: a character model library and a path model library.

此外,根据本公开一个方面的虚拟空间中的图像处理方法,基于用户对图像数据的编辑生成图像处理数据,包括:对选择的图像数据进行图像处理,其中,处理的处理方式包括如下至少一种:调整、编辑、切割、测量和查看;获取进行图像处理得到的图像处理数据。In addition, according to an image processing method in a virtual space according to one aspect of the present disclosure, image processing data is generated based on the user's editing of image data, including: performing image processing on the selected image data, wherein the processing method includes at least one of the following: adjusting, editing, cutting, measuring and viewing; and obtaining image processing data obtained by image processing.

此外,根据本公开一个方面的虚拟空间中的图像处理方法,基于用户对图像数据的编辑生成图像处理数据,包括:基于图像数据,测量确定几何数据;基于图像数据,切割确定切平面数据;基于确定的几何数据和切平面数据,确定图像处理数据。In addition, according to an image processing method in a virtual space of one aspect of the present disclosure, image processing data is generated based on the user's editing of the image data, including: based on the image data, measuring and determining geometric data; based on the image data, cutting and determining cutting plane data; based on the determined geometric data and cutting plane data, determining the image processing data.

此外,根据本公开一个方面的虚拟空间中的图像处理方法,利用虚拟相机采集所述图像处理数据在所述图像处理区域中的坐标数据之后,还包括:按照预定格式存储坐标数据与图像处理数据。In addition, according to an aspect of the present disclosure, the image processing method in a virtual space further includes: storing the coordinate data and the image processing data in a predetermined format after the coordinate data of the image processing data in the image processing area is acquired by a virtual camera.

此外,根据本公开一个方面的虚拟空间中的图像处理方法,基于坐标数据与图像处理数据,在虚拟展示界面展示图像处理数据,包括:基于坐标数据与图像处理数据,确定渲染图像参数;基于渲染图像参数,渲染到虚拟空间的虚拟展示界面中。In addition, according to an image processing method in a virtual space of one aspect of the present disclosure, the image processing data is displayed in a virtual display interface based on the coordinate data and the image processing data, including: determining rendering image parameters based on the coordinate data and the image processing data; and rendering to the virtual display interface of the virtual space based on the rendering image parameters.

根据本公开的另一个方面,提供了一种虚拟空间中的图像处理装置,包括:创建单元,被配置为基于虚拟空间中的虚拟展示界面,创建图像处理区域;生成单元,被配置为将从模型库中选择图像数据导入到图像处理区域中,基于用户对图像数据的编辑生成图像处理数据;模型库至少包括:三维模型库;采集单元,被配置为利用虚拟相机采集图像处理数据在图像处理区域中的坐标数据;展示单元,被配置为基于坐标数据与图像处理数据,在虚拟展示界面展示图像处理数据。According to another aspect of the present disclosure, there is provided an image processing device in a virtual space, comprising: a creation unit, configured to create an image processing area based on a virtual display interface in the virtual space; a generation unit, configured to import image data selected from a model library into the image processing area, and generate image processing data based on user editing of the image data; the model library at least comprises: a three-dimensional model library; a collection unit, configured to collect coordinate data of the image processing data in the image processing area using a virtual camera; and a display unit, configured to display the image processing data on the virtual display interface based on the coordinate data and the image processing data.

根据本公开再一个方面,提供了一种电子设备,包括:存储器,用于存储计算机可读指令;以及处理器,用于运行计算机可读指令,使得电子设备执行如上的虚拟空间中的图像处理方法。According to another aspect of the present disclosure, an electronic device is provided, including: a memory for storing computer-readable instructions; and a processor for executing the computer-readable instructions so that the electronic device executes the above image processing method in a virtual space.

根据本公开又一个方面,提供了一种非瞬时性计算机可读存储介质,用于存储计算机可读指令,当计算机可读指令由处理器执行时,使得处理器执行如上的虚拟空间中的图像处理方法。According to another aspect of the present disclosure, a non-transitory computer-readable storage medium is provided for storing computer-readable instructions. When the computer-readable instructions are executed by a processor, the processor executes the above-mentioned image processing method in a virtual space.

根据本公开的又一方面,提供了一种计算机程序产品,包括计算机程序,计算机程序被处理器执行实现如权利要求上述的虚拟空间中的图像处理的方法。According to another aspect of the present disclosure, a computer program product is provided, comprising a computer program, wherein the computer program is executed by a processor to implement the method for image processing in a virtual space as claimed in claim 1.

如以下将详细描述的,根据本公开实施例的一种虚拟空间中的图像处理方法、装置和电子设备,虚拟展示界面显示图像处理区域的内容,基于虚拟展示界面,创建图像处理区域。在图像处理区域中,可以得到从模型库选择的图像数据以及针对图像数据编辑生成的图像处理数据。其中,模型库至少包括:三维模型库。由于模型库中至少包括三维模型库,在此基础上,用户可以任意选择二维或三维图像来进行处理。即,能够满足用户在虚拟会议场景中使用三维图像进行演示或辅助说明的客观需求。另一方面,本公开中,还利用虚拟相机采集图像处理数据在虚拟展示界面中的坐标数据,从而,基于坐标数据与图像处理数据,就可以在虚拟展示界面中展示处理后的图像处理数据,并且,本公开对坐标数据与图像处理数据的存储方式无任何限制,这样就可以在任意场景中进行图像处理数据的完整还原。综上,虚拟会议的虚拟展示界面就能进行3D图像的处理以及展示,使得不仅能进行2D的图像处理,还可以进行3D的图像处理,克服了会议内容单一固定的问题,也克服了虚拟会议等类似场景中3D图像无法展示、处理、保存的技术困扰,能够满足实际使用过程中的客观需求,例如:在视频会议场景中若涉及对某一三维结构的讨论时,例如讨论纸巾盒样式,就可以通过本方案来立体呈现纸巾盒这一三维对象在不同角度的样式,参会人员就能够直观、高效了解到会议讨论内容与重点,为会议过程提供了直观高效的辅助,满足了会议沟通直观高效的客观需求。As will be described in detail below, according to an image processing method, device and electronic device in a virtual space of an embodiment of the present disclosure, a virtual display interface displays the content of an image processing area, and an image processing area is created based on the virtual display interface. In the image processing area, image data selected from a model library and image processing data generated by editing the image data can be obtained. Among them, the model library at least includes: a three-dimensional model library. Since the model library includes at least a three-dimensional model library, on this basis, the user can arbitrarily select a two-dimensional or three-dimensional image for processing. That is, it can meet the objective needs of users to use three-dimensional images for demonstration or auxiliary explanation in a virtual conference scene. On the other hand, in the present disclosure, a virtual camera is also used to collect the coordinate data of the image processing data in the virtual display interface, so that based on the coordinate data and the image processing data, the processed image processing data can be displayed in the virtual display interface, and the present disclosure has no restrictions on the storage method of the coordinate data and the image processing data, so that the image processing data can be completely restored in any scene. In summary, the virtual display interface of the virtual meeting can process and display 3D images, so that not only 2D image processing but also 3D image processing can be performed, which overcomes the problem of single and fixed meeting content, and also overcomes the technical difficulties of 3D images that cannot be displayed, processed and saved in virtual meetings and other similar scenarios, and can meet the objective needs in actual use. For example: in a video conference scenario, if a discussion on a certain three-dimensional structure is involved, such as discussing the style of a tissue box, this solution can be used to present the style of the three-dimensional object of the tissue box at different angles in three dimensions, so that the participants can intuitively and efficiently understand the content and key points of the meeting discussion, which provides intuitive and efficient assistance for the meeting process and meets the objective needs of intuitive and efficient meeting communication.

要理解的是,前面的一般描述和下面的详细描述两者都是示例性的,并且意图在于提供要求保护的技术的进一步说明。It is to be understood that both the foregoing general description and the following detailed description are exemplary, and are intended to provide further explanation of the technology as claimed.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

通过结合附图对本公开实施例进行更详细的描述,本公开的上述以及其它目的、特征和优势将变得更加明显。附图用来提供对本公开实施例的进一步理解,并且构成说明书的一部分,与本公开实施例一起用于解释本公开,并不构成对本公开的限制。在附图中,相同的参考标号通常代表相同部件或步骤。The above and other purposes, features and advantages of the present disclosure will become more apparent by describing the embodiments of the present disclosure in more detail in conjunction with the accompanying drawings. The accompanying drawings are used to provide a further understanding of the embodiments of the present disclosure and constitute a part of the specification. Together with the embodiments of the present disclosure, they are used to explain the present disclosure and do not constitute a limitation of the present disclosure. In the accompanying drawings, the same reference numerals generally represent the same components or steps.

图1是图示应用根据本公开实施例的虚拟空间中的图像处理方法的场景示意图;FIG1 is a schematic diagram of a scene illustrating application of an image processing method in a virtual space according to an embodiment of the present disclosure;

图2是图示根据本公开实施例的虚拟空间中的图像处理方法的流程图;2 is a flowchart illustrating an image processing method in a virtual space according to an embodiment of the present disclosure;

图3是进一步图示根据本公开实施例的虚拟空间中的图像处理方法的流程图;FIG3 is a flowchart further illustrating an image processing method in a virtual space according to an embodiment of the present disclosure;

图4是图示根据本公开实施例的获取图像处理数据的方法的流程图;FIG4 is a flow chart illustrating a method for acquiring image processing data according to an embodiment of the present disclosure;

图5是图示根据本公开实施例的虚拟空间中的图像处理方法的整体立体模型示意图;FIG5 is a schematic diagram of an overall stereoscopic model illustrating an image processing method in a virtual space according to an embodiment of the present disclosure;

图6是图示根据本公开实施例的虚拟空间中的图像处理的整体装置图;6 is an overall apparatus diagram illustrating image processing in a virtual space according to an embodiment of the present disclosure;

图7是图示根据本公开实施例的电子设备的硬件框图;FIG7 is a hardware block diagram illustrating an electronic device according to an embodiment of the present disclosure;

图8是图示根据本公开的实施例的计算机可读存储介质的示意图。FIG. 8 is a schematic diagram illustrating a computer-readable storage medium according to an embodiment of the present disclosure.

具体实施方式Detailed ways

为了使得本公开的目的、技术方案和优点更为明显,下面将参照附图详细描述根据本公开的示例实施例。显然,所描述的实施例仅仅是本公开的一部分实施例,而不是本公开的全部实施例,应理解,本公开不受这里描述的示例实施例的限制。In order to make the purpose, technical solution and advantages of the present disclosure more obvious, the exemplary embodiments according to the present disclosure will be described in detail with reference to the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present disclosure, rather than all the embodiments of the present disclosure, and it should be understood that the present disclosure is not limited to the exemplary embodiments described here.

首先,参照图1所示,图1概述虚拟空间中的图像处理方法的场景示意图。First, referring to FIG. 1 , FIG. 1 is a schematic diagram of a scene summarizing an image processing method in a virtual space.

如图1所示,虚拟空间中的图像处理方法的整体场景包括虚拟空间101、虚拟展示界面102和虚拟输入设备103。As shown in FIG. 1 , the overall scene of the image processing method in the virtual space includes a virtual space 101 , a virtual display interface 102 , and a virtual input device 103 .

具体地,虚拟空间101是一种使用三维计算机图形技术创建的虚拟环境。这种环境可以模拟现实世界中的场景、物体和人物,使用户可以在其中进行互动和体验。虚拟空间101可以包含虚拟展示界面102。这样,三维图像可以以现实实体为基础,通过虚拟输入设备103在虚拟展示界面102上进行展示。其中,虚拟展示界面102可以是立体区域或者显示屏,虚拟输入设备103可以绑定虚拟形象,如立体人物,或者画笔形象,在此不作唯一的限定。虚拟输入设备103依靠输入设备进行虚拟输入,而输入设备可以是鼠标、扫描仪、光笔等至少一种,可以使用虚拟输入设备103绑定的立体人物或者画笔形象等绑定虚拟形象在虚拟展示界面102上进行虚拟输入。需要注意的是,该虚拟展示界面102可以同时支持一个或者多个用户对应的虚拟输入设备103进行编辑和使用处理图像。Specifically, the virtual space 101 is a virtual environment created using three-dimensional computer graphics technology. This environment can simulate scenes, objects and characters in the real world, allowing users to interact and experience it. The virtual space 101 can include a virtual display interface 102. In this way, the three-dimensional image can be based on the real entity and displayed on the virtual display interface 102 through the virtual input device 103. Among them, the virtual display interface 102 can be a three-dimensional area or a display screen, and the virtual input device 103 can be bound to a virtual image, such as a three-dimensional character, or a brush image, which is not limited here. The virtual input device 103 relies on an input device for virtual input, and the input device can be at least one of a mouse, a scanner, a light pen, etc., and a virtual image such as a three-dimensional character or a brush image bound to the virtual input device 103 can be used to perform virtual input on the virtual display interface 102. It should be noted that the virtual display interface 102 can simultaneously support one or more virtual input devices 103 corresponding to users to edit and use processed images.

在本公开实施例中,用户可以通过真实的物理输入设备绘制编辑图像,同时用户的编辑动作会通过虚拟输入设备103绑定的虚拟形象或者画笔形象体现到虚拟展示界面102中,虚拟展示界面102就会显现输入轨迹以及图像。In the disclosed embodiment, the user can draw and edit the image through a real physical input device. At the same time, the user's editing action will be reflected in the virtual display interface 102 through the virtual image or brush image bound to the virtual input device 103, and the virtual display interface 102 will show the input trajectory and image.

图2图示了根据本公开实施例的虚拟空间中的图像处理方法的流程图。如图2所示,根据本公开实施例的虚拟空间中的图像处理方法包括以下步骤:FIG2 illustrates a flow chart of an image processing method in a virtual space according to an embodiment of the present disclosure. As shown in FIG2 , the image processing method in a virtual space according to an embodiment of the present disclosure includes the following steps:

在步骤S201中,基于虚拟空间中的虚拟展示界面,创建图像处理区域。In step S201, an image processing area is created based on a virtual display interface in a virtual space.

在本公开实施例中,图像处理区域和虚拟空间的虚拟展示界面是相互映射的关系,通过在图像处理区域进行图像的处理并映射到虚拟展示界面进行展示。而图像处理区域与虚拟展示界面之间的映射规则可以是用户自定义的,也可以是完全对应的映射。映射的具体规则在此不作限定。本发明的其中一个实施例中,虚拟空间的虚拟展示界面可以是一个虚拟白板。具体地,虚拟白板是一种电子化的工具,用于在网络上进行实时的协作和演示,可以让用户在一个共享的空间中进行绘图、书写、标注和编辑,可以用于教学、会议、团队协作等各种场合。进一步地,图像处理区域可以是虚拟白板中的画布。而画布是用于绘制、书写和标注的空白区域。In the disclosed embodiment, the image processing area and the virtual display interface of the virtual space are in a mutually mapped relationship, and the image is processed in the image processing area and mapped to the virtual display interface for display. The mapping rule between the image processing area and the virtual display interface can be user-defined or a completely corresponding mapping. The specific mapping rules are not limited here. In one embodiment of the present invention, the virtual display interface of the virtual space can be a virtual whiteboard. Specifically, a virtual whiteboard is an electronic tool for real-time collaboration and presentation on the Internet, allowing users to draw, write, annotate and edit in a shared space, and can be used in various occasions such as teaching, meetings, and team collaboration. Furthermore, the image processing area can be a canvas in a virtual whiteboard. The canvas is a blank area for drawing, writing and annotating.

在步骤S202中,将从模型库中选择图像数据导入到图像处理区域中,基于用户对图像数据的编辑生成图像处理数据;模型库至少包括:三维模型库。In step S202, image data is selected from a model library and imported into an image processing area, and image processing data is generated based on the user's editing of the image data; the model library at least includes: a three-dimensional model library.

在本公开实施例中,模型库可以为集中存储和管理各类模型数据的数据库,图像数据为用户在模型库中选择的模型数据。而用户从模型库中选择的时候,可以根据自己的需求和喜好进行挑选,具体的选择规则在此不作限定。而模型库至少包括:三维模型库。用户在模型库选择的图像数据就可以导入到图像处理区域中。在具体实现的过程中,需要考虑模型库的软件系统和数据格式,以确保模型库的图像数据准确导入到图像处理区域中。在本公开实施例中,图像处理数据是指用户对选择的图像数据进行编辑处理得到的图像处理数据。这可以在图像处理区域调整用户选择图像数据的大小、位置,也可进行图像数据的位移、旋转、缩放等绘制操作,得到图像处理数据。具体的实施方式在下图3中描述。In the disclosed embodiment, the model library may be a database that centrally stores and manages various types of model data, and the image data is the model data selected by the user in the model library. When the user selects from the model library, he can select according to his own needs and preferences, and the specific selection rules are not limited here. The model library at least includes: a three-dimensional model library. The image data selected by the user in the model library can be imported into the image processing area. In the specific implementation process, it is necessary to consider the software system and data format of the model library to ensure that the image data of the model library is accurately imported into the image processing area. In the disclosed embodiment, the image processing data refers to the image processing data obtained by the user editing the selected image data. This can adjust the size and position of the image data selected by the user in the image processing area, and can also perform drawing operations such as displacement, rotation, and scaling of the image data to obtain the image processing data. The specific implementation method is described in Figure 3 below.

在步骤S203中,利用虚拟相机采集图像处理数据在图像处理区域中的坐标数据。In step S203, the coordinate data of the image processing data in the image processing area is collected using a virtual camera.

在本公开实施例中,可以通过虚拟相机采集图像处理数据在图像处理区域的坐标数据。这包括但不限于如下的步骤:设置虚拟相机、采集图像处理数据、提取坐标数据。其中,坐标数据为描述几何对象位置的数值。在图像处理中,坐标数据可以用于标识图像中特定特征或对象的位置。In the disclosed embodiment, the coordinate data of the image processing data in the image processing area can be collected by a virtual camera. This includes but is not limited to the following steps: setting a virtual camera, collecting image processing data, and extracting coordinate data. The coordinate data is a numerical value that describes the position of a geometric object. In image processing, the coordinate data can be used to identify the position of a specific feature or object in an image.

具体地,首先,设置虚拟相机,设备虚拟相机可以包括但不限于是调整虚拟相机的位置、朝向、焦距等至少一种参数,用以模拟真实世界中的相机行为。虚拟相机的参数设置将直接影响采集到的图像和从图像中获取的坐标数据的准确性和可用性。接着,采集图像处理数据时,可以使用虚拟相机对虚拟场景进行渲染或拍摄,从而获取图像处理数据。这些图像处理数据可以是二维的(如常见的平面图像),也可以是三维的(如深度图像或点云数据)。采集的图像处理数据应包含足够的细节和特征,以便后续能够从中提取出有用的坐标信息。最后,提取坐标数据可以是根据采集的图像处理数据,提取出图像中特定点或对象的坐标数据。这些坐标数据可以是像素坐标(在二维图像中的位置),也可以是三维空间中的坐标(如果使用了深度信息、立体视觉技术等至少一种)。坐标数据的精度和可靠性将直接影响后续分析或应用的准确性。Specifically, first, a virtual camera is set. The device virtual camera may include but is not limited to adjusting at least one parameter such as the position, orientation, and focal length of the virtual camera to simulate the camera behavior in the real world. The parameter settings of the virtual camera will directly affect the accuracy and availability of the collected images and the coordinate data obtained from the images. Next, when collecting image processing data, the virtual camera can be used to render or shoot the virtual scene to obtain image processing data. These image processing data can be two-dimensional (such as common plane images) or three-dimensional (such as depth images or point cloud data). The collected image processing data should contain enough details and features so that useful coordinate information can be extracted from it later. Finally, extracting coordinate data can be extracting coordinate data of specific points or objects in the image based on the collected image processing data. These coordinate data can be pixel coordinates (positions in two-dimensional images) or coordinates in three-dimensional space (if at least one of depth information, stereoscopic vision technology, etc. is used). The accuracy and reliability of the coordinate data will directly affect the accuracy of subsequent analysis or application.

在步骤S204中,基于坐标数据与图像处理数据,在虚拟展示界面展示图像处理数据。In step S204, the image processing data is displayed on a virtual display interface based on the coordinate data and the image processing data.

在本公开实施例中,可以基于坐标数据和图像处理数据,在虚拟界面进行展示图像处理数据。这可以包括但不限于以下:在虚拟输入界面中图像处理数据与坐标数据的融合展示。In the embodiment of the present disclosure, the image processing data may be displayed on the virtual interface based on the coordinate data and the image processing data, which may include but is not limited to the following: the image processing data and the coordinate data are displayed in a fusion manner in the virtual input interface.

具体地,在虚拟展示界面中图像处理数据与坐标数据的融合展示表示:在虚拟展示界面上,根据坐标数据将图像处理结果展示出来。例如,将带有边界框或关键点标记的图像展示在虚拟展示界面的相应位置。需要注意的是,整个图像处理的执行动作轨迹,在虚拟空间的虚拟展示界面都可同步显现轨迹以及图像。这还可以将处理后的图像处理数据自定义调整成多种格式进行存储。具体的实施方式在图3中详细说明。Specifically, the fusion display of image processing data and coordinate data in the virtual display interface means: on the virtual display interface, the image processing results are displayed according to the coordinate data. For example, an image with a bounding box or key point mark is displayed at the corresponding position of the virtual display interface. It should be noted that the execution action trajectory of the entire image processing can synchronously display the trajectory and image in the virtual display interface of the virtual space. This can also customize the processed image processing data into multiple formats for storage. The specific implementation method is described in detail in Figure 3.

图3进一步图示了根据本公开实施例的虚拟空间中的图像处理方法的流程图。如图3所示,进一步根据本公开实施例的虚拟空间中的图像处理的方法包括以下步骤:FIG3 further illustrates a flow chart of the image processing method in a virtual space according to an embodiment of the present disclosure. As shown in FIG3 , the image processing method in a virtual space according to an embodiment of the present disclosure further comprises the following steps:

在步骤S301中,在图像处理区域中创建并展示用户在模型库中选择的模型数据;其中,三维模型库包括如下至少一种:角色模型库和路径模型库。In step S301, model data selected by a user in a model library is created and displayed in an image processing area; wherein the three-dimensional model library includes at least one of the following: a role model library and a path model library.

在本公开实施例中,首先需要获取图像数据,这可以通过在图像处理区域创建并展示用户在模型库中选择的模型数据进行确定。而模型库至少包括三维模型库。而三维模型库包括但不限于如下至少一种:角色模型库和路径模型库。In the disclosed embodiment, image data needs to be acquired first, which can be determined by creating and displaying the model data selected by the user in the model library in the image processing area. The model library at least includes a three-dimensional model library. The three-dimensional model library includes but is not limited to at least one of the following: a role model library and a path model library.

在本公开实施例中,图像处理区域可以显示在本地的模型数据库中选择的图像模型数据。所需的图像模型可以通过输入设备进行输入,而输入方式可以是鼠标点击、拖拽等至少一种,以此确定从模型库中选择得到的模型数据。其中,模型库至少包括三维模型库。而三维模型库可以包括但不限于角色模型库和路径模型库。具体的,角色模型库可以是利用骨骼和模型的各个部分进行关联实现对应的骨骼动画模型。路径模型库可以理解为将几何图像和运动路径结合的路径动画模型。In the disclosed embodiment, the image processing area can display the image model data selected in the local model database. The required image model can be input through an input device, and the input method can be at least one of mouse clicking and dragging, so as to determine the model data selected from the model library. Among them, the model library at least includes a three-dimensional model library. The three-dimensional model library can include but is not limited to a role model library and a path model library. Specifically, the role model library can be a skeleton animation model that is realized by associating the various parts of the skeleton and the model. The path model library can be understood as a path animation model that combines a geometric image with a motion path.

在步骤S302中,其中,对选择的图像数据进行图像处理,其中,处理的处理方式包括如下至少一种:调整、编辑、切割、测量和查看。In step S302, image processing is performed on the selected image data, wherein the processing method includes at least one of the following: adjustment, editing, cutting, measurement and viewing.

在本公开实施例中,接着,获取图像处理数据。而获取图像处理数据时候的图像处理方法包括但不限于如下至少一种:调整、编辑、切割、测量和查看。具体地,调整可以为调整所选图像数据的大小、位置等至少一种。编辑可以为编辑确定是否进行图像数据的组合以及拆分等至少一种。测量可以为测量图像数据的图像边缘或者向量计算图像数据等至少一种测量计算方法,得到图像处理数据:长度、宽度和高度等至少一种数据;还可以通过多边形运算的方法确定图像数据的表面积;还可以通过边界体积或体素法等至少一种方法确定图像数据的体积。查看可以为使用缩放工具来放大或缩小图像数据的查看比例,还可以切换不同的视图模式(如正常视图、全屏视图等至少一种)以获得更舒适的查看体验。需要注意的是,具体的对于图像处理数据的处理方法在此处不作唯一的限定。In the disclosed embodiment, then, image processing data is obtained. The image processing method when obtaining image processing data includes but is not limited to at least one of the following: adjustment, editing, cutting, measurement and viewing. Specifically, adjustment can be at least one of adjusting the size and position of the selected image data. Editing can be editing to determine whether to combine and split the image data. Measurement can be at least one measurement and calculation method such as measuring the image edge of the image data or vector calculation of the image data to obtain image processing data: at least one data such as length, width and height; the surface area of the image data can also be determined by a polygon operation method; the volume of the image data can also be determined by at least one method such as a boundary volume or a voxel method. Viewing can be using a zoom tool to enlarge or reduce the viewing ratio of the image data, and different view modes (such as normal view, full screen view, etc.) can also be switched to obtain a more comfortable viewing experience. It should be noted that the specific processing method for image processing data is not the only limitation here.

在步骤S303中,获取进行图像处理得到的图像处理数据。In step S303, image processing data obtained by image processing is acquired.

在本公开实施例中,获取对图像数据的处理,得到图像处理数据的次数可以是一次或者多次,在此不作唯一的限定。根据用户偏爱自行设定处理方法以及次数,得到图像处理数据。In the disclosed embodiment, the processing of the image data can be performed once or multiple times to obtain the image processing data, which is not limited here. The processing method and the number of times are set according to the user's preference to obtain the image processing data.

这样,步骤S302和S303就可以完成对图像数据的处理,得到图像处理数据。In this way, steps S302 and S303 can complete the processing of the image data and obtain image processing data.

通过上述方法就得到图像数据和图像处理数据。基于所述图像数据就可以处理得到图像处理数据,并在虚拟展示界面中展示图像处理数据,以下具体说明:The image data and image processing data are obtained by the above method. Based on the image data, the image processing data can be processed and displayed in the virtual display interface, as described below:

在步骤S304中,基于坐标数据与图像处理数据,确定渲染图像参数。In step S304, rendering image parameters are determined based on the coordinate data and the image processing data.

在步骤S305中,基于渲染图像参数,渲染到虚拟空间的虚拟展示界面中。In step S305, based on the rendering image parameters, the image is rendered into a virtual display interface of the virtual space.

在本公开实施例中,可以根据坐标数据和图像处理数据确定渲染图像参数,并利用渲染图像参数渲染到虚拟展示界面中。其中,渲染图像参数包括但不限于采样质量、景深、抗锯齿类型和渲染器设置类型等至少一种指标。In the disclosed embodiment, the rendering image parameters can be determined according to the coordinate data and the image processing data, and rendered into the virtual display interface using the rendering image parameters, wherein the rendering image parameters include but are not limited to at least one indicator such as sampling quality, depth of field, anti-aliasing type, and renderer setting type.

首先,需要确定渲染图像参数。通过结合坐标数据和图像处理数据确定渲染参数。这是因为坐标数据提供了场景中物体或特征点的空间位置信息,而图像处理数据包换多种图像属性。通过结合这些信息,我们可以精确地设定渲染图像所需的参数,以生成高质量、逼真的虚拟场景。接着,可以根据渲染图像参数,将坐标数据和图像处理数据与虚拟空间中的相关元素进行关联和整合。最后将图像处理数据渲染集成展示到虚拟空间的虚拟展示界面中。具体的关联和展示方式在此不作限定。当然,在本公开实施例中,还可以按照预定格式存储坐标数据与图像处理数据。First, it is necessary to determine the rendering image parameters. The rendering parameters are determined by combining the coordinate data and the image processing data. This is because the coordinate data provides the spatial position information of the objects or feature points in the scene, while the image processing data contains a variety of image attributes. By combining this information, we can accurately set the parameters required for rendering the image to generate a high-quality, realistic virtual scene. Then, according to the rendering image parameters, the coordinate data and the image processing data can be associated and integrated with the relevant elements in the virtual space. Finally, the image processing data is rendered and integrated and displayed in the virtual display interface of the virtual space. The specific association and display method are not limited here. Of course, in the embodiment of the present disclosure, the coordinate data and the image processing data can also be stored in a predetermined format.

在本公开实施例中,还可以将坐标数据和图像处理数据按照预定的格式和路径进行保存。根据应用需求和存储空间的限制,选择多种合适的图像格式进行存储。同时在存储图像处理数据时,还可以确定存储路径和命名规则,以便后续能够方便地检索和使用这些图像处理数据。In the disclosed embodiment, the coordinate data and the image processing data can also be saved in a predetermined format and path. According to the application requirements and the storage space limitation, multiple suitable image formats can be selected for storage. At the same time, when storing the image processing data, the storage path and naming rules can also be determined so that the image processing data can be easily retrieved and used later.

示例性的,根据上述的测量与切割获取图像处理数据的方法为下图4,图4是图示根据本公开实施例的获取图像处理数据的方法的流程图。如图4所述,获取图像处理数据的方法的流程图包括以下步骤:Exemplarily, the method for obtaining image processing data according to the above-mentioned measurement and cutting is shown in FIG4 below, which is a flow chart illustrating the method for obtaining image processing data according to an embodiment of the present disclosure. As shown in FIG4, the flow chart of the method for obtaining image processing data includes the following steps:

在步骤S401中,基于图像数据,测量确定几何数据。In step S401 , geometric data is measured and determined based on the image data.

在本公开实施例中,还可以根据用户选择的图像数据进行几何测量,得到关于图像数据的几何数据。其中,几何测量的方法包括:特征点标定法、视差测量法、接触式测量法和非接触式测量法等的至少一种,在此不作唯一的限定。这些方法各有特点,适用范围也不同,可以根据具体需求选择合适的方法来进行图像数据的几何测量。In the disclosed embodiment, geometric measurement can also be performed based on the image data selected by the user to obtain geometric data about the image data. The geometric measurement method includes at least one of a feature point calibration method, a parallax measurement method, a contact measurement method, and a non-contact measurement method, which are not limited here. These methods have their own characteristics and different scopes of application. You can select a suitable method to perform geometric measurement of image data according to specific needs.

在步骤S402中,基于图像数据,切割确定切平面数据。In step S402, cutting plane data is determined based on the image data.

在本公开实施例中,还可以根据用户选择图像数据进行切割确定关于图像数据的切平面数据。其中,图像切割的方法包括:基于阈值的切割、基于区域的切割、基于特定理论的切割和基于图论的切割等的至少一种,在此不作唯一的限定。这些方法各有特点,适用范围也不同,可以根据具体需求选择合适的方法来进行图像数据的切割操作。In the disclosed embodiment, the cutting plane data about the image data can also be determined according to the user's selection of image data for cutting. The image cutting method includes: at least one of threshold-based cutting, region-based cutting, specific theory-based cutting, and graph-based cutting, which are not limited here. These methods have their own characteristics and different scopes of application. You can select a suitable method to perform the image data cutting operation according to specific needs.

在步骤S403中,基于确定的几何数据和切平面数据,确定图像处理数据。In step S403, image processing data is determined based on the determined geometric data and cutting plane data.

在本公开实施例中,可以通过确定的几何数据和切平面数据,确定图像处理数据。基于几何数据和切平面数据可以确定图像数据的整体变换趋势,得到图像处理数据。In the embodiment of the present disclosure, the image processing data can be determined by the determined geometric data and the cutting plane data. Based on the geometric data and the cutting plane data, the overall transformation trend of the image data can be determined to obtain the image processing data.

图5图示了根据本公开其中一个实施例的虚拟空间中的图像处理方法的整体立体模型示意图。如图5所示,图中右侧501b的图像即为虚拟空间的虚拟展示界面显现的图像,图中左侧501a的图像即为图像处理区域显现的图像。Fig. 5 illustrates a schematic diagram of an overall stereoscopic model of an image processing method in a virtual space according to one embodiment of the present disclosure. As shown in Fig. 5, the image 501b on the right side of the figure is the image displayed on the virtual display interface of the virtual space, and the image 501a on the left side of the figure is the image displayed in the image processing area.

在本公开其中一个实施例中,首先通过虚拟空间的虚拟展示界面创建图像处理区域即为通过501b创建501a。其中,可以通过虚拟相机创建图像处理区域,图像处理区域位于虚拟界面中。这样通过调整虚拟相机的参数进而就可以调整虚拟空间的虚拟展示界面的图像处理区域的参数。In one embodiment of the present disclosure, firstly, the image processing area is created through the virtual display interface of the virtual space, that is, 501a is created through 501b. The image processing area can be created through a virtual camera, and the image processing area is located in the virtual interface. In this way, the parameters of the image processing area of the virtual display interface of the virtual space can be adjusted by adjusting the parameters of the virtual camera.

接着,通过图像处理区域在本地模型库中选取图像模型,图像模型包括三维图形和动画模型。本发明其中一个实施例中,从本地模型库中选取如图5中的所示的三维图形模型502a,并呈现到虚拟空间的虚拟展示界面得到502b,其中,503a即为角色动画模型,并呈现到虚拟空间的虚拟展示界面得到503b。角色动画模型使用逆运动学/正运动学(InverseKinematics/Forward Kinematics)控制器控制角色的骨骼并设置骨骼层次结构,确保角色动画按照预期的目标进行手部、脚部和头部等的旋转和控制。如图5中的504a即为路径动画模型,呈现到虚拟空间的输入界面得到504b。路径动画模型可以创建路径对象并定义路径的形状和方向。将几何图形和路径进行关联得到路径动画。需要注意的是,路径动画模型可以通过插值或者路径参数化的方法确定路径的位置和旋转,同时可以根据路径的长度或时间调整角色的运动速度和动画过渡。Next, an image model is selected from the local model library through the image processing area, and the image model includes a three-dimensional graphic and an animation model. In one embodiment of the present invention, a three-dimensional graphic model 502a as shown in FIG. 5 is selected from the local model library, and is presented to the virtual display interface of the virtual space to obtain 502b, wherein 503a is the character animation model, and is presented to the virtual display interface of the virtual space to obtain 503b. The character animation model uses an inverse kinematics/forward kinematics controller to control the skeleton of the character and set the skeleton hierarchy to ensure that the character animation rotates and controls the hands, feet, and head according to the expected target. As shown in FIG. 5, 504a is a path animation model, which is presented to the input interface of the virtual space to obtain 504b. The path animation model can create a path object and define the shape and direction of the path. The geometric figure and the path are associated to obtain a path animation. It should be noted that the path animation model can determine the position and rotation of the path by interpolation or path parameterization, and can adjust the movement speed and animation transition of the character according to the length or time of the path.

再者,基于图像数据,测量确定几何数据。其中,如图5中的505a即为图像处理区域的图像数据,呈现到虚拟空间的输入界面即为505b。通过测量选定边缘的距离或者向量计算等方法进行确定长度、宽度和高度;可以通过多边形运算的方法确定表面积;还可以通过边界体积或体素法等方法确定体积,将测量的长度、宽度和高度的结果显示到虚拟空间的输入界面中。Furthermore, based on the image data, the geometric data is measured and determined. Among them, 505a in FIG5 is the image data of the image processing area, and the input interface presented to the virtual space is 505b. The length, width and height can be determined by measuring the distance of the selected edge or vector calculation; the surface area can be determined by polygon operation; the volume can also be determined by boundary volume or voxel method, and the results of the measured length, width and height are displayed in the input interface of the virtual space.

接着,基于图像数据,切割确定切平面数据。其中,如图5中的506a即为图像处理区域的图像数据,呈现到虚拟空间的输入界面即为506b。先确定几何图形的交点、切平面,接着可以通过设置裁剪平面或者使用裁剪工具切割得到切平面数据。Next, based on the image data, the cutting plane data is determined by cutting. Among them, 506a in FIG. 5 is the image data of the image processing area, and the input interface presented to the virtual space is 506b. First, the intersection point and cutting plane of the geometric figure are determined, and then the cutting plane data can be obtained by setting the clipping plane or using the clipping tool.

最后将图5中左侧501a的图像处理区域的图像渲染到图5中的右侧501b获取虚拟空间中的虚拟界面所需的图像。其中,渲染的方式可以为逐帧渲染。且渲染到虚拟空间的输入界面的同时可以将图像序列帧保存下来,使用视频编码库将这些图像帧合成为视频文件进行保存。并且可通过调用文档类使用文本文件写入功能将图像处理区域的文字内容转换为多种格式的文件进行保存。Finally, the image of the image processing area 501a on the left side of FIG. 5 is rendered to 501b on the right side of FIG. 5 to obtain the image required for the virtual interface in the virtual space. The rendering method may be frame-by-frame rendering. The image sequence frames may be saved while rendering to the input interface of the virtual space, and the image frames may be synthesized into a video file using a video encoding library for saving. The text content of the image processing area may be converted into files of various formats for saving by calling the document class and using the text file writing function.

图6是图示根据本公开实施例的虚拟空间中的图像处理整体装置图。如图6所示,根据本公开实施例的虚拟空间中的图像处理的装置图包括:创建单元601、生成单元602、采集单元603和展示单元604。Fig. 6 is a diagram showing an overall apparatus for image processing in a virtual space according to an embodiment of the present disclosure. As shown in Fig. 6, the apparatus for image processing in a virtual space according to an embodiment of the present disclosure includes: a creation unit 601, a generation unit 602, a collection unit 603 and a display unit 604.

创建单元601被配置为基于虚拟空间中的虚拟展示界面,创建图像处理区域。The creating unit 601 is configured to create an image processing area based on a virtual display interface in a virtual space.

生成单元602,被配置为将从模型库中选择图像数据导入到图像处理区域中,基于用户对图像数据的编辑生成图像处理数据;模型库至少包括:三维模型库。采集单元603,被配置为利用虚拟相机采集图像处理数据在图像处理区域中的坐标数据。The generation unit 602 is configured to select image data from the model library and import it into the image processing area, and generate image processing data based on the user's editing of the image data; the model library at least includes: a three-dimensional model library. The acquisition unit 603 is configured to use a virtual camera to acquire coordinate data of the image processing data in the image processing area.

展示单元604,被配置为基于坐标数据与图像处理数据,在虚拟展示界面展示图像处理数据。在一种示例性的实施例中,生成单元602进一步被配置为在图像处理区域中创建并展示用户在模型库中选择的模型数据;其中,三维模型库包括如下至少一种:角色模型库和路径模型库。The display unit 604 is configured to display the image processing data on the virtual display interface based on the coordinate data and the image processing data. In an exemplary embodiment, the generation unit 602 is further configured to create and display the model data selected by the user in the model library in the image processing area; wherein the three-dimensional model library includes at least one of the following: a role model library and a path model library.

在一种示例性的实施例中,生成单元602进一步被配置为基对选择的图像数据进行图像处理,其中,处理的处理方式包括如下至少一种:调整、编辑、切割、测量和查看;获取进行图像处理得到的图像处理数据。In an exemplary embodiment, the generation unit 602 is further configured to perform image processing on the selected image data, wherein the processing method includes at least one of the following: adjusting, editing, cutting, measuring and viewing; and obtaining image processing data obtained by image processing.

在一种示例性的实施例中,生成单元602进一步被配置为基于图像数据,测量确定几何数据;基于图像数据,切割确定切平面数据;基于确定的几何数据和切平面数据,确定图像处理数据。In an exemplary embodiment, the generating unit 602 is further configured to measure and determine geometric data based on the image data; cut and determine cutting plane data based on the image data; and determine image processing data based on the determined geometric data and cutting plane data.

在一种示例性的实施例中,方法还包括:按照预定格式存储所述坐标数据与所述图像处理数据。In an exemplary embodiment, the method further includes: storing the coordinate data and the image processing data in a predetermined format.

在一种示例性的实施例中,展示单元604进一步被配置为基于坐标数据与图像处理数据,确定渲染图像参数;基于渲染参数,渲染到虚拟空间的虚拟展示界面中。In an exemplary embodiment, the display unit 604 is further configured to determine rendering image parameters based on the coordinate data and the image processing data; and render the image into a virtual display interface in the virtual space based on the rendering parameters.

图7是图示根据本公开实施例的电子设备700的硬件框图。根据本公开实施例的电子设备至少包括处理器;以及存储器,用于存储计算机可读指令。当计算机可读指令由处理器加载并运行时,处理器执行如上所述的网络接入方法。FIG7 is a hardware block diagram of an electronic device 700 according to an embodiment of the present disclosure. The electronic device according to an embodiment of the present disclosure includes at least a processor; and a memory for storing computer-readable instructions. When the computer-readable instructions are loaded and executed by the processor, the processor executes the network access method as described above.

图7所示的电子设备700具体地包括:中央处理单元(CPU)701、图形处理单元(GPU)702和主存储器703。这些单元通过总线704互相连接。中央处理单元(CPU)701和/或图形处理单元(GPU)702可以用作上述处理器,主存储器703可以用作上述存储计算机可读指令的存储器。此外,电子设备700还可以包括通信单元705、存储单元706、输出单元707、输入单元708和外部设备709,这些单元也连接到总线704。The electronic device 700 shown in FIG7 specifically includes: a central processing unit (CPU) 701, a graphics processing unit (GPU) 702, and a main memory 703. These units are connected to each other via a bus 704. The central processing unit (CPU) 701 and/or the graphics processing unit (GPU) 702 can be used as the above-mentioned processor, and the main memory 703 can be used as the above-mentioned memory for storing computer-readable instructions. In addition, the electronic device 700 may also include a communication unit 705, a storage unit 706, an output unit 707, an input unit 708, and an external device 709, which are also connected to the bus 704.

图8是图示根据本公开的实施例的计算机可读存储介质的示意图。如图8所示,根据本公开实施例的计算机可读存储介质800其上存储有计算机可读指令801。当所述计算机可读指令801由处理器运行时,执行参照以上附图描述的根据本公开实施例的网络接入方法。所述计算机可读存储介质包括但不限于例如易失性存储器和/或非易失性存储器。所述易失性存储器例如可以包括随机存取存储器(RAM)和/或高速缓冲存储器(cache)等。所述非易失性存储器例如可以包括只读存储器(ROM)、硬盘、闪存、光盘、磁盘等。FIG8 is a schematic diagram illustrating a computer-readable storage medium according to an embodiment of the present disclosure. As shown in FIG8 , a computer-readable storage medium 800 according to an embodiment of the present disclosure has computer-readable instructions 801 stored thereon. When the computer-readable instructions 801 are executed by a processor, the network access method according to an embodiment of the present disclosure described with reference to the above figures is executed. The computer-readable storage medium includes, but is not limited to, for example, volatile memory and/or non-volatile memory. The volatile memory may, for example, include a random access memory (RAM) and/or a cache memory (cache), etc. The non-volatile memory may, for example, include a read-only memory (ROM), a hard disk, a flash memory, an optical disk, a magnetic disk, etc.

以上,参照附图描述了根据本公开实施例的一种虚拟空间中的图像处理方法、装置和电子设备,虚拟展示界面显示图像处理区域的内容,基于虚拟展示界面,创建图像处理区域。在图像处理区域中,可以得到从模型库选择的图像数据以及针对图像数据编辑生成的图像处理数据。其中,模型库至少包括:三维模型库。由于模型库中至少包括三维模型库,在此基础上,用户可以任意选择二维或三维图像来进行处理。即,能够满足用户在虚拟会议场景中使用三维图像进行演示或辅助说明的客观需求。另一方面,本公开中,还利用虚拟相机采集图像处理数据在虚拟展示界面中的坐标数据,从而,基于坐标数据与图像处理数据,就可以在虚拟展示界面中展示处理后的图像处理数据,并且,本公开对坐标数据与图像处理数据的存储方式无任何限制,这样就可以在任意场景中进行图像处理数据的完整还原。综上,虚拟会议的虚拟展示界面就能进行3D图像的处理以及展示,使得不仅能进行2D的图像处理,还可以进行3D的图像处理,克服了会议内容单一固定的问题,也克服了虚拟会议等类似场景中3D图像无法展示、处理、保存的技术困扰,能够满足实际使用过程中的客观需求,例如:在视频会议场景中若涉及对某一三维结构的讨论时,例如讨论纸巾盒样式,就可以通过本方案来立体呈现纸巾盒这一三维对象在不同角度的样式,参会人员就能够直观、高效了解到会议讨论内容与重点,为会议过程提供了直观高效的辅助,满足了会议沟通直观高效的客观需求。In the above, an image processing method, device and electronic device in a virtual space according to an embodiment of the present disclosure are described with reference to the accompanying drawings. The virtual display interface displays the content of the image processing area, and the image processing area is created based on the virtual display interface. In the image processing area, image data selected from the model library and image processing data generated by editing the image data can be obtained. Among them, the model library at least includes: a three-dimensional model library. Since the model library includes at least a three-dimensional model library, on this basis, the user can arbitrarily select a two-dimensional or three-dimensional image for processing. That is, it can meet the objective needs of users to use three-dimensional images for demonstration or auxiliary explanation in virtual conference scenes. On the other hand, in the present disclosure, a virtual camera is also used to collect the coordinate data of the image processing data in the virtual display interface, so that based on the coordinate data and the image processing data, the processed image processing data can be displayed in the virtual display interface, and the present disclosure has no restrictions on the storage method of the coordinate data and the image processing data, so that the image processing data can be completely restored in any scene. In summary, the virtual display interface of the virtual meeting can process and display 3D images, so that not only 2D image processing but also 3D image processing can be performed, which overcomes the problem of single and fixed meeting content, and also overcomes the technical difficulties of 3D images that cannot be displayed, processed and saved in virtual meetings and other similar scenarios, and can meet the objective needs in actual use. For example: in a video conference scenario, if a discussion on a certain three-dimensional structure is involved, such as discussing the style of a tissue box, this solution can be used to present the style of the three-dimensional object of the tissue box at different angles in three dimensions, so that the participants can intuitively and efficiently understand the content and key points of the meeting discussion, which provides intuitive and efficient assistance for the meeting process and meets the objective needs of intuitive and efficient meeting communication.

本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本公开的范围。Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this disclosure.

以上结合具体实施例描述了本公开的基本原理,但是,需要指出的是,在本公开中提及的优点、优势、效果等仅是示例而非限制,不能认为这些优点、优势、效果等是本公开的各个实施例必须具备的。另外,上述公开的具体细节仅是为了示例的作用和便于理解的作用,而非限制,上述细节并不限制本公开为必须采用上述具体的细节来实现。The basic principles of the present disclosure are described above in conjunction with specific embodiments. However, it should be noted that the advantages, strengths, effects, etc. mentioned in the present disclosure are only examples and not limitations, and it cannot be considered that these advantages, strengths, effects, etc. must be possessed by each embodiment of the present disclosure. In addition, the specific details disclosed above are only for the purpose of illustration and ease of understanding, rather than limitation, and the above details do not limit the present disclosure to the necessity of adopting the above specific details to be implemented.

本公开中涉及的器件、装置、设备、系统的方框图仅作为例示性的例子并且不意图要求或暗示必须按照方框图示出的方式进行连接、布置、配置。如本领域技术人员将认识到的,可以按任意方式连接、布置、配置这些器件、装置、设备、系统。诸如“包括”、“包含”、“具有”等等的词语是开放性词汇,指“包括但不限于”,且可与其互换使用。这里所使用的词汇“或”和“和”指词汇“和/或”,且可与其互换使用,除非上下文明确指示不是如此。这里所使用的词汇“诸如”指词组“诸如但不限于”,且可与其互换使用。The block diagrams of the devices, apparatuses, equipment, and systems involved in this disclosure are only illustrative examples and are not intended to require or imply that they must be connected, arranged, and configured in the manner shown in the block diagrams. As will be appreciated by those skilled in the art, these devices, apparatuses, equipment, and systems can be connected, arranged, and configured in any manner. Words such as "including," "comprising," "having," and the like are open words, referring to "including but not limited to," and can be used interchangeably therewith. The words "or" and "and" used herein refer to the words "and/or," and can be used interchangeably therewith, unless the context clearly indicates otherwise. The word "such as" used herein refers to the phrase "such as but not limited to," and can be used interchangeably therewith.

另外,如在此使用的,在以“至少一个”开始的项的列举中使用的“或”指示分离的列举,以便例如“A、B或C的至少一个”的列举意味着A或B或C,或AB或AC或BC,或ABC(即A和B和C)。此外,措辞“示例的”不意味着描述的例子是优选的或者比其他例子更好。Additionally, as used herein, "or" used in a list of items beginning with "at least one" indicates a separate list, so that, for example, a list of "at least one of A, B, or C" means A or B or C, or AB or AC or BC, or ABC (i.e., A and B and C). Furthermore, the word "exemplary" does not mean that the example described is preferred or better than other examples.

还需要指出的是,在本公开的系统和方法中,各部件或各步骤是可以分解和/或重新组合的。这些分解和/或重新组合应视为本公开的等效方案。It should also be noted that in the system and method of the present disclosure, each component or each step can be decomposed and/or recombined. Such decomposition and/or recombination should be regarded as equivalent solutions of the present disclosure.

可以不脱离由所附权利要求定义的教导的技术而进行对在此所述的技术的各种改变、替换和更改。此外,本公开的权利要求的范围不限于以上所述的处理、机器、制造、事件的组成、手段、方法和动作的具体方面。可以利用与在此所述的相应方面进行基本相同的功能或者实现基本相同的结果的当前存在的或者稍后要开发的处理、机器、制造、事件的组成、手段、方法或动作。因而,所附权利要求包括在其范围内的这样的处理、机器、制造、事件的组成、手段、方法或动作。Various changes, substitutions, and modifications of the techniques described herein may be made without departing from the teachings defined by the appended claims. Furthermore, the scope of the claims of the present disclosure is not limited to the specific aspects of the processes, machines, manufactures, compositions of events, means, methods, and actions described above. Currently existing or later to be developed processes, machines, manufactures, compositions of events, means, methods, or actions that perform substantially the same functions or achieve substantially the same results as the corresponding aspects described herein may be utilized. Thus, the appended claims include such processes, machines, manufactures, compositions of events, means, methods, or actions within their scope.

提供所公开的方面的以上描述以使本领域的任何技术人员能够做出或者使用本公开。对这些方面的各种修改对于本领域技术人员而言是非常显而易见的,并且在此定义的一般原理可以应用于其他方面而不脱离本公开的范围。因此,本公开不意图被限制到在此示出的方面,而是按照与在此公开的原理和新颖的特征一致的最宽范围。The above description of the disclosed aspects is provided to enable any person skilled in the art to make or use the present disclosure. Various modifications to these aspects will be readily apparent to those skilled in the art, and the general principles defined herein may be applied to other aspects without departing from the scope of the present disclosure. Therefore, the present disclosure is not intended to be limited to the aspects shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.

为了例示和描述的目的已经给出了以上描述。此外,此描述不意图将本公开的实施例限制到在此公开的形式。尽管以上已经讨论了多个示例方面和实施例,但是本领域技术人员将认识到其某些变型、修改、改变、添加和子组合。The above description has been given for the purpose of illustration and description. In addition, this description is not intended to limit the embodiments of the present disclosure to the forms disclosed herein. Although multiple example aspects and embodiments have been discussed above, those skilled in the art will recognize certain variations, modifications, changes, additions and sub-combinations thereof.

Claims (10)

1.一种虚拟空间中的图像处理方法,其特征在于,所述方法包括:1. A method for image processing in a virtual space, characterized in that the method comprises: 基于虚拟空间中的虚拟展示界面,创建图像处理区域;Creating an image processing area based on a virtual display interface in a virtual space; 将从模型库中选择图像数据导入到所述图像处理区域中,基于用户对所述图像数据的编辑生成图像处理数据;所述模型库至少包括:三维模型库;Selecting image data from a model library and importing it into the image processing area, generating image processing data based on the user's editing of the image data; the model library at least includes: a three-dimensional model library; 利用虚拟相机采集所述图像处理数据在所述图像处理区域中的坐标数据;Using a virtual camera to collect coordinate data of the image processing data in the image processing area; 基于所述坐标数据与所述图像处理数据,在所述虚拟展示界面展示所述图像处理数据。Based on the coordinate data and the image processing data, the image processing data is displayed on the virtual display interface. 2.如权利要求1所述的虚拟空间中的图像处理方法,其特征在于,所述将从模型库中选择图像数据导入到所述图像处理区域中,包括:2. The image processing method in a virtual space according to claim 1, wherein the step of selecting image data from a model library and importing it into the image processing area comprises: 在所述图像处理区域中创建并展示用户在模型库中选择的模型数据;Creating and displaying the model data selected by the user in the model library in the image processing area; 其中,所述三维模型库包括如下至少一种:角色模型库和路径模型库。Wherein, the three-dimensional model library includes at least one of the following: a role model library and a path model library. 3.如权利要求1所述的虚拟空间中的图像处理方法,其特征在于,所述基于用户对所述图像数据的编辑生成图像处理数据,包括:3. The image processing method in a virtual space according to claim 1, wherein the step of generating the image processing data based on the user's editing of the image data comprises: 对选择的所述图像数据进行图像处理,其中,所述处理的处理方式包括如下至少一种:调整、编辑、切割、测量和查看;Performing image processing on the selected image data, wherein the processing includes at least one of the following: adjusting, editing, cutting, measuring and viewing; 获取进行所述图像处理得到的图像处理数据。The image processing data obtained by performing the image processing is acquired. 4.如权利要求1或3所述的虚拟空间中的图像处理方法,其特征在于,所述基于用户对所述图像数据的编辑生成图像处理数据,包括:4. The image processing method in a virtual space according to claim 1 or 3, wherein the step of generating the image processing data based on the user's editing of the image data comprises: 基于所述图像数据,测量确定几何数据;Based on the image data, measuring and determining geometric data; 基于所述图像数据,切割确定切平面数据;Based on the image data, cutting determines cutting plane data; 基于所述确定的几何数据和切平面数据,确定所述图像处理数据。Based on the determined geometric data and tangent plane data, the image processing data are determined. 5.如权利要求1所述的虚拟空间中的图像处理方法,其特征在于,所述利用虚拟相机采集所述图像处理数据在所述图像处理区域中的坐标数据之后,还包括:5. The image processing method in a virtual space according to claim 1, characterized in that after the using a virtual camera to collect the coordinate data of the image processing data in the image processing area, it further comprises: 按照预定格式存储所述坐标数据与所述图像处理数据。The coordinate data and the image processing data are stored in a predetermined format. 6.如权利要求1所述的虚拟空间中的图像处理方法,其特征在于,所述基于所述坐标数据与所述图像处理数据,在所述虚拟展示界面展示所述图像处理数据,包括:6. The image processing method in a virtual space according to claim 1, wherein displaying the image processing data on the virtual display interface based on the coordinate data and the image processing data comprises: 基于所述坐标数据与所述图像处理数据,确定渲染图像参数;Determining rendering image parameters based on the coordinate data and the image processing data; 基于所述渲染图像参数,渲染到所述虚拟空间的虚拟展示界面中。Based on the rendering image parameters, the rendering is performed into a virtual display interface of the virtual space. 7.一种虚拟空间中的图像处理装置,其特征在于,包括:7. An image processing device in a virtual space, comprising: 创建单元,被配置为基于虚拟空间中的虚拟展示界面,创建图像处理区域;A creating unit configured to create an image processing area based on a virtual display interface in a virtual space; 生成单元,被配置为将从模型库中选择图像数据导入到所述图像处理区域中,基于用户对所述图像数据的编辑生成图像处理数据;所述模型库至少包括:三维模型库;A generating unit is configured to select image data from a model library and import it into the image processing area, and generate image processing data based on the user's editing of the image data; the model library at least includes: a three-dimensional model library; 采集单元,被配置为利用虚拟相机采集所述图像处理数据在所述图像处理区域中的坐标数据;A collection unit, configured to collect coordinate data of the image processing data in the image processing area using a virtual camera; 展示单元,被配置为基于所述坐标数据与所述图像处理数据,在所述虚拟展示界面展示所述图像处理数据。The display unit is configured to display the image processing data on the virtual display interface based on the coordinate data and the image processing data. 8.一种电子设备,其特征在于,包括:8. An electronic device, comprising: 存储器,用于存储计算机可读指令;以及a memory for storing computer-readable instructions; and 处理器,用于运行所述计算机可读指令,使得所述电子设备执行如权利要求1到6的任一项所述的虚拟空间中的图像处理方法。A processor, configured to execute the computer-readable instructions so that the electronic device executes the image processing method in a virtual space as described in any one of claims 1 to 6. 9.一种非瞬时性计算机可读存储介质,用于存储计算机可读指令,其特征在于,当所述计算机可读指令由处理器执行时,使得所述处理器执行如权利要求1到6的任一项所述的虚拟空间中的图像处理方法。9. A non-transitory computer-readable storage medium for storing computer-readable instructions, characterized in that when the computer-readable instructions are executed by a processor, the processor executes the image processing method in a virtual space as described in any one of claims 1 to 6. 10.一种计算机程序产品,其特征在于,包括计算机程序,所述计算机程序被处理器执行实现如权利要求1到6任一项所述虚拟空间中的图像处理的方法。10. A computer program product, characterized in that it comprises a computer program, wherein the computer program is executed by a processor to implement the method for image processing in a virtual space as claimed in any one of claims 1 to 6.
CN202410447587.4A 2024-04-15 2024-04-15 Image processing method and device in virtual space and electronic equipment Pending CN118411498A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410447587.4A CN118411498A (en) 2024-04-15 2024-04-15 Image processing method and device in virtual space and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410447587.4A CN118411498A (en) 2024-04-15 2024-04-15 Image processing method and device in virtual space and electronic equipment

Publications (1)

Publication Number Publication Date
CN118411498A true CN118411498A (en) 2024-07-30

Family

ID=91990330

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410447587.4A Pending CN118411498A (en) 2024-04-15 2024-04-15 Image processing method and device in virtual space and electronic equipment

Country Status (1)

Country Link
CN (1) CN118411498A (en)

Similar Documents

Publication Publication Date Title
US10817132B2 (en) Three-dimensional digital models in two-dimensional digital canvases
US8281281B1 (en) Setting level of detail transition points
US8655052B2 (en) Methodology for 3D scene reconstruction from 2D image sequences
US9153062B2 (en) Systems and methods for sketching and imaging
CN110163942B (en) Image data processing method and device
JP4203779B2 (en) Display element three-dimensional apparatus and method
Yue et al. WireDraw: 3D Wire Sculpturing Guided with Mixed Reality.
US6307554B1 (en) Apparatus and method for generating progressive polygon data, and apparatus and method for generating three-dimensional real-time graphics using the same
JP5299173B2 (en) Image processing apparatus, image processing method, and program
KR20130004066A (en) Method for designing a geometrical three-dimensional modeled object
Gao et al. An approach to solid modeling in a semi-immersive virtual environment
JPH09319896A (en) 3D image creation device
US11074747B2 (en) Computer-aided techniques for designing detailed three-dimensional objects
Lin et al. An immersive labeling method for large point clouds
JP2025031730A (en) Method and system for generating polygon meshes that approximate surfaces using root finding and iteration on mesh vertex positions - Patents.com
US11551409B2 (en) Rendering portions of a three-dimensional environment with different sampling rates utilizing a user-defined focus frame
Zhang et al. Sceneviewer: Automating residential photography in virtual environments
KR102641060B1 (en) Image processing method and apparatus for facilitating 3d object editing by a user
CN118411498A (en) Image processing method and device in virtual space and electronic equipment
US8228335B1 (en) Snapsheet animation visualization
JP3309841B2 (en) Synthetic moving image generating apparatus and synthetic moving image generating method
CN114820968A (en) Three-dimensional visualization method and device, robot, electronic device and storage medium
CN114067072A (en) Three-dimensional geometric figure drawing method and device and electronic equipment
US8077183B1 (en) Stepmode animation visualization
JP2020013390A (en) Information processing apparatus, information processing program, and information processing method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination