CN104616341A - Picture processing method - Google Patents
Picture processing method Download PDFInfo
- Publication number
- CN104616341A CN104616341A CN201510062103.5A CN201510062103A CN104616341A CN 104616341 A CN104616341 A CN 104616341A CN 201510062103 A CN201510062103 A CN 201510062103A CN 104616341 A CN104616341 A CN 104616341A
- Authority
- CN
- China
- Prior art keywords
- processing method
- rgb value
- image
- value
- picture processing
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T15/00—3D [Three Dimensional] image rendering
- G06T15/10—Geometric effects
Landscapes
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Geometry (AREA)
- Computer Graphics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Image Processing (AREA)
Abstract
The invention discloses a picture processing method. The picture processing method includes following steps: S10, loading an image file, and obtaining RGB (red, green and blue) value of pixels; S11, analyzing distribution of the RGB values, and setting a background RGB value; S12, processing the image pixels in three dimensional mode; S13, identifying a geometric structure, and outputting the geometric structure. The picture processing method can replace mass data originally transmitted through a network with parameters which are simply passed, enables a client side to render corresponding changes of a service side in real time through the above parameters, and then achieves the purpose of reducing a network load to the utmost. By using the picture processing method in a picture identification field, a user can conveniently identify data difficult to analyze in certain traditional methods.
Description
Technical field
The present invention relates to Image Coding design field, be specifically related to a kind of image processing method.
Background technology
Image procossing (image processing), analyzes image with computing machine, to reach the technology of results needed.Image procossing refers generally to Digital Image Processing, and digital picture refers to that the element of this array is called pixel, and its value is called gray-scale value with the equipment such as industrial camera, video camera, scanner through taking of obtaining large two-dimensional array.Image processing techniques generally comprise compression of images, strengthen and restore, coupling, describe and identify 3 parts.
21 century is the epoch being full of information, and image, as the visual basis in the human perception world, is the important means of mankind's obtaining information, expressing information and transmission of information.Digital image processing techniques can help people more objective, be familiar with the world exactly, the vision system of people can help the mankind to obtain the information of more than 3/4 from the external world, and image, figure are the carriers of all visual information, although the resolving ability of human eye is very high, can identify thousands of kinds of colors, but in a lot of situation, image is fuzzy or even sightless for human eye, by image enhancement technology, fuzzy even not visible image can be made to become clear bright.
In traditional image code domain, the color-values of pixel stores mainly with the form of RGB, and each pixel wherein has corresponding rgb value and fills.All independent of one another between these pixels, lack effective approach and carry out splitting so that be further processed and analyze.
Therefore, image processing method common in a lot of society is all carry out pre-service to file, as divided with 8*8,16*16,32*32 pixel with fixing combination of pixels.But the texture structure breaking script in image that such dividing mode is often artificial, thus there is deviation to a certain degree in the result after causing.
Summary of the invention
For solving the problem, the object of the present invention is to provide a kind of image processing method.
For achieving the above object, technical scheme of the present invention is:
A kind of image processing method, comprises the steps:
S10: be loaded into image file, obtains the rgb value of pixel;
S11: the distribution analyzing rgb value, setting background rgb value;
S12: three dimensional stress graphical pixel;
S13: identify geometry, exports geometry.
Further, in step S11, according to the difference of content of image files, specify one of them rgb value as reference value, this value is also referred to as background rgb value.
Further, in step S12, the set that the pixel higher than background rgb value forms with the pixel lower than background rgb value just constitutes three-dimensional geometry body independent of each other, and the zones of different in these solid representative image.
Further, in step S10, call function PicInfo () obtains the essential information of image file, and described essential information comprises resolution, the color-values of image file.
Image processing method of the present invention make originally to need through Internet Transmission mass data just can replace by simple Parameter transfer, client then can go out the respective change of service end by these parameter real-time renderings, and then reach the object maximizing and reduce offered load, and in figure identification field, some classic methods are difficult to the data analyzed to adopt this method also can identify more easily.
Term " first ", " second " etc. in instructions of the present invention and claims and above-mentioned accompanying drawing are for distinguishing similar object, and need not be used for describing specific order or precedence.Should be appreciated that the term used like this can exchange in the appropriate case, this is only describe in embodiments of the invention the differentiation mode that the object of same alike result adopts when describing.In addition, term " comprises " and " having " and their any distortion, intention is to cover not exclusive comprising, to comprise the process of a series of unit, method, system, product or equipment being not necessarily limited to those unit, but can comprise clearly do not list or for intrinsic other unit of these processes, method, product or equipment.
Below be described in detail respectively.
With reference to shown in Fig. 1, a kind of image processing method of the present invention, comprises the steps:
S10: be loaded into image file, obtains the rgb value of pixel;
S11: the distribution analyzing rgb value, setting background rgb value;
S12: three dimensional stress graphical pixel;
S13: identify geometry, exports geometry.
In step S11, according to the difference of content of image files, specify one of them rgb value as reference value, this value is also referred to as background rgb value.
In step S12, the set that the pixel higher than background rgb value forms with the pixel lower than background rgb value just constitutes three-dimensional geometry body independent of each other, and these solids also just represent the zones of different in image naturally.When image is more clear, the three-dimensional structure of these solids will be more obvious, if this structure contains enough feature identification points, program just can identify the specific object of object by its three-dimensional properties and characteristics, and then infers that those are not included in the potential information in image file.
Rgb value corresponding to pixel, the three-dimensional geometrical structure body drawn out, when these discernible objects or the change of geometry generation continuation (such as position is moved), originally need through Internet Transmission mass data just can replace by simple Parameter transfer, client then can go out the respective change of service end by these parameter real-time renderings, and then reaches the object maximizing and reduce offered load.And in figure identification field, some classic methods are difficult to the data analyzed to adopt this method also can identify more easily, as identified the profile etc. of face in face recognition application.
Particularly, in S10, call function PicInfo () obtains the essential information of image file, as: resolution, color-values etc.
Particularly, in step S11, pre-service is carried out in the rgb value distribution of call function GetPixelMap () to image file; Call function SetPixelLevel () arranges the RGB background value of image file.
Particularly, in step S13, the solid in call function RecognitionPixelGeometry () recognition image file.
Through the above description of the embodiments, those skilled in the art can be well understood to the mode that the present invention can add required common hardware by software and realize, and can certainly comprise special IC, dedicated cpu, private memory, special components and parts etc. realize by specialized hardware.Generally, all functions completed by computer program can realize with corresponding hardware easily, and the particular hardware structure being used for realizing same function also can be diversified, such as mimic channel, digital circuit or special circuit etc.But under more susceptible for the purpose of the present invention condition, software program realizes is better embodiment.Based on such understanding, technical scheme of the present invention can embody with the form of software product the part that prior art contributes in essence in other words, this computer software product is stored in the storage medium that can read, as the floppy disk of computing machine, USB flash disk, portable hard drive, ROM (read-only memory) (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc., comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform method described in the present invention each embodiment.
In sum, above embodiment only in order to technical scheme of the present invention to be described, is not intended to limit; Although with reference to above-described embodiment to invention has been detailed description, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme described in the various embodiments described above, or carries out equivalent replacement to wherein portion of techniques feature; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the spirit and scope of various embodiments of the present invention technical scheme.
Accompanying drawing explanation
Fig. 1 is method flow of the present invention diagram.
Embodiment
Embodiments provide a kind of image processing method.
For making goal of the invention of the present invention, feature, advantage can be more obvious and understandable, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, the embodiments described below are only the present invention's part embodiments, and not all embodiments.Based on the embodiment in the present invention, the every other embodiment that those skilled in the art obtains, all belongs to the scope of protection of the invention.
Claims (4)
1. an image processing method, is characterized in that, comprises the steps:
S10: be loaded into image file, obtains the rgb value of pixel;
S11: the distribution analyzing rgb value, setting background rgb value;
S12: three dimensional stress graphical pixel;
S13: identify geometry, exports geometry.
2. image processing method as claimed in claim 1, it is characterized in that, in step S11, according to the difference of content of image files, specify one of them rgb value as reference value, this value is also referred to as background rgb value.
3. image processing method as claimed in claim 2, it is characterized in that, in step S12, the set that the pixel higher than background rgb value forms with the pixel lower than background rgb value just constitutes three-dimensional geometry body independent of each other, and the zones of different in these solid representative image.
4. image processing method as claimed in claim 3, is characterized in that, in step S10, call function PicInfo () obtains the essential information of image file, and described essential information comprises resolution, the color-values of image file.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510062103.5A CN104616341A (en) | 2015-02-06 | 2015-02-06 | Picture processing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510062103.5A CN104616341A (en) | 2015-02-06 | 2015-02-06 | Picture processing method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104616341A true CN104616341A (en) | 2015-05-13 |
Family
ID=53150773
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510062103.5A Pending CN104616341A (en) | 2015-02-06 | 2015-02-06 | Picture processing method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104616341A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030228034A1 (en) * | 2002-06-07 | 2003-12-11 | Dynamic Digital Depth Research Pty Ltd. | Conversion and encoding techniques |
CN101563933A (en) * | 2006-12-22 | 2009-10-21 | 高通股份有限公司 | Complexity-adaptive 2D-to-3D video sequence conversion |
CN102802005A (en) * | 2011-04-26 | 2012-11-28 | 李国君 | Method for 3d video content generation |
CN103135889A (en) * | 2011-12-05 | 2013-06-05 | Lg电子株式会社 | Mobile terminal and 3D image control method thereof |
-
2015
- 2015-02-06 CN CN201510062103.5A patent/CN104616341A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030228034A1 (en) * | 2002-06-07 | 2003-12-11 | Dynamic Digital Depth Research Pty Ltd. | Conversion and encoding techniques |
CN101563933A (en) * | 2006-12-22 | 2009-10-21 | 高通股份有限公司 | Complexity-adaptive 2D-to-3D video sequence conversion |
CN102802005A (en) * | 2011-04-26 | 2012-11-28 | 李国君 | Method for 3d video content generation |
CN103135889A (en) * | 2011-12-05 | 2013-06-05 | Lg电子株式会社 | Mobile terminal and 3D image control method thereof |
Non-Patent Citations (1)
Title |
---|
杨璟 等: "基于RGB颜色空间的彩色图像分割方法", 《计算机与现代化》 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Ghadiyaram et al. | Perceptual quality prediction on authentically distorted images using a bag of features approach | |
CN107679466B (en) | Information output method and device | |
Li et al. | Revealing the trace of high-quality JPEG compression through quantization noise analysis | |
US8780996B2 (en) | System and method for encoding and decoding video data | |
Hadizadeh et al. | Full-reference objective quality assessment of tone-mapped images | |
JP2003523587A (en) | Visual attention system | |
CN111062314B (en) | Image selection method and device, computer readable storage medium and electronic equipment | |
CN108431751B (en) | Background removal | |
CN108921942B (en) | Method and device for 2D (two-dimensional) conversion of image into 3D (three-dimensional) | |
Su et al. | Image inpainting for random areas using dense context features | |
Yue et al. | SIFT-based image compression | |
Chen et al. | Perceptual quality assessment of cartoon images | |
CN114626967A (en) | Digital watermark embedding and extracting method, device, equipment and storage medium | |
Alrubaie et al. | Dynamic weights equations for converting grayscale image to RGB image | |
WO2009129418A1 (en) | System and method for separated image compression | |
Hwang et al. | Stereo image quality assessment using visual attention and distortion predictors | |
US11501404B2 (en) | Method and system for data processing | |
Li et al. | Distinguishing computer graphics from photographic images using a multiresolution approach based on local binary patterns | |
CN113613024B (en) | Video preprocessing method and device | |
Garcia Freitas et al. | Referenceless image quality assessment by saliency, color-texture energy, and gradient boosting machines | |
CN104616341A (en) | Picture processing method | |
Becker et al. | Curiously effective features for image quality prediction | |
Zhai | Recent advances in image quality assessment | |
CN114449362A (en) | Video cover selecting method, device, equipment and storage medium | |
CN105654456B (en) | Information processing method and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20150513 |
|
WD01 | Invention patent application deemed withdrawn after publication |