CN103400344A - Photo processing method based on digital image - Google Patents

Photo processing method based on digital image Download PDF

Info

Publication number
CN103400344A
CN103400344A CN2013102954931A CN201310295493A CN103400344A CN 103400344 A CN103400344 A CN 103400344A CN 2013102954931 A CN2013102954931 A CN 2013102954931A CN 201310295493 A CN201310295493 A CN 201310295493A CN 103400344 A CN103400344 A CN 103400344A
Authority
CN
China
Prior art keywords
color
photo
image
colors
method based
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.)
Granted
Application number
CN2013102954931A
Other languages
Chinese (zh)
Other versions
CN103400344B (en
Inventor
肖遥
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Individual filed Critical Individual
Priority to CN201310295493.1A priority Critical patent/CN103400344B/en
Publication of CN103400344A publication Critical patent/CN103400344A/en
Application granted granted Critical
Publication of CN103400344B publication Critical patent/CN103400344B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a photo processing method based on a digital image. The method comprises the steps of 1) providing an electronic photo; 2) adjusting and setting the background of the photo, replacing the background by using a required background picture and performing peripheral color matching adjustment processing to the photo and the background picture; 3) filtering the processed image; 4) extracting all color types contained in the filtered image, performing clustering analysis to the colors and clustering the colors into N types according to requirements; 5) performing color matching to the colors after clustering; 6) making a judgment; 7) processing the image in an electronic format into a new electronic format file with M colors and numbering according to the colors; and 8) saving the image, printing the image and performing water prevention, pressing and mounting treatment. Since the photo processing method based on the digital image adopts color-based and block-based comprehensive processing, the processed photo is enabled to be clear and vivid and has an artistic effect, the operation is simple to perform and the cost is low.

Description

A kind of photo processing method based on digital picture
Technical field
The present invention relates to the digital image processing techniques field, particularly a kind of photo processing method based on digital picture.
Background technology
Traditional photography photo is only that camera lens objectively responds a kind of of captured object, has reflected faithfully just that from effect desirable situation about requiring often appears not reaching in object, effect aspect, and has been difficult to abundant graphics art grade.
Processing to digital picture in prior art has a variety of methods, for example adopt computer software to process, perhaps adopt computing machine to add manually-operated mode and carry out certain processing, thereby reach needed effect, but waste time and energy, cost is higher, and, for the higher photo disposal of difficulty, is difficult to reach needed effect requirements.
Summary of the invention
The present invention proposes a kind of photo processing method based on digital picture, adopts color separation and piecemeal overall treatment, makes that photo after processing is clear true to nature and have an artistic effect, simple to operate, cost is low.The technical solution adopted in the present invention specifically is achieved in that
The invention provides a kind of photo processing method based on digital picture, it comprises step:
1) the papery photo is converted into electronic photo by scanning or digital photographing, electronic photo perhaps directly is provided;
2) the comparison film background is adjusted setting, is replaced by the background frame that needs, and comparison film carries out surrounding color-match adjustment processing with background frame;
3) image after above-mentioned processing is carried out filtering;
4) the institute's colored kind that comprises in above-mentioned filtered image is extracted, and these colors are carried out cluster analysis, as requested color is aggregated into N classification;
5) after polymerization, color is carried out match colors, measure the color spacing in HSV color attribute pattern, carry out color separation processing;
6) whether color is met the demands and judges, if do not meet and return to step 4) the middle cluster centre quantity of adjusting, adjust coupling;
7) image of following electronic format is processed into the new electronic format file with M kind color, and the zone of different colours in the electronic format file of this M kind color is numbered by color, same color region numbering is identical, have lines between regions of different colours, the same color zone does not have overlapping, formation is with the piecemeal block diagram of color code, and processing is revised and adjusted to artificial or software again to the piecemeal block diagram as required, perhaps colors in;
8) preserve image and print or print, carry out as required water-proofing treatment and the compacting mounting is processed.
Preferably, the image pixel that obtains of described scanning is greater than 6000*6000.
Preferably, the filtering in described step 3) is to adopt medium filtering on three passages of the RGB of image.
Preferably, the span of described M is between 25-75.
Photo processing method based on digital picture of the present invention, adopt color separation and piecemeal overall treatment, makes that photo after processing is clear true to nature and have an artistic effect, simple to operate, cost is low.
Description of drawings
Fig. 1 is the process flow diagram of the photo processing method based on digital picture of the specific embodiment of the invention.
 
