[go: up one dir, main page]

CN108182701B - Method and system for generating image of departed person based on departed person photo - Google Patents

Method and system for generating image of departed person based on departed person photo Download PDF

Info

Publication number
CN108182701B
CN108182701B CN201711484326.6A CN201711484326A CN108182701B CN 108182701 B CN108182701 B CN 108182701B CN 201711484326 A CN201711484326 A CN 201711484326A CN 108182701 B CN108182701 B CN 108182701B
Authority
CN
China
Prior art keywords
region
statue
departed
dimensional
head
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.)
Expired - Fee Related
Application number
CN201711484326.6A
Other languages
Chinese (zh)
Other versions
CN108182701A (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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201711484326.6A priority Critical patent/CN108182701B/en
Publication of CN108182701A publication Critical patent/CN108182701A/en
Application granted granted Critical
Publication of CN108182701B publication Critical patent/CN108182701B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/50Depth or shape recovery
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B33ADDITIVE MANUFACTURING TECHNOLOGY
    • B33YADDITIVE MANUFACTURING, i.e. MANUFACTURING OF THREE-DIMENSIONAL [3-D] OBJECTS BY ADDITIVE DEPOSITION, ADDITIVE AGGLOMERATION OR ADDITIVE LAYERING, e.g. BY 3-D PRINTING, STEREOLITHOGRAPHY OR SELECTIVE LASER SINTERING
    • B33Y50/00Data acquisition or data processing for additive manufacturing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Chemical & Material Sciences (AREA)
  • Manufacturing & Machinery (AREA)
  • Materials Engineering (AREA)
  • Computer Graphics (AREA)
  • Geometry (AREA)
  • Software Systems (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention provides a method and a system for generating a dead statue based on a dead photo, wherein the method comprises the following steps: generating three-dimensional head portrait data of the head of the departed person according to the photo data before the departed person, and determining a three-dimensional head portrait model according to the three-dimensional head portrait data; generating a first 3D head statue of the departed saint from the three-dimensional head statue model; acquiring identity information of the departed person, and selecting a corresponding first body statue according to the identity information; the first 3D head representation and the first body representation are combined and a first deceased statue is generated. The method can generate the 3D head statue with extremely high similarity to the departed saint, and can increase the cognizance of relatives to the statue; the generated statue of the departed saint can be placed in the Ling hall and the family sacral, and can also be placed at home for the relatives to trace the thinking at any time. The generated statue of the departed dead occupies small space, can save a lot of land originally used for burying the departed dead and even does not use cemetery, and greatly saves land resources.

Description

Method and system for generating image of departed person based on departed person photo
Technical Field
The invention relates to the technical field of photo imaging, in particular to a method and a system for generating an image of an departed saint based on an departed saint photo.
Background
At present, the funeral mode is gradually changed into cremation, the bone ash is loaded into a cinerary casket after the remains are cremated, and then the cinerary casket is placed into a cemetery, but the funeral mode has corresponding problems.
Firstly, for the mode of burying graves, the situation of the cremains in the vast rural areas is still very severe. The traditional bone ash treatment modes occupy a large amount of land resources, aggravate the manual lance shield, destroy the natural environment and reduce the forest coverage area.
Secondly, the cost of the deceased cemetery is up to 1-2 ten thousand, 4-5 ten thousand or more; the price of graves of some large cities even surpasses the price of houses, like the maximum price of graves of Suzhou in 16 years is 12 ten thousand per square meter, which is about 6 times of the price of houses in the same period, and the management fee of neddy is required to be paid every year, which is an expense for many families, and the high burial cost aggravates the economic burden of people.
Thirdly, the cemetery is generally arranged in a suburb, the environment of the cemetery can cause people to feel uncomfortable, and the cemetery can be worried and swept before meeting only every holiday or sacrifice day, so that the hanging of relatives and friends is inconvenient to recall; in addition to the fast pace and high pressure of modern urban life, the feelings of people to the people who are in the past are slowly lost.
Disclosure of Invention
The invention provides a method and a system for generating a dead statue based on a dead photo, which are used for solving the defect that resources are easily wasted in a funeral and interment mode.
The method for generating the image of the departed saint based on the departed saint photo provided by the embodiment of the invention comprises the following steps:
generating three-dimensional head portrait data of the head of the departed person according to the photo data before the departed person, and determining a three-dimensional head portrait model according to the three-dimensional head portrait data;
generating a first 3D head statue of the departed saint from the three-dimensional head statue model;
acquiring identity information of the departed user, and selecting a corresponding first body statue according to the identity information, wherein the identity information comprises one or more of height, weight, gender, age, ethnicity, skin color, nationality, occupation, belief, identity characteristics and era characteristics;
combining the first 3D head representation and the first body representation and generating a first deceased statue.
In one possible implementation, the generating of the three-dimensional head portrait data of the head of the departed inventor from the photo data of the head of the departed inventor comprises:
determining the shooting angle of photo data before the dead and determining the characteristic value of the photo data;
and pre-generating standard three-dimensional head portrait data, determining a characteristic value in the standard three-dimensional head portrait data corresponding to the characteristic value of the photo data according to the shooting angle, and correcting the corresponding characteristic value in the standard three-dimensional head portrait data according to the characteristic value of the photo data.
In one possible implementation, the determining a three-dimensional avatar model from the three-dimensional avatar data includes:
determining a central point of the head portrait according to the space coordinates of the head portrait surface in the three-dimensional head portrait data, and determining an inner curved surface by taking the central point as a center, wherein the distance between each point in the inner curved surface and a point on the head portrait surface is greater than a preset distance;
a connecting through hole is arranged at a position corresponding to the neck in the three-dimensional head portrait data, and the inner surface is connected with the head portrait surface through the connecting through hole;
determining a three-dimensional head portrait model according to a space formed by the inner surface, the head portrait surface and the connecting through hole; the cavity formed by the inner surface is used for placing the bone ash of the dead.
In one possible implementation, the generating a first 3D head representation of an evanesian from the three-dimensional head representation model comprises:
determining minimum value points of the three-dimensional head portrait data on the elevation, and determining maximum value points closest to the minimum value points;
determining a conical surface by taking the minimum value point as a vertex, wherein a rotating shaft of the conical surface passes through the central point of the three-dimensional head portrait data with the same height value as the minimum value point;
determining the intersection point of the conical surface and the three-dimensional head portrait data with the elevation value smaller than the elevation value of the minimum value point, and determining an intersection curve formed by the intersection points;
determining an effective surface in the conical surface according to the minimum value point and the intersection curve, and determining expanded three-dimensional data according to the effective surface, wherein the expanded three-dimensional data is three-dimensional data obtained by expanding along the direction of increasing the elevation value on the basis of the effective surface, and the elevation value of the expanded three-dimensional data is not greater than that of the maximum value point;
when the three-dimensional head portrait data is printed layer by layer, determining a main area and a sub area of the three-dimensional head portrait data under the layer, and an expansion area of the expanded three-dimensional data; the main area is a communication area closest to the central point of the three-dimensional head portrait data, the sub-area is a communication area except the main area, and the expansion area is a communication area connecting the main area and the sub-area;
determining a first contour region and a remaining main region of the main region, wherein the first contour region is a main region which is a first preset offset distance away from the contour of the main region, and the remaining main region is a main region except the first contour region;
determining a second contour region, a third contour region and a residual extension region of the extension region, wherein the second contour region is an extension region which is a second preset offset distance away from a contour of the extension region intersected with the main region, the third contour region is an extension region which is a third preset offset distance away from a contour of the extension region intersected with the sub-region, and the residual extension region is an extension region except the second contour region and the third contour region;
determining a fourth contour region and a remaining sub-region of the sub-region, wherein the fourth contour region is a sub-region which is a fourth preset offset distance away from the contour of the sub-region, and the remaining sub-region is a sub-region except the fourth contour region;
printing the first outline area along a path parallel to the outline of the main area, and then printing the remaining main area in a straight reciprocating manner;
printing the second outline region along a path parallel to an outline of the extended region intersecting the main region, printing the remaining extended region in a straight-line back-and-forth manner along a direction between a center point of the main region and a center point of the sub-region, and then printing the third outline region along a path parallel to an outline of the extended region intersecting the sub-region;
printing the fourth contour region along a path parallel to the contour of the sub-region, and then printing the remaining sub-region in a straight-line reciprocating manner;
wherein the main and sub regions are printed in a first material and the extended region is printed in a second material, the first material being different from the second material; and after printing is finished, removing the extended statue corresponding to the extended three-dimensional data printed by the second material, and taking the statue without the extended statue as the first 3D head statue.
In one possible implementation, the generating a first 3D head representation of an evanesian from the three-dimensional head representation model comprises:
generating an initial 3D head statue of the departed saint from the three-dimensional head statue model;
lengthening the neck of the initial 3D head statue, wherein a connecting part for fixedly connecting with the body statue is arranged on the bottom side of the lengthened neck;
the initial 3D head representation after the neck lengthening process is taken as a first 3D head representation.
In one possible implementation, the method further includes:
the method comprises the following steps of (1) pre-manufacturing body statues, wherein each body statue is provided with a corresponding identity tag and is a hollow statue, and a cavity in each body statue is used for placing bone ash of an departed person; the identity tag comprises one or more of height, weight, gender, age, ethnicity, skin color, nationality, occupation, belief, identity characteristics, age characteristics.
In one possible implementation, the method further includes:
generating a second 3D head statue of the departed saint according to the three-dimensional head statue model, and selecting a corresponding second body statue according to identity information of the departed saint;
combining the second 3D head representation and the second body representation and generating a second deceased statue; the second deceased person statue and the first deceased person statue are for setting up in different positions.
Based on the same inventive concept, the embodiment of the invention also provides a processing system for the image of the departed saint, which comprises a device for generating the image of the departed saint based on the photo of the departed saint, wherein the device comprises:
the data generation module is used for generating three-dimensional head portrait data of the head of the departed user according to the photo data before the departed user takes a life and determining a three-dimensional head portrait model according to the three-dimensional head portrait data;
a head statue generating module for generating a first 3D head statue of the deceased according to the three-dimensional head statue model;
the selecting module is used for acquiring identity information of the departed user and selecting a corresponding first body statue according to the identity information, wherein the identity information comprises one or more of height, weight, sex, age, nationality, skin color, nationality, occupation, belief, identity characteristics and era characteristics;
a combining module for combining the first 3D head representation and the first body representation and generating a first deceased statue.
In one possible implementation, the head statue generation module is to:
determining minimum value points of the three-dimensional head portrait data on the elevation, and determining maximum value points closest to the minimum value points;
determining a conical surface by taking the minimum value point as a vertex, wherein a rotating shaft of the conical surface passes through the central point of the three-dimensional head portrait data with the same height value as the minimum value point;
determining the intersection point of the conical surface and the three-dimensional head portrait data with the elevation value smaller than the elevation value of the minimum value point, and determining an intersection curve formed by the intersection points;
determining an effective surface in the conical surface according to the minimum value point and the intersection curve, and determining expanded three-dimensional data according to the effective surface, wherein the expanded three-dimensional data is three-dimensional data obtained by expanding along the direction of increasing the elevation value on the basis of the effective surface, and the elevation value of the expanded three-dimensional data is not greater than that of the maximum value point;
when the three-dimensional head portrait data is printed layer by layer, determining a main area and a sub area of the three-dimensional head portrait data under the layer, and an expansion area of the expanded three-dimensional data; the main area is a communication area closest to the central point of the three-dimensional head portrait data, the sub-area is a communication area except the main area, and the expansion area is a communication area connecting the main area and the sub-area;
determining a first contour region and a remaining main region of the main region, wherein the first contour region is a main region which is a first preset offset distance away from the contour of the main region, and the remaining main region is a main region except the first contour region;
determining a second contour region, a third contour region and a residual extension region of the extension region, wherein the second contour region is an extension region which is a second preset offset distance away from a contour of the extension region intersected with the main region, the third contour region is an extension region which is a third preset offset distance away from a contour of the extension region intersected with the sub-region, and the residual extension region is an extension region except the second contour region and the third contour region;
determining a fourth contour region and a remaining sub-region of the sub-region, wherein the fourth contour region is a sub-region which is a fourth preset offset distance away from the contour of the sub-region, and the remaining sub-region is a sub-region except the fourth contour region;
printing the first outline area along a path parallel to the outline of the main area, and then printing the remaining main area in a straight reciprocating manner;
printing the second outline region along a path parallel to an outline of the extended region intersecting the main region, printing the remaining extended region in a straight-line back-and-forth manner along a direction between a center point of the main region and a center point of the sub-region, and then printing the third outline region along a path parallel to an outline of the extended region intersecting the sub-region;
printing the fourth contour region along a path parallel to the contour of the sub-region, and then printing the remaining sub-region in a straight-line reciprocating manner;
wherein the main and sub regions are printed in a first material and the extended region is printed in a second material, the first material being different from the second material; and after printing is finished, removing the extended statue corresponding to the extended three-dimensional data printed by the second material, and taking the statue without the extended statue as the first 3D head statue.
In one possible implementation manner, the head statue generating module is further configured to generate a second 3D head statue of the departed saint according to the three-dimensional head statue model, and select a corresponding second body statue according to identity information of the departed saint;
the combination module is further for combining the second 3D head representation and the second body representation and generating a second deceased statue; the second deceased person statue and the first deceased person statue are for setting up in different positions.
In one possible implementation, the deceased statue processing system further includes:
the server is used for acquiring image information of the statue of the first departed person shot by the camera and correspondingly storing the image information and the identification of the departed person;
the movable camera shooting equipment is used for shooting pictures and sending the pictures;
the statue placing cabinet comprises a cabinet body, wherein the cabinet body is provided with a window;
the statue is put and is provided with revolving stage, communication module, display screen and treater in the cabinet, wherein:
the rotating table is arranged on a bottom plate of the cabinet body, and the first departed inventor statue is placed on the rotating table;
the communication module is used for being in communication connection with the movable camera equipment to acquire the picture sent by the movable camera equipment;
the display screen is arranged on the inner surface of one side cabinet wall of the statue placing cabinet;
the processor is used for controlling the rotating platform to rotate to a first position when the communication module is in a state of not receiving a picture, and the face of the first departed person statue faces the window at the first position; when the communication module is in a state of receiving the picture, controlling the rotating platform to rotate to a second position, wherein the face of the first departed inventor statue faces the display screen at the second position; and displaying the picture received by the communication module on the display screen.
In a possible implementation manner, the mobile camera device further has a positioning module, and is further configured to determine an environmental characteristic of a current geographic location according to pre-stored environmental characteristics of each geographic location, and send the current geographic location and the environmental characteristic thereof to the communication module;
the processor is further configured to obtain the current geographic location and the environmental characteristics thereof obtained by the communication module; according to the prestored voice audio of the departed user and the corresponding applicable environment characteristics of the voice audio of the departed user, the voice audio of the departed user corresponding to the environment characteristics corresponding to the current geographic position is determined, and the determined voice audio of the departed user is sent to the movable camera equipment through the communication module and is played by the movable camera equipment.
The method and the system for generating the statue of the departed user based on the departed user photo can generate the 3D head statue with extremely high similarity to the departed user, and can increase the cognizance of relatives to the statue; a plurality of body statues are made in advance, the 3D head statue and the body statue are combined to generate the statue of the departed user, the body part of the statue of the departed user can be generated quickly, and the efficiency is high. The generated statue of the departed saint can be placed in the Ling hall and the family sacral, and can also be placed at home for the relatives to trace the thinking at any time. The generated statue of the departed dead occupies small space, can save a lot of land originally used for burying the departed dead and even does not use cemetery, and greatly saves land resources. The 3D head statue is arranged to be hollow, so that bone ash of the departed can be placed, the form of burial can be completely avoided, and land resources are saved; meanwhile, the cognition of the relatives to the statue of the departed saint can be further increased. In addition, the statue of the departed person can be placed at home, the relatives can sacrifice at any time, the person does not need to rush to the sacrifice place on a specific date, the convenience is brought to the relatives, the risk of the unexpected incidents of the people flow gathering place is avoided, the fire disaster is avoided, and the traffic pressure on the specific date can be relieved.
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
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention and not to limit the invention. In the drawings:
FIG. 1 is a flow chart of a method for generating an image of an departed saint based on an departed saint photo in an embodiment of the invention;
FIG. 2 is a schematic view of a head figurine with a cavity according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of expanding three-dimensional data according to an embodiment of the invention;
FIG. 4 is a schematic plan view of a layer-by-layer printer according to an embodiment of the present invention;
FIG. 5 is a structure diagram of a device for generating an image of an departed saint based on a departed saint photo in the embodiment of the invention;
FIG. 6 is a schematic structural diagram of an image processing system of an departed saint in an embodiment of the invention.
Detailed Description
The preferred embodiments of the present invention will be described in conjunction with the accompanying drawings, and it will be understood that they are described herein for the purpose of illustration and explanation and not limitation.
The method for generating the image of the departed saint based on the departed saint photo is shown in the figure 1 and comprises the following steps of 101-104:
step 101: generating three-dimensional head portrait data of the head of the departed user according to the photo data before the departed user, and determining a three-dimensional head portrait model according to the three-dimensional head portrait data.
In the embodiment of the invention, photo data in the photo can be extracted according to the departmental photo of the departmental, so that three-dimensional head portrait data of the head of the departmental can be generated according to the photo data, and then a three-dimensional head portrait model for 3D printing can be generated according to the three-dimensional head portrait data. The number of the photos can be multiple, and the shooting angle of each photo is different.
Step 102: a first 3D head representation of the deceased is generated from the three-dimensional head representation model.
In an embodiment of the invention, after the three-dimensional head portrait model is determined, a corresponding 3D head statue, i.e., a first 3D head statue, may be produced. In particular, a first 3D head representation generating the deceased may be printed based on 3D printing techniques; alternatively, the first 3D head representation may be created based on other processes, which are not limited in this embodiment.
Step 103: acquiring identity information of the departed user, and selecting a corresponding first body statue according to the identity information, wherein the identity information comprises one or more of height, weight, gender, age, ethnicity, skin color, nationality, occupation and belief.
In the embodiment of the invention, a plurality of body statues are made in advance, and then the first body statue with the highest matching degree is determined as the body statue of the departed.
Step 104: combining the first 3D head representation and the first body representation, a first deceased statue is generated.
According to the method for generating the statue of the departed saint based on the departed saint photo, a user only needs to provide a two-dimensional photo, and then a 3D head statue (namely a first 3D head statue) with extremely high similarity to the departed saint is generated, so that the identity of relatives to the statue can be increased; a plurality of body statues are made in advance, and the body part of the deceased statue can be quickly generated and efficiently by combining the 3D head statue and the selected body statue (namely the first body statue) to generate the deceased statue (namely the first deceased statue). The generated statue of the departed saint can be placed in the Ling hall and the family sacral, and can also be placed at home for the relatives to trace the thinking at any time. The generated statue of the departed dead occupies small space, can save a lot of land originally used for burying the departed dead and even does not use cemetery, and greatly saves land resources.
Another embodiment of the present invention provides a method for generating an image of an deceased based on a deceased photo, which includes steps 101-104 in the above embodiment, and the implementation principle and technical effect thereof are as shown in the corresponding embodiment of fig. 1. Meanwhile, the three-dimensional head portrait data of the head of the departed saint is generated according to the photo data of the head of the departed saint, and comprises the steps A1-A2:
step A1: and determining the shooting angle of the photo data before the dead and determining the characteristic value of the photo data.
In the embodiment of the invention, the parameter of the third dimension can be introduced into the two-dimensional photo data according to the shooting angle of the photo, so that the two-dimensional photo data can be conveniently converted into the three-dimensional head portrait data. The shooting angle can be specifically determined according to the distance ratio between the characteristic points, and can also be preset manually. Meanwhile, the feature value of the photo data specifically includes a feature point in the photo data and a feature vector between two adjacent feature points.
Step A2: and pre-generating standard three-dimensional head portrait data, determining a characteristic value in the standard three-dimensional head portrait data corresponding to the characteristic value of the photo data according to the shooting angle, and correcting the corresponding characteristic value in the standard three-dimensional head portrait data according to the characteristic value of the photo data.
In the embodiment of the invention, because the quality of the photos provided by the user is uneven, the three-dimensional head portrait data of the departed user is determined by correcting the pre-generated standard three-dimensional head portrait data. The standard three-dimensional head portrait data is adjusted by extracting useful characteristic values in the photo data, and the three-dimensional head portrait data of the departed user can be quickly obtained. Meanwhile, even if the user only provides one photo, the three-dimensional head portrait data of the departed user can be restored and obtained according to the photo as far as possible.
In one possible implementation, the step 101 of determining the three-dimensional avatar model from the three-dimensional avatar data further includes steps B1-B3:
step B1: and determining a central point of the head portrait according to the space coordinates of the head portrait surface in the three-dimensional head portrait data, and determining an inner curved surface by taking the central point as a center, wherein the distance between each point in the inner curved surface and a point on the head portrait surface is greater than a preset distance.
In the embodiment of the invention, the head portrait corresponding to the three-dimensional head portrait data is provided with a surface, and the central point of the head portrait can be determined according to the space coordinates of all points on the surface. Specifically, the center point may be a center of gravity of a space corresponding to the avatar; or the spherical or ellipsoidal shape closest to the surface of the head portrait can be determined first, and then the center of the spherical or ellipsoidal shape is taken as the central point of the head portrait; or determining the distance between one point of the internal space of the head portrait and all points on the surface of the head portrait, and determining the variance of all the distances, wherein the point of the internal space of the head portrait corresponding to the minimum variance is used as the central point of the head portrait.
After the central point is determined, determining an inner curved surface of the head portrait by taking the central point as a center (the surface of the head portrait obtained by scanning is an outer curved surface), so that the interior of the first 3D head portrait manufactured finally is empty; at the same time, to increase the load bearing capacity of the head figurine, the distance between each point in the inner curved surface and a point on the surface of the head figurine is greater than a preset distance. The structure formed by the inner curved surface may be a sphere, an ellipsoid, or a cylinder, which is not limited in this embodiment.
Step B2: and a connecting through hole is arranged at a position corresponding to the neck in the three-dimensional head portrait data, and the inner surface is connected with the head portrait surface through the connecting through hole.
In the embodiment of the invention, the bone ash of the dead can be placed in the inner cavity of the first 3D head statue, and at the moment, the neck of the head statue can be provided with a connecting through hole for connecting the inner cavity; a schematic view is shown in fig. 2, in which 10 denotes the surface of the avatar, 20 denotes the inner curved surface, and 30 denotes the connecting through-holes, which may be sized according to the actual situation.
Step B3: determining a three-dimensional head portrait model according to a space formed by the inner surface, the head portrait surface and the connecting through hole; the cavity formed by the inner surface is used for placing the bone ash of the dead.
In the embodiment of the invention, the first 3D head statue is arranged to be hollow (namely, the hollow cavity formed by the inner surface), so that the bone ash of the dead can be placed, and a user can enjoy the statue of the dead at home, thereby completely avoiding a burial form and saving land resources; meanwhile, the arrangement of the cavity capable of containing the bone ash of the departed user can further increase the identity of the relatives and the people behind the relatives to the statue of the departed user.
In one possible implementation, selecting the corresponding first body representation according to the identity information specifically includes: respectively selecting a trunk statue, an arm statue and a palm statue corresponding to the departed; and combining the selected trunk statues, the arm statues and the palm statues into a first body statue.
In the embodiment of the invention, each part of the first body statue is refined, so that each part of the first body statue is matched with the body of the departed; and the statues of different parts of the body are manufactured separately, so that the manufacturing cost is low and can be saved.
In one possible implementation, step 102 generates a first 3D head representation of the deceased according to the three-dimensional head representation model, and specifically generates the first 3D head representation by 3D printing. Because when the head is directly printed in a layer-by-layer printing mode, some parts of the head (such as earlobes, chin and the like) are not communicated with the main part of the head, the existing mode generally adopts a mode of firstly printing the main part of the head and then printing the rest parts (such as ears) at other printing angles, and the mode has low efficiency, needs to change the printing angle and has complex calculation path. The embodiment of the invention adopts the mode of filling, expanding and removing for printing, can be formed at one time, and has high efficiency and small calculated amount. Specifically, the method comprises the following steps of C1-C12:
step C1: and determining minimum value points of the three-dimensional head portrait data on the elevation, and determining the maximum value point closest to the minimum value points.
In the embodiment of the invention, the three-dimensional head portrait data (or the three-dimensional head portrait model) is printed in a layer-by-layer printing mode by adopting a plane vertical to the elevation direction; therefore, when the three-dimensional head portrait data has a minimum value point in elevation, it means that the minimum value point is not communicated with the main data of the head portrait (i.e., the data of the face) under the layer. Fig. 3 illustrates an ear lobe as an example, in which point a is a minimum point, and corresponding point B is a maximum point closest to the minimum point a.
Step C2: and determining a conical surface by taking the minimum value point as a vertex, wherein a rotating shaft of the conical surface passes through the central point of the three-dimensional head portrait data with the same elevation value as the minimum value point.
In the embodiment of the invention, the extended part is determined by the conical surface, so that the amount of extended data can be ensured to be small enough as much as possible, and the printing efficiency of printing the extended part in the subsequent step is improved; meanwhile, as the three-dimensional equation of the conical surface is known, the calculation amount of the method is not large, and only the three-dimensional head portrait data are determined to meet the equation of the conical surface. Specifically, as shown in fig. 3, AO represents a rotation axis of a conical surface, and AC represents a generatrix of the conical surface. Meanwhile, the central point of the three-dimensional head portrait data can be the geometric center of the three-dimensional head portrait data in the plane where the minimum value point is located; a central axis in the elevation direction (vertical direction in fig. 3) may be set for the three-dimensional head portrait data in advance, and an intersection point of the central axis and a plane where the minimum value point is located is the central point. Optionally, the height of the conical surface is a distance from a minimum value point to a central point, i.e. the length of AO; thereby avoiding the conical surface from intersecting with excessive three-dimensional head portrait data, and reducing the calculation amount.
Step C3: and determining the intersection point of the conical surface and the three-dimensional head portrait data with the elevation value smaller than the elevation value of the minimum value point, and determining an intersection curve formed by the intersection points.
Because the three-dimensional head portrait data needs to be expanded so that the three-dimensional head portrait data is a connected area on a plane, the three-dimensional head portrait data with the elevation value larger than the elevation value of the minimum value point A does not need to be paid attention to during expansion, so that unnecessary calculation is avoided. Each point in the intersecting curve is a point in the three-dimensional head portrait data, and the elevation value of each point is smaller than the elevation value of the minimum value point. Point C in fig. 3 is a point in the intersection curve.
Step C4: and determining an effective surface in the conical surface according to the minimum value point and the intersection curve, determining expanded three-dimensional data according to the effective surface, wherein the expanded three-dimensional data is three-dimensional data obtained by expanding along the direction of increasing the elevation value on the basis of the effective surface, and the elevation value of the expanded three-dimensional data is not more than that of the maximum value point.
In the embodiment of the invention, a curved surface between the minimum value point and the intersecting curve is a partial curved surface of the conical surface, and the curved surface is used as an effective surface; meanwhile, on the basis of the effective surface, expanding the three-dimensional data along the direction of increasing the elevation value (such as the upward direction in fig. 3), wherein the obtained expanded three-dimensional data is the expansion and supplement of the original three-dimensional head portrait data, namely the expanded three-dimensional data is not overlapped with the three-dimensional head portrait data; meanwhile, in order to avoid unnecessary calculation, the maximum value point is the upper limit of the expansion process, that is, the elevation value of the expanded three-dimensional data is not greater than the elevation value of the maximum value point. As shown in fig. 3, the hatched portion in fig. 3 schematically represents the extended three-dimensional data.
Step C5: when printing layer by layer, determining a main area and a sub area of the three-dimensional head portrait data under the layer, and an expansion area of the expanded three-dimensional data; the main area is a connected area closest to the central point of the three-dimensional head portrait data, the sub-area is a connected area except the main area, and the expansion area is a connected area connecting the main area and the sub-area.
After the three-dimensional avatar data and the extended three-dimensional data are determined, a printing process may be performed based on the total three-dimensional data. In the embodiment of the invention, the printing is carried out layer by layer on a plane vertical to the elevation direction; in printing of each layer, a main region and a sub region of three-dimensional avatar data, and an extended region to extend the three-dimensional data are first determined. As shown in fig. 4, fig. 4 is a schematic plan view of one-layer printing in which the area indicated by the right solid circle is a main area and the area indicated by the left solid oval is a sub area; the main region and the sub-region are two regions that are not associated with each other. The region between the main region and the sub-region is a region determined by expanding the three-dimensional data, i.e., an expanded region.
Step C6: and determining a first contour area and a remaining main area of the main area, wherein the first contour area is the main area which is away from the contour of the main area by a first preset offset distance, and the remaining main area is the main area except the first contour area.
Step C7: and determining a second contour region, a third contour region and a residual extension region of the extension region, wherein the second contour region is an extension region with a second preset offset distance from the contour of the intersection of the extension region and the main region, the third contour region is an extension region with a third preset offset distance from the contour of the intersection of the extension region and the sub region, and the residual extension region is an extension region except the second contour region and the third contour region.
Step C8: and determining a fourth contour region and a remaining sub-region of the sub-regions, wherein the fourth contour region is a sub-region which is a fourth preset offset distance away from the contour of the sub-region, and the remaining sub-region is a sub-region except the fourth contour region.
In the embodiment of the present invention, as shown in fig. 4, the right solid line circle represents the outline of the main area, and the right broken line circle in fig. 4 can be obtained by expanding a first preset offset distance into the main area based on the outline, that is, the distance between the right solid line circle and the broken line circle is the first preset offset distance, and the area between the solid line circle and the broken line circle is the first outline area; the circular area within the dashed circle is the remaining main area. Similarly, in fig. 4, the left-side solid-line ellipse represents the outline of the sub-region, the distance between the left-side solid-line ellipse and the dotted-line ellipse is the fourth preset offset distance, the region between the solid-line ellipse and the dotted-line ellipse is the fourth outline region, and the region inside the dotted-line ellipse represents the remaining sub-region.
For the extended region, first, an outline of the extended region intersecting the main region (which is a part of the outline of the main region) is determined, and then, a second preset offset distance is extended into the extended region, so that a dashed line L1 in fig. 4 can be obtained, that is, a vertical distance between the dashed line L1 and the outline of the main region is the second preset offset distance, and the extended region between L1 and the outline of the main region is the second outline region (a section of circular arc region on the right side of the extended region in fig. 4). Similarly, the vertical distance between the dashed line L2 and the sub-region outline is a third preset offset distance, and the expanded region between L2 and the sub-region outline is a third outline region (a section of circular arc region on the left side of the expanded region in fig. 4); the remaining extension area is the remaining extension area, i.e. the shaded portion in fig. 4.
Step C9: the first outline area is printed along a path parallel to the outline of the main area, after which the remaining main area is printed in a straight-line back and forth manner.
Step C10: printing a second contour region along a path parallel to a contour of the extended region intersecting the main region, printing the remaining extended region in a straight-line reciprocating manner along a direction between a center point of the main region and a center point of the sub-region, and then printing a third contour region along a path parallel to a contour of the extended region intersecting the sub-region.
Step C11: the fourth contoured region is printed along a path parallel to the contour of the sub-regions, followed by printing the remaining sub-regions in a straight-line shuttle.
In the embodiment of the invention, the outline area is printed along the parallel paths of the outlines, so that the smoothness of the appearance of the printed statue can be improved, and the precision is high; and for the inside printing that adopts the straight line mode of reciprocating of profile area, because the speed of printing route is fast in this kind of mode calculation, and prints the route and all is the straightway, prints filling speed fast, can improve printing efficiency.
For the extended area, since the extended area only plays a supporting role, the extended area needs to be removed finally; therefore, the parts of the extended region intersecting the main region and the sub region (i.e., the second outline region and the third outline region) are printed in a high-precision printing manner along paths in which the outlines are parallel, and the rest of the extended region is printed in a straight line manner even if the outline of the extended region is also printed in a straight line. Meanwhile, in order to improve the supporting force of the expanded region, the printing direction when the remaining expanded region is printed is a direction between the center point of the main region and the center point of the sub region.
Furthermore, it should be noted that, due to the existence of the extended region, the printing process in the embodiment of the present invention has a strict printing order, that is, the main region (including the first outline region and the remaining main region, and the printing order is not sequential), the extended region is printed in the order of the second outline region → the remaining extended region → the third outline region, and the sub-region is printed finally.
Step C12: and removing the extended statue corresponding to the extended three-dimensional data printed by the second material after printing is finished, and taking the statue without the extended statue as the first 3D head statue.
In an embodiment of the invention, the main area and the sub area are printed in a first material and the extended area is printed in a second material, the first material being different from the second material. After printing is completed, the final first 3D head representation is obtained by removing the extensions of the second material. Specifically, the second material is a material that is easily separated from the first material under certain conditions, for example, the second material has a low melting point, or the second material in a solid state is easily dissolved in a liquid and the first material does not react with the liquid.
In one possible implementation, the step 102 of generating a first 3D head statue of the deceased according to the three-dimensional head portrait model specifically includes steps D1-D3:
step D1: and generating an initial 3D head statue of the departed saint according to the three-dimensional head statue model.
Step D2: the neck of the initial 3D head statue is lengthened, and a connecting part fixedly connected with the body statue is arranged on the bottom side of the lengthened neck.
Step D3: the initial 3D head representation after the neck lengthening process is taken as a first 3D head representation.
In an embodiment of the invention, the three-dimensional head portrait model is an initial model restored from a photograph of an departed saint, and the initial model is not suitable for being connected with a body statue. The method therefore extends the neck of an initial 3D head representation generated from the initial model, with a connecting member extending from the underside of the neck that is fixedly connectable to the body representation. For example, the externally appearing neck is circular, and then a portion of a square member is extended for attachment to the body representation; or a portion of a threaded member through which the body representation is attached.
Or, the neck model of the three-dimensional head portrait model can be lengthened, and the bottom side of the lengthened neck model is provided with a connecting component model fixedly connected with the body statue; and then the first 3D head statue can be directly generated by utilizing the three-dimensional head portrait model after the lengthening processing.
In one possible implementation, the method further includes: the method comprises the following steps of (1) pre-manufacturing body statues, wherein each body statue is provided with a corresponding identity tag and is a hollow statue, and a cavity in each body statue is used for placing bone ash of an departed; the identity tag comprises one or more of height, weight, gender, age, ethnicity, skin color, nationality, occupation, belief, identity characteristics, age characteristics.
In embodiments of the present invention, a plurality of even a maximum number of body representations may be pre-produced from the identity tags. For example, a body statue wearing apparel of a minority may be made for the minority; for some professions (e.g., doctors, soldiers, etc.), a body statue of clothing corresponding to the profession can be made in advance; for some previous victims (such as Yueyaofei, Maozedong, etc.), corresponding body statues can be made according to the current times characteristics. Meanwhile, the body statue is provided with a hollow cavity, the cavity is used for placing bone ash of the departed, and the cavity capable of placing the bone ash of the departed can increase the recognition of relatives on the statue of the departed.
Optionally, the method further includes: adding headwear to the first 3D head representation according to identity information of the deceased. In particular, the headwear may be jewelry, apparel and hairstyle. For example, add jewellery such as earrings to a woman's 3D head representation; military hats are added for the 3D head statues of soldiers; adding a long braid for clearing the 3D head statue of the departed.
In one possible implementation, the method further comprises steps E1-E2:
step E1: and generating a second 3D head statue of the departed saint according to the three-dimensional head statue model, and selecting a corresponding second body statue according to the identity information of the departed saint.
Step E2: combining the second 3D head representation and the second body representation and generating a second deceased statue; the second deceased statue and the first deceased statue are arranged at different positions.
In the embodiment of the invention, the first deceased statue and other second deceased statues can be generated at the same time, the second deceased statue and the first deceased statue can be identical or different (for example, different in size, slightly different in selected body statues and the like), and the second deceased statue and the first deceased statue are arranged at different positions. For example, the first deceased statue may be dedicated to the relatives' family, and the second deceased statue may be dedicated to the chasing hall, memorial hall, etc. The method is suitable for the departed or famous people with more relatives and can offer corresponding departed statues on different occasions; meanwhile, the bone ash of the departed person is contained in the cavity of each departed person statue, so that the cognizance of relatives or the relatives to the departed person statues can be increased.
In the embodiment of the invention, a plurality of departed saint statues of the same departed saint are arranged in a 'separating' mode, and each departed saint statue is arranged at a different position. For example, after a certain great master of Beijing opera died away, a plurality of statues of the deceased can be made in a separate manner, wherein one statue of the deceased is placed in the family of relatives for the relatives to mourn in real time; an departed statue can be placed in the memorial hall for the future to recall, and the memorial hall can be built in different places, so that convenience is brought to local people to look at the memorial hall for learning, and walking and running are avoided. Meanwhile, after another Beijing opera master dieses, the statue of the died of the Beijing opera master and the statue of the Beijing opera master can be placed in the same memorial hall at the same time, so that the later-appearing Beijing opera students can look forward to learn together. Or, the deceased statue of other drama (such as Yu-Shi, Yue-Shi and the like) may be arranged in the same memorial hall as the statue of the Beijing-Shi master, so that the later can recall the predecessors of various dramas in the same memorial hall.
The method for generating the statue of the departed saint based on the departed saint photo can generate the 3D head statue with extremely high similarity to the departed saint, and can increase the cognizance of relatives to the statue; a plurality of body statues are made in advance, the 3D head statue and the body statue are combined to generate the statue of the departed user, the body part of the statue of the departed user can be generated quickly, and the efficiency is high. The generated statue of the departed saint can be placed in the Ling hall and the family sacral, and can also be placed at home for the relatives to trace the thinking at any time. The generated statue of the departed dead occupies small space, can save a lot of land originally used for burying the departed dead and even does not use cemetery, and greatly saves land resources. The 3D head statue is arranged to be hollow, so that bone ash of the departed can be placed, the form of burial can be completely avoided, and land resources are saved; meanwhile, the cognition of the relatives to the statue of the departed saint can be further increased. In addition, the statue of the departed person can be placed at home, the relatives can sacrifice at any time, the person does not need to rush to the sacrifice place on a specific date, the convenience is brought to the relatives, the risk of the unexpected incidents of the people flow gathering place is avoided, the fire disaster is avoided, and the traffic pressure on the specific date can be relieved.
The method for generating the image of the departed saint based on the departed saint photo is described in detail above, and the method can also be realized by a corresponding device, and the structure and the function of the device are described in detail below.
An embodiment of the invention provides a processing system for an image of an departed saint, which comprises a device for generating an image of the departed saint based on an image of the departed saint, and as shown in fig. 5, the device comprises:
the data generating module 51 is used for generating three-dimensional head portrait data of the head of the departed user according to the photo data before the departed user and determining a three-dimensional head portrait model according to the three-dimensional head portrait data;
a head representation generation module 52 for generating a first 3D head representation of the deceased according to the three-dimensional head representation model;
the selecting module 53 is used for acquiring identity information of the departed user, and selecting a corresponding first body statue according to the identity information, wherein the identity information comprises one or more of height, weight, sex, age, nationality, skin color, nationality, occupation, belief, identity characteristics and era characteristics;
a combining module 54 for combining the first 3D head representation and the first body representation and generating a first deceased statue.
In a possible implementation manner, the data generating module 51 is specifically configured to:
determining the shooting angle of photo data before the dead and determining the characteristic value of the photo data;
and pre-generating standard three-dimensional head portrait data, determining a characteristic value in the standard three-dimensional head portrait data corresponding to the characteristic value of the photo data according to the shooting angle, and correcting the corresponding characteristic value in the standard three-dimensional head portrait data according to the characteristic value of the photo data.
In a possible implementation manner, the data generating module 51 is specifically configured to:
determining a central point of the head portrait according to the space coordinates of the head portrait surface in the three-dimensional head portrait data, and determining an inner curved surface by taking the central point as a center, wherein the distance between each point in the inner curved surface and a point on the head portrait surface is greater than a preset distance;
a connecting through hole is arranged at a position corresponding to the neck in the three-dimensional head portrait data, and the inner surface is connected with the head portrait surface through the connecting through hole;
determining a three-dimensional head portrait model according to a space formed by the inner surface, the head portrait surface and the connecting through hole; the cavity formed by the inner surface is used for placing the bone ash of the dead.
In one possible implementation, the head statue generation module 52 is configured to:
determining minimum value points of the three-dimensional head portrait data on the elevation, and determining maximum value points closest to the minimum value points;
determining a conical surface by taking the minimum value point as a vertex, wherein a rotating shaft of the conical surface passes through the central point of the three-dimensional head portrait data with the same height value as the minimum value point;
determining intersection points of the conical surface and the three-dimensional head portrait data with the elevation value smaller than the elevation value of the minimum value point, and determining an intersection curve formed by the intersection points;
determining an effective surface in the conical surface according to the minimum value point and the intersection curve, determining expanded three-dimensional data according to the effective surface, wherein the expanded three-dimensional data is three-dimensional data obtained by expanding along the direction of increasing the elevation value on the basis of the effective surface, and the elevation value of the expanded three-dimensional data is not greater than that of the maximum value point;
when printing layer by layer, determining a main area and a sub area of the three-dimensional head portrait data under the layer, and an expansion area of the expanded three-dimensional data; the main area is a communication area closest to the central point of the three-dimensional head portrait data, the sub-area is a communication area except the main area, and the expansion area is a communication area connecting the main area and the sub-area;
determining a first contour area and a remaining main area of the main area, wherein the first contour area is the main area which is away from the contour of the main area by a first preset offset distance, and the remaining main area is the main area except the first contour area;
determining a second contour region, a third contour region and a residual extension region of the extension region, wherein the second contour region is an extension region with a second preset offset distance from a contour of the intersection of the extension region and the main region, the third contour region is an extension region with a third preset offset distance from a contour of the intersection of the extension region and the sub region, and the residual extension region is an extension region except the second contour region and the third contour region;
determining a fourth contour region and a remaining sub-region of the sub-region, wherein the fourth contour region is a sub-region which is away from the contour of the sub-region by a fourth preset offset distance, and the remaining sub-region is a sub-region except the fourth contour region;
printing a first contour region along a path parallel to the contour of the main region, and then printing the remaining main region in a straight reciprocating manner;
printing a second contour region along a path parallel to a contour of the intersection of the expanded region and the main region, printing the remaining expanded region in a straight-line reciprocating manner along a direction between a center point of the main region and a center point of the sub-region, and then printing a third contour region along a path parallel to a contour of the intersection of the expanded region and the sub-region;
printing a fourth contour region along a path parallel to the contour of the sub-region, and then printing the remaining sub-region in a linear reciprocating mode;
wherein the main and sub-areas are printed in a first material and the extended area is printed in a second material, the first material being different from the second material; and removing the extended statue corresponding to the extended three-dimensional data printed by the second material after printing is finished, and taking the statue without the extended statue as the first 3D head statue.
In one possible implementation, the head statue generation module 52 is configured to:
generating an initial 3D head statue of the departed saint according to the three-dimensional head statue model;
lengthening the neck of the initial 3D head statue, wherein a connecting part for fixedly connecting with the body statue is arranged on the bottom side of the lengthened neck;
the initial 3D head representation after the neck lengthening process is taken as a first 3D head representation.
In one possible implementation, the apparatus further includes: pre-manufacturing a module;
the pre-manufacturing module is used for pre-manufacturing body statues, each body statue is provided with a corresponding identity tag and is a hollow statue, and the cavity in the body statue is used for placing bone ash of an departed; the identity tag comprises one or more of height, weight, gender, age, ethnicity, skin color, nationality, occupation, belief, identity characteristics, age characteristics.
In one possible implementation, the head statue generating module 52 is further configured to generate a second 3D head statue of the deceased according to the three-dimensional head statue model, and select a corresponding second body statue according to the identity information of the deceased;
the combining module 54 is also for combining a second 3D head representation and a second body representation and generating a second deceased statue; the second deceased statue and the first deceased statue are arranged at different positions.
The method and the system for generating the statue of the departed user based on the departed user photo can generate the 3D head statue with extremely high similarity to the departed user, and can increase the cognizance of relatives to the statue; a plurality of body statues are made in advance, the 3D head statue and the body statue are combined to generate the statue of the departed user, the body part of the statue of the departed user can be generated quickly, and the efficiency is high. The generated statue of the departed saint can be placed in the Ling hall and the family sacral, and can also be placed at home for the relatives to trace the thinking at any time. The generated statue of the departed dead occupies small space, can save a lot of land originally used for burying the departed dead and even does not use cemetery, and greatly saves land resources. The 3D head statue is arranged to be hollow, so that bone ash of the departed can be placed, the form of burial can be completely avoided, and land resources are saved; meanwhile, the cognition of the relatives to the statue of the departed saint can be further increased. In addition, the statue of the departed person can be placed at home, the relatives can sacrifice at any time, the person does not need to rush to the sacrifice place on a specific date, the convenience is brought to the relatives, the risk of the unexpected incidents of the people flow gathering place is avoided, the fire disaster is avoided, and the traffic pressure on the specific date can be relieved.
In a possible implementation manner, as shown in fig. 6, the above-mentioned image processing system for the departed saint may further include:
the server 61 is used for acquiring image information of the statue of the first departed person shot by the camera and correspondingly storing the image information and the identification of the departed person; therefore, relatives and friends of the departed can acquire the statue image of the first departed from the server to know the statue appearance;
a movable image pickup device 62 for taking a picture and transmitting the picture; the movable camera equipment can be a vehicle data recorder on an automobile, a mobile phone or the like; the relatives and friends of the departed can carry the movable camera shooting device, so that the movable camera shooting device shoots the picture of the environment of the relatives and friends of the departed;
the statue placing cabinet comprises a cabinet body 630, wherein the cabinet body 630 is provided with a window 631; the statue cabinet can be placed in a living room or at home;
be provided with revolving stage 632, communication module 633, display screen 634 and treater 635 in the cabinet is put to statue, wherein:
the rotating table 632 is disposed on the bottom plate of the cabinet 630, and the first departed user statue 64 is disposed on the rotating table 632; the rotating platform comprises a motor and a bedplate, wherein the bedplate is parallel to the bottom plate and is provided with a shaft vertical to the bedplate, and the motor is used for driving the shaft to axially rotate;
the communication module 633 is configured to communicate with the mobile image capturing apparatus 62, and acquire the picture sent by the mobile image capturing apparatus 62; the Communication module may be any long-distance or short-distance Communication module, wherein the long-distance Communication module may be a GPRS Communication module, an ethernet Communication module, or a UDP (User Datagram Protocol) Communication module, and the short-distance Communication module may be a bluetooth module, a WiFi Communication module, or an NFC (Near Field Communication) module.
The display screen 634 is arranged on the inner surface of one side cabinet wall of the cabinet body 630;
the processor 635, configured to control the rotating platform 632 to rotate to a first position when the communication module 633 is in a state of not receiving a frame (i.e. when the communication module does not receive a frame), where the face of the first deceased statue 64 faces the window 631; when the communication module 633 is in a state of receiving the screen (i.e. when the communication module receives the screen), controlling the rotating table 632 to rotate to a second position, in which the face of the first departed user statue 64 faces the display screen 634; the screen received by the communication module 633 is displayed on the display 634.
In the technical scheme, the statue placement cabinet has multiple functions, one function is to control the face of the statue of the first departed person to face towards the window when no picture is displayed, and at the moment, the statue placement cabinet is a memorial device and meets the daily memorial requirements; the other function is that when the picture is displayed, the face of the statue of the first departed saint is controlled to face the display screen, so that the picture shot by the relatives and friends of the departed saint is displayed in the statue placement cabinet, and the relatives and friends of the departed saint can emotionally think that the first departed saint is statue as if the pictures can be seen as if the deceased exists, so that the idea of the relatives and friends of the departed saint is met, and the deceased is just like if the departed saint never leaves.
In a possible implementation manner, the mobile camera device further has a positioning module, and is further configured to determine an environmental characteristic of a current geographic location according to pre-stored environmental characteristics of each geographic location, and send the current geographic location and the environmental characteristic thereof to the communication module; the environmental characteristics can be names of tourist attractions at the geographic positions, or weather conditions (including any one or more of cloudy days, sunny days, rainy days, snowy days and strong winds), or whether roads are dangerous or not;
the processor is further configured to obtain the current geographic location and the environmental characteristics thereof obtained by the communication module; according to the prestored voice audio of the departed user and the corresponding applicable environment characteristics of the voice audio of the departed user, the voice audio of the departed user corresponding to the environment characteristics corresponding to the current geographic position is determined, and the determined voice audio of the departed user is sent to the movable camera equipment through the communication module and is played by the movable camera equipment. The movable camera device is carried by relatives and relatives of departed people.
The voice audio of the departed user is generated by the departed user before the departed user passes through the electronic device, and can be transmitted to the departed user by the departed user or recorded to the electronic device by the departed user. The voice in the voice audio of the deceased is the sound production of the deceased in the life and is the sound characteristic which belongs to the deceased individual. Each section of the voice audio of the departed person can be input into a memory of the statue placement cabinet by relatives and friends of the departed persons through electronic equipment for storage, and each section of the voice audio of the departed person and the identification thereof are stored in the memory; the display screen can also be a touch display screen, so that an interface can be displayed on the touch display screen, the identity of the voice audio of the departed saint corresponding to each environmental characteristic can be input on the interface by the relatives and friends of the departed saint, and the identity of the voice audio of the departed saint corresponding to each environmental characteristic input by the relatives and friends of the departed saint is stored by the memory. For example, the deceased relatives and friends may input: when the environment characteristic is the name of the tourist attraction at the geographic position, the corresponding voice audio of the departed saint is a voice audio with beautiful exclamation scenery; the environment is characterized in that when the weather is snowy, the corresponding voice audio of the departed saint is a section of voice audio which pays attention to heat preservation; when the environmental characteristic is road danger, the corresponding voice audio of the departed saint is a section of voice audio for paying attention to walking safety.
By the technical scheme, the sound of the departed from the dead can be sensed in the advancing process of the departed from the family, so that the thinking and the thinking of the departed from the family to the departed from the dead are met, and the departed from the dead is the same as if the departed from the dead never.
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. A method for generating an image of an departed saint based on an departed saint photo is characterized by comprising the following steps:
generating three-dimensional head portrait data of the head of the departed person according to the photo data before the departed person, and determining a three-dimensional head portrait model according to the three-dimensional head portrait data;
generating a first 3D head statue of the departed saint from the three-dimensional head statue model;
acquiring identity information of the departed user, and selecting a corresponding first body statue according to the identity information, wherein the identity information comprises one or more of height, weight, gender, age, ethnicity, skin color, nationality, occupation, belief, identity characteristics and era characteristics;
combining the first 3D head representation and the first body representation and generating a first deceased statue;
the generating of a first 3D head representation of an departed saint from the three-dimensional head representation model, comprising:
determining minimum value points of the three-dimensional head portrait data on the elevation, and determining maximum value points closest to the minimum value points;
determining a conical surface by taking the minimum value point as a vertex, wherein a rotating shaft of the conical surface passes through the central point of the three-dimensional head portrait data with the same height value as the minimum value point;
determining the intersection point of the conical surface and the three-dimensional head portrait data with the elevation value smaller than the elevation value of the minimum value point, and determining an intersection curve formed by the intersection points;
determining an effective surface in the conical surface according to the minimum value point and the intersection curve, and determining expanded three-dimensional data according to the effective surface, wherein the expanded three-dimensional data is three-dimensional data obtained by expanding along the direction of increasing the elevation value on the basis of the effective surface, and the elevation value of the expanded three-dimensional data is not greater than that of the maximum value point;
when the three-dimensional head portrait data is printed layer by layer, determining a main area and a sub area of the three-dimensional head portrait data under the layer, and an expansion area of the expanded three-dimensional data; the main area is a communication area closest to the central point of the three-dimensional head portrait data, the sub-area is a communication area except the main area, and the expansion area is a communication area connecting the main area and the sub-area;
determining a first contour region and a remaining main region of the main region, wherein the first contour region is a main region which is a first preset offset distance away from the contour of the main region, and the remaining main region is a main region except the first contour region;
determining a second contour region, a third contour region and a residual extension region of the extension region, wherein the second contour region is an extension region which is a second preset offset distance away from a contour of the extension region intersected with the main region, the third contour region is an extension region which is a third preset offset distance away from a contour of the extension region intersected with the sub-region, and the residual extension region is an extension region except the second contour region and the third contour region;
determining a fourth contour region and a remaining sub-region of the sub-region, wherein the fourth contour region is a sub-region which is a fourth preset offset distance away from the contour of the sub-region, and the remaining sub-region is a sub-region except the fourth contour region;
printing the first outline area along a path parallel to the outline of the main area, and then printing the remaining main area in a straight reciprocating manner;
printing the second outline region along a path parallel to an outline of the extended region intersecting the main region, printing the remaining extended region in a straight-line back-and-forth manner along a direction between a center point of the main region and a center point of the sub-region, and then printing the third outline region along a path parallel to an outline of the extended region intersecting the sub-region;
printing the fourth contour region along a path parallel to the contour of the sub-region, and then printing the remaining sub-region in a straight-line reciprocating manner;
wherein the main and sub regions are printed in a first material and the extended region is printed in a second material, the first material being different from the second material; and after printing is finished, removing the extended statue corresponding to the extended three-dimensional data printed by the second material, and taking the statue without the extended statue as the first 3D head statue.
2. The method of claim 1,
the three-dimensional head portrait data of the head of the departed inventor is generated according to the photo data of the head of the departed inventor, and comprises the following steps:
determining the shooting angle of photo data before the dead and determining the characteristic value of the photo data;
pre-generating standard three-dimensional head portrait data, determining a characteristic value in the standard three-dimensional head portrait data corresponding to the characteristic value of the photo data according to the shooting angle, and correcting the corresponding characteristic value in the standard three-dimensional head portrait data according to the characteristic value of the photo data;
or
The determining a three-dimensional avatar model from the three-dimensional avatar data includes:
determining a central point of the head portrait according to the space coordinates of the head portrait surface in the three-dimensional head portrait data, and determining an inner curved surface by taking the central point as a center, wherein the distance between each point in the inner curved surface and a point on the head portrait surface is greater than a preset distance;
arranging a connecting through hole at a position corresponding to the neck in the three-dimensional head portrait data, wherein the inner surface of the connecting through hole is connected with the head portrait surface;
determining a three-dimensional head portrait model according to a space formed by the inner surface, the head portrait surface and the connecting through hole; the cavity formed by the inner surface is used for placing the bone ash of the dead.
3. The method of claim 1,
the generating a first 3D head representation of an departed saint from the three-dimensional head representation model comprises:
generating an initial 3D head statue of the departed saint from the three-dimensional head statue model;
lengthening the neck of the initial 3D head statue, wherein a connecting part for fixedly connecting with the body statue is arranged on the bottom side of the lengthened neck;
taking the initial 3D head statue after the neck lengthening treatment as a first 3D head statue;
or
The method further comprises the following steps:
the method comprises the following steps of (1) pre-manufacturing body statues, wherein each body statue is provided with a corresponding identity tag and is a hollow statue, and a cavity in each body statue is used for placing bone ash of an departed person; the identity tag comprises one or more of height, weight, gender, age, ethnicity, skin color, nationality, occupation, belief, identity characteristics, age characteristics.
4. The method of any of claims 1-3, further comprising:
generating a second 3D head statue of the departed saint according to the three-dimensional head statue model, and selecting a corresponding second body statue according to identity information of the departed saint;
combining the second 3D head representation and the second body representation and generating a second deceased statue; the second deceased person statue and the first deceased person statue are for setting up in different positions.
5. An departed saint statue processing system, the system comprising an apparatus for generating departed saint statues based on departed saint photos, the apparatus comprising:
the data generation module is used for generating three-dimensional head portrait data of the head of the departed user according to the photo data before the departed user takes a life and determining a three-dimensional head portrait model according to the three-dimensional head portrait data;
a head statue generating module for generating a first 3D head statue of the deceased according to the three-dimensional head statue model;
the selecting module is used for acquiring identity information of the departed user and selecting a corresponding first body statue according to the identity information, wherein the identity information comprises one or more of height, weight, sex, age, nationality, skin color, nationality, occupation, belief, identity characteristics and era characteristics;
a combining module for combining the first 3D head representation and the first body representation and generating a first deceased statue;
the head statue generation module is to:
determining minimum value points of the three-dimensional head portrait data on the elevation, and determining maximum value points closest to the minimum value points;
determining a conical surface by taking the minimum value point as a vertex, wherein a rotating shaft of the conical surface passes through the central point of the three-dimensional head portrait data with the same height value as the minimum value point;
determining the intersection point of the conical surface and the three-dimensional head portrait data with the elevation value smaller than the elevation value of the minimum value point, and determining an intersection curve formed by the intersection points;
determining an effective surface in the conical surface according to the minimum value point and the intersection curve, and determining expanded three-dimensional data according to the effective surface, wherein the expanded three-dimensional data is three-dimensional data obtained by expanding along the direction of increasing the elevation value on the basis of the effective surface, and the elevation value of the expanded three-dimensional data is not greater than that of the maximum value point;
when the three-dimensional head portrait data is printed layer by layer, determining a main area and a sub area of the three-dimensional head portrait data under the layer, and an expansion area of the expanded three-dimensional data; the main area is a communication area closest to the central point of the three-dimensional head portrait data, the sub-area is a communication area except the main area, and the expansion area is a communication area connecting the main area and the sub-area;
determining a first contour region and a remaining main region of the main region, wherein the first contour region is a main region which is a first preset offset distance away from the contour of the main region, and the remaining main region is a main region except the first contour region;
determining a second contour region, a third contour region and a residual extension region of the extension region, wherein the second contour region is an extension region which is a second preset offset distance away from a contour of the extension region intersected with the main region, the third contour region is an extension region which is a third preset offset distance away from a contour of the extension region intersected with the sub-region, and the residual extension region is an extension region except the second contour region and the third contour region;
determining a fourth contour region and a remaining sub-region of the sub-region, wherein the fourth contour region is a sub-region which is a fourth preset offset distance away from the contour of the sub-region, and the remaining sub-region is a sub-region except the fourth contour region;
printing the first outline area along a path parallel to the outline of the main area, and then printing the remaining main area in a straight reciprocating manner;
printing the second outline region along a path parallel to an outline of the extended region intersecting the main region, printing the remaining extended region in a straight-line back-and-forth manner along a direction between a center point of the main region and a center point of the sub-region, and then printing the third outline region along a path parallel to an outline of the extended region intersecting the sub-region;
printing the fourth contour region along a path parallel to the contour of the sub-region, and then printing the remaining sub-region in a straight-line reciprocating manner;
wherein the main and sub regions are printed in a first material and the extended region is printed in a second material, the first material being different from the second material; and after printing is finished, removing the extended statue corresponding to the extended three-dimensional data printed by the second material, and taking the statue without the extended statue as the first 3D head statue.
6. The system of claim 5,
the head statue generating module is further used for generating a second 3D head statue of the departed user according to the three-dimensional head statue model and selecting a corresponding second body statue according to identity information of the departed user;
the combination module is further for combining the second 3D head representation and the second body representation and generating a second deceased statue; the second deceased person statue and the first deceased person statue are for setting up in different positions.
7. The system of claim 5, further comprising:
the server is used for acquiring image information of the statue of the first departed person shot by the camera and correspondingly storing the image information and the identification of the departed person;
the movable camera shooting equipment is used for shooting pictures and sending the pictures;
the statue placing cabinet comprises a cabinet body, wherein the cabinet body is provided with a window;
the statue is put and is provided with revolving stage, communication module, display screen and treater in the cabinet, wherein:
the rotating table is arranged on a bottom plate of the cabinet body, and the first departed inventor statue is placed on the rotating table;
the communication module is used for being in communication connection with the movable camera equipment to acquire the picture sent by the movable camera equipment;
the display screen is arranged on the inner surface of one side cabinet wall of the statue placing cabinet;
the processor is used for controlling the rotating platform to rotate to a first position when the communication module is in a state of not receiving a picture, and the face of the first departed person statue faces the window at the first position; when the communication module is in a state of receiving the picture, controlling the rotating platform to rotate to a second position, wherein the face of the first departed inventor statue faces the display screen at the second position; and displaying the picture received by the communication module on the display screen.
8. The system of claim 7,
the mobile camera equipment is also provided with a positioning module and is also used for determining the environmental characteristics of the current geographic position according to the pre-stored environmental characteristics of the geographic positions and sending the current geographic position and the environmental characteristics thereof to the communication module;
the processor is further configured to obtain the current geographic location and the environmental characteristics thereof obtained by the communication module; according to the prestored voice audio of the departed user and the corresponding applicable environment characteristics of the voice audio of the departed user, the voice audio of the departed user corresponding to the environment characteristics corresponding to the current geographic position is determined, and the determined voice audio of the departed user is sent to the movable camera equipment through the communication module and is played by the movable camera equipment.
CN201711484326.6A 2017-12-29 2017-12-29 Method and system for generating image of departed person based on departed person photo Expired - Fee Related CN108182701B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711484326.6A CN108182701B (en) 2017-12-29 2017-12-29 Method and system for generating image of departed person based on departed person photo

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711484326.6A CN108182701B (en) 2017-12-29 2017-12-29 Method and system for generating image of departed person based on departed person photo

Publications (2)

Publication Number Publication Date
CN108182701A CN108182701A (en) 2018-06-19
CN108182701B true CN108182701B (en) 2021-06-01

Family

ID=62549263

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711484326.6A Expired - Fee Related CN108182701B (en) 2017-12-29 2017-12-29 Method and system for generating image of departed person based on departed person photo

Country Status (1)

Country Link
CN (1) CN108182701B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103606190A (en) * 2013-12-06 2014-02-26 上海明穆电子科技有限公司 Method for automatically converting single face front photo into three-dimensional (3D) face model
CN106142962A (en) * 2015-04-17 2016-11-23 陕西平达利生实业有限公司 A kind of bone-ash statue and preparation method thereof and the religious building with bone-ash statue
CN107310013A (en) * 2017-07-31 2017-11-03 王建光 A kind of preparation method of human-figure cinerary casket

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9688024B2 (en) * 2013-08-30 2017-06-27 Adobe Systems Incorporated Adaptive supports for 3D printing
KR20160112093A (en) * 2015-03-17 2016-09-28 한국전자통신연구원 Device and method for verifying support of 3d printing

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103606190A (en) * 2013-12-06 2014-02-26 上海明穆电子科技有限公司 Method for automatically converting single face front photo into three-dimensional (3D) face model
CN106142962A (en) * 2015-04-17 2016-11-23 陕西平达利生实业有限公司 A kind of bone-ash statue and preparation method thereof and the religious building with bone-ash statue
CN107310013A (en) * 2017-07-31 2017-11-03 王建光 A kind of preparation method of human-figure cinerary casket

Also Published As

Publication number Publication date
CN108182701A (en) 2018-06-19

Similar Documents

Publication Publication Date Title
JP7657338B2 (en) Systems and methods for augmented and virtual reality - Patents.com
JP7348261B2 (en) Systems and methods for augmented reality and virtual reality
US20180149864A1 (en) Image processing for head mounted display devices
CN110431509A (en) Collapsible virtual reality device
JP2009289035A (en) Image display system, portable display, server computer, and archaeological sightseeing system
CN108182701B (en) Method and system for generating image of departed person based on departed person photo
CN108248047B (en) Method and system for printing image of departed saint based on 3D printing technology
CN107680105A (en) Video data real-time processing method and device, computing device based on virtual world
Norman Imperial Triumph and Apotheosis: The Arch of Titus in Rome
CN107134002A (en) A kind of animation role's preparation method based on AR technologies
CN113407033A (en) Human body key point data expansion method based on VR
JP2025061524A (en) Systems and methods for augmented and virtual reality - Patents.com
Papagianni Cine-Things: The Revival of the Emirati Past in Nojoom Alghanem’s Cinemascape
HU et al. Gazers in Visual Space of Cloud Atlas
Kyo (Pre) Occupied Artists in Occupied Lands: Three Case Studies of PRC Art Workers in Central Tibet
Keep Strange Fascination: Kipling, Benjamin, and Early Cinema
Morrissey et al. Machines in Queer Gardens: Performance as Mixed Surreality
Chaplin Lingering in the Chambers of Romanticism: Poetic Landscapes in'Till Human Voices Wake Us'
Coon Merovingian Meditations on Jesus
NZ764226B2 (en) System and method for augmented and virtual reality

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20210601

Termination date: 20211229

CF01 Termination of patent right due to non-payment of annual fee