CN112118437B - Virtual reality classroom simulation method and system - Google Patents

Virtual reality classroom simulation method and system Download PDF

Info

Publication number
CN112118437B
CN112118437B CN202011018199.2A CN202011018199A CN112118437B CN 112118437 B CN112118437 B CN 112118437B CN 202011018199 A CN202011018199 A CN 202011018199A CN 112118437 B CN112118437 B CN 112118437B
Authority
CN
China
Prior art keywords
classroom
courseware
brightness
information
background
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011018199.2A
Other languages
Chinese (zh)
Other versions
CN112118437A (en
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.)
Shanghai Squirrel Classroom Artificial Intelligence Technology Co Ltd
Original Assignee
Shanghai Squirrel Classroom Artificial Intelligence 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 Shanghai Squirrel Classroom Artificial Intelligence Technology Co Ltd filed Critical Shanghai Squirrel Classroom Artificial Intelligence Technology Co Ltd
Priority to CN202011018199.2A priority Critical patent/CN112118437B/en
Publication of CN112118437A publication Critical patent/CN112118437A/en
Application granted granted Critical
Publication of CN112118437B publication Critical patent/CN112118437B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N13/00Stereoscopic video systems; Multi-view video systems; Details thereof
    • H04N13/10Processing, recording or transmission of stereoscopic or multi-view image signals
    • H04N13/106Processing image signals
    • H04N13/133Equalising the characteristics of different image components, e.g. their average brightness or colour balance
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09BEDUCATIONAL OR DEMONSTRATION APPLIANCES; APPLIANCES FOR TEACHING, OR COMMUNICATING WITH, THE BLIND, DEAF OR MUTE; MODELS; PLANETARIA; GLOBES; MAPS; DIAGRAMS
    • G09B5/00Electrically-operated educational appliances
    • G09B5/08Electrically-operated educational appliances providing for individual presentation of information to a plurality of student stations

Abstract

The invention provides a virtual reality classroom simulation method and a virtual reality classroom simulation system, which can respectively acquire the tone state information and the brightness state information corresponding to a classroom background area and a virtual classroom, adjust the tone states of the classroom background area and the virtual classroom by determining the tone difference of the classroom background area and the virtual classroom in the tone state, and determine the expected brightness of the classroom background area according to the background brightness fluctuation state of the classroom background area and the uniform degree state of the classroom display brightness, so that the classroom background area and the virtual classroom can be coordinated, optimized and adjusted in the tone state and the brightness state, and the display quality and the viewing experience of the virtual reality classroom are improved.

Description

