A data registration method, apparatus and program product for identifying dentin and caries ultra-resolution structures

By combining terahertz scattering scanning near-field optical microscopy (THz s-SNOM) with multimodal data processing, the problems of insufficient resolution and radiation safety in early caries diagnosis have been solved, and high-resolution caries identification and automated detection under radiation-free conditions have been achieved.

CN123160920APending Publication Date: 2026-11-24PEKING UNIV SCHOOL OF STOMATOLOGY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611085387.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-07-21
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

Existing dental diagnostic technologies lack sufficient resolution in detecting early caries and pose radiation safety concerns, making it difficult to achieve automated and objective identification of nanoscale dielectric differences in dentin.

Method used

A terahertz scattering scanning near-field optical microscope (THz s-SNOM) was used in conjunction with multimodal data processing. Through dielectric signal step recognition and subpixel-level affine transformation, data registration of dentin and caries super-resolution structures was achieved, including precise registration and multi-dimensional reconstruction of surface morphology and near-field optical matrix.

Benefits of technology

It achieves high-resolution identification of dentin and caries structures under radiation-free conditions, supports repeated measurements of the same specimen and self-comparison, reduces the false positive rate, and is suitable for safe caries screening of children and pregnant women.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123160920A_ABST
    Figure CN123160920A_ABST
Patent Text Reader

Abstract

This application relates to the field of intelligent medical care, specifically to a data registration method, device, and program product for identifying super-resolution structures of dentin and caries. The method includes constructing a sampling coordinate system; sampling dentin under the sampling coordinate system using terahertz scanning to obtain the surface morphology matrix and near-field optical matrix of the dentin; calculating the height difference between adjacent points in the surface morphology height matrix to obtain abrupt change positions and corresponding grid coordinates, which are used as reference anchor points; calculating the amplitude difference between adjacent points in the near-field optical matrix to obtain jump positions and corresponding grid coordinates, which are used as misalignment feature points; constructing coordinate pairs using the reference anchor points and misalignment feature points; calculating a two-dimensional translation vector between the near-field optical matrix and the morphology height matrix; and registering the dentin morphology and near-field optical signals using the two-dimensional translation vector to obtain registered near-field optical data and a morphology height matrix. This application enables automated and objective identification of early caries.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of intelligent medical care, specifically to a data registration method, device, program product, and computer-readable storage medium for identifying dentin and caries super-resolution structures. Background Technology

[0002] In the field of dental hard tissue research, dentin, as a crucial mineralized tissue constituting the main body of the tooth, possesses a highly ordered hierarchical structure: from micrometer-scale dentinal tubules to nanometer-scale peritubular and intertubular dentin, and then to a composite network of hydroxyapatite nanocrystals and type I collagen fibers. Early caries essentially involves the nanoscale dissolution and demineralization of the internal mineral phases of dentin (primarily hydroxyapatite) under the metabolic acid production of cariogenic bacteria, accompanied by exposure of collagen fibers, enlargement of micropores, and alterations in hydration. Currently, X-ray photography has become the primary diagnostic tool for clinical caries assessment. By detecting differences in attenuation after X-rays penetrate the tooth, it can visually reveal the diseased areas. However, its dependence on ionizing radiation raises significant safety concerns, strictly limiting its frequent use in highly vulnerable populations, particularly children and pregnant women. Children are more sensitive to radiation during their growth and development, while pregnant women must avoid radiation exposure to prevent adverse effects on the fetus. Therefore, driven by the need for safer and more sensitive diagnostic alternatives, researchers have developed various in vitro and in vivo methods.

[0003] These alternative methods include scanning electron microscopy (SEM), micro-computed tomography (micro-CT), quantitative light-induced fluorescence (QLF), optical coherence tomography (OCT), and atomic force microscopy (AFM). SEM provides high-resolution images but requires complex sample preparation, such as vacuum coating, and can only observe the sample surface, failing to fully reveal the fine internal structures of dentin. Micro-CT can reconstruct teeth in three dimensions in vitro, but its resolution is limited and it is not sensitive enough for detecting early microcaries. QLF relies on fluorescently labeled substances, but these substances may pose biosafety issues, and the fluorescence signal is easily affected by the surrounding tissue environment, leading to inaccurate results. OCT has high imaging speed, but its resolution at the nanoscale is low, making it difficult to clearly distinguish the ultrastructural changes in early dentin demineralization. While AFM can achieve high resolution, its measurement speed is slow, and it requires highly skilled operators, making large-scale clinical application difficult. These existing technologies not only have limitations in hardware resolution and sample preparation, but more importantly, they lack solutions for dentin-specific structures in the post-acquisition processing, analysis, and classification logic. While SEM and micro-CT can acquire images, they rely on manual interpretation or simple grayscale thresholding, and cannot automatically distinguish the nanoscale dielectric differences between demineralized dentin and normal dentin. The signal processing of OCT and AFM is mainly based on morphology or single optical parameters, and no physical model has been established that is directly related to the biomineral components of dentin (hydroxyapatite, collagen fibers, and moisture). Existing technologies generally lack multimodal information fusion mechanisms, and cannot integrate multidimensional data such as morphology, optics, and dielectrics into clinically meaningful classification features, making it difficult to achieve automated and objective identification of early caries. Summary of the Invention