Embodiment
For above-mentioned purpose of the present invention, feature and advantage can be become apparent more, below in conjunction with accompanying drawing, the specific embodiment of the present invention is described in detail, it will be more clear making above-mentioned and other purpose of the present invention, Characteristics and advantages.Reference numeral identical in whole accompanying drawings is indicated identical part.Deliberately do not draw in proportion accompanying drawing, focus on illustrating purport of the present invention.
The photo processing method based on digital picture of the specific embodiment of the invention, it comprises step:
1) the papery photo is converted into electronic photo by scanning or digital photographing, electronic photo perhaps directly is provided;
2) the comparison film background is adjusted setting, is replaced by the background frame that needs, and comparison film carries out surrounding color-match adjustment processing with background frame;
3) image after above-mentioned processing is carried out filtering;
4) the institute's colored kind that comprises in above-mentioned filtered image is extracted, and these colors are carried out cluster analysis, as requested color is aggregated into N classification;
5) after polymerization, color is carried out match colors, measure the color spacing in HSV color attribute pattern, carry out color separation processing;
6) whether color is met the demands and judges, if do not meet and return to step 4) the middle cluster centre quantity of adjusting, adjust coupling;
7) image of following electronic format is processed into the new electronic format file with M kind color, and the zone of different colours in the electronic format file of this M kind color is numbered by color, same color region numbering is identical, have lines between regions of different colours, the same color zone does not have overlapping, formation is with the piecemeal block diagram of color code, and processing is revised and adjusted to artificial or software again to the piecemeal block diagram as required, perhaps colors in;
8) preserve image and print or print, carry out as required water-proofing treatment and the compacting mounting is processed.
In the specific embodiment of the invention, preferably, the image pixel that scanning obtains is greater than 6000*6000.Preferably, the filtering in step 3) is to adopt medium filtering on three passages of the RGB of image.Preferably, the span of M is between 25-75.
In the specific embodiment of the invention, in step 3), the image that scanning is obtained adopts on three passages of RGB big or smallly gets odd number and greater than the filter window of 9*9, carries out medium filtering.In the concrete enforcement of the present invention, the span of N between 25-35, can suitably reduce number of clusters if Clustering Effect is talked about preferably, thereby make in production run, needs the color of preparing kind quantity to reduce, and the target of value is that number of colours is more few better.In the specific embodiment of the invention, judge that color is whether qualified can judge from visual effect, equally also can adopt other proving installations to judge, adopt proving installation to judge to obtain datumization more, more accurate.Obtain final filling picture by size and the cluster centre quantity of adjusting filter window, the root-mean-square error of gained picture and original image is less than 15%.
In the specific embodiment of the invention, HSV color attribute pattern is three base attributes according to color: form and aspect (H), saturation degree (S) and lightness (V) are confirmed a kind of method of color, simultaneously, can represent with concrete digital scope these three attributes in image processing system, can be concrete numeral with concrete color conversion thus.
In the specific embodiment of the invention, the electronic format photo can be converted to the image of HIS form or the image of rgb format while processing the photo of electronic format, the maximal value of the H of appearance is divided into M(M identical with the number of color of setting) equal portions, thus each equal portions represents to obtain the image of color in M with a kind of tone.
Photo processing method based on digital picture of the present invention, adopt color separation and piecemeal overall treatment, makes that photo after processing is clear true to nature and have an artistic effect, simple to operate, cost is low.
Photo processing method based on digital picture of the present invention, adopt color separation and piecemeal overall treatment, makes that photo after processing is clear true to nature and have an artistic effect, simple to operate, cost is low.
A lot of details have been set forth so that fully understand the present invention in above description.But above description is only preferred embodiment of the present invention, and the present invention can implement much to be different from alternate manner described here, so the present invention is not subjected to the restriction of top disclosed concrete enforcement.Any skilled personnel are not breaking away from technical solution of the present invention scope situation simultaneously, all can utilize method and the technology contents of above-mentioned announcement to make many possible changes and modification to technical solution of the present invention, or be revised as the equivalent embodiment of equivalent variations.Every content that does not break away from technical solution of the present invention,, all still belong in the scope of technical solution of the present invention protection any simple modification made for any of the above embodiments, equivalent variations and modification according to technical spirit of the present invention.

Claims (4)