Virtual reality classroom simulation method and system
Technical Field
The invention relates to the technical field of intelligent education, in particular to a virtual reality classroom simulation method and system.
Background
At present, virtual reality teaching is widely applied to online course teaching, and students can learn knowledge courses in an immersive environment by watching a virtual reality classroom, so that the learning interest of the students can be improved, and the learning efficiency of the students can be improved. In the virtual reality teaching in the prior art, corresponding virtual courseware contents are presented in corresponding classroom backgrounds, and the respective hue parameters and brightness parameters of the classroom backgrounds and the virtual courseware contents are preset, so that although students can manually adjust the hue parameters and the brightness parameters according to own visual requirements, the mode of manual adjustment is difficult to realize optimal matching of the classroom backgrounds and the virtual courseware contents on the aspect of hue and brightness, and the visual experience of the students in watching virtual reality classrooms is seriously influenced. Therefore, there is a need in the art for a method and a system capable of performing coordinated optimization adjustment on the hue state and the brightness state of the classroom background and the virtual courseware content corresponding to the virtual reality classroom in the virtual reality teaching process.
Disclosure of Invention
Aiming at the defects of the prior art, the invention provides a virtual reality classroom simulation method and system, by acquiring the color tone information of the classroom background area of the virtual real classroom and the courseware display color tone information of the virtual courseware, and according to the classroom background region color tone information and the courseware display color tone information, the classroom background region color tone of the virtual reality classroom and/or the courseware display color tone of the virtual classroom are/is adjusted, and the background brightness fluctuation change information of the classroom background region of the virtual reality classroom is obtained, determining expected brightness adjustment information of the classroom background area according to the classroom background brightness fluctuation information and the classroom display brightness uniformity information, and adjusting the actual brightness of the classroom background area according to the expected brightness adjustment information; therefore, the virtual reality classroom simulation method and the virtual reality classroom simulation system can respectively acquire the tone state information and the brightness state information corresponding to the classroom background area and the virtual courseware, adjust the tone states of the classroom background area and the virtual courseware by determining the tone difference of the classroom background area and the virtual courseware in the tone states, and determine the expected brightness of the classroom background area according to the background brightness fluctuation state of the classroom background area and the uniform degree state of the classroom display brightness, so that the classroom background area and the virtual courseware can be coordinated, optimized and adjusted in the tone state and the brightness state, and the display quality and the viewing experience of the virtual reality classroom are improved.
The invention provides a virtual reality classroom simulation method, which comprises the following steps:
step S1, obtaining classroom background area color tone information of a virtual classroom and courseware display color tone information of a virtual classroom, and adjusting classroom background area color tone of the virtual reality classroom and/or courseware display color tone of the virtual classroom according to the classroom background area color tone information and the courseware display color tone information;
step S2, acquiring the fluctuation information of the background brightness of the classroom background area of the virtual classroom and the uniformity information of the courseware display brightness of the virtual classroom;
step S3, according to the classroom background brightness fluctuation information and the classroom display brightness uniformity information, determining the expected brightness adjustment information of the classroom background area, and according to the expected brightness adjustment information, adjusting the actual brightness of the classroom background area;
further, in step S1, the obtaining of the classroom background area hue information of the virtual reality classroom and the class display hue information of the virtual classroom, and the adjusting of the classroom background area hue of the virtual reality classroom and/or the class display hue of the virtual classroom according to the classroom background area hue information and the class display hue information specifically includes:
step S101, dividing a classroom background area of the virtual reality classroom into a plurality of rectangular background sub-areas with equal areas, determining a background tone value of each rectangular background sub-area, and determining first plane tone distribution information corresponding to the classroom background area according to the background tone values of all the rectangular background sub-areas;
step S102, dividing the courseware display area of the virtual courseware into a plurality of rectangular courseware sub-areas with equal areas, determining the courseware tone value of each rectangular courseware sub-area, and determining second plane tone distribution information corresponding to the courseware display area according to the courseware tone values of all the rectangular courseware sub-areas;
step S103, determining a hue distribution difference value between the first plane hue distribution information and the second plane hue distribution information, if the hue distribution difference value exceeds a preset hue difference threshold value, adjusting a background hue value of any rectangular background subregion and/or a courseware hue value of any rectangular courseware subregion, so that the adjusted hue distribution difference value does not exceed the preset hue difference threshold value, otherwise, keeping the background hue value of the courseware background region and the courseware hue value of the courseware display region unchanged;
further, in step S2, the obtaining of the background brightness fluctuation information of the classroom background area of the virtual reality classroom and the courseware display brightness uniformity information of the virtual courseware specifically includes:
step S201, determining the background brightness fluctuation information of the classroom background area of the virtual reality classroom according to the following formula (1):
Figure GDA0003135806550000031
in the above formula (1), J (a, b) represents a variation value of background luminance fluctuation of a pixel point whose coordinates are (a, b) in the classroom background region, and P (a, b) represents an initial luminance value of a pixel point whose coordinates are (a, b) in the classroom background region;
Figure GDA0003135806550000032
σ[P(a,b)]represents the standard deviation of P (a, b); sigma2[P(a,b)]Represents the variance of P (a, b);
step S202, determining the courseware display brightness uniformity information of the virtual courseware according to the following formula (2):
Figure GDA0003135806550000033
in the above formula (2), W represents a courseware display brightness uniformity coefficient of the virtual courseware, Y (x, Y) represents a courseware display brightness value of a pixel point with coordinates (x, Y) in a courseware display area of the virtual courseware, m represents the total number of pixel points of the courseware display area in the horizontal direction, n represents the total number of pixel points of the courseware display area in the vertical direction, σ represents2[Y(x,y)]Representing the variance of the brightness value of the courseware display;
further, in step S3, determining expected luminance adjustment information of the classroom background area according to the classroom background luminance fluctuation information and the uniformity degree information of the classroom display luminance, and adjusting the actual luminance of the classroom background area according to the expected luminance adjustment information specifically includes:
step S301, determining expected brightness adjustment information of the classroom background area according to the background brightness fluctuation variation value J (a, b), the courseware display brightness uniformity coefficient W, and the following formula (3):
Figure GDA0003135806550000041
in the formula (3), Q (a, b) represents a target brightness value to which a pixel point with coordinates (a, b) is expected to be adjusted in a classroom background region, J (a, b) represents a fluctuation change value of background brightness of a pixel point with coordinates (a, b) in a classroom background region, W represents a courseware display brightness uniformity degree coefficient of the virtual courseware, Y (x, Y) represents a courseware display brightness value of a pixel point with coordinates (x, Y) in a courseware display region of the virtual courseware, m represents the total number of pixel points of the courseware display region in the horizontal direction, and n represents the total number of pixel points of the courseware display region in the vertical direction;
step S302, according to the target brightness value Q (a, b) that is desired to be adjusted, increasing or decreasing the brightness of the pixel point of the coordinate (a, b) corresponding to the classroom background area to the target brightness value Q (a, b).
The invention also provides a virtual reality classroom simulation system which is characterized by comprising a tone information acquisition module, a tone adjustment module, a brightness information acquisition module and a brightness adjustment module; wherein the content of the first and second substances,
the color tone information acquisition module is used for acquiring the color tone information of the classroom background area of the virtual reality classroom and the courseware display color tone information of the virtual courseware;
the color tone adjusting module is used for adjusting the color tone of the classroom background area of the virtual reality classroom and/or the class display color tone of the virtual classroom according to the classroom background area color tone information and the class display color tone information;
the brightness information acquisition module is used for acquiring background brightness fluctuation information of a classroom background area of the virtual reality classroom and courseware display brightness uniformity information of the virtual courseware;
the brightness adjusting module is used for determining expected brightness adjusting information of the classroom background area according to the classroom background brightness fluctuation information and the courseware display brightness uniformity degree information, and adjusting the actual brightness of the classroom background area according to the expected brightness adjusting information;
further, the obtaining of the classroom background area hue information of the virtual reality classroom and the courseware display hue information of the virtual courseware by the hue information obtaining module specifically includes:
dividing a classroom background area of the virtual reality classroom into a plurality of rectangular background sub-areas with equal areas, determining a background tone value of each rectangular background sub-area, and determining first plane tone distribution information corresponding to the classroom background area according to the background tone values of all the rectangular background sub-areas;
dividing the courseware display area of the virtual courseware into a plurality of rectangular courseware sub-areas with equal areas, determining the courseware tone value of each rectangular courseware sub-area, and determining second plane tone distribution information corresponding to the courseware display area according to the courseware tone values of all the rectangular courseware sub-areas;
and the number of the first and second groups,
the adjusting of the color tone of the classroom background area of the virtual reality classroom and/or the class display color tone of the virtual courseware by the color tone adjusting module according to the classroom background area color tone information and the class display color tone information specifically comprises:
determining a hue distribution difference value between the first plane hue distribution information and the second plane hue distribution information, if the hue distribution difference value exceeds a preset hue difference threshold value, adjusting the background hue value of any rectangular background subregion and/or the courseware hue value of any rectangular courseware subregion, so that the adjusted hue distribution difference value does not exceed the preset hue difference threshold value, otherwise, keeping the background hue value of the courseware background region and the courseware hue value of the courseware display region unchanged;
further, the acquiring of the background brightness fluctuation information of the classroom background area of the virtual reality classroom by the brightness information acquiring module and the uniformity degree information of the courseware display brightness of the virtual courseware specifically include:
determining the background brightness fluctuation change information of the classroom background area of the virtual reality classroom according to the following formula (1):
Figure GDA0003135806550000051
in the above formula (1), J (a, b) represents a variation value of background luminance fluctuation of a pixel point having coordinates (a, b) in a background region of the classroom, and P (a, b) represents a back of the classroomInitial brightness values of pixel points with coordinates (a, b) in the scenic region;
Figure GDA0003135806550000061
σ[P(a,b)]represents the standard deviation of P (a, b); sigma2[P(a,b)]Represents the variance of P (a, b);
and determining the uniform degree information of the courseware display brightness of the virtual courseware according to the following formula (2):
Figure GDA0003135806550000062
in the above formula (2), W represents a courseware display brightness uniformity coefficient of the virtual courseware, Y (x, Y) represents a courseware display brightness value of a pixel point with coordinates (x, Y) in a courseware display area of the virtual courseware, m represents the total number of pixel points of the courseware display area in the horizontal direction, n represents the total number of pixel points of the courseware display area in the vertical direction, σ represents2[Y(x,y)]Representing the variance of the brightness value of the courseware display;
further, the determining, by the brightness adjustment module, expected brightness adjustment information of the classroom background area according to the classroom background brightness fluctuation information and the uniformity degree information of the courseware display brightness, and adjusting the actual brightness of the classroom background area according to the expected brightness adjustment information specifically includes:
determining expected brightness adjustment information of the classroom background area according to the background brightness fluctuation variation value J (a, b), the courseware display brightness uniformity coefficient W and the following formula (3):
Figure GDA0003135806550000063
in the formula (3), Q (a, b) represents a target brightness value to which a pixel point with coordinates (a, b) is expected to be adjusted in a classroom background region, J (a, b) represents a fluctuation change value of background brightness of a pixel point with coordinates (a, b) in a classroom background region, W represents a courseware display brightness uniformity degree coefficient of the virtual courseware, Y (x, Y) represents a courseware display brightness value of a pixel point with coordinates (x, Y) in a courseware display region of the virtual courseware, m represents the total number of pixel points of the courseware display region in the horizontal direction, and n represents the total number of pixel points of the courseware display region in the vertical direction;
and then according to the target brightness value Q (a, b) adjusted according to the expectation, increasing or reducing the brightness of the pixel points of the corresponding coordinates (a, b) of the classroom background area to the target brightness value Q (a, b).
Compared with the prior art, the virtual reality classroom simulation method and system adjust the classroom background area color tone of the virtual reality classroom and/or the classroom display color tone of the virtual classroom by acquiring the classroom background area color tone information and the classroom display color tone information of the virtual reality classroom, acquire the background brightness fluctuation information of the classroom background area of the virtual reality classroom and the classroom display brightness uniformity information of the virtual classroom, determine the expected brightness adjustment information of the classroom background area according to the classroom background brightness fluctuation information and the classroom display brightness uniformity information, and adjust the actual brightness of the classroom background area according to the expected brightness adjustment information; therefore, the virtual reality classroom simulation method and the virtual reality classroom simulation system can respectively acquire the tone state information and the brightness state information corresponding to the classroom background area and the virtual courseware, adjust the tone states of the classroom background area and the virtual courseware by determining the tone difference of the classroom background area and the virtual courseware in the tone states, and determine the expected brightness of the classroom background area according to the background brightness fluctuation state of the classroom background area and the uniform degree state of the classroom display brightness, so that the classroom background area and the virtual courseware can be coordinated, optimized and adjusted in the tone state and the brightness state, and the display quality and the viewing experience of the virtual reality classroom are improved.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
The technical solution of the present invention is further described in detail by the accompanying drawings and embodiments.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flow chart of a virtual reality classroom simulation method provided by the present invention.
Fig. 2 is a schematic structural diagram of a virtual reality classroom simulation system provided by the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a schematic flow chart of a virtual reality classroom simulation method according to an embodiment of the present invention. The virtual reality classroom simulation method comprises the following steps:
step S1, obtaining the color tone information of the classroom background area of the virtual reality classroom and the classroom display color tone information of the virtual classroom, and adjusting the classroom background area color tone of the virtual reality classroom and/or the classroom display color tone of the virtual classroom according to the classroom background area color tone information and the classroom display color tone information;
step S2, obtaining the fluctuation information of the background brightness of the classroom background area of the virtual classroom and the uniformity information of the courseware display brightness of the virtual classroom;
step S3, determining expected brightness adjustment information of the classroom background area according to the classroom background brightness fluctuation information and the classroom display brightness uniformity information, and adjusting the actual brightness of the classroom background area according to the expected brightness adjustment information.
The beneficial effects of the above technical scheme are: the virtual reality classroom simulation method can respectively acquire the tone state information and the brightness state information corresponding to a classroom background area and a virtual classroom, and adjust the tone states of the classroom background area and the virtual classroom by determining the tone difference of the classroom background area and the virtual classroom in the tone state, and can determine the expected brightness of the classroom background area according to the background brightness fluctuation state of the classroom background area and the uniform degree state of classroom display brightness, so that the classroom background area and the virtual classroom can be coordinated, optimized and adjusted in the tone state and the brightness state, and the display quality and the viewing experience of the virtual reality classroom are improved.
Preferably, in step S1, the obtaining of the classroom background region color tone information of the virtual reality classroom and the classroom display color tone information of the virtual classroom, and the adjusting of the classroom background region color tone of the virtual reality classroom and/or the classroom display color tone of the virtual classroom according to the classroom background region color tone information and the classroom display color tone information specifically includes:
step S101, dividing a classroom background area of the virtual reality classroom into a plurality of rectangular background sub-areas with equal areas, determining a background tone value of each rectangular background sub-area, and determining first plane tone distribution information corresponding to the classroom background area according to the background tone values of all the rectangular background sub-areas;
step S102, dividing the courseware display area of the virtual courseware into a plurality of rectangular courseware sub-areas with equal areas, determining the courseware tone value of each rectangular courseware sub-area, and determining second plane tone distribution information corresponding to the courseware display area according to the courseware tone values of all the rectangular courseware sub-areas;
step S103, determining a hue distribution difference value between the first plane hue distribution information and the second plane hue distribution information, if the hue distribution difference value exceeds a preset hue difference threshold value, adjusting a background hue value of any rectangular background sub-area and/or a courseware hue value of any rectangular courseware sub-area, so that the adjusted hue distribution difference value does not exceed the preset hue difference threshold value, otherwise, keeping the background hue value of the courseware background area and the courseware hue value of the courseware display area unchanged.
The beneficial effects of the above technical scheme are: because the corresponding display area and the display content of the classroom background area and the virtual courseware are different in the virtual reality display process, when a large color tone difference exists between the classroom background area and the virtual courseware, students can generate a great visual color tone difference during virtual reality classroom learning, so that serious discomfort is caused, the classroom background area and the classroom display area are divided into a plurality of rectangular subregions and the color tone distribution difference value is determined through the method, and then any one of the rectangular background subregion and the rectangular courseware subregion is subjected to color tone adjustment, so that the color tone difference between the classroom background area and the virtual courseware can be reduced under the condition that the color tone fidelity of the classroom background and the virtual courseware is ensured to the maximum extent, and the visual comfort of the students is improved.
Preferably, in step S2, the acquiring of the background brightness fluctuation information of the classroom background area of the virtual reality classroom, and the classroom display brightness uniformity degree information of the virtual classroom specifically include:
step S201, determining the background brightness fluctuation information of the classroom background area of the virtual reality classroom according to the following formula (1):
Figure GDA0003135806550000101
at the upper partIn the formula (1), J (a, b) represents a fluctuation variation value of background brightness of a pixel point with coordinates (a, b) in a classroom background region, and P (a, b) represents an initial brightness value of a pixel point with coordinates (a, b) in the classroom background region;
Figure GDA0003135806550000102
σ[P(a,b)]represents the standard deviation of P (a, b); sigma2[P(a,b)]Represents the variance of P (a, b);
step S202, according to the following formula (2), determining the courseware display brightness uniformity information of the virtual courseware:
Figure GDA0003135806550000103
in the above formula (2), W represents the courseware display brightness uniformity coefficient of the virtual courseware, Y (x, Y) represents the courseware display brightness value of a pixel point with coordinates (x, Y) in the courseware display area of the virtual courseware, m represents the total number of pixel points in the courseware display area in the horizontal direction, n represents the total number of pixel points in the vertical direction of the courseware display area, σ represents the brightness of the virtual courseware display area in the horizontal direction, and2[Y(x,y)]the variance of the brightness value of the courseware display is shown.
The beneficial effects of the above technical scheme are: the background brightness fluctuation variation value of the pixel point at the preset coordinate position of the classroom background area and the courseware display brightness uniformity coefficient of the virtual courseware are respectively calculated and obtained through the formulas (1) and (2), and the brightness difference state between the classroom background area and the courseware display area can be comprehensively and quantitatively calculated, so that the accuracy and the reliability of subsequent brightness adjustment are ensured.
Preferably, in step S3, determining the expected brightness adjustment information of the classroom background area according to the classroom background brightness fluctuation information and the classroom display brightness uniformity information, and adjusting the actual brightness of the classroom background area according to the expected brightness adjustment information specifically includes:
step S301, determining expected brightness adjustment information of the classroom background area according to the background brightness fluctuation variation value J (a, b), the courseware display brightness uniformity coefficient W, and the following formula (3):
Figure GDA0003135806550000111
in the above formula (3), Q (a, b) represents a target brightness value to which a pixel point with coordinates (a, b) is expected to be adjusted in a classroom background region, J (a, b) represents a fluctuation change value of background brightness of a pixel point with coordinates (a, b) in a classroom background region, W represents a courseware display brightness uniformity degree coefficient of the virtual courseware, Y (x, Y) represents a courseware display brightness value of a pixel point with coordinates (x, Y) in a courseware display region of the virtual courseware, m represents the total number of pixel points of the courseware display region in the horizontal direction, and n represents the total number of pixel points of the courseware display region in the vertical direction;
step S302, according to the target brightness value Q (a, b) adjusted according to the desire, increasing or decreasing the brightness of the pixel point of the coordinate (a, b) corresponding to the classroom background area to the target brightness value Q (a, b).
The beneficial effects of the above technical scheme are: the expected adjustment of the pixel points at the preset coordinate position in the classroom background area, which is obtained by calculation according to the formula (3), is the target brightness value, so that the brightness adjustment target values of different pixel points in the classroom background area can be accurately obtained, the brightness adjustment of the classroom background area at the pixel level is facilitated, the classroom background area and the virtual courseware both ensured to be coordinated, optimized and adjusted in the brightness state, and the display quality and the viewing experience of the virtual reality classroom are improved.
Fig. 2 is a schematic structural diagram of a virtual reality classroom simulation system according to an embodiment of the present invention. The virtual reality classroom simulation system comprises a hue information acquisition module, a hue adjustment module, a brightness information acquisition module and a brightness adjustment module; wherein the content of the first and second substances,
the color tone information acquisition module is used for acquiring the color tone information of the classroom background area of the virtual reality classroom and the courseware display color tone information of the virtual courseware;
the color tone adjusting module is used for adjusting the color tone of the classroom background area of the virtual reality classroom and/or the class display color tone of the virtual classroom according to the color tone information of the classroom background area and the class display color tone information;
the brightness information acquisition module is used for acquiring the background brightness fluctuation information of a classroom background area of the virtual reality classroom and the courseware display brightness uniformity information of the virtual courseware;
the brightness adjusting module is used for determining expected brightness adjusting information of the classroom background area according to the classroom background brightness fluctuation information and the courseware display brightness uniformity degree information, and adjusting the actual brightness of the classroom background area according to the expected brightness adjusting information.
The beneficial effects of the above technical scheme are: the virtual reality classroom simulation system can respectively acquire the tone state information and the brightness state information corresponding to a classroom background area and a virtual classroom, and adjust the tone states of the classroom background area and the virtual classroom by determining the tone difference of the classroom background area and the virtual classroom in the tone state, and can determine the expected brightness of the classroom background area according to the background brightness fluctuation state of the classroom background area and the uniform degree state of classroom display brightness, so that the classroom background area and the virtual classroom can be coordinated, optimized and adjusted in the tone state and the brightness state, and the display quality and the viewing experience of the virtual reality classroom are improved.
Preferably, the acquiring of the classroom background area hue information of the virtual reality classroom and the courseware display hue information of the virtual courseware by the hue information acquiring module specifically includes:
dividing a classroom background area of the virtual reality classroom into a plurality of rectangular background sub-areas with equal areas, determining a background tone value of each rectangular background sub-area, and determining first plane tone distribution information corresponding to the classroom background area according to the background tone values of all the rectangular background sub-areas;
dividing the courseware display area of the virtual courseware into a plurality of rectangular courseware sub-areas with equal areas, determining the courseware tone value of each rectangular courseware sub-area, and determining second plane tone distribution information corresponding to the courseware display area according to the courseware tone values of all the rectangular courseware sub-areas;
and the number of the first and second groups,
the adjusting module of the color tone according to the color tone information of the background area of the classroom and the display color tone information of the courseware adjusts the color tone of the background area of the virtual reality classroom and/or the display color tone of the virtual courseware specifically includes:
and determining a tone distribution difference value between the first plane tone distribution information and the second plane tone distribution information, if the tone distribution difference value exceeds a preset tone difference threshold value, adjusting the background tone value of any rectangular background subregion and/or the courseware tone value of any rectangular courseware subregion, so that the adjusted tone distribution difference value does not exceed the preset tone difference threshold value, and otherwise, keeping the background tone value of the courseware background region and the courseware tone value of the courseware display region unchanged.
The beneficial effects of the above technical scheme are: because the corresponding display area and the display content of the classroom background area and the virtual courseware are different in the virtual reality display process, when a large color tone difference exists between the classroom background area and the virtual courseware, students can generate a great visual color tone difference during virtual reality classroom learning, so that serious discomfort is caused, the classroom background area and the classroom display area are divided into a plurality of rectangular subregions and the color tone distribution difference value is determined through the method, and then any one of the rectangular background subregion and the rectangular courseware subregion is subjected to color tone adjustment, so that the color tone difference between the classroom background area and the virtual courseware can be reduced under the condition that the color tone fidelity of the classroom background and the virtual courseware is ensured to the maximum extent, and the visual comfort of the students is improved.
Preferably, the acquiring of the background brightness fluctuation information of the classroom background area of the virtual reality classroom by the brightness information acquiring module and the uniformity degree information of the courseware display brightness of the virtual courseware specifically include:
determining the background brightness fluctuation change information of the classroom background area of the virtual reality classroom according to the following formula (1):
Figure GDA0003135806550000131
in the above formula (1), J (a, b) represents a variation value of background luminance fluctuation of a pixel point whose coordinates are (a, b) in the classroom background region, and P (a, b) represents an initial luminance value of a pixel point whose coordinates are (a, b) in the classroom background region;
Figure GDA0003135806550000132
σ[P(a,b)]represents the standard deviation of P (a, b); sigma2[P(a,b)]Represents the variance of P (a, b);
and determining the uniform brightness information of the virtual courseware according to the following formula (2):
Figure GDA0003135806550000133
in the above formula (2), W represents the courseware display brightness uniformity coefficient of the virtual courseware, Y (x, Y) represents the courseware display brightness value of a pixel point with coordinates (x, Y) in the courseware display area of the virtual courseware, m represents the total number of pixel points in the courseware display area in the horizontal direction, n represents the total number of pixel points in the vertical direction of the courseware display area, σ represents the brightness of the virtual courseware display area in the horizontal direction, and2[Y(x,y)]the variance of the brightness value of the courseware display is shown.
The beneficial effects of the above technical scheme are: the background brightness fluctuation variation value of the pixel point at the preset coordinate position of the classroom background area and the courseware display brightness uniformity coefficient of the virtual courseware are respectively calculated and obtained through the formulas (1) and (2), and the brightness difference state between the classroom background area and the courseware display area can be comprehensively and quantitatively calculated, so that the accuracy and the reliability of subsequent brightness adjustment are ensured.
Preferably, the determining, by the brightness adjusting module, the expected brightness adjustment information of the classroom background area according to the classroom background brightness fluctuation information and the classroom display brightness uniformity information, and according to the expected brightness adjustment information, adjusting the actual brightness of the classroom background area specifically includes:
determining expected brightness adjustment information of the classroom background area according to the background brightness fluctuation variation value J (a, b), the courseware display brightness uniformity coefficient W and the following formula (3):
Figure GDA0003135806550000141
in the above formula (3), Q (a, b) represents a target brightness value to which a pixel point with coordinates (a, b) is expected to be adjusted in a classroom background region, J (a, b) represents a fluctuation change value of background brightness of a pixel point with coordinates (a, b) in a classroom background region, W represents a courseware display brightness uniformity degree coefficient of the virtual courseware, Y (x, Y) represents a courseware display brightness value of a pixel point with coordinates (x, Y) in a courseware display region of the virtual courseware, m represents the total number of pixel points of the courseware display region in the horizontal direction, and n represents the total number of pixel points of the courseware display region in the vertical direction;
and then according to the target brightness value Q (a, b) adjusted according to the expectation, increasing or reducing the brightness of the pixel point of the corresponding coordinate (a, b) of the classroom background area to the target brightness value Q (a, b).
The beneficial effects of the above technical scheme are: the expected adjustment of the pixel points at the preset coordinate position in the classroom background area, which is obtained by calculation according to the formula (3), is the target brightness value, so that the brightness adjustment target values of different pixel points in the classroom background area can be accurately obtained, the brightness adjustment of the classroom background area at the pixel level is facilitated, the classroom background area and the virtual courseware both ensured to be coordinated, optimized and adjusted in the brightness state, and the display quality and the viewing experience of the virtual reality classroom are improved.
As can be seen from the content of the above embodiment, the virtual reality classroom simulation method and system adjust the classroom background area hue of the virtual reality classroom and/or the classroom display hue of the virtual classroom by obtaining the classroom background area hue information of the virtual reality classroom and the classroom display hue information according to the classroom background area hue information and the classroom display hue information, and obtain the background brightness fluctuation information of the classroom background area of the virtual reality classroom and the classroom display brightness uniformity information of the virtual classroom, and then determine the expected brightness adjustment information of the classroom background area according to the classroom background brightness fluctuation information and the classroom display brightness uniformity information, and adjust the actual brightness of the classroom background area according to the expected brightness adjustment information; therefore, the virtual reality classroom simulation method and the virtual reality classroom simulation system can respectively acquire the tone state information and the brightness state information corresponding to the classroom background area and the virtual courseware, adjust the tone states of the classroom background area and the virtual courseware by determining the tone difference of the classroom background area and the virtual courseware in the tone states, and determine the expected brightness of the classroom background area according to the background brightness fluctuation state of the classroom background area and the uniform degree state of the classroom display brightness, so that the classroom background area and the virtual courseware can be coordinated, optimized and adjusted in the tone state and the brightness state, and the display quality and the viewing experience of the virtual reality classroom are improved.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (8)