[0004] The terahertz (THz) band typically refers to the electromagnetic spectrum region with frequencies between 0.1 and 10 THz (corresponding to wavelengths of 3 mm to 30 μm). This band lies between microwaves and infrared light and has long been known as the "terahertz gap." On the one hand, terahertz photons have extremely low energies (approximately 0.4-40 meV), far lower than visible and ultraviolet light, and do not cause ionizing damage to biological tissues. Therefore, they are called "non-ionizing radiation," giving them an inherent advantage in the safety detection of living biological samples. On the other hand, the terahertz band precisely covers the low-frequency collective vibrational modes, hydrogen bond skeleton vibrations, and lattice phonon modes of biological macromolecules (such as proteins, nucleic acids, and lipids). This allows different biological tissues to exhibit characteristic terahertz dielectric responses due to their unique molecular composition and structure, providing a natural spectral fingerprint window for label-free, intrinsic physicochemical-based biorecognition. Based on the ability to effectively identify and characterize various biomolecules using different terahertz fingerprint spectra, and leveraging the inherent advantages of terahertz waves in the biological field, this invention addresses the aforementioned issues by introducing a terahertz scattering scanning near-field optical microscope (THz s-SNOM) as a hardware observation platform. It establishes a complete data processing chain from raw near-field signal extraction, quantitative inversion of dielectric constant, multimodal feature construction, to clinically interpretable output. Specifically, it provides a data registration method for identifying super-resolution structures of dentin and caries, including: A sampling coordinate system was constructed, and the surface morphology matrix and near-field optical matrix of the dentin were obtained by sampling the dentin in the sampling coordinate system using terahertz scanning. The height difference between adjacent points in the surface topography height matrix is ​​calculated to obtain the abrupt change position and the corresponding grid coordinates, which are used as the reference anchor point; the amplitude difference between adjacent points in the near-field optical matrix is ​​calculated to obtain the jump position and the corresponding grid coordinates, which are used as the misalignment feature point. By constructing coordinate pairs using reference anchor points and misaligned feature points, a two-dimensional translation vector is calculated between the near-field optical matrix and the topography height matrix. The dentin topography and near-field optical signal are then registered using the two-dimensional translation vector to obtain the registered near-field optical data and topography height matrix.

[0005] The height difference between adjacent points is calculated element by element along a single direction of the surface topography height matrix. The height difference is compared with a preset first threshold. When the height difference is greater than the preset first threshold, the current element position is determined to be a sudden change position, and the corresponding two-dimensional grid coordinates are recorded. Optionally, the multidimensional near-field optical matrix calculates the amplitude difference value of adjacent points element by element along a single direction, compares the amplitude difference value with a preset second threshold, and when the amplitude difference value is greater than the preset second threshold, it is determined that the current element position is a jump position, and the corresponding two-dimensional grid coordinates are recorded. Optionally, the single direction includes the row direction or column direction of the matrix.

[0006] The registration is based on the planar coordinates of the topography height matrix as the reference coordinates, and the near-field optical signal is subjected to a translational affine transformation based on a two-dimensional translation vector to obtain the registered near-field optical data and topography height matrix. Optionally, the translational affine transformation includes integer coordinate point transformation and non-integer coordinate transformation. For non-integer coordinate points, the near-field dielectric values ​​on the non-integer coordinate points are first calculated and assigned by interpolation resampling, and then the translational affine transformation is performed. For integer coordinate points, the translational affine transformation is performed directly to obtain the registered near-field optical data and topography height matrix. Optionally, the surface topography height matrix and near-field optical matrix are converted into text data to obtain a text surface topography matrix and a text near-field optical matrix. The height difference between adjacent points in the text surface topography height matrix is ​​calculated to obtain the abrupt change position and the corresponding grid coordinates, which are used as reference anchor points. The amplitude difference between adjacent points in the text near-field optical matrix is ​​calculated to obtain the jump position and the corresponding grid coordinates, which are used as misalignment feature points.

[0007] Terahertz sampling of dentin in a sampling coordinate system yields surface morphology data and near-field optical data. Spatial meshing of the surface morphology data and near-field optical data yields the surface morphology height matrix and the near-field optical matrix, respectively. Optionally, each element in the surface topography height matrix includes two-dimensional planar coordinates and a height value, and each element in the multidimensional near-field optical matrix includes two-dimensional planar coordinates and a dielectric value. Optionally, the near-field optical matrix includes a first-order near-field amplitude matrix, a second-order near-field amplitude matrix, a first-order near-field phase matrix, and a second-order near-field phase matrix; Optionally, the method further includes data preprocessing, fitting a two-dimensional plane as a base plane based on the coordinates of all elements in the topography height matrix, subtracting the base plane from the topography height matrix element by element to obtain the preprocessed topography height matrix, and calculating the height difference between adjacent points on the preprocessed topography height matrix. Optionally, the preprocessing further includes filtering, performing adaptive filtering on the near-field optical matrix to obtain a processed multidimensional near-field optical matrix, and calculating the amplitude difference between adjacent points on the processed near-field optical matrix.

[0008] The purpose of this invention is to provide a computer program product comprising a computer program or instructions, wherein the computer program or instructions are executed by a processor to implement the above-described data registration method for identifying super-resolution structures of dentin and caries.

[0009] The method also includes two-dimensional visualization, where the registered near-field optical data is processed and converted using a pseudo-color transfer function to obtain color mark near-field optical data, and the distribution of internal components of dentin is distinguished and identified through the color mark near-field optical data; Optionally, the registered near-field optical data is normalized to obtain normalized near-field optical data, and then the normalized near-field optical data is processed by a pseudo-color transfer function to obtain second-color-scale near-field optical data. The distribution of internal components of dentin is distinguished and identified by the second-color-scale near-field optical data.

[0010] The method also includes three-dimensional visualization, constructing a three-dimensional coordinate system, generating a spatial topological skeleton in the three-dimensional coordinate system based on the registered morphology height matrix to obtain a continuous elevation surface, extracting the near-field optical matrix in the same coordinate system as the morphology height matrix, converting the values ​​in the near-field optical matrix into pseudo-color textures through a pseudo-color transfer function, and superimposing the pseudo-color textures onto the continuous elevation surface based on the coordinates to obtain a three-dimensional solid region, and performing super-resolution identification of dentin and caries structures through the three-dimensional solid region.

[0011] The method further includes target microstructure analysis, extracting one-dimensional discrete data from the registered near-field optical data and the registered topography height matrix along the spatial vector direction of the target microstructure, generating surface height curves and near-field amplitude curves under the same physical distance abscissa, verifying the correlation between the physical state and dielectric response of the target microstructure through the surface height curves and near-field amplitude curves; determining whether the target microstructure is abnormal through the correlation, and determining that the target microstructure is abnormal when the correlation does not meet the preset threshold.

