CN102968789B - Method used for extracting unearthed bamboo slip and silk character pattern image and based on digital image processing - Google Patents

Method used for extracting unearthed bamboo slip and silk character pattern image and based on digital image processing Download PDF

Info

Publication number
CN102968789B
CN102968789B CN201210414370.0A CN201210414370A CN102968789B CN 102968789 B CN102968789 B CN 102968789B CN 201210414370 A CN201210414370 A CN 201210414370A CN 102968789 B CN102968789 B CN 102968789B
Authority
CN
China
Prior art keywords
image
stroke
unearthed
characters
basic
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.)
Active
Application number
CN201210414370.0A
Other languages
Chinese (zh)
Other versions
CN102968789A (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.)
Tsinghua University
Original Assignee
Tsinghua University
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 Tsinghua University filed Critical Tsinghua University
Priority to CN201210414370.0A priority Critical patent/CN102968789B/en
Publication of CN102968789A publication Critical patent/CN102968789A/en
Application granted granted Critical
Publication of CN102968789B publication Critical patent/CN102968789B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)
  • Character Input (AREA)

Abstract

A method used for extracting an unearthed bamboo slip and silk character pattern image and based on digital image processing belongs to the technical field of computer image processing of unearthed bamboo slip and silk. The method is characterized in that Photo shop digital image processing software is used for extracting a digital image of the unearthed bamboo slip and silk, and steps of capturing of single character pattern, re-distribution of gray level between each character stroke ink mark and a bamboo slip and silk background according to original ratio, distinguishing of radical selecting area of a single character and a stroke selecting area in each radical by using an original basic stroke table and a basic radical table area, reserving of all stroke images in each radical selecting area and deleting of non-stroke ink mark image are conducted sequentially, and extracting of a single character pattern is achieved. By means of the method, basic radical separation is used as a basis, thorough separation of the unearthed bamboo slip and silk character patterns and a bamboo slip and silk background is achieved, character pattern images which reserve character original information and are clear and distinguishable are presented, and the technical problem of great distortion of images caused by copying the unearthed bamboo slip and silk through a traditional writing method at present is solved.

Description

