Object-IR Image Retargeting
CNN that predicts mesh motion to warp an image to a target aspect ratio while keeping objects undistorted.
Depth estimation · 284 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
At a glance
- Task
- Depth estimation
- Parameters
- 1.9M
- Operations
- 284
- Framework
- PyTorch
- Recurrent
- No
- Published
- Pattern Recognition 2026
- Paper
- Object-IR: Leveraging Object Consistency and Mesh Deformation for Self-Supervised Image Retargeting
- Cited by
- 1 (as of 28 October 2026)
- Authors
- Tianli Liao, Ran Wang, Siqing Zhang and others
- Source
- GitHub: tlliao/Object-IR
- License
- MIT
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m18962
- Graph hash
- 400512e435beba7470691581be1b1c770b8fc6681d75fbae141317e2d7b01344
- Skeleton hash
- 3ee1115c53b4e99f73a44aaf8963805d0b3e2467a4da70daf8743f6d70bf4792
- Architecture hash
- 626e454bf9e7f6c4ff55fcf39926d313200cba3ab213235121ec466a69232251
- Diagram SHA-256
- 1f1a01abe682cf63922b0e1670d73b5e66f50526df80568f2b74db11a405c8ef
- TorchLens version
- 2.36.0
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
What it is
Object-IR treats image retargeting, the task of changing an image to a new aspect ratio, as a mesh warping problem solved by a learned network. The difficulty it addresses is geometric distortion in the semantically important regions of the image.
Given an image and a target aspect ratio, a uniform rigid mesh is laid out at the output resolution and a convolutional network predicts how each mesh grid moves. The output image is then produced by warping the input according to the rigid mesh and the deformed mesh. The network is simple: a ResNet-50 backbone with pre-trained parameters extracts features, and after a few more convolutional layers a single fully connected layer regresses the horizontal and vertical displacement of every grid vertex. The paper sets the mesh resolution to 8 × 8.
Training is self-supervised, driven by three losses: an object loss for consistency of objects between input and output, a geometric loss against distortion of the meshes inside objects, and a boundary loss for a rectangular output. The objects are found with Yolo11, whose bounding boxes are extracted from the input images. The training data is a filtered COCO set of 18,023 images, 17,043 for training and 980 for testing. Although the model is trained only on size reduction, the authors also use it to enlarge images by applying the inverse mesh deformation.
Key idea. Object-IR recasts image retargeting as self-supervised mesh warping, with a CNN predicting mesh motion under object-consistency, geometry-preserving and boundary losses instead of annotated retargeting data.
- Object-IR
- image retargeting
- mesh warping
- mesh deformation
- aspect ratio change
- content-aware image resizing
- self-supervised retargeting
- object consistency
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{liao2025objectirleveragingobjectconsistency,
title={Object-IR: Leveraging Object Consistency and Mesh Deformation for Self-Supervised Image Retargeting},
author={Tianli Liao and Ran Wang and Siqing Zhang and Lei Li and Guangen Liu and Chenyang Zhao and Heling Cao and Peng Li},
year={2025},
eprint={2510.27236},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2510.27236},
}