[0012] Optionally, the method further includes diseased tooth identification, performing kernel density estimation on the registered near-field optical data to calculate the continuous probability density distribution of the dielectric signal, and identifying whether it is a diseased tooth by the dispersion of the continuous probability density distribution. When the dispersion does not meet a preset threshold, it is determined to be a diseased tooth.

[0013] The purpose of this invention is to provide a computer device comprising a memory, a processor, and a computer program or instructions stored in the memory, wherein the computer program or instructions are executed by the processor to implement the above-described data registration method for identifying super-resolution structures of dentin and caries.

[0014] The purpose of this invention is to provide a computer-readable storage medium having a computer program or instructions stored thereon, wherein the computer program or instructions are executed by a processor to implement the above-described data registration method for identifying dentin and caries super-resolution structures.

[0015] Advantages of this invention: 1. At the channel registration level (registration of morphology height matrix and near-field optical matrix), this invention innovatively uses the edge of the dentinal tubule lumen as a spatial anchor point. Through dielectric signal step recognition and sub-pixel-level affine transformation interpolation, it accurately corrects the misalignment between the morphology and the near-field optical matrix caused by millisecond-level time delay. Finally, through multi-dimensional reconstruction (two-dimensional pseudo-color mapping, three-dimensional texture overlay rendering) and quantitative visualization (feature profile line profile and KDE half-violin diagram statistics), the abstract dielectric response is transformed into a clinically interpretable super-resolution atlas that can intuitively distinguish between normal and carious dentin.

[0016] 2. At the signal preprocessing level, the technical solution of this invention employs first-order global plane fitting to eliminate macroscopic substrate tilt, and implements hierarchical filtering for noise reduction based on signal order and physical properties (second-order amplitude uses nonlinear median filtering to suppress salt-and-pepper noise, and first-order amplitude and phase use linear low-pass filtering to preserve boundary sharpness). At the data parsing level, the Gwyddion and Pygwy interfaces are used to perform low-level stripping and ASCII standardization transcoding of the closed formats of commercial devices, achieving lossless numerical export and batch automated processing.

[0017] 3. A single terahertz scan simultaneously acquires three types of information: morphology (structural integrity), amplitude (mineral density), and phase (hydration state). A multi-dimensional feature vector is constructed for cross-validation, significantly reducing the false positive rate compared to single-modal detection. Secondly, this invention performs detection at room temperature and pressure, eliminating the need for destructive preparations such as vacuum coating, dehydration, or staining. It completely preserves the original mineral phase, collagen fiber network, and hydration state of dentin, supporting repeated measurements and self-control of the same specimen before and after treatment. Furthermore, detection is based on the inherent terahertz dielectric response of dentin's own mineral composition, eliminating the need for exogenous markers such as fluorescent dyes or contrast agents, thus removing biosafety risks and simplifying the operation process.

[0018] 4. This invention uses 100 GHz terahertz band near-field optical detection, which will not cause ionization damage to biological tissues. It can be safely used for caries screening and dynamic monitoring in radiation-sensitive populations such as children and pregnant women, breaking through the population applicability limitations of X-ray photography. Attached Figure Description

[0019] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0020] Figure 1 This is a schematic diagram of the data registration method for identifying dentin and caries super-resolution structures provided in an embodiment of the present invention; Figure 2 A detailed structural diagram of the THz s-SNOM provided in this embodiment of the invention; Figure 3 The images provided in this embodiment of the invention are comparison images of THz s-SNOM and SEM observations of dentin samples. Parts A2-A5, B2-B5, C2-C5, and D2-D5 are all results of THz s-SNOM. Figure 4 The difference in local dielectric heterogeneity (i.e., data dispersion) between normal dentin and diseased dentin provided in the embodiments of the present invention is shown in Figure A, which is the SEM result of normal dentin and carious dentin, and Figure B is the THz s-SNOM result of normal dentin and carious dentin. Detailed Implementation

[0021] To enable those skilled in the art to better understand the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings.

[0022] In some of the processes described in the specification, claims, and accompanying drawings of this invention, multiple operations appearing in a specific order are included. However, it should be clearly understood that these operations may not be executed in the order they appear herein, or may be executed in parallel. The operation numbers, such as S101, S102, etc., are merely used to distinguish different operations and do not represent any execution order. Furthermore, these processes may include more or fewer operations, and these operations may be executed sequentially or in parallel. It should be noted that the descriptions such as "first," "second," etc., in this document are used to distinguish different messages, devices, modules, etc., and do not represent a sequential order, nor do they limit "first" and "second" to different types.

[0023] Figure 1 The data registration method for identifying dentin and caries super-resolution structures provided in this embodiment of the invention is illustrated in the following diagram: S1: Construct a sampling coordinate system, and obtain the surface morphology matrix and near-field optical matrix of dentin by sampling dentin in the sampling coordinate system through terahertz scanning; In one embodiment, scattering-type scanning near-field optical microscopy (s-SNOM) focuses incident electromagnetic waves onto the nanoscale tip of an atomic force microscope (AFM) probe, exciting localized near-field electromagnetic coupling between the probe tip and the sample surface. The probe's tapping modulation encodes deep subwavelength near-field information into the higher harmonics of the scattered signal, which is then extracted via lock-in amplification and demodulation. This technique elevates spatial resolution from the wavelength scale by several orders of magnitude to the nanoscale (typically 10–100 nm), determined solely by the radius of curvature of the probe tip, achieving true super-resolution imaging in the terahertz band. THz s-SNOM, combining the terahertz band with s-SNOM technology, allows for the simultaneous acquisition of three complementary physical information types in a single scan: surface morphology (three-dimensional topology), near-field amplitude (the real part of the local dielectric constant, related to mineral density), and near-field phase (dielectric loss, related to hydration state).