1. The virtual reality classroom simulation method is characterized by comprising the following steps:
step S1, obtaining classroom background area color tone information of a virtual classroom and courseware display color tone information of a virtual classroom, and adjusting classroom background area color tone of the virtual reality classroom and/or courseware display color tone of the virtual classroom according to the classroom background area color tone information and the courseware display color tone information;
step S2, acquiring the fluctuation information of the background brightness of the classroom background area of the virtual classroom and the uniformity information of the courseware display brightness of the virtual classroom;
step S3, determining expected brightness adjustment information of the classroom background area according to the classroom background brightness fluctuation information and the classroom display brightness uniformity information, and adjusting the actual brightness of the classroom background area according to the expected brightness adjustment information.
2. The virtual reality classroom simulation method of claim 1, wherein:
in step S1, the obtaining of the classroom background region hue information of the virtual reality classroom and the class display hue information of the virtual classroom, and the adjusting of the classroom background region hue of the virtual reality classroom and/or the class display hue of the virtual classroom according to the classroom background region hue information and the class display hue information specifically includes:
step S101, dividing a classroom background area of the virtual reality classroom into a plurality of rectangular background sub-areas with equal areas, determining a background tone value of each rectangular background sub-area, and determining first plane tone distribution information corresponding to the classroom background area according to the background tone values of all the rectangular background sub-areas;
step S102, dividing the courseware display area of the virtual courseware into a plurality of rectangular courseware sub-areas with equal areas, determining the courseware tone value of each rectangular courseware sub-area, and determining second plane tone distribution information corresponding to the courseware display area according to the courseware tone values of all the rectangular courseware sub-areas;
step S103, determining a hue distribution difference value between the first plane hue distribution information and the second plane hue distribution information, if the hue distribution difference value exceeds a preset hue difference threshold value, adjusting a background hue value of any rectangular background sub-area and/or a courseware hue value of any rectangular courseware sub-area, so that the adjusted hue distribution difference value does not exceed the preset hue difference threshold value, otherwise, keeping the background hue value of the courseware background area and the courseware hue value of the courseware display area unchanged.
3. The virtual reality classroom simulation method of claim 2, wherein:
in step S2, the obtaining of the background brightness fluctuation information of the classroom background area of the virtual reality classroom and the courseware display brightness uniformity information of the virtual courseware specifically includes:
step S201, determining the background brightness fluctuation information of the classroom background area of the virtual reality classroom according to the following formula (1):
Figure FDA0003135806540000021
in the above formula (1), J (a, b) represents a variation value of background luminance fluctuation of a pixel point having coordinates (a, b) in the classroom background region, and P (a, b) represents an initial luminance value of a pixel point having coordinates (a, b) in the classroom background region;
Figure FDA0003135806540000022
σ[P(a,b)]represents the standard deviation of P (a, b); sigma2[P(a,b)]Represents the variance of P (a, b);
step S202, determining the courseware display brightness uniformity information of the virtual courseware according to the following formula (2):
Figure FDA0003135806540000023
in the above formula (2), W represents a courseware display brightness uniformity coefficient of the virtual courseware, Y (x, Y) represents a courseware display brightness value of a pixel point having coordinates (x, Y) in a courseware display area of the virtual courseware, and m represents a courseware display area in waterThe total number of pixel points in the square direction, n represents the total number of pixel points in the vertical direction of the courseware display area, and sigma2[Y(x,y)]Representing the variance of the brightness value of the courseware display.
4. The virtual reality classroom simulation method of claim 3, wherein:
in step S3, determining expected luminance adjustment information of the classroom background area according to the classroom background luminance fluctuation information and the classroom display luminance uniformity degree information, and adjusting the actual luminance of the classroom background area according to the expected luminance adjustment information specifically includes:
step S301, determining expected brightness adjustment information of the classroom background area according to the background brightness fluctuation variation value J (a, b), the courseware display brightness uniformity coefficient W, and the following formula (3):
Figure FDA0003135806540000031
in the formula (3), Q (a, b) represents a target brightness value to which a pixel point with coordinates (a, b) is expected to be adjusted in a classroom background region, J (a, b) represents a fluctuation change value of background brightness of a pixel point with coordinates (a, b) in a classroom background region, W represents a courseware display brightness uniformity degree coefficient of the virtual courseware, Y (x, Y) represents a courseware display brightness value of a pixel point with coordinates (x, Y) in a courseware display region of the virtual courseware, m represents the total number of pixel points of the courseware display region in the horizontal direction, and n represents the total number of pixel points of the courseware display region in the vertical direction;
step S302, according to the target brightness value Q (a, b) that is desired to be adjusted, increasing or decreasing the brightness of the pixel point of the coordinate (a, b) corresponding to the classroom background area to the target brightness value Q (a, b).
5. The virtual reality classroom simulation system is characterized by comprising a hue information acquisition module, a hue adjustment module, a brightness information acquisition module and a brightness adjustment module; wherein the content of the first and second substances,
the color tone information acquisition module is used for acquiring the color tone information of the classroom background area of the virtual reality classroom and the courseware display color tone information of the virtual courseware;
the color tone adjusting module is used for adjusting the color tone of the classroom background area of the virtual reality classroom and/or the class display color tone of the virtual classroom according to the classroom background area color tone information and the class display color tone information;
the brightness information acquisition module is used for acquiring background brightness fluctuation information of a classroom background area of the virtual reality classroom and courseware display brightness uniformity information of the virtual courseware;
the brightness adjusting module is used for determining expected brightness adjusting information of the classroom background area according to the classroom background brightness fluctuation information and the classroom display brightness uniformity degree information, and adjusting the actual brightness of the classroom background area according to the expected brightness adjusting information.
6. The virtual reality classroom simulation system as defined in claim 5, wherein:
the hue information obtaining module obtains the classroom background area hue information of the virtual reality classroom and the courseware display hue information of the virtual courseware, and the hue information obtaining module specifically comprises the following steps:
dividing a classroom background area of the virtual reality classroom into a plurality of rectangular background sub-areas with equal areas, determining a background tone value of each rectangular background sub-area, and determining first plane tone distribution information corresponding to the classroom background area according to the background tone values of all the rectangular background sub-areas;
dividing the courseware display area of the virtual courseware into a plurality of rectangular courseware sub-areas with equal areas, determining the courseware tone value of each rectangular courseware sub-area, and determining second plane tone distribution information corresponding to the courseware display area according to the courseware tone values of all the rectangular courseware sub-areas;
and the number of the first and second groups,
the adjusting of the color tone of the classroom background area of the virtual reality classroom and/or the class display color tone of the virtual courseware by the color tone adjusting module according to the classroom background area color tone information and the class display color tone information specifically comprises:
and determining a hue distribution difference value between the first plane hue distribution information and the second plane hue distribution information, if the hue distribution difference value exceeds a preset hue difference threshold value, adjusting the background hue value of any rectangular background subregion and/or the courseware hue value of any rectangular courseware subregion, so that the adjusted hue distribution difference value does not exceed the preset hue difference threshold value, and otherwise, keeping the background hue value of the courseware background region and the courseware hue value of the courseware display region unchanged.
7. The virtual reality classroom simulation system as defined in claim 6, wherein:
the brightness information acquisition module acquires the background brightness fluctuation information of the classroom background area of the virtual reality classroom, and the courseware display brightness uniformity information of the virtual courseware specifically includes:
determining the background brightness fluctuation change information of the classroom background area of the virtual reality classroom according to the following formula (1):
Figure FDA0003135806540000051
in the above formula (1), J (a, b) represents a variation value of background luminance fluctuation of a pixel point having coordinates (a, b) in the classroom background region, and P (a, b) represents an initial luminance value of a pixel point having coordinates (a, b) in the classroom background region;
Figure FDA0003135806540000052
σ[P(a,b)]represents the standard deviation of P (a, b); sigma2[P(a,b)]Represents the variance of P (a, b);
and determining the uniform degree information of the courseware display brightness of the virtual courseware according to the following formula (2):
Figure FDA0003135806540000053
in the above formula (2), W represents a courseware display brightness uniformity coefficient of the virtual courseware, Y (x, Y) represents a courseware display brightness value of a pixel point with coordinates (x, Y) in a courseware display area of the virtual courseware, m represents the total number of pixel points of the courseware display area in the horizontal direction, n represents the total number of pixel points of the courseware display area in the vertical direction, σ represents2[Y(x,y)]Representing the variance of the brightness value of the courseware display.
8. The virtual reality classroom simulation system as defined in claim 7, wherein:
the brightness adjusting module determines expected brightness adjusting information of the classroom background area according to the classroom background brightness fluctuation information and the classroom display brightness uniformity degree information, and the adjusting the actual brightness of the classroom background area according to the expected brightness adjusting information specifically comprises:
determining expected brightness adjustment information of the classroom background area according to the background brightness fluctuation variation value J (a, b), the courseware display brightness uniformity coefficient W and the following formula (3):
Figure FDA0003135806540000061
in the formula (3), Q (a, b) represents a target brightness value to which a pixel point with coordinates (a, b) is expected to be adjusted in a classroom background region, J (a, b) represents a fluctuation change value of background brightness of a pixel point with coordinates (a, b) in a classroom background region, W represents a courseware display brightness uniformity degree coefficient of the virtual courseware, Y (x, Y) represents a courseware display brightness value of a pixel point with coordinates (x, Y) in a courseware display region of the virtual courseware, m represents the total number of pixel points of the courseware display region in the horizontal direction, and n represents the total number of pixel points of the courseware display region in the vertical direction;
and then according to the target brightness value Q (a, b) adjusted according to the expectation, increasing or reducing the brightness of the pixel points of the corresponding coordinates (a, b) of the classroom background area to the target brightness value Q (a, b).
CN202011018199.2A 2020-09-24 2020-09-24 Virtual reality classroom simulation method and system Active CN112118437B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011018199.2A CN112118437B (en) 2020-09-24 2020-09-24 Virtual reality classroom simulation method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011018199.2A CN112118437B (en) 2020-09-24 2020-09-24 Virtual reality classroom simulation method and system

