RulerEdit: Quantitative Image Editing via 3D Rulers
Current image editing models follow the semantics of instructions but cannot change an object by a user-specified 3D length. We attribute this to a lack of spatial intelligence: 2D editing models learn only on the image plane and cannot measure or follow lengths in 3D. We propose RulerEdit for quantitative image editing. RulerEdit first converts the editing request into a target ruler in 3D space and then renders it into depth-aware visual cues, namely a shifted scene that describes the motion and a swept surface that describes the final shape, which guide the editing model. Since a single image carries no absolute scale, the ruler length is defined relative to a reference ruler in the same image, and a user or an agent constructs the ruler by picking five points on visible surfaces, which are lifted to 3D with monocular depth. Trained only on procedurally generated Blender data, RulerEdit directly edits real photographs. We also introduce RulerBench to evaluate quantitative editing. Compared with other editing models, RulerEdit edits sizes more accurately and achieves clearly lower errors on multiple metrics.
- arXiv
- 2612.06292
- Authors
- Jinglin Chen, Shiyi Zhang, Zetong Zhao, Shilin Ma, Yansong Tang
- Categories
- cs.CV