Disclosure of Invention
The embodiment of the application provides a camera blurring effect performance test card, which objectively tests blurring effect performance when a camera shoots a picture by simulating a scene with abnormal blurring effect of the camera shooting the picture possibly occurring in reality.
An aspect of the present application provides a performance test card for camera blurring effect, which is characterized in that the performance test card includes: testing the subject; the test object comprises a contour feature and a texture feature; and the texture feature part is arranged along the contour trend of the contour feature part.
In some embodiments, the profile features include one or more of saw-tooth, wave, sharp, wrap, curve.
In some embodiments, the textural features comprise a plurality of cells stacked layer upon layer against a contour line of the textural features and in tight engagement with each other.
In some embodiments, the plurality of cells vary in size and shape such that a texture made up of the plurality of cells is irregularly distributed.
In some embodiments, the test object further includes a color feature disposed on a surface layer of the texture feature, for testing whether the blurring effect of the camera to be tested is associated with a specified color.
In some embodiments, the color feature is an gradient color layer overlying the textured feature surface.
In some embodiments, the camera blurring effect performance test card further includes:
and the gray frame is arranged outside the test object in a surrounding manner and is positioned at the same horizontal plane with the test object.
Another aspect of the present embodiment provides a system for testing performance of camera blurring effect, including: the camera blurring effect performance test card is as described above; the support plate is matched with the camera blurring effect performance test card so as to be pasted and fixed by the camera blurring effect performance test card; or a hanging rope arranged at the top end of the camera blurring effect performance test card.
Another aspect of this embodiment provides a method for preparing the camera blurring effect performance test card described above, including: selecting a bottom plate for preparing the camera blurring effect performance test card; drawing a closed contour line on the upper surface of the bottom plate to form a contour feature part, and paving cells stacked layer by layer along the trend of the contour feature part to form a texture feature part; printing a color with a gradual change effect on the surface of the texture feature part to form a gradual change layer; and cutting along the contour line of the test object, and removing the area outside the contour line to obtain the camera blurring effect performance test card.
In some embodiments, the base plate is made of Andi plate.
The embodiment of the application provides a camera blurring effect performance test card, a system and a preparation method, wherein the camera blurring effect performance test card comprises: testing the subject; the test object comprises a contour feature and a texture feature; and the texture feature part is arranged along the contour trend of the contour feature part. According to the embodiment of the application, the virtual effect performance of the camera when shooting the picture is objectively tested by simulating the scene with the abnormal virtual effect of the camera shooting the picture which possibly occurs in reality.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. It will be apparent that the described embodiments are only some, but not all, embodiments of the application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to fall within the scope of the application.
In the description of the present application, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", "clockwise", "counterclockwise", etc. indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings are merely for convenience in describing the present application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be configured and operated in a specific orientation, and thus should not be construed as limiting the present application. Furthermore, the terms "first," "second," and the like, are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include one or more of the described features. In the description of the present application, the meaning of "a plurality" is two or more, unless explicitly defined otherwise.
In the description of the present application, it should be noted that, unless explicitly specified and limited otherwise, the terms "mounted," "connected," and "connected" are to be construed broadly, and may be either fixedly connected, detachably connected, or integrally connected, for example; can be mechanically connected, electrically connected or can be communicated with each other; can be directly connected or indirectly connected through an intermediate medium, and can be communicated with the inside of two elements or the interaction relationship of the two elements. The specific meaning of the above terms in the present application can be understood by those of ordinary skill in the art according to the specific circumstances.
In the present application, unless expressly stated or limited otherwise, a first feature "above" or "below" a second feature may include both the first and second features being in direct contact, as well as the first and second features not being in direct contact but being in contact with each other through additional features therebetween. Moreover, a first feature being "above," "over" and "on" a second feature includes the first feature being directly above and obliquely above the second feature, or simply indicating that the first feature is higher in level than the second feature. The first feature being "under", "below" and "beneath" the second feature includes the first feature being directly under and obliquely below the second feature, or simply means that the first feature is less level than the second feature.
The following disclosure provides many different embodiments, or examples, for implementing different features of the application. In order to simplify the present disclosure, components and arrangements of specific examples are described below. They are, of course, merely examples and are not intended to limit the application. Furthermore, the present application may repeat reference numerals and/or letters in the various examples, which are for the purpose of brevity and clarity, and which do not themselves indicate the relationship between the various embodiments and/or arrangements discussed. In addition, the present application provides examples of various specific processes and materials, but one of ordinary skill in the art will recognize the application of other processes and/or the use of other materials.
The mobile phone camera cannot obtain a stronger optical background blurring effect after using an optical lens like a digital camera or a single lens reflex due to reasons such as limited volume, technology and materials. Therefore, in the photographing app of the smart phone, an optical effect simulation algorithm is almost integrated, and people use the algorithm to simulate an optical blurring-like effect when photographing by a camera of the smart phone. The blurring effect can be utilized to make the background blurring when the mobile phone camera shoots the subject of the person, so that the effect of the person is highlighted. The algorithm needs to be installed in the mobile phone app to be tested after development is completed, an actual measurement effect is obtained, most of testers install the app preset with the blurring algorithm in the mobile phone, collect images of real scenes based on the mobile phone, and analyze performance of the blurring effect according to the shot image effect. However, as the uncertain factors exist in the test process, the photographed object may also change at any time, so that the effect of each photographing may be different, and it is difficult to analyze the performance of the blurring effect from an objective angle. In order to solve the problems, the scheme provides a camera blurring effect performance test card, which is used for objectively testing blurring effect performance of a camera when the camera shoots pictures by simulating a scene that the camera shoots pictures with abnormal blurring effect possibly occurring in reality.
Specifically, referring to fig. 1 to 3, fig. 1 is a schematic diagram illustrating an overall structure of a camera blurring effect performance test card according to an embodiment of the present application. An aspect of the present application provides a performance test card for camera blurring effect, including: test object 1; the test object 1 comprises a contour feature part2 and a texture feature part 3; and the textural features 3 are arranged along the contour trend of the contour features 2.
It should be explained that, due to reasons such as limited volume, technology and materials, the mobile phone camera cannot obtain a stronger optical background blurring effect after using an optical lens like a digital camera or a single lens reflex. Therefore, in the photographing APP of the smart phone, an optical effect simulation algorithm is almost integrated, and people use the algorithm to simulate an optical effect similar to that of optical blurring when a camera of the smart phone photographs. The blurring effect can be utilized to make the background blurring when the mobile phone camera shoots the subject of the person, so that the effect of the person is highlighted. The algorithm needs to be installed in the mobile phone APP for testing after development is completed, an actual measurement effect is obtained, most of testers install the APP preset with the blurring algorithm in the mobile phone, image acquisition is carried out on the live scenes based on the mobile phone, and performance analysis is carried out on the blurring effect according to the shot image effect. However, as the uncertain factors exist in the test process, the photographed object may also change at any time, so that the effect of each photographing may be different, and it is difficult to analyze the performance of the blurring effect from an objective angle.
Therefore, in order to solve the above problems, the present invention provides a test card for the performance of the blurring effect of a camera, which is designed to mainly simulate the scene of the blurring effect abnormality of a camera shooting picture (for example, blurring a foreground image and a background image together by mistake) which may occur in reality, and objectively test the performance of the blurring effect when the camera shooting picture. The camera blurring effect performance test card specifically comprises a test object 1, a contour feature part 2 and a texture feature part 3.
The test object 1 included in the camera blurring effect performance test card mainly comprises two feature parts, namely a contour feature part 2 and a texture feature part 3, and the texture feature part 3 is arranged along the contour trend of the contour feature.
In order to more truly simulate a real shooting scene, the scheme specifically refers to the situation that blurring abnormality is more likely to occur, and the outline feature 2 is preferably one or more of saw tooth shape, wave shape, sharp shape, surrounding shape and curve shape. Meanwhile, in order to facilitate the test staff to judge the performance of the blurring effect of the camera through the test card provided by the scheme, the texture feature part 3 is designed to be composed of a plurality of cells which are stacked layer by layer and tightly connected with each other by the contour line closely attached to the contour feature part 2, when the blurring effect appears in the picture effect shot by the camera, the performance of the blurring algorithm can be considered to be bad, and as shown in fig. 2, the blurring effect appears in the image in the box and the contour feature part 2 at the same time. Normally, the cells and the profile features 2 should be clearly visible as shown in fig. 3.
In some embodiments, by adding the texture feature 3 to the test object 1, the test card image taken by the camera to be tested can be input into a computer, which further analyzes the accuracy of the blurring algorithm. The specific process is that the test card image shot by the camera to be tested is processed into a gray image through binarization, at the moment, the texture feature part 3 on the test card image is highlighted after being dyed with black, and the pixel quantity of the texture feature part 3 is calculated by using the Laplacian operator. Meanwhile, based on the test card images shot under the normal blurring algorithm, the pixel quantity of the line characteristic parts under the normal condition is calculated, the texture pixel quantity of the two test card images is compared, so that data difference can be obtained, the difference can reflect whether the algorithm can reduce the definition of the images or not, and the accuracy of the blurring algorithm can be judged by the degree of the reduction.
In some embodiments, the plurality of cells vary in size and shape such that a texture made up of the plurality of cells is irregularly distributed. By designing the texture on the texture portion 3 to be irregular, the texture of the surface of the photographed object, such as leaves, can be simulated in depth in reality.
Since the performance of the blurring algorithm is also affected by the color of the surface of the object, but since the sensitivity of different blurring algorithms to colors is different, in order to simulate the colors possibly existing in the natural environment as much as possible, in this embodiment, a color feature (not shown in the figure) is disposed on the surface layer of the texture feature 3, so as to test whether the blurring effect of the camera to be tested is associated with a specified color.
In some embodiments, the color feature is an gradient color layer overlying the surface of the texture feature 3. Color gradation is a means of simulating a three-dimensional space in a two-dimensional plane, and in a blurring algorithm, it is often easy to mistakenly refer to this as a three-dimensional space, so that the false blurring is caused, and therefore, the capability of the blurring algorithm to avoid false blurring can be reflected by providing a gradient color layer on the surface of the texture feature portion 3.
In some embodiments, the camera blurring effect performance test card further includes:
and the gray frame 4 is arranged outside the test object 1 in a surrounding manner and is positioned on the same horizontal plane with the test object 1.
In the present embodiment, the gray border 4 is disposed outside the test object 1, and the gray shade of the gray border 4 is set to a color capable of mimicking the reflectance of natural light to everything by about 18%, which is also called 18 gray. When the camera shoots, the gray frame 4 can provide reference colors for the image sensor in the color demosaicing process in the imaging process, so that the white balance of the image in the final imaging process is as accurate as possible.
Another aspect of the embodiments of the present application provides a system for testing performance of camera blurring effect, including: a camera blurring effect performance test card; the support plate is matched with the camera blurring effect performance test card so as to be pasted and fixed by the camera blurring effect performance test card; or a hanging rope arranged at the top end of the camera blurring effect performance test card.
In this embodiment, the camera blurring effect performance test system specifically includes a camera blurring effect performance test card and a support plate (not shown in the figure).
The camera blurring effect performance card mainly simulates a scene with abnormal blurring effect (for example, a foreground image and a background image are subjected to blurring processing together by mistake) of a picture taken by the camera, which possibly occurs in reality, and objectively tests blurring effect performance when the camera takes the picture. The camera blurring effect performance test card specifically comprises a test object 1, a contour feature part 2 and a texture feature part 3.
The support plate is vertically arranged on a horizontal plane, the appearance of the support plate is matched with the camera blurring effect performance test card, the back of the camera blurring effect performance test card needs to be clung to the support plate before the camera blurring effect performance test card is used, and the camera blurring effect performance test card and the support plate are completely overlapped as far as possible. In another embodiment, the camera blurring effect performance test card can be placed vertically through a hanging rope arranged at the top end of the camera blurring effect performance test card.
The camera blurring effect performance test card is matched with the support plate to be vertically placed for shooting, so that the camera blurring effect performance test card can be placed in physical spaces with different depths, and natural depth data are obtained. Such as a3 x 5 room and a 3*8 meter room. When the position between the camera blurring effect performance test card and the camera is unchanged, the natural depth of field obtained by the camera when shooting the camera blurring effect performance test card is larger in a room with larger depth. Helping the virtual algorithm to simulate the natural optical depth of field when developing.
In another aspect, the embodiment of the present application further provides a method for preparing a performance test card for camera blurring effect, including:
Selecting a bottom plate for preparing the camera blurring effect performance test card;
A closed contour line is drawn on the upper surface of the bottom plate to form a contour feature part 2, and cells stacked layer by layer are paved along the trend of the contour feature part 2 to form a texture feature part 3;
Printing a color with a gradual change effect on the surface of the texture feature part 3 to form a gradual change layer;
And cutting along the contour line of the test object 1, and removing the area outside the contour line to obtain the camera blurring effect performance test card.
In this embodiment, the base plate is made of an Andi plate. Andi plates are also known as Xuefu plates or PVC foam plates (PVC expansion sheet). Polyvinyl chloride is used as a main raw material, a foaming agent, a flame retardant and an anti-aging agent are added, and special equipment is adopted for extrusion molding. Common colors are white and black. The Andi board can be compared with wood, can be sawn, planed, nailed and stuck, and has the special functions of no deformation, no cracking, no need of painting (with various colors) and the like; while the low foaming sheet material can be welded, printed with ink and also can be machined by sawing, drilling, milling and the like.
In summary, an embodiment of the present application provides a camera blurring effect performance test card, where the camera blurring effect performance test card includes: test object 1; the test object 1 comprises a contour feature part 2 and a texture feature part 3; and the textural features 3 are arranged along the contour trend of the contour features 2. According to the embodiment of the application, the virtual effect performance of the camera when shooting the picture is objectively tested by simulating the scene with the abnormal virtual effect of the camera shooting the picture which possibly occurs in reality.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and for parts of one embodiment that are not described in detail, reference may be made to related descriptions of other embodiments.
The above describes in detail a performance test card for camera blurring effect provided by the embodiment of the present application, and specific examples are applied to describe the principle and implementation of the present application, and the description of the above embodiment is only used to help understand the technical solution and core idea of the present application; those of ordinary skill in the art will appreciate that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the application.