Publications (2)

Publication Number Publication Date
CN112118437A CN112118437A (en) 2020-12-22
CN112118437B true CN112118437B (en) 2021-08-17

Family

ID=73801166

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011018199.2A Active CN112118437B (en) 2020-09-24 2020-09-24 Virtual reality classroom simulation method and system

Country Status (1)

Country Link
CN (1) CN112118437B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114513612B (en) * 2021-12-20 2022-12-20 华邮数字文化技术研究院(厦门)有限公司 AR photographing image light supplementing method and system based on machine learning

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104485027A (en) * 2014-12-29 2015-04-01 广州视睿电子科技有限公司 Courseware display method and device
WO2015130793A1 (en) * 2014-02-25 2015-09-03 Apple Inc. Backward-compatible apparatus and method for providing video with both standard and high dynamic range
CN108965837A (en) * 2017-05-19 2018-12-07 深圳市海洋王照明工程有限公司 A kind of projection environment brightness control method, system and terminal device
CN111356029A (en) * 2018-12-20 2020-06-30 杜比实验室特许公司 Brightness adaptation to minimize discomfort and improve visibility

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015130793A1 (en) * 2014-02-25 2015-09-03 Apple Inc. Backward-compatible apparatus and method for providing video with both standard and high dynamic range
CN104485027A (en) * 2014-12-29 2015-04-01 广州视睿电子科技有限公司 Courseware display method and device
CN108965837A (en) * 2017-05-19 2018-12-07 深圳市海洋王照明工程有限公司 A kind of projection environment brightness control method, system and terminal device
CN111356029A (en) * 2018-12-20 2020-06-30 杜比实验室特许公司 Brightness adaptation to minimize discomfort and improve visibility

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
多媒体中文本色—背景色搭配对注意集中度的影响;衷克定,康文霞;《电化教育研究》;20100620;全文 *

