# All‐Optical Diffractive Operators for Rapid, Computer‐Free Morphological Transformations

**Authors:** Yuxiang Sun, Fenglei Wang, Jing Han, Geyang Qu, Zezheng Zhang, Yan Wei, Chuang Yang, Qifeng Ruan, Shengjie Wang, Heming Wei, Chaoran Huang, Jun Guan, Jingtian Hu

PMC · DOI: 10.1002/nap2.70031 · 2026-02-22

## TL;DR

This paper introduces an all-optical system that uses diffractive layers to perform fast, computer-free image processing tasks like erosion and dilation.

## Contribution

The novel contribution is a scalable, deep learning-trained diffractive optical system for rapid, parallel morphological transformations without digital computation.

## Key findings

- Diffractive surfaces can perform erosion and dilation operations using optical wavefront processing.
- The system enables image denoising and adjustable transformation kernels through training.
- Experiments show the optical process is highly parallel and suitable for large image datasets.

## Abstract

Morphological transformations are playing a key role in visual information processing with diverse applications ranging from bioimaging to video surveillance and environmental monitoring. However, these operations are becoming increasingly computationally intensive, requiring substantial memory and processing power as the size of image datasets expands. This paper describes a fast, highly parallel approach to perform morphological transformations by diffractive computing. These all‐optical processors consist of successive diffractive surfaces designed to perform dilation and erosion operations by learning the relations between input and transformed images via a deep learning‐based optimization process. Unlike existing digital methods, our free‐space diffractive devices implement these transformations in a computer‐free manner by directly processing the optical wavefront. The cascaded diffractive architecture further enables image denoising and flexible tuning of the extent and directionality of erosion/dilation through the same training process by adjusting target image datasets, realizing the synthesis of diverse transformation kernels on demand. We also demonstrate that the optical process is scalable and can process large volumes of visual information in a highly parallel manner. Experimentally, we realize such a diffractive network in a reflection configuration using a phase‐only spatial light modulator (SLM) and perform morphological transformations on both amplitude‐ and phase‐encoded images.

This paper shows an all‐optical, computer‐free approach to realize morphological transformations on visual data. Free‐space optical devices consisting of successive diffractive layers are trained through a deep learning‐based optimization process to perform erosion and dilation for images with diverse styles. The optical computing system is scalable for processing large images with near‐zero latency and demonstrates applications in image denoising.

## Full-text entities

- **Diseases:** erosions (MESH:D014077), dilation (MESH:D002311)
- **Chemicals:** TiO2 (MESH:C009495), Salt (MESH:D012492), Si3N4 (MESH:C032734)

## Figures

6 figures with captions in the complete paper: https://tomesphere.com/paper/PMC12965033/full.md

---
Source: https://tomesphere.com/paper/PMC12965033