This document presents a study on the implementation of R-trees for image databases to enhance efficient image storage and retrieval. It discusses the challenges of spatial data handling and the use of distance metrics for similarity-based image retrieval, employing techniques such as the Sobel edge detection for image comparison. The research is aimed at optimizing data management as the demand for multimedia applications increases.