[0024] In one embodiment, terahertz scanning samples dentin in a sampling coordinate system to obtain surface morphology data and near-field optical data, and spatially meshes the surface morphology data and near-field optical data to obtain a surface morphology height matrix and a near-field optical matrix, respectively. Optionally, each element in the surface topography height matrix includes two-dimensional planar coordinates and a height value, and each element in the multidimensional near-field optical matrix includes two-dimensional planar coordinates and a dielectric value. Optionally, the near-field optical matrix includes a first-order near-field amplitude matrix, a second-order near-field amplitude matrix, a first-order near-field phase matrix, and a second-order near-field phase matrix; In subsequent embodiments, taking the amplitude signal (amplitude matrix) as an example, it can also be replaced with phase information, and the method is similar.

[0025] In one embodiment, the method further includes data preprocessing, fitting a two-dimensional plane as a base plane based on the coordinates of all elements in the topography height matrix, subtracting the base plane from the topography height matrix element by element to obtain the preprocessed topography height matrix, and calculating the height difference between adjacent points on the preprocessed topography height matrix. Optionally, the preprocessing further includes filtering, performing adaptive filtering on the near-field optical matrix to obtain a processed multidimensional near-field optical matrix, and calculating the amplitude difference between adjacent points on the processed near-field optical matrix.

[0026] In one embodiment, the surface topography height matrix and the near-field optical matrix are converted into text data to obtain the text surface topography matrix and the text near-field optical matrix. The height difference between adjacent points in the text surface topography height matrix is ​​calculated to obtain the abrupt change position and the corresponding grid coordinates, which are used as the reference anchor point. The amplitude difference between adjacent points in the text near-field optical matrix is ​​calculated to obtain the jump position and the corresponding grid coordinates, which are used as the misalignment feature point.

[0027] In one embodiment, the surface topography height matrix and near-field optical matrix are preprocessed and then converted into text data to obtain the text surface topography height matrix and text near-field optical matrix.

[0028] In one specific embodiment, the preparation of dentin and caries samples for THz s-SNOM observation is as follows: The dental samples were sliced ​​transversely and longitudinally under constant water-cooling conditions using a low-speed diamond saw blade (SYJ-160; Shenyang Kejing, China) to obtain slices with an initial thickness of 500-600 μm. These slices underwent ultra-precision polishing, followed by wet abrasion with 800-6000 grit silicon carbide paper until a mirror-like finish was achieved. After ultrasonic cleaning to remove residual debris, the samples were stored in phosphate-buffered saline (PBS) to maintain hydration. For subsequent terahertz measurements and observations, the samples were transferred to a desiccator as needed for further observation.

[0029] Observations were made on dentin and carious samples using THz s-SNOM: In THz s-SNOM, the near-field interaction between the probe and the sample is typically described using a dipole model. Based on this model, the relationship between the scattered terahertz electric field intensity Es at the probe tip and the incident electric field intensity Ei can be expressed as:

[0030] Here, γ is the reflection coefficient, which is related to the dielectric properties of the sample. The dual-enhanced coupling effect between the probe and the sample surface is described. Effective polarizability. The strength of the dipole near-field interaction between the probe and the sample was quantified and calculated by the following equation:

[0031] Where α is the polarizability of the probe tip. Let be the dielectric constant of the dentin sample, and r be the distance from the center of the probe tip to the sample surface. As the probe oscillates above the sample, the probe-sample distance changes periodically with time. The highly nonlinear dependence of the α effect on distance effectively modulates the near-field signal, thereby generating higher-order harmonic signals for imaging.

[0032] The THz s-SNOM settings used in the experiment are as follows: Figure 2 As shown. The system operates at 100 GHz and integrates a commercial AFM platform (Bruker Innova, Belgium), which utilizes a custom probe (RMN25Pt200b) operating in tapping mode. The probe's tip curvature radius is approximately 100 nm, and the actual operating oscillation frequency is approximately 16.82 kHz. The signal from the RF source (TS-SG22000PRO) is frequency-multiplied and then distributed to the mixer and horn antenna via a power divider. The horn antenna guides the terahertz wave onto the oscillating AFM probe to excite near-field interactions, and then receives the scattered signal containing this near-field information. To improve the signal-to-noise ratio, the scattered signal first passes through a low-noise amplifier and then mixes with the local oscillator signal in the mixer to generate a baseband signal. This baseband signal is then filtered out by a DC block to remove DC bias and low-frequency interference. The remaining AC scattered signal is sent to a lock-in amplifier for demodulation, and the near-field signal amplitude of each harmonic order is extracted using the harmonic of the probe's oscillation frequency Ω as a reference signal.

[0033]

[0034] Where η and σ are system constants, Fm is the modulation coefficient corresponding to the m-th harmonic (strictly encapsulating the local dielectric response information of the sample), and En is the electric field intensity transmission factor of each component in the receiver chain. By extracting specific harmonic orders (m = 1, 2), far-field background noise was effectively suppressed, and the nanoscale dielectric constant distribution image of dentin slices was reconstructed.

[0035] Processing steps for dentin and caries sample observation data obtained by THz s-SNOM: 1. Sample and imaging system configuration: This procedure targets isolated human dentin sections, encompassing both cross-sections and longitudinal sections of normal dentin and carious dentin from diseased teeth. Dentin, as a typical biomineralized tissue, possesses a complex hierarchical structure, and its hydration state varies significantly across different regions, making characterization at the nanoscale challenging.

[0036] As previously mentioned, imaging was performed using a terahertz scattering scanning near-field optical microscope system operating at a frequency of 100 GHz. The probe was a custom-made platinum-coated probe with a tip curvature radius of approximately 100 nm. During scanning, the probe performed periodic tapping oscillations at a mechanical frequency of approximately 16.82 kHz; a radio frequency source emitted terahertz waves to the probe tip via an antenna, and the near-field interaction between the probe and the sample excited a scattered signal. The system further demodulated and extracted this scattered signal at the higher harmonic frequencies of the probe using a lock-in amplifier.

