The invention discloses an X-
ray and NeRF
algorithm-based luneberg lens internal
structure analysis method, and relates to the technical field of three-dimensional imaging of optical lenses, and the method comprises the following implementation steps: S1, configuring an RGB-X-
ray combined imaging
system, and carrying out
data acquisition, and S2, carrying out the calibration of external parameters of a camera through a calibration plate: carrying out the imaging through a specially-made calibration plate, and carrying out the calibration of the external parameters of the camera through the calibration plate. The method comprises the following steps: acquiring a plurality of frames of RGB (Red, Green, Blue) images to obtain external parameters of an RGB camera under a calibration plate coordinate
system, acquiring a plurality of frames of X-
ray images to obtain an external parameter matrix of an X-ray camera about the calibration plate coordinate
system, performing implicit representation on a
continuous field in a lens by utilizing NeRF, mapping three-dimensional coordinates to differentiable density and
radiation values, and calculating the calibration plate coordinate system. According to the method, high-fidelity reconstruction from multi-angle X-ray projection to a three-dimensional structure is achieved, detail information in the lens can be effectively reserved, meanwhile, the continuity and symmetry of the structure are guaranteed, and compared with a traditional voxelization or
CT reconstruction method, the problems that
noise artifacts, fractures and unstable numerical values are likely to be generated in the traditional voxelization method are solved.