Image restoration method, device and storage medium

A repair method and image technology, which is applied in the field of image processing, can solve problems such as blurry screen and inability to view the opened file screen

Active Publication Date: 2021-04-02
XIAMEN MEIYA PICO INFORMATION
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Existing JPG file recovery technologies are all implemented by parsing file system-based fragment reorganization or signature recovery. If the code area is covered by other data, the opened file will appear blurry and cannot be viewed.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Image restoration method, device and storage medium
  • Image restoration method, device and storage medium
  • Image restoration method, device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0064] JPG (JPEG) files can be roughly divided into two parts: tag code (Tag) and compressed data. The tag code consists of two bytes, the first byte is a fixed value 0xFF, and the latter byte has different values ​​according to different meanings. An unlimited number of meaningless 0xFF padding can also be added before each marker code, that is to say, multiple consecutive 0xFFs can be understood as one 0xFF and represent the beginning of a marker code. After a complete two-byte tag code, it is the compressed data stream corresponding to the tag code, which records various information about the file. Commonly used marks are SOI, APP0, DQT, SOF0, DHT, DRI, SOS, EOI.

[0065] The encoding process of JPG is as follows: the image data in RGB format is preprocessed into YCrCb format through color space conversion, because the subsequent DCT transformation is to process 8x8 sub-blocks. Therefore, before performing DCT transformation, the source image data must be divided into 8*8...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

Disclosed are an image repairing method and apparatus, and a storage medium. The method comprises: a detection step of detecting whether the header file of an image to be repaired is damaged, and if yes, obtaining a correct header file; a repair step of repairing the image to be repaired according to the correct header file so as to obtain a repaired image; and a correction step of correcting the location, brightness, and chrominance of the repaired image. By obtaining a complete JPG image header file generated by the same software or device as the header file for repairing a damaged picture so as to perform image repair, the present invention solves the technical problem that the image cannot be restored due to the missing of an image header file, further determines whether a coding region is covered by other data, if yes, restores the location of the data, and solves the technical problem that the restored data produces a blurred screen, and improves the restoration effect of the image.

Description

technical field [0001] The invention relates to the technical field of image processing, in particular to an image restoration method, device and storage medium. Background technique [0002] As an image format, JPG has been widely used in color fax, mobile phone storage, camera storage, teleconferencing, e-commerce and news image transmission due to its high compression efficiency and standardization requirements. Therefore, for the JPG image recovery technology in the field of computer security has always been a hot spot of concern. At present, traditional data recovery software tends to have a relatively low repair rate for damaged images, especially images with missing heads. [0003] JPG data recovery technology has received extensive attention and research. Existing JPG file recovery technologies restore relevant files through signature recovery or file system-based fragmentation, but are helpless for JPG files with missing header signatures. [0004] Existing JPG f...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): G06T5/00G06T9/00H04N9/64
CPCG06T5/005G06T9/00H04N9/64
Inventor 钟臻翟晓飞沈长达吴少华
Owner XIAMEN MEIYA PICO INFORMATION
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products