[0037] Following the aforementioned acquisition process, the system simultaneously outputs two types of raw data from independent sources, encapsulated in a multi-channel closed-format file. The first type is surface morphology data: the longitudinal displacement of the probe on the sample surface (z-axis piezoelectric ceramic displacement voltage) is acquired in real-time by the mechanical feedback control system of the AFM cantilever. After spatial gridding reconstruction, a surface morphology height matrix is ​​formed, whose value directly reflects the physical elevation of the sample's microscopic undulations. The second type is terahertz near-field optical data: obtained by high-order harmonic demodulation of the terahertz electric field signal scattered by the probe using a lock-in amplifier. After spatial gridding, a multi-dimensional near-field optical matrix is ​​formed, specifically including a first-order near-field amplitude matrix, a second-order near-field amplitude matrix, a first-order near-field phase matrix, and a second-order near-field phase matrix. The amplitude matrix reflects the intensity of the local dielectric response, and the phase matrix reflects the phase hysteresis of the dielectric response.

[0038] 2. Baseline calibration of the topography height channel: During the preparation stage, dentin sections undergo cutting and polishing, which couples macroscopic substrate tilt into the original morphological height matrix. If left untreated, the absolute height difference caused by this tilt will far exceed the nanoscale of the actual microstructure, leading to severe distortion during subsequent multichannel fusion.

[0039] To address this, a reference plane fitting and subtraction operation needs to be performed on the original surface height channel. The fitting order is limited to first order, calculating only one optimal two-dimensional tilt plane as the basis, thus avoiding artificial distortion of the real microscopic topology such as dentinal tubule margins caused by higher-order mathematical fitting. In terms of fitting sampling, a global thresholdless strategy is adopted, without removing any extreme high or low points, ensuring that all pixel coordinates within the field of view participate in the calculation of the reference plane with equal weight. Subsequently, the original height matrix is ​​subtracted from the reference plane pixel by pixel (element) to accurately eliminate the macroscopic tilt of the sample while completely preserving the nanoscale dentin surface morphology.

[0040] 3. Hierarchical filtering and noise reduction in the near-field optical channel: The true terahertz near-field scattering signal generated by the probe tip is extremely weak, and is particularly susceptible to interference from mechanical vibration and background scattering in heterogeneous mineralized tissues such as dentin. Therefore, rigorous filtering of the multidimensional near-field optical matrix is ​​necessary. Instead of a single global filtering method, an adaptive configuration based on the signal order and physical properties is employed.

[0041] For the second-order near-field amplitude matrix: The absolute intensity of second-order near-field scattering signals decays sharply at this order, making the image prone to randomly distributed extreme outliers, which manifest as salt-and-pepper noise. Furthermore, amplitude data is more sensitive to scattering clutter caused by minute surface roughness; linear filtering would result in blurred edges. Therefore, nonlinear median filtering is used for this type of data, with the window order set to an odd matrix of 3×3 or larger. This strategy directly replaces the contaminated center pixel with the median of the local neighborhood pixels, removing discrete salt-and-pepper noise while preserving the abrupt physical transition edges at the junctions of different components such as periodontal dentin and intertubular dentin.

[0042] For the first-order near-field amplitude matrix and the first and second-order near-field phase matrices: First-order harmonic signals have relatively high intensity, while phase signals are highly sensitive to boundary abrupt changes caused by differences in the intrinsic dielectric constant of materials. To filter out conventional high-frequency mechanical scanning noise while avoiding spatial dispersion of physical boundaries, linear low-pass filtering (such as Gaussian filtering) is used for this type of data, and the convolution kernel size is set to a small neighborhood window (e.g., 3×3 pixels). This lightweight filtering parameter can smooth high-frequency noise while maximizing the clarity of the outline of the macroscopic component distribution of dentin.

[0043] The above-mentioned grading mechanism follows a basic premise: the noise reduction intensity configured for higher-order signals should be greater than that for lower-order signals; the requirement for nonlinear fidelity of amplitude signals should be stricter than that for phase signals.

[0044] 4. Closed-loop data parsing and format standardization: The raw data output by scanning probe microscopy software uses a proprietary, closed encapsulation format (such as .flt or a vendor-specific binary format), with topographic, amplitude, and phase data encapsulated in proprietary binary files. This format hinders numerical calculations and subsequent registration across software platforms, thus requiring the use of the open-source scanning probe microscopy data processing framework Gwyddion to perform the stripping and standardization of the underlying data.

[0045] First, the pre-processed dentin multichannel proprietary format file is imported into Gwyddion. This framework can automatically identify and remove proprietary file headers attached to commercial devices, redundant hardware calibration information, and color mapping shells used for software visualization, restoring the data, which was originally in a black-box state, into a two-dimensional discrete numerical matrix reflecting the interaction between the probe and the sample.

[0046] Subsequently, under a unified physical coordinate system, the surface height matrix, near-field amplitude matrix, and near-field phase matrix are independently extracted one by one. Directly exporting to conventional image formats such as JPEG, PNG, or TIFF may introduce interpolation errors. Therefore, the coordinates of each pixel (element) in each dimension matrix and its corresponding physical dimensions (such as nanometer values ​​for height and millivolt values ​​for amplitude) must be losslessly converted into a standardized plain text ASCII data file and saved in .txt format. The resulting ASCII matrix contains floating-point data in the physical dimension, rather than just an image with visual precision. The row and column indices of this matrix directly correspond to the two-dimensional spatial sampling coordinates of the probe on the sample surface during scanning. Therefore, the row and column index pairs (i, j) of any numerical element in the matrix constitute the two-dimensional grid coordinates of that pixel position.

[0047] When batch processing of multi-region continuous scan results from multiple dentin slices is required, an automated batch processing workflow can be built using Gwyddion's built-in Python script interface, Pygwy. The script silently traverses the dataset directory by calling the core objects and methods of the underlying gwy module, automatically extracts the channel identifiers (Data IDs) from each encapsulated file, and calls functions such as export_ascii to perform batch file header stripping, channel separation, and lossless export in plain text format.