1. the photo processing method based on digital picture, is characterized in that, comprises step:
1) the papery photo is converted into electronic photo by scanning or digital photographing, electronic photo perhaps directly is provided;
2) the comparison film background is adjusted setting, is replaced by the background frame that needs, and comparison film carries out surrounding color-match adjustment processing with background frame;
3) image after above-mentioned processing is carried out filtering;
4) the institute's colored kind that comprises in above-mentioned filtered image is extracted, and these colors are carried out cluster analysis, as requested color is aggregated into N classification;
5) after polymerization, color is carried out match colors, measure the color spacing in HSV color attribute pattern, carry out color separation processing;
6) whether color is met the demands and judges, if do not meet and return to step 4) the middle cluster centre quantity of adjusting, adjust coupling;
7) image of following electronic format is processed into the new electronic format file with M kind color, and the zone of different colours in the electronic format file of this M kind color is numbered by color, same color region numbering is identical, have lines between regions of different colours, the same color zone does not have overlapping, formation is with the piecemeal block diagram of color code, and processing is revised and adjusted to artificial or software again to the piecemeal block diagram as required, perhaps colors in;
8) preserve image and print or print, carry out as required water-proofing treatment and the compacting mounting is processed.
2. the photo processing method based on digital picture according to claim 1, is characterized in that, the image pixel that described scanning obtains is greater than 6000*6000.
3. the photo processing method based on digital picture according to claim 1, is characterized in that, the filtering in described step 3) is to adopt medium filtering on three passages of the RGB of image.
4. the photo processing method based on digital picture according to claim 1, is characterized in that, the span of described M is between 25-75.
CN201310295493.1A 2013-07-15 2013-07-15 A kind of photo processing method based on digital picture Expired - Fee Related CN103400344B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310295493.1A CN103400344B (en) 2013-07-15 2013-07-15 A kind of photo processing method based on digital picture

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310295493.1A CN103400344B (en) 2013-07-15 2013-07-15 A kind of photo processing method based on digital picture

Publications (2)

Publication Number Publication Date
CN103400344A true CN103400344A (en) 2013-11-20
CN103400344B CN103400344B (en) 2015-09-23

Family

ID=49563957

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310295493.1A Expired - Fee Related CN103400344B (en) 2013-07-15 2013-07-15 A kind of photo processing method based on digital picture

Country Status (1)

Country Link
CN (1) CN103400344B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108270978A (en) * 2016-12-30 2018-07-10 纳恩博(北京)科技有限公司 A kind of image processing method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101602315A (en) * 2009-06-30 2009-12-16 张磊 A kind of method by image Processing of Preparation oil painting
CN102456213A (en) * 2010-10-20 2012-05-16 上海无戒空间信息技术有限公司 Photo processing method
CN102496139A (en) * 2011-11-28 2012-06-13 江南大学 Image processing-based method for transforming photo to digital oil painting

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101602315A (en) * 2009-06-30 2009-12-16 张磊 A kind of method by image Processing of Preparation oil painting
CN102456213A (en) * 2010-10-20 2012-05-16 上海无戒空间信息技术有限公司 Photo processing method
CN102496139A (en) * 2011-11-28 2012-06-13 江南大学 Image processing-based method for transforming photo to digital oil painting

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108270978A (en) * 2016-12-30 2018-07-10 纳恩博(北京)科技有限公司 A kind of image processing method and device

Also Published As

Publication number Publication date
CN103400344B (en) 2015-09-23

Similar Documents

Publication Publication Date Title
ATE501487T1 (en) SEGMENTATION OF A DIGITAL IMAGE AND PRODUCTION OF A COMPACT REPRESENTATION
CN103595982A (en) Color image collection device based on gray level sensor and color image sensor
CN102819728A (en) Traffic sign detection method based on classification template matching
CN104504722B (en) Method for correcting image colors through gray points
CN109657669B (en) Intelligent electronic seal extraction method based on image processing
KR101428923B1 (en) System and Method for Automatic Extraction of Component Packaging Regions in PCB
CN105082857B (en) A kind of high simulated artistic paint ceramic tile clone method
CN102333234B (en) Binocular stereo video state information monitoring method and device
CN102637301A (en) Method for automatically evaluating color quality of image during aerial photography in real time
CN105223208A (en) A kind of circuit board detecting template and preparation method thereof, circuit board detecting method
CN106340025A (en) Background replacement visual communication method based on chromatic adaptation transformation
CN113177939A (en) Lamp panel detection method and device, electronic equipment and storage medium
CN108763663B (en) Printing system and method for automatically generating printing bleeding position and cutting line
CN111766248A (en) Steel seal on-line detection system and method based on color CCD
CN103473807B (en) A kind of 3D model transformation systems and method
CN105979152A (en) Smart shooting system
CN104282013B (en) A kind of image processing method and device for foreground target detection
CN103400344B (en) A kind of photo processing method based on digital picture
CN104240197B (en) A kind of erasing method for keeping contrast, colour consistency and gray-scale pixels feature
CN106101537A (en) A kind of intelligent terminal
CN104349161B (en) The dirty decision method of camera module image
CN105976001A (en) False-proofing license plate making QR code and serial number identifier identification method
CN105631868A (en) Depth information extraction method based on image classification
CN107578379A (en) A kind of processing method of chess robot to checkerboard image
CN109472467A (en) A kind of automatic glazed tile Production Scheduling System

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20150923

Termination date: 20200715