The paper presents an algorithm for efficiently finding neighboring blocks in images represented by a quadtree data structure. It introduces a new pixel addressing scheme based on relative and absolute location codes, allowing the determination of neighbors in all directions without checking for their existence in the quadtree. The study builds on existing algorithms and enhances the capability to retrieve both equal and larger size neighboring blocks through systematic approaches.