[0048] S2: Calculate the height difference between adjacent points in the surface topography height matrix to obtain the abrupt change position and the corresponding grid coordinates, and use them as the reference anchor point; calculate the amplitude difference between adjacent points in the near-field optical matrix (amplitude matrix) to obtain the jump position and the corresponding grid coordinates, and use them as the misalignment feature point; In one embodiment, the height difference between adjacent points is calculated element by element along a single direction of the surface topography height matrix. The height difference is compared with a preset first threshold. When the height difference is greater than the preset first threshold, the current element position is determined to be a sudden change position, and the corresponding two-dimensional grid coordinates are recorded. Optionally, in the near-field optical matrix, the amplitude matrix is ​​calculated element-by-element along a single direction to determine the amplitude difference between adjacent points. The amplitude difference is compared with a preset second threshold. When the amplitude difference is greater than the preset second threshold, the current element position is determined to be a jump position, and the corresponding two-dimensional grid coordinates are recorded. Optionally, the single direction includes the row direction or column direction of the matrix.

[0049] In one specific embodiment, channel registration is based on the dentinal tubule margin: During dentin scanning, there is a millisecond-level time difference between the mechanical movement of the probe cantilever and the integration and capture of the terahertz photoelectric signal. This delay causes a two-dimensional relative translational misalignment of tens to hundreds of nanometers in physical space between the topographic height matrix and the near-field optical matrix. If this is not eliminated, subsequent mapping of different dentin components (such as normal areas and carious areas) will result in unclear referencing.

[0050] To address this issue, the standardized ASCII matrix is ​​imported into a numerical computing platform, where the computer system automatically executes the following registration process: using the luminal margins of dentinal tubules as spatial registration anchor points. Specifically, in the topographic height ASCII matrix, the system calculates the height difference Δh(i, j) = h(i+1, j) pixel-by-pixel along the scan row direction (or column direction) between adjacent points. h(i, j), where (i, j) are the row and column indices of the matrix, corresponding to the two-dimensional grid coordinates of the physical location on the sample surface. When |Δh(i, j)| exceeds a preset threshold T_h (T_h is 20%~30% of the dynamic range of the matrix height, with an empirical value of approximately 50~100 nm), a physical topological abrupt change is determined at the pixel location, and the two-dimensional grid coordinates (i, j) of this abrupt change location are recorded as a reference anchor point. Subsequently, within the corresponding neighborhood of the near-field first-order amplitude ASCII matrix, the system calculates the amplitude difference ΔA(i, j) = A(i+1, j) pixel by pixel (element) along the scanning row direction (or column direction). A(i, j); Due to the lack of highly mineralized hydroxyapatite and a highly polarizable hydrated collagen network inside the lumen, its dielectric constant is significantly lower than that of the perivascular dentin, causing a jump in the near-field coupling strength at the lumen boundary. This jump is numerically manifested as a first-order differential abrupt change in the amplitude value, i.e., |ΔA(i, j)| exhibits a significant peak at the boundary. When |ΔA(i, j)| exceeds a preset threshold T_A (T_A is taken as 15%~25% of the dynamic range of the matrix amplitude, with an empirical value of approximately 5~15 mV), the pixel position is determined to be the near-field optical boundary, and its two-dimensional grid coordinates (i, j) are recorded as a misalignment feature point.

[0051] Based on the coordinate pairs of the aforementioned reference anchor points and misaligned feature points, a two-dimensional translation vector of the near-field optical matrix relative to the height reference matrix is ​​calculated. Since the actual physical delay is often not an integer number of pixels when transformed to a discrete pixel grid, a simple global matrix translation is not used. Instead, a global coordinate system is established with the spatial grid of the height matrix as the absolute reference, and a translational affine transformation is performed on the near-field amplitude and phase matrices. During the transformation, bilinear interpolation or bicubic spline interpolation algorithms are used to recalculate and assign near-field dielectric values ​​at non-integer coordinate points.

[0052] After translation transformation and subpixel interpolation resampling, any coordinate point on the height matrix not only accurately corresponds to its physical real nanometer-level elevation, but also accurately corresponds to the local terahertz dielectric response at the same coordinate in the corrected matrix, thereby achieving multi-channel pixel-level registration of the physical morphology of dentin samples with near-field optical signals.

[0053] S3: By constructing coordinate pairs using reference anchor points and misaligned feature points, calculate the two-dimensional translation vector between the near-field optical matrix and the topography height matrix. Use the two-dimensional translation vector to register the dentin topography with the near-field optical signal to obtain the registered near-field optical data and topography height matrix.

[0054] In one embodiment, the registration is based on the planar coordinates of the topography height matrix as the reference coordinates, and a translational affine transformation is performed on the near-field optical signal based on a two-dimensional translation vector to obtain the registered near-field optical data and the topography height matrix. Optionally, the translational affine transformation includes integer coordinate point transformation and non-integer coordinate point transformation. For non-integer coordinate points, the near-field dielectric values ​​on the non-integer coordinate points are first calculated and assigned by interpolation resampling, and then the translational affine transformation is performed. For integer coordinate points, the translational affine transformation is performed directly to obtain the registered near-field optical data and topography height matrix.

[0055] In one embodiment, the method further includes two-dimensional visualization, where the registered near-field optical data is processed and converted using a pseudo-color transfer function to obtain color-coded near-field optical data, and the distribution of internal components of dentin is distinguished and identified through the color-coded near-field optical data; Optionally, the registered near-field optical data is normalized to obtain normalized near-field optical data, and then the normalized near-field optical data is processed by a pseudo-color transfer function to obtain second-color-scale near-field optical data. The distribution of internal components of dentin is distinguished and identified by the second-color-scale near-field optical data.

[0056] In one embodiment, the method further includes three-dimensional visualization, constructing a three-dimensional coordinate system, generating a spatial topological skeleton in the three-dimensional coordinate system based on the registered morphology height matrix to obtain a continuous elevation surface, extracting the amplitude matrix of the near-field optical matrix under the same coordinates as the morphology height matrix, converting the values ​​in the amplitude matrix into pseudo-color textures through a pseudo-color transfer function, superimposing the pseudo-color textures onto the continuous elevation surface based on the coordinates to obtain a three-dimensional solid region, and performing super-resolution identification of dentin and caries structures through the three-dimensional solid region.