Based on the extracting method of the unearthed simple silks glyph image of Digital Image Processing
Technical field
The present invention relates to a kind of belong to Unearthed literature research, ancient writing research and calligraphy research field undertaken analyzing the new method extracted by the glyph image of Photoshop digital imaging processing software to unearthed simple silks, unearthed simple silks mentioned here mainly refers to the bamboo slip used for writing on during ancient times of the Warring States Period, inscribed wooden table and book copied on silk.
Background technology
Simple silks document in Unearthed literature buries for a long time in underground, and due to the relatively stable of front residing environment of being unearthed, kept comparatively original looks, the Tibetan that mostly experienced by more than one thousand years in them is deposited, and its valuable property is self-evident.In recent decades, along with the increasing number of unearthed simple silks, Revision work also progresses greatly day by day.Wang Guowei was once said: " new learning since time immemorial, mostly due to new discovery.Book in Confucius's wall has been had to go out, of ancient Chinese prose man since then having the Chinese; The ancient device of Zhao Song has been had to go out, of ancient implements, ancient writing since then having Song." so use " new material of underground " and ancient documents to record phasor to confirm, to investigate ancient history culture, become a kind of generally acknowledged scientific research methods.Meanwhile, as ancient writing font the most key in unearthed simple silks, also becoming the basic information that ancient writing scholar, historical document scholar and calligraphy researcher carry out studying, is the most important thing of correlative study.
Traditional unearthed simple silks font disposal route is copied, and namely carries out word with traditional ways of writing (writing brush, ink, rice paper) to unearthed simple silks and imitate.Advantage can be widely applicable for the font process of Unearthed literature, shortcoming is the restriction of scholarship and self-cultivation due to copier and writing level, its copy produced has very strong subjectivity and artificial property, in addition, rice paper is write and its material skin texture still has different from writing on simple wooden tablets or slips for writing book copied on silk, cannot effectively retain and express the original looks of font.
That studies unearthed simple silks and calligraphy along with scholars deepens continuously, and the requirement for text font image is also improving constantly.The process of glyph image not only rest on character contour clear on, especially some are with the word of brush writings, more need the original detail pictures retaining character calligraph.Simple silks data compilation process of being unearthed at present mainly obtains its original image by digital photography, then utilize image processing techniques, comparison film carries out cutting process and simple setting contrast, makes single text font independent, and more manifest in its background, strengthen its differentiability.Text font cannot thoroughly be separated with its background by this method, in processing procedure, allow a part of font is clear can be distinguished owing to mainly relying on setting contrast, the calligraphy phenomenon that original image details and its of font itself have is damaged, makes the significantly distortion of text font image.
In the present invention utilize digital image processing techniques to realize by Photoshop digital imaging processing software, Photoshop is located in the image processing software of world-class specialty, is in the market and the confessed standard picture process software of industry.This image processing software system released by Adobe company of the U.S..
Summary of the invention
The object of this invention is to provide a kind of new method extracting unearthed simple silks glyph image, the advantage of traditional font disposal route can be taken into account, utilize digital image processing techniques, when not losing text font image detail, single text font is thoroughly separated with its background, objective reproduction is carried out to Unearthed literature text font image, lacks the problem of the distortion of original details and calligraphy phenomenon and font with the Unearthed literature text font after solving conventional art process.
The invention is characterized in,
1. the present invention realizes in a computer successively according to the following steps:
Step (1), computer initialization:
Arrange: Photoshop digital imaging processing software,
Utilize following parameter:
In Magnetic Lasso Tool, the attribute emergence value of Magnetic Lasso is 0, and add " elimination sawtooth " function, Magnetic Lasso selects boundary's point width to be 5px, and contrast is 10%, and frequency is 100,
Build: the image of basic strokes table and the image of basic radical table, and store,
Step (2), extract the glyph image of simple silks of being unearthed successively according to the following steps:
Step (2.1), obtains the digital picture of simple silks of being unearthed, and image file is stored as tiff format with ccd video camera or digital scanning instrument,
Step (2.2), open described Photoshop image processing software, and perform " file---open " order and open unearthed simple silks image file to be dealt with, take any one method in following two kinds of methods to carry out single cutting to needing the text font extracted in described unearthed simple silks digital picture:
Method one: perform " toolbar---rectangular marquee " order, the length and width ratio of frame is selected according to the font setting rectangle of each different literals, required single character image is selected in described rectangle to be selected in frame, and then perform image and cut order, retain described rectangle to select the image in frame to delete described rectangle to select image outside frame simultaneously
Method two: execution " toolbar---crop tool " command selection crop tool mouse generates the clipping rectangle region that an energy confines the complete stroke of single word, completes required cutting,
Step (2.3), under the image information condition of complete preservation stroke ink marks, realizes the stratification between the stroke ink marks of word and simple silks background according to the following steps,
Step (2.3.1), performs " image---pattern---RGB color " order and the single character image of cutting is set to RGB color mode,
Step (2.3.2), execution " image---adjustment---discolors " order is converted into the coloured image of single word the gray level image under model identical,
Step (2.3.3), perform " image---adjustment---color range " order and recall color range dialog box, select RGB passage, black reference mark on the downside of the peak region wherein shown is drawn to the described peak region section start in left side, white control point is drawn to section start on the right side of described peak region, click confirming button redistribution color range again
Step (2.3.4), perform " window---information " order and recall information panel, mouse is moved between stroke ink marks and simple silks background on picture, the rgb color value observed between stroke ink marks with simple both silks backgrounds differs more than 50 color range brightness in 255 color range brightness, stroke ink marks level pulls open, and within the scope of selected black and white, do the redistribution of gray-scale value in former ratio, also intactly remain the image information of stroke ink marks in former figure simultaneously
Step (2.4), utilize the Magnetic Lasso Tool of Photoshop, according to described basic strokes table and basic radical table, according to the following steps the character stroke profile in radicals by which characters are arranged in traditional Chinese dictionaries and simple silks background are distinguished, and delete the image belonging to simple silks background area, retain all stroke images belonged in this radicals by which characters are arranged in traditional Chinese dictionaries constituency
Step (2.4.1), perform " toolbar---Magnetic Lasso Tool " order, the Magnetic Lasso Tool described in selection, the attribute column described in setting steps (1), select " adding constituency to " function, described constituency refers to basic strokes constituency and the first-selected district of basic portion
Step (2.4.2), clicks the critical point of stroke ink marks and simple silks background in any one basic radicals by which characters are arranged in traditional Chinese dictionaries in this, as starting point with mouse, drags one week, generate the constituency of the stroke in these radicals by which characters are arranged in traditional Chinese dictionaries along stroke outlines,
Step (2.4.3), in a character and graphic, adjacent stroke the repeat place of two basic radicals by which characters are arranged in traditional Chinese dictionaries in same stroke starting point links up, and forms the single character and graphic be made up of each basic radicals by which characters are arranged in traditional Chinese dictionaries,
Step (2.4.4), repeats step (2.4.2) to all basic radicals by which characters are arranged in traditional Chinese dictionaries in a text font image, obtains the constituency of all strokes in each radicals by which characters are arranged in traditional Chinese dictionaries,
Step (2.4.5), perform " select---oppositely " order, realize that image is counter to be selected, and delete the non-stroke ink marks image in each radicals by which characters are arranged in traditional Chinese dictionaries constituency, retain the stroke ink marks image in each radicals by which characters are arranged in traditional Chinese dictionaries constituency, the demand for different purposes carries out subsequent treatment.
2. the step according to feature 1, in step (2.4), with " lasso tool " or " polygonal lasso tool " or " pen tool " or " freeform pen tool " replacement " Magnetic Lasso Tool ".
Advantage of the present invention and good effect are Unearthed literature text font to be thoroughly separated with its background, present and not only retain raw information but also clear and legible glyph image, more accurately lively research data can be provided for researcher by the text font of this new method process, the text font of Unearthed literature also can be made to obtain applying more widely in the field such as publication and printing, artistic design.
Accompanying drawing explanation
Fig. 1, be the present invention carry utilize Photoshop to cut instrument to generate and comprise the glyph image of the complete stroke of single word.
Fig. 2 is the color range instrument utilizing Photoshop that the present invention carries, and when not losing the image information of stroke ink marks, the level realized between the stroke ink marks of word and simple silks background is distincter.
Fig. 3, is the lasso tool utilizing Photoshop that the present invention carries, character stroke profile and background is distinguished by constituency.
Fig. 4 is that deletion that the present invention carries belongs to background and chooses interior image, retains to belong to stroke and choose interior image.
Fig. 5, be the present invention carry white background process is added to the text font image remained.
Fig. 6 is the image effect contrast of the text font extraction front and back that the present invention carries.
Fig. 7 is program flow diagram of the present invention.
Embodiment
For achieving the above object, the present invention at least comprises the following step:
1, the digital picture of simple silks of being unearthed is obtained by digital photography or digital scanning means.Digital photography means mainly refer to utilize color digital camera or Infrared digital camera to take pictures to unearthed simple silks, to obtain the original digital image file of unearthed simple silks; Digital scanning means mainly refer to utilize colored digital scanner or infrared digital scanner to scan unearthed simple silks, to obtain the original digital image file of unearthed simple silks.The digital picture of acquisition is stored as the file layout that Photoshop image processing software can read.The all files form that Photoshop can read has:
Photoshop(*.PSD;*.PDD)
3D Studio(*.3DS)
BMP(*.BMP;*.RLE;*.DIB)
Camera Raw(*.GIF;*.CRW;*.NEF;*.RAF)
Cineon(*.CIN;*.SDPX;*.DPX;*.FIDO)
Collada(*.DAE)
CompuServe Gif(*.GIF)
Dicom(*.DCM;*.DC3;*.DIC)
Photoshop EPS(*.EPS)
Photoshop DCS1.0(*.EPS)
Photoshop DCS2.0(*.EPS)
EPS TIFF preview (* .EPS)
Filmstrip(*.FLM)
Google Earth4(*.KMZ)
IEF(*.IEF;*.TDI)
JPEG(*.JPG;*.JPEG;*.JPE)
Open EXR(*.EXR)
PCX(*.PCX)
Photoshop PDF(*.PDF;*.PDP)
Photoshop Raw(*.RAW)
PICT(*.PCT;*.PICT)
Pixar(*.PXR)
PNG(*.PNG)
QuickTime movie (* .MOV; * .AVI; * .MPG)
Radiance(*.HDR;*.RGBE;*.XYZE)
Scitex CT(*.SCT)
Targe(*.TGA;*.VDA;*.ICB;*.VST)
TIFF(*.GIF;*.GIFF)
U3D(*.U3D)
Wavefront OBJ(*.OBJ)
Portable bit map (* .PBM; * .PGM; * .PPM; * .PNM)
Large-scale document format (* .PSB)
General EPS (* .AI3; * .AI4; * .AI5; * .AI6; * .AI7)
Wireless bitmap (* .WBM; * .WBMP)
Wherein comparatively conventional picture format has:
Photoshop(*.PSD;*.PDD)
JPEG(*.JPG;*.JPEG;*.JPE)
Photoshop PDF(*.PDF;*.PDP)
TIFF(*.GIF;*.GIFF)
2, opening Photoshop image processing software, by performing " file---open " order, opening simple silks image file to be dealt with, carrying out single cutting to needing the text font extracted in image.The concrete grammar of cutting has two kinds.One (selects in box properties menu at rectangle arrange by performing " toolbar---rectangular marquee (acquiescence shortcut M) " command selection rectangular marquee: click new selection, emergence value is 0px, pattern is normal), the single word graph frame that will extract is selected in rectangle and selects in frame that (rectangle selects the Aspect Ratio of frame will determine according to each different literals font, operator can select according to visual inspection, the overall configuration of each ancient writing be unearthed in simple silks trends towards rectangle, utilize this marquee tool the complete stroke of single word can be included in the picture of a rectangle), then by performing " image---cutting " order, retain the image in constituency, delete simultaneously and dismiss remaining image, complete required cutting.Second method selects crop tool by performing " toolbar---crop tool ", needing pin left mouse button near the text font image extracted and drag, crop tool can generate the clipping region of a rectangle, and (region surrounding has 8 reference mark can adjust position and the Aspect Ratio of this rectangle, operator is still by observing, reference mark frame is utilized to be selected in the clipping region of rectangle the complete stroke of single word), click enter key and can complete required cutting.
3, when not losing the image information of stroke ink marks, the level realized between the stroke ink marks of word and simple silks background is distincter.Perform " image---pattern---RGB color " order, the single character image of cutting is set to RGB color mode.Because the word overwhelming majority on unearthed simple silks is write with the Gu Mo of black, the color information of its stroke ink marks embodies comparatively abundant on gray level resolution, by performing " image---adjustment---discolors (acquiescence shortcut Ctrl+Shilf+U) " order, the gray level image be converted into by coloured image under model identical (specifies equal redness, green and blue valve to each pixel in RGB image, make image appearance be gray scale, the brightness value of each pixel does not change).Perform " image---adjustment---color range (acquiescence shortcut Ctrl+L) " order, recall color range dialog box (selecting RGB passage), observe and adjust the histogrammic distribution situation of input levels (the histogram entirety seen here is in single " mountain peak " or hills shape, 3 reference mark are had under histogram, represent " black " " Neutral colour " and " white " respectively, wherein black brightness value is 0, white brightness value is 255, black reference mark must be pulled to " mountain peak " left side to the right from the beginning of place by operator, white control point is pulled to " mountain peak " right side left from the beginning of place, whole " mountain peak " is clipped in the middle of black and white reference mark, if more in assigned position, then will not adjust), click confirming button redistribution color range.Now we can by performing " window---information (acquiescence shortcut F8) " order, recall information panel, by the movement of mouse on picture between stroke ink marks and simple silks background, the rgb color value of observing therebetween differs more than 50 units, and level already pulls open.Stroke ink marks is mainly done the redistribution of gray-scale value by this adjustment in former ratio in selected black and white scope, can not lose the image information of stroke ink marks in former figure.
4, utilize the Magnetic Lasso Tool of Photoshop, all stroke outlines and background in each radicals by which characters are arranged in traditional Chinese dictionaries of the single word of formation are distinguished by constituency, and deletes the image belonged in background constituency, retain the image belonged in stroke constituency.Perform " toolbar---Magnetic Lasso Tool (acquiescence shortcut L) " order, (the attribute column emergence value arranging Magnetic Lasso is 0 to select Magnetic Lasso Tool, choose and eliminate sawtooth function, boundary's point width is selected to be 5px, contrast is 10%, frequency is 100), choose " adding constituency to " function.Click the critical point of stroke ink marks and simple silks background in any one basic radicals by which characters are arranged in traditional Chinese dictionaries in this, as starting point with mouse, drag one week along stroke outlines, generate the constituency of the stroke in these radicals by which characters are arranged in traditional Chinese dictionaries.In a character and graphic, adjacent stroke the repeat place of two basic radicals by which characters are arranged in traditional Chinese dictionaries in same stroke starting point links up, and forms the single character and graphic be made up of each basic radicals by which characters are arranged in traditional Chinese dictionaries.A usual glyph image is made up of several basic radicals by which characters are arranged in traditional Chinese dictionaries, and each basic radicals by which characters are arranged in traditional Chinese dictionaries are made up of several basic strokes, wherein all available said method of each radicals by which characters are arranged in traditional Chinese dictionaries and stroke carry out constituency foundation (cumulative set up constituency before Magnetic Lasso is set attribute column select " adding constituency to " button), (setting up in the process of radicals by which characters are arranged in traditional Chinese dictionaries constituency until all stroke ink markss in picture are all incorporated in the constituency of foundation and by " adding constituency to " button and then unchecked details can supplemented, also unnecessary constituency is deleted by " deducting from constituency " button).
Foundation about stroke outlines constituency has two aspects should be noted that.On the one hand, simple silks word is handwritten form, have complicated stroke phenomenon, and thus operator must at least basic configuration knowledge of 2 simple silks words, can complete the foundation in above-mentioned constituency.First basic strokes (referring to table 1: basic strokes chart) need grasping unearthed simple silks character calligraph; Second point be unearthed simple silks word usually by several radicals by which characters are arranged in traditional Chinese dictionaries independences or combine, seen basic radicals by which characters are arranged in traditional Chinese dictionaries (referring to table 2: basic radicals by which characters are arranged in traditional Chinese dictionaries chart) at present need be grasped.On the other hand, skilled operator is grasped to photoshop software, also can replace described " Magnetic Lasso Tool " with " lasso tool " or " polygonal lasso tool " or " pen tool " or " freeform pen tool ", principle according to the method described above, realizes the foundation in character stroke constituency.
After constituency having been set up by above method, perform " select---oppositely (acquiescence shortcut Ctrl+Shift+I) " order, realize that image is counter to be selected, click Delete key and perform delete command, so just remain stroke ink marks image, delete non-stroke ink marks image.
5, need to process further the text font image remained according to different purposes.At present, the simple silks text font image that is unearthed is compiled as basic purposes in various word to include, can perform " layer---newly-built " order, under existing character image layer, a newly-built white layer, it is equally clear just like writing on white rice paper to make the glyph image effect after this word processing.
To feasibility of the present invention be described with an instantiation in detail and implement best concrete mode of the present invention below.
The first step: the digital picture being obtained Unearthed literature by digital photography or digital scanning means, the file layout that image stores is the form that Photoshop image processing software can read, and is advisable with following four kinds of forms:
Photoshop(*.PSD;*.PDD)
JPEG(*.JPG;*.JPEG;*.JPE)
Photoshop PDF(*.PDF;*.PDP)
TIFF(*.GIF;*.GIFF)
This example utilizes digital camera to obtain the bamboo slip used for writing on during ancient times photo that is unearthed, and image file is stored as tiff format.
Second step: open Photoshop image processing software, perform " file---open " order, open image file to be dealt with.This example will extract " force " word on bamboo slip used for writing on during ancient times.Perform " toolbar---crop tool " and select crop tool, near this glyph image, pin left mouse button and drag, crop tool soon generates the clipping region of a rectangle, choose respectively with left mouse button and draw 8 reference mark of cropped area surrounding, adjust position and the Aspect Ratio of this rectangle, make the overall frame of this font be selected in the clipping region of rectangle, click enter key and complete required cutting.Consult Fig. 1, the image after cutting comprises the complete stroke ink marks of this word.
3rd step: perform " image---pattern---RGB color " order, this image is set to RGB color mode.Then, perform " image---adjustment---discolors (acquiescence shortcut Ctrl+Shilf+U) " order, coloured image is converted into the gray level image under model identical, following execution " image---adjustment---color range (acquiescence shortcut Ctrl+L) " order, recall color range dialog box (selecting RGB passage), observe and adjust the histogrammic distribution situation of input levels, the black reference mark in left side is in " mountain peak " just starting point place, therefore do not adjust, right side white control point is pulled to horizontal ordinate 82 place left, now whole " mountain peak " is clipped in the middle of black and white reference mark, referring to Fig. 2, click confirming button redistribution color range.We can by performing " window---information (acquiescence shortcut F8) " order, recall information panel, the rgb color value can observing stroke ink marks on picture in the overwhelming majority in 40-70 color range brightness range, and the rgb color value of bamboo slip used for writing on during ancient times background in the overwhelming majority in 90-180 color range brightness range, more than 50 the color range brightness of the two difference, level already pulls open.Detect by an unaided eye, this color change is obvious.
4th step: the font analyzing " force " word is combined by up-down structure by " dagger-axe " and " stopping " two radicals by which characters are arranged in traditional Chinese dictionaries, can carry out the foundation of stroke constituency referring to the pattern of No. 0211st, table 2 and No. 1214.Perform " toolbar---Magnetic Lasso Tool (acquiescence shortcut L) " order, (the attribute column emergence value arranging Magnetic Lasso is 0 to select Magnetic Lasso Tool, choose and eliminate sawtooth function, boundary's point width is selected to be 5px, contrast is 10%, and frequency is 100), the critical point clicking font upper right side stroke ink marks and simple silks background is starting point, drag one week along stroke outlines, generate the constituency of horizontal stroke of this word.Then the attribute column arranging Magnetic Lasso selects " adding constituency to " button, and the foundation with " stopping " radicals by which characters are arranged in traditional Chinese dictionaries image shape constituency is set up in the constituency completing " dagger-axe " radicals by which characters are arranged in traditional Chinese dictionaries figure according to the method described above.Referring to Fig. 3, all stroke ink markss of " force " word are all incorporated in the constituency of foundation.
5th step: perform " select---oppositely (acquiescence shortcut Ctrl+Shift+I) " order, realizes that image is counter to be selected, and clicks Delete key and performs delete command, referring to Fig. 4, so just remain stroke ink marks image, delete non-stroke ink marks image.
6th step:, according to the actual needs publishing simple silks text font volume of being unearthed, perform " layer---newly-built " order, under existing character image layer, a newly-built layer, and its background is set to white.After having operated, this glyph image effect is equally clear just like writing on white rice paper.
The present invention extract font effect consult Fig. 6, although disclose as above with aforesaid preferably instantiation, so itself and be not used to limit the present invention, therefore be anyly familiar with in this those skilled in the art, without departing from the spirit and scope of the present invention when doing a little corresponding change and retouching.Meanwhile, the basic stroke chart included by the present invention and basic radicals by which characters are arranged in traditional Chinese dictionaries icon are also in invention scope.The text font image utilizing the present invention to extract obtains the extensive affirmative of industry scholar, can be applied widely in Unearthed literature research and calligraphy research field.
Table 1: basic strokes chart
Table 2: basic radicals by which characters are arranged in traditional Chinese dictionaries chart
Advantage of the present invention and good effect are Unearthed literature text font to be thoroughly separated with its background, present and not only retain raw information but also clear and legible glyph image, more accurately lively research data can be provided for researcher by the text font of this new method process, the text font of Unearthed literature also can be made to obtain applying more widely in the field such as publication and printing, artistic design.

Claims (2)

1., based on the extracting method of the unearthed simple silks glyph image of Digital Image Processing, it is characterized in that, realize according to the following steps successively in a computer:
Step (1), computer initialization:
Arrange: Photoshop digital imaging processing software,
Utilize following parameter:
In Magnetic Lasso Tool, the attribute emergence value of Magnetic Lasso is 0, chooses " elimination sawtooth " function, and Magnetic Lasso selects boundary's point width to be 5px, and contrast is 10%, and frequency is 100,
Build: the image of basic strokes table and the image of basic radical table, and store,
Step (2), extract the glyph image of simple silks of being unearthed successively according to the following steps:
Step (2.1), obtains the digital picture of simple silks of being unearthed, and image file is stored as tiff format with ccd video camera or digital scanning instrument,
Step (2.2), open described Photoshop image processing software, and perform " file---open " order and open unearthed simple silks image file to be dealt with, take any one method in following two kinds of methods to carry out single cutting to needing the text font extracted in described unearthed simple silks digital picture:
Method one: perform " toolbar---rectangular marquee " order, the length and width ratio of frame is selected according to the font setting rectangle of each different literals, required single character image is selected in described rectangle to be selected in frame, and then perform image and cut order, retain described rectangle to select the image in frame to delete described rectangle to select image outside frame simultaneously
Method two: execution " toolbar---crop tool " command selection crop tool mouse generates the clipping rectangle region that an energy confines the complete stroke of single word, completes required cutting,
Step (2.3), under the image information condition of complete preservation stroke ink marks, realizes the stratification between the stroke ink marks of word and simple silks background according to the following steps,
Step (2.3.1), performs " image---pattern---RGB color " order and the single character image of cutting is set to RGB color mode,
Step (2.3.2), execution " image---adjustment---discolors " order is converted into the coloured image of single word the gray level image under model identical,
Step (2.3.3), perform " image---adjustment---color range " order and recall color range dialog box, select RGB passage, black reference mark on the downside of the peak region wherein shown is drawn to the described peak region section start in left side, white control point is drawn to section start on the right side of described peak region, click confirming button redistribution color range again
Step (2.3.4), perform " window---information " order and recall information panel, mouse is moved between stroke ink marks and simple silks background on picture, the rgb color value observed between stroke ink marks with simple both silks backgrounds differs more than 50 color range brightness in 255 color range brightness, stroke ink marks level pulls open, and within the scope of selected black and white, do the redistribution of gray-scale value in former ratio, also intactly remain the image information of stroke ink marks in former figure simultaneously
Step (2.4), utilize the Magnetic Lasso Tool of Photoshop, according to described basic strokes table and basic radical table, according to the following steps the character stroke profile in radicals by which characters are arranged in traditional Chinese dictionaries and simple silks background are distinguished, and delete the image belonging to simple silks background area, retain all stroke images belonged in this radicals by which characters are arranged in traditional Chinese dictionaries constituency
Step (2.4.1), performs " toolbar---Magnetic Lasso Tool " order, the Magnetic Lasso Tool described in selection, the attribute column described in setting steps (1), selects " adding constituency to " function, and described constituency refers to basic strokes constituency and the first-selected district of basic portion
Step (2.4.2), clicks the critical point of stroke ink marks and simple silks background in any one basic radicals by which characters are arranged in traditional Chinese dictionaries in this, as starting point with mouse, drags one week, generate the constituency of the stroke in these radicals by which characters are arranged in traditional Chinese dictionaries along stroke outlines,
Step (2.4.3), in a character and graphic, adjacent stroke the repeat place of two basic radicals by which characters are arranged in traditional Chinese dictionaries in same stroke starting point links up, and forms the single character and graphic be made up of each basic radicals by which characters are arranged in traditional Chinese dictionaries,
Step (2.4.4), repeats step (2.4.2) to all basic radicals by which characters are arranged in traditional Chinese dictionaries in a text font image, obtains the constituency of all strokes in each radicals by which characters are arranged in traditional Chinese dictionaries,
Step (2.4.5), performs " select---oppositely " order, realizes that image is counter to be selected, and deletes the non-stroke ink marks image in each radicals by which characters are arranged in traditional Chinese dictionaries constituency, and retain the stroke ink marks image in each radicals by which characters are arranged in traditional Chinese dictionaries constituency, the demand for different purposes carries out subsequent treatment.
2. the extracting method of the unearthed simple silks glyph image based on Digital Image Processing according to claim 1, it is characterized in that, in step (2.4), with " lasso tool " or " polygonal lasso tool " or " pen tool " or " freeform pen tool " replacement " Magnetic Lasso Tool ".
CN201210414370.0A 2012-10-25 2012-10-25 Method used for extracting unearthed bamboo slip and silk character pattern image and based on digital image processing Active CN102968789B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210414370.0A CN102968789B (en) 2012-10-25 2012-10-25 Method used for extracting unearthed bamboo slip and silk character pattern image and based on digital image processing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210414370.0A CN102968789B (en) 2012-10-25 2012-10-25 Method used for extracting unearthed bamboo slip and silk character pattern image and based on digital image processing

Publications (2)

Publication Number Publication Date
CN102968789A CN102968789A (en) 2013-03-13
CN102968789B true CN102968789B (en) 2015-06-24

Family

ID=47798915

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210414370.0A Active CN102968789B (en) 2012-10-25 2012-10-25 Method used for extracting unearthed bamboo slip and silk character pattern image and based on digital image processing

Country Status (1)

Country Link
CN (1) CN102968789B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104112287B (en) * 2013-04-17 2017-05-24 北大方正集团有限公司 Method and device for segmenting characters in picture
CN103632386B (en) * 2013-10-29 2016-08-17 清华大学 The manufacture method of unearthed letter silks copy based on Digital Image Processing
CN106599818B (en) * 2016-12-07 2020-10-27 广州视源电子科技股份有限公司 Method and device for generating handwriting format file based on picture
CN106970751A (en) * 2017-02-22 2017-07-21 南通市测绘院有限公司 A kind of method of the complicated grain pattern of efficient vector quantization ancient building
CN108154517A (en) * 2017-12-26 2018-06-12 北京华想联合科技有限公司 A kind of Glisson's capsule line extraction method based on liver ultrasonic
CN110545375B (en) * 2019-08-08 2021-03-02 RealMe重庆移动通信有限公司 Image processing method, image processing device, storage medium and electronic equipment
CN112488954B (en) * 2020-12-07 2023-09-22 江苏理工学院 Adaptive image enhancement method and device based on image gray level
CN113758840A (en) * 2021-09-07 2021-12-07 安徽工业大学 Method for measuring particle size and area of soot particles based on Image J

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004213598A (en) * 2003-01-07 2004-07-29 Hidenori Ito Picturesque image conversion method and computer readable storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101073970A (en) * 2006-05-17 2007-11-21 谷文杰 Production of digital stimulated oil paint with computer programm character as model

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004213598A (en) * 2003-01-07 2004-07-29 Hidenori Ito Picturesque image conversion method and computer readable storage medium

Also Published As

Publication number Publication date
CN102968789A (en) 2013-03-13

Similar Documents

Publication Publication Date Title
CN102968789B (en) Method used for extracting unearthed bamboo slip and silk character pattern image and based on digital image processing
JP5408208B2 (en) Image display system, image display apparatus and program
JP2003298837A (en) Graphical input and display system for creating and manipulating electronic image, method for editing source electronic image inputted to display device to meaningful image object, and product including computer usable medium with computer readable program code incorporated
CN102081496A (en) Information processing apparatus, method, and computer-readable medium
Evening Adobe Photoshop CC for Photographers: A professional image editor's guide to the creative use of Photoshop for the Macintosh and PC
DE102018003475A1 (en) Form-based graphic search
Bevilaqua Guide to image editing and production of figures for scientific publications with an emphasis on taxonomy
CN114565702A (en) Text image generation method and device and electronic equipment
Evening Adobe Photoshop CS5 for Photographers: a professional image editor's guide to the creative use of Photoshop for the Macintosh and PC
Dayley et al. Photoshop CS5 Bible
CN103632386B (en) The manufacture method of unearthed letter silks copy based on Digital Image Processing
TWI691854B (en) Method for creating and manipulating software notes, and computing device
Hume Fashion and textile design with Photoshop and Illustrator: professional creative practice
Sharma et al. Fusion of Indian folk arts Madhubani and Warli for designing of apparels using CAD
CN104731798B (en) A kind of character search method and device
DE112012003949T5 (en) Sign-based electronic system and method of containment
JP5652508B2 (en) Image display system, image display apparatus and program
Laskevitch Adobe Photoshop
Goelker GIMP 2.8 for Photographers: Image Editing with Open Source Software
KR101394280B1 (en) Image extraction method of pdf documents, apparatus and recording medium
JP5824309B2 (en) Image processing apparatus, image processing method, and program
Covey Photoshop for artists: a complete guide for fine artists, photographers, and printmakers
JP4574347B2 (en) Image processing apparatus, method, and program
Erol et al. Application of a new illustration technique in plant systematics: Composite images of two autumn flowering Crocus L.(Iridaceae) taxa from Series Biflori in Turkey
Elmansy Illustrator foundations: The art of vector graphics, design and illustration in Illustrator

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