Unlock instant, AI-driven research and patent intelligence for your innovation.

BMP picture restoration method and device

A repair method and picture technology, applied in image enhancement, image data processing, instruments, etc., can solve problems such as difficulty in accurately locating data, color changes, and picture deformation.

Active Publication Date: 2021-01-12
XIAMEN MEIYA PICO INFORMATION
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When part of the data in the file is lost, it is necessary to extract the normal data and repair the damaged data. However, because the bare stream data has no common data format, it is difficult to accurately locate the data at the damaged position, which makes it extremely difficult to restore the perfect image in BMP format.
Although the user can manually fill in the data at the end of the image file in BMP format to open the image, but the image will be seriously deformed and the color will change.

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
  • BMP picture restoration method and device
  • BMP picture restoration method and device
  • BMP picture restoration method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0073] The present invention will be further described in conjunction with the accompanying drawings and specific embodiments.

[0074] Introduction to BMP image file format

[0075] BMP is the standard image file format on the windows operating system. The format is a pixel file that holds all the pixels of an image, and is therefore a bitmap image file format. The number of bytes in each line of a BMP format image is aligned by 4 bytes. Standard BMP can support saving monochrome bitmap, 16-color bitmap, 256-color bitmap, 16-bit bitmap and 24-bit true color pixel map. It is currently the most widely used bitmap image format. The header file of "wingdi.h" in the Windows operating system has a detailed definition of the BMP file structure.

[0076] The document is mainly divided into the following 4 parts:

[0077] Windows definition structure data structure size use BITMAPFILEHEADER 14 bitmap file header BITMAPINFOHEADER 40 bitmap image infor...

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

The invention relates to a BMP picture restoration method and device, and the method comprises the following steps: S1, obtaining the information of a damaged BMP picture file from a reference BMP picture file; S2, obtaining data of a first reference line through self-judgment; S3, repairing the picture line by line; S4, filling loss data; and S5, generating a BMP picture file. According to the method, a picture restoration mode is expanded, a precedent of RGB naked flow pixel data restoration is created, the method is a supplement to a picture and even video restoration algorithm, and the method has great innovativeness and practical significance.

Description

technical field [0001] The invention relates to a picture file repair technology, in particular to a BMP picture repair method and device based on the color gradient principle. Background technique [0002] BMP is a standard image file format on the windows operating system and is supported by a variety of windows applications. Now it has developed into a more common image file format. It is widely used in the field of digital images, such as mobile phone photography, image transmission in chat, screenshots, etc. may all use the BMP format. Unexpected situations in daily use, such as loss of heartbeat packets in network transmission, equipment failure, file system damage, etc., often lead to damage to pictures in BMP format. [0003] Since the image data of BMP is RGB bare stream, there is great difficulty in repairing BMP image. At present, no software has been found at home and abroad to support the repair of BMP format image files. When part of the data in the file is...

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 Applications(China)
IPC IPC(8): G06T5/00
CPCG06T5/77
Inventor 杜辉阳唐军沈长达黄志炜
Owner XIAMEN MEIYA PICO INFORMATION