[0057] In one embodiment, the method further includes target microstructure analysis, extracting one-dimensional discrete data from the registered near-field optical data and the registered topography height matrix along the spatial vector direction of the target microstructure, generating surface height curves and near-field amplitude curves under the same physical distance abscissa, verifying the correlation between the physical state and dielectric response of the target microstructure through the surface height curves and near-field amplitude curves, and determining whether the target microstructure is abnormal through the correlation. When the correlation does not meet a preset threshold, the target microstructure is determined to be abnormal.

[0058] Optionally, the method further includes diseased tooth identification, performing kernel density estimation on the registered near-field optical data to calculate the continuous probability density distribution of the dielectric signal, and identifying whether it is a diseased tooth by the dispersion of the continuous probability density distribution. When the dispersion does not meet a preset threshold, it is determined to be a diseased tooth.

[0059] For normal dentin microstructure, there is usually a stable correspondence between morphology and near-field response; if the near-field signal deviates significantly from this relationship, such as no significant change in height but a sudden change in amplitude or phase, it can indicate that there is dentin structural collapse or lesion at that location.

[0060] In one specific embodiment, multidimensional reconstruction and quantitative visualization: After registration, color mapping, three-dimensional modeling, and multi-dimensional quantitative analysis are performed on the underlying data matrix of dentin under a unified coordinate system, transforming the abstract terahertz dielectric data into a map that can intuitively reflect its microstructure and pathological evolution.

[0061] Regarding two-dimensional feature mapping: The surface height matrix retains its original physical dimensions (micrometers or nanometers) as an objective basis for assessing the structural integrity of dentin. For the near-field optical matrix, since probe wear, radio frequency power perturbations, and environmental factors in different batches of scans can cause baseline drift in absolute signal intensity, only extreme value normalization is performed on the near-field optical matrix to uniformly map it to the dimensionless [0, 1] interval. After normalization, a high-contrast pseudo-color transfer function is configured for the near-field matrix, typically using a thermodynamic color map and a custom-defined periodic fringe grayscale function. This transforms the terahertz dielectric difference into a significant visual abrupt change in two-dimensional space, thereby clearly distinguishing the distribution of different components within the dentin.

[0062] In terms of 3D spatial layered rendering: The normalized 2D surface height matrix is ​​extracted as a spatial topological skeleton, and a continuous physical elevation surface is constructed in a 3D coordinate system. Then, the first-order near-field amplitude matrix under the same spatial coordinates is extracted, its values ​​are converted into pseudo-color texture maps, and directly applied to the aforementioned 3D elevation surface. By superimposing lighting and material reflection models such as Gollod shading, the physical undulations of the dentin surface and its deep internal dielectric properties can be synchronously presented in 3D within the same microscopic region. Furthermore, first-order and second-order near-field optical features (including amplitude and phase) can also participate in the 3D display as independent floating layers and texture maps.

[0063] Comparison of THz s-SNOM and SEM observations of dentin samples: Figure 3 As shown.

[0064] In terms of quantitative analysis: Two types of methods are introduced to replace simple subjective visual observation. The first type is feature profile analysis (LineProfile): On the reconstructed two-dimensional map, a one-dimensional discrete data column is extracted along a specific spatial vector direction that spans the target microstructures such as dentinal tubules. Surface height curves and near-field amplitude curves are generated simultaneously under the same physical distance x-axis, thereby quantitatively verifying the strong correlation between the physical state of a specific physiological structure and its dielectric response with sub-micron precision.

[0065] The second category is global probability distribution statistics: A kernel density estimation algorithm (KDE) is introduced to calculate the continuous probability density distribution of the dielectric signal for a massive number of pixels (elements) within the field of view, and quartile box plots are fused to generate a half-violin plot statistical model. This analysis can quantitatively reveal, from a global macroscopic perspective, the changes in the median signal caused by carious lesions, and the differences in local dielectric heterogeneity (i.e., data dispersion) between normal dentin and diseased dentin, such as... Figure 4 As shown.

[0066] The present invention also discloses a computer program product or system, including a computer program that, when executed by a processor, implements the above-described method steps.

[0067] The system provided in this embodiment of the invention specifically includes: Acquisition Unit: .

[0068] An embodiment of the present invention provides a computer device, specifically comprising: A memory and a processor; the memory is used to store program instructions; the processor is used to invoke the program instructions, when any of the above-described data registration methods for identifying dentin and caries super-resolution structures are executed.

[0069] The present invention also discloses a computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, is any of the above-described data registration methods for identifying super-resolution structures of dentin and caries.

[0070] The verification results of this verification embodiment show that assigning inherent weights to indications can improve the performance of this method compared to the default settings. Those skilled in the art will understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here. In the several embodiments provided in this application, it should be understood that the disclosed systems, devices, and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative; for example, the division of units is merely a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the displayed or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be electrical, mechanical, or other forms. The units described as separate components may or may not be physically separated; the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of this embodiment. Furthermore, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated units described above can be implemented in hardware or as software functional units. Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be implemented by a program instructing related hardware. This program can be stored in a computer-readable storage medium, which may include: read-only memory (ROM), random access memory (RAM), a magnetic disk, or an optical disk, etc.

[0071] Those skilled in the art will understand that all or part of the steps in the methods of the above embodiments can be implemented by a program instructing related hardware. The program can be stored in a computer-readable storage medium, such as a read-only memory, a disk, or an optical disk.

[0072] The computer device provided by the present invention has been described in detail above. For those skilled in the art, there will be changes in the specific implementation and application scope based on the ideas of the embodiments of the present invention. Therefore, the content of this specification should not be construed as a limitation of the present invention.

Claims

1. A data registration method for identifying dentin and carious super-resolution structures, characterized in that, include: A sampling coordinate system was constructed, and the surface morphology height matrix and near-field optical matrix of the dentin were obtained by sampling the dentin in the sampling coordinate system through terahertz scanning. The height difference between adjacent points in the surface topography height matrix is ​​calculated to obtain the abrupt change location and the corresponding grid coordinates, which are then used as reference anchor points. The amplitude difference between adjacent points of the near-field optical matrix is ​​calculated to obtain the jump position and the corresponding grid coordinates, which are then used as misalignment feature points. By constructing coordinate pairs using reference anchor points and misaligned feature points, a two-dimensional translation vector is calculated between the near-field optical matrix and the topography height matrix. The dentin topography and near-field optical signal are then registered using the two-dimensional translation vector to obtain the registered near-field optical data and topography height matrix.

