Image zooming method, storage medium and electronic equipment
The invention discloses an image scaling method, a storage medium and electronic equipment, and the method comprises the steps: S1, reading original image data and scaling parameters, and screening and storing effective pixel rows participating in interpolation operation from the original image data...
Gespeichert in:
Hauptverfasser: | , , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention discloses an image scaling method, a storage medium and electronic equipment, and the method comprises the steps: S1, reading original image data and scaling parameters, and screening and storing effective pixel rows participating in interpolation operation from the original image data according to the scaling parameters; S2, writing a current image frame into an image data RAM unitaccording to the stored effective pixel rows; S3, reading the effective pixel value of the current image frame from the image data RAM unit, and performing interpolation calculation according to the effective pixel value and the interpolation coefficient to obtain the pixel value of the current scaled image frame; and S4, reading the next image frame as the current image frame, and repeating the step S2S4 to complete image scaling. According to the invention, storage resources can be saved while the quality of the zoomed image is ensured.
本发明公开了一种图像缩放方法、存储介质及电子设备,其中图像缩放方法,包括步骤:S1、读取原始图像数据和缩放参数,根据缩放参数从原始图像数据中筛选并存储参与插值运 |
---|