Also Published As

Publication number Publication date
CN112118437A (en) 2020-12-22

Similar Documents

Publication Publication Date Title
CN107665684B (en) Color Mura compensation method
RU2678644C2 (en) Method of setting display parameter and system of liquid crystal display
CN108510947B (en) Double-screen dimming method and display device
CN104167194B (en) Liquid crystal display panel gray-scale value setting method and liquid crystal display
CN107680542B (en) Partitioned backlight control method and device
CN105721844B (en) The method of the enhancing image quality contrast stereovision based on LCD TV Gamma adjustment
CN107993616B (en) Image display method and device
CN105528999A (en) Liquid crystal display screen display control method and device
CN105895054A (en) Adjustment method of output brightness, adjustment method of Gamma curve and display device
CN104616631B (en) Display method and device for MVA (multi-domain vertical alignment) wide viewing angle LCD (liquid crystal display) screen
CN104157255B (en) Method for displaying image and display system
CN104166258B (en) Method for setting gray-scale value for LCD panel and LCD
CN112118437B (en) Virtual reality classroom simulation method and system
CN107948627B (en) Video broadcasting method, calculates equipment and storage medium at device
CN106297699A (en) The picture adjusting method of display panels and device
CN109215599B (en) 8-domain design method and system for improving color complexion visual angle performance of colored race
CN109544504A (en) Screen picture quality evaluating method based on rarefaction representation
CN109817170A (en) Pixel compensation method, device and terminal device
TW202303579A (en) Compensation lookup table configuration method and device, compensation method and device, equipment and storage medium
CN110674464A (en) Computer teaching rating system based on Internet of things
CN110708540B (en) Dynamic crosstalk test system and dynamic crosstalk test method
CN105354813B (en) Holder is driven to generate the method and device of stitching image
CN111770322A (en) White balance adjustment method for pixel, display panel and computer readable storage medium
CN113989394A (en) Image processing method and system for color temperature of automatic driving simulation environment
CN105306917B (en) Low gray level white balance control method, control system and display

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
GR01 Patent grant
GR01 Patent grant
PP01 Preservation of patent right
PP01 Preservation of patent right

Effective date of registration: 20221020

Granted publication date: 20210817