Provided in the present invention are an automatic
color matching configuration method and apparatus suitable for marble. The method comprises: acquiring a to‑be‑repaired-marble image of marble to be repaired, and performing identification to determine a to‑be‑repaired contour in the to‑be‑repaired-marble image; extending outward by a preset distance from the to‑be‑repaired contour, so as to generate a reference contour, wherein the region between the reference contour and the to‑be‑repaired contour is a
reference region; using a base
coating material to fill a region to be repaired within the to‑be‑repaired contour, so as to form an initial base
coating layer; on the basis of the color proportion condition of the
reference region, determining a base pixel value, and on the basis of the base pixel value, performing base
color matching on the initial base
coating layer to obtain a current base coating layer; on the basis of the pattern distribution condition of the
reference region, performing regional
color matching on the current base coating layer to obtain a repaired region, and determining the marble to be repaired as marble that has been repaired; and acquiring a repaired-marble image of the marble that has been repaired, and on the basis of the repaired-marble image and the to‑be‑repaired-marble image, generating a
historical record entry. By means of the present invention, at least the repair effect of marble is improved.