Hyperspectral images are rich in spectral and spatial information, providing a detailed and comprehensive description of objects, which makes hyperspectral image analysis technology essential in intelligent agriculture. With various corn seed varieties exhibiting significant internal structural differences, accurate classification is crucial for planting, monitoring, and consumption. However, due to the large volume and complex features of hyperspectral corn image data, existing methods often fall short in feature extraction and utilization, leading to low classification accuracy. To address these issues, this paper proposes a spectral-spatial attention transformer network (SSATNet) for hyperspectral corn image classification. Specifically, SSATNet utilizes 3D and 2D convolutions to effectively extract local spatial, spectral, and textural features from the data while incorporating spectral and spatial morphological structures to understand the internal structure of the data better. Additionally, a transformer encoder with cross-attention extracts and refines feature information from a global perspective. Finally, a classifier generates the prediction results. Compared to existing state-of-the-art classification methods, our model performs better on the hyperspectral corn image dataset, demonstrating its effectiveness.
Captured low-light images typically suffer from low brightness, low contrast, and blurred details due to the scattering and absorption of light and limited lighting. To deal with these issues, we propose a self-calibrating depth network with soft-edge reconstruction for low-light image enhancement. Concretely, we first employ the soft edge reconstruction module to reconstruct the soft edge of the input image and extract the texture and detail information of the image. Afterward, we explore the convergence properties of each input via the self-calibration module to significantly improve the computational effectiveness of the method and gradually correct the inputs at each subsequent level. Finally, the low-light image is iteratively enhanced by an iterative light enhancement curve to obtain a high-quality image. Extensive experiments demonstrate that our SCDNet visually enhances the brightness and contrast, restores the actual color, and makes the image more in line with the characteristics of the human eye vision system. Meanwhile, our SCDNet outperforms the compared methods in some qualitative and quantitative metrics.