2. The data registration method for identifying dentin and caries super-resolution structures according to claim 1, characterized in that, The height difference between adjacent points is calculated element by element along a single direction of the surface topography height matrix. The height difference is compared with a preset first threshold. When the height difference is greater than the preset first threshold, the current element position is determined to be a sudden change position, and the corresponding two-dimensional grid coordinates are recorded. Optionally, the near-field optical matrix calculates the amplitude difference value of adjacent points element by element along a single direction, compares the amplitude difference value with a preset second threshold, and when the amplitude difference value is greater than the preset second threshold, it is determined that the current element position is a jump position, and the corresponding two-dimensional grid coordinates are recorded. Optionally, the single direction includes the row direction or column direction of the matrix.

3. The data registration method for identifying dentin and caries super-resolution structures according to claim 1, characterized in that, The registration is based on the planar coordinates of the topography height matrix as the reference coordinates, and the near-field optical signal is subjected to a translational affine transformation based on a two-dimensional translation vector to obtain the registered near-field optical data and topography height matrix. Optionally, the translational affine transformation includes integer coordinate point transformation and non-integer coordinate transformation. For non-integer coordinate points, the near-field dielectric values ​​on the non-integer coordinate points are first calculated and assigned by interpolation resampling, and then the translational affine transformation is performed. For integer coordinate points, the translational affine transformation is performed directly to obtain the registered near-field optical data and topography height matrix. Optionally, the surface topography height matrix and near-field optical matrix are converted into text data to obtain the text surface topography height matrix and text near-field optical matrix. The height difference between adjacent points in the text surface topography height matrix is ​​calculated to obtain the abrupt change position and the corresponding grid coordinates, which are then used as reference anchor points. The amplitude difference between adjacent points of the near-field optical matrix of the text is calculated to obtain the jump position and the corresponding grid coordinates, which are then used as misalignment feature points.

4. The data registration method for identifying dentin and caries super-resolution structures according to claim 1, characterized in that, Terahertz scanning samples dentin in a sampling coordinate system to obtain surface morphology data and near-field optical data. The surface morphology data and near-field optical data are then spatially meshed to obtain the surface morphology height matrix and the near-field optical matrix, respectively. Optionally, each element in the surface topography height matrix includes two-dimensional planar coordinates and a height value, and each element in the multidimensional near-field optical matrix includes two-dimensional planar coordinates and a dielectric value. Optionally, the near-field optical matrix includes a first-order near-field amplitude matrix, a second-order near-field amplitude matrix, a first-order near-field phase matrix, and a second-order near-field phase matrix; Optionally, the method further includes data preprocessing, fitting a two-dimensional plane as a base plane based on the coordinates of all elements in the topography height matrix, subtracting the base plane from the topography height matrix element by element to obtain the preprocessed topography height matrix, and calculating the height difference between adjacent points on the preprocessed topography height matrix. Optionally, the preprocessing further includes filtering, performing adaptive filtering on the near-field optical matrix to obtain a processed multidimensional near-field optical matrix, and calculating the amplitude difference between adjacent points on the processed near-field optical matrix.

5. The data registration method for identifying dentin and caries super-resolution structures according to claim 1, characterized in that, The method also includes two-dimensional visualization, where the registered near-field optical data is processed and converted using a pseudo-color transfer function to obtain color mark near-field optical data, and the distribution of internal components of dentin is distinguished and identified through the color mark near-field optical data; Optionally, the registered near-field optical data is normalized to obtain normalized near-field optical data, and then the normalized near-field optical data is processed by a pseudo-color transfer function to obtain second-color-scale near-field optical data. The distribution of internal components of dentin is distinguished and identified by the second-color-scale near-field optical data.

6. The data registration method for identifying dentin and caries super-resolution structures according to claim 1, characterized in that, The method also includes three-dimensional visualization, constructing a three-dimensional coordinate system, generating a spatial topological skeleton in the three-dimensional coordinate system based on the registered morphology height matrix to obtain a continuous elevation surface, extracting the near-field optical matrix under the same coordinates as the morphology height matrix, converting the amplitude values ​​in the near-field optical matrix into pseudo-color textures through a pseudo-color transfer function, and superimposing the pseudo-color textures onto the continuous elevation surface based on the coordinates to obtain a three-dimensional solid region, and performing super-resolution identification of dentin and caries structures through the three-dimensional solid region.

7. The data registration method for identifying dentin and caries super-resolution structures according to claim 1, characterized in that, The method further includes target microstructure analysis, extracting one-dimensional discrete data from the registered near-field optical data and the registered topography height matrix along the spatial vector direction of the target microstructure, generating surface height curves and near-field amplitude curves under the same physical distance abscissa, verifying the correlation between the physical state and dielectric response of the target microstructure through the surface height curves and near-field amplitude curves; determining whether the target microstructure is abnormal based on the correlation, and determining that the target microstructure is abnormal when the correlation does not meet a preset threshold; Optionally, the method further includes diseased tooth identification, performing kernel density estimation on the registered near-field optical data to calculate the continuous probability density distribution of the dielectric signal, and identifying whether it is a diseased tooth by the dispersion of the continuous probability density distribution. When the dispersion does not meet a preset threshold, it is determined to be a diseased tooth.

8. A computer program product comprising a computer program or instructions, characterized in that, The computer program or instructions are executed by a processor to implement the data registration method for identifying dentin and caries super-resolution structures as described in any one of claims 1-7.

9. A computer device comprising a memory, a processor, and a computer program or instructions stored in the memory, characterized in that, The computer program or instructions are executed by a processor to implement the data registration method for identifying dentin and caries super-resolution structures as described in any one of claims 1-7.

10. A computer-readable storage medium having a computer program or instructions stored thereon, characterized in that, The computer program or instructions are executed by a processor to implement the data registration method for identifying dentin and caries super-resolution structures as described in any one of claims 1-7.