CN103279480A - Batched field-of-view cropping and ruler adding method for metallographic digital photographs by using Photoshop software - Google Patents

Batched field-of-view cropping and ruler adding method for metallographic digital photographs by using Photoshop software Download PDF

Info

Publication number
CN103279480A
CN103279480A CN2013101393412A CN201310139341A CN103279480A CN 103279480 A CN103279480 A CN 103279480A CN 2013101393412 A CN2013101393412 A CN 2013101393412A CN 201310139341 A CN201310139341 A CN 201310139341A CN 103279480 A CN103279480 A CN 103279480A
Authority
CN
China
Prior art keywords
scale
metallographic
visual field
length
digital photograph
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
Application number
CN2013101393412A
Other languages
Chinese (zh)
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.)
Zhongyuan Special Steel Co Ltd
Original Assignee
Zhongyuan Special Steel Co Ltd
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 Zhongyuan Special Steel Co Ltd filed Critical Zhongyuan Special Steel Co Ltd
Priority to CN2013101393412A priority Critical patent/CN103279480A/en
Publication of CN103279480A publication Critical patent/CN103279480A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Sampling And Sample Adjustment (AREA)

Abstract

The invention relates to a batched field-of-view cropping and ruler adding method for metallographic digital photographs, in particular to a batched field-of-view cropping and ruler adding method for the metallographic digital photographs by using Photoshop software, wherein the method is simple, efficient and capable of achieving batched manufacturing. The method includes the steps of photograph acquisition, ruler calibration, length conversion, action recording and batched processing. According to the method, field-of-view cropping and ruler adding for the metallographic digital photographs are achieved with the method of combining a 'batched processing' function and an 'action' function of the Photoshop software, a large number of photographs can be processed in single-step operation, therefore, work efficiency is greatly improved, and labor intensity of workers occupied in metallographic analysis is alleviated; in addition, the photographs after being cropped are consistent in size, added rulers are fixed in position, and the manufactured metallographic digital photographs are uniform in overall style.

Description

A kind of Photoshop of use software is metallographic digital photograph in batches cutting visual field and the method for adding scale
?
Technical field
The present invention relates to a kind of metallographic digital photograph cutting visual field and the method for adding scale in batches, relate in particular to that a kind of method is simple, efficient is high, the Photoshop software that uses that can batch making is metallographic digital photograph cutting visual field and the method for adding scale in batches.
Background technology
The metaloscope that has at present various brands on the market, the digital photograph of its collection, resolution sizes is different, for metallographic examination, digital photograph need be cut to the visual field of fixed size by national standard sometimes and add the scale of enlargement ratio.At present mainly be to utilize the subsidiary software analysis instrument of new-type microscope to finish, its shortcoming is: the picture treatment effeciency is low, the MIAPS specialty analysis software subsidiary with the ZEISS microscope is example, for several digital metallographic cutting visual fields and when adding scale, need one by one operation one by one, namely this software does not have " batch processing " function, this makes that the picture processing procedure is loaded down with trivial details, workload is big, and the people is for makeing mistakes easily, and efficient is not high.
Solve an above-mentioned difficult problem, common way is to introduce " batch processing " process for the operation of metallographic digital photograph.Number of patent application 201110298908.1 has been introduced a kind of metallographic digital photograph batch processing and has been loaded the scale method.The method programmes to realize that the batch with metallograph loads scale in batches by special computer software after gathering digital metallograph.Its shortcoming is, needs to realize that by the computer software programming of specialty for domestic consumer, professional knowledge requires high, and realizability is poor, does not have general generalization, and this method also can't realize the visual field clipping function of metallographic digital photograph.
Goal of the invention
The objective of the invention is to overcome deficiency of the prior art, and provide that a kind of method is simple, efficient is high, can batch making, do not need the professional computer software programming, using softwares of Photoshop is a large amount of metallographic digital photographs cutting visual field and methods of adding scale in batches.
Summary of the invention
The object of the present invention is achieved like this:
A kind of Photoshop of use software comprises the steps: as metallographic digital photograph in batches cutting visual field and the method for adding scale
Step 1, picture collection: use microscope and digital camera head ,Under identical multiplying power micrometer and metallographic specimen are gathered the metallographic digital photograph respectively, the difference to the metallographic digital photograph of wanting batch processing is pressed its enlargement ratio leaves in respectively in the corresponding file;
Step 2, demarcation scale: use the digital photograph under Photoshop software " tolerance " the instrument bioassay standard micrometer different multiplying, according to the corresponding relation of physical length and the length in pixels of micrometer digital photograph, find the number of the required pixel of every 1um length under this multiplying power;
Step 3, length transform: according to the corresponding relation of the length in pixels under the digital photograph different multiplying and physical length, the concrete physical length parameter with visual field size, scale line segment length is converted into the length in pixels parameter;
Step 4, action are recorded: after obtaining the length in pixels parameter request of visual field under the different multiplying, scale, determine the shape of photo visual field by difform " the marquee tool " of Photoshop software, be fixed the constituency of the visual field of pixel size by " the fixed size pattern " of " the marquee tool ", use the Crop command under " image " menu to finish the visual field cutting of fixed pixel size then; Be fixed the constituency of the scale line segment of pixel size equally by " the fixed size pattern " of " rectangular marquee ", by the order of " filling " color the constituency of scale line segment is colored as coloured line segment again, add the length note by " the Type tool " for the scale line segment then, use " action " function of Photoshop software, the aforesaid operations process is recorded, can be obtained the action of " scale is also added in the cutting visual field " under the different multiplying;
Step 5, batch processing: use " batch processing " order of Photoshop software in conjunction with " scale is also added in the cutting visual field " action of recording under the different multiplying, for the file of its multiplying power coupling under a large amount of metallographic digital photograph batch processing.
During described step 4 action was recorded, the color of scale line segment realized by " filling " order, selects the color strong with its color contrast according to digital photograph matrix color, thereby strengthens the seeing property of scale.
Select " file " pattern in " batch processing " interface in " target " check box, photo is preserved in the position after specified modification, guarantees can not eject in the batch process user and confirms dialog box, and make batch process interrupt.
The present invention has three big functions: cutting visual field, interpolation scale, batch processing.Wherein, the cutting visual field is exactly the photo that the metallographic digital photograph of different size will be cut to fixed geometry, fixed physical length, adding scale is exactly to add the line segment of a fixed physical length for this photo, and batch processing is exactly only to need single stepping just can finish the same treatment of a large amount of photos.Use Photoshop software and standard micrometer by demarcating scale, finishing the photo physical length transforms to length in pixels, various functions by software are the visual field of metallographic digital photograph cutting fixed pixel size and add the line segment of fixed pixel length, " action " function by Photoshop software is recorded preservation with the single photo processing procedure, by " batch processing " function of Photoshop software a large amount of metallographic digital photographs is used identical " action " operation.
This method unique distinction is:
Use general Photoshop software to realize, do not need special computer software programming, hardware-software equipment requires low, has good general generalization, and easy to learn, cost of manufacture is low.
The method of using Photoshop software " batch processing " function and " action " function to combine is finished the cutting visual field of metallographic digital photograph and is added scale, the processing of a large amount of photos can be finished in single stepping, increase work efficiency greatly, alleviate metallographic examination worker's labour intensity, and the size of the photo after the cutting is consistent, the position of rule of adding is fixed, and the whole style of the metallographic digital photograph of making is unified.
Description of drawings
Fig. 1 is 1600 pixels for the length in pixels of using Photoshop software metrics standard micrometer 800um physical length correspondence.
Fig. 2 concrete parameter when using the errorlevel of Photoshop software arranges situation.
Fig. 3 gathers original metallographic digital photograph for microscope.
Fig. 4 is the metallographic digital photograph after the use Photoshop software batch operation.
Fig. 5 is metallographic digital photograph batch cutting visual field and the process flow diagram that adds scale for the present invention adopts Photoshop software
Embodiment
The present invention is further illustrated below in conjunction with drawings and Examples.
Embodiment 1 be one section forging diverse location the non-metallic inclusion sample the metallographic digital photograph batch cutting visual field and add scale
It comprises the steps:
Step 1, picture collection: according to the regulation of the micro-detection method of national GB/T10561-2005 nonmetallic inclusionsin steel Determination on content standard grading figure, for each steel ingot is produced the non-metallic inclusion sample, and after this Lot sample machinery ground polishing, under 100 power microscopes, according to the A law regulation, choose the most serious visual field, be respectively various sample and gather the metallographic digital photograph, all consistent because of its enlargement ratio, it is left in the file of same " 100 times of original photo " name.
Step 2, demarcation scale: length in pixels and the physical length corresponding relation of demarcating 100 times of metallographic digital photographs.At first, will be through the standard micrometer of standards body's calibration, use 100 times of camera lenses to gather digital photograph at microscopically, then, use Photoshop software to open this digital photograph, as shown in Figure 1, use " tolerance " instrument of Photoshop software, the length in pixels of measuring these standard micrometer 80 little lattice is 1600, and the physical length of 80 little its representatives of lattice is 10X80=800um(standard micrometer 1 little investigate things reason length 10um).Thereby obtain 100 times of metallographic digital photographs of this microscope, length in pixels and physical length corresponding relation are: 2 pixels=1um is 2pixel/um.
Step 3, length transform: according to the regulation of the micro-detection method of national GB/T10561-2005 nonmetallic inclusionsin steel Determination on content standard grading figure, the non-metallic inclusion standard field of view is: 100 times of length are the square of 71mm, its actual physical length 71 ÷ 100 * 1000=710um, by the corresponding relation of 2 pixels=1um as can be known, this visual field is length in pixels 1420(2 * 710=1420 pixel) square.Scale is made up of line segment and explanatory note, selects the black line segment of the high 10um of physical length 100um in this example, and this line segment is the rectangle of one 100 * 10um.By the corresponding relation of 2 pixels=1um as can be known, this scale is length in pixels 200 * 20(2 * 100=200 pixel, 2 * 10=20 pixel) rectangle.
Step 4, action are recorded: open the above version of Photoshop software CS, open the metallographic digital photograph that individual need be handled, in the actions panel of photoshop software, the mouse-click START button begins action and records.100 times place an order according to the cutting visual field of metallographic digital photographs and add scale manufacturing process and are: at first, the cutting visual field, use " rectangular marquee ", " fixed size " pattern of selection, fixed length, wide pixel value is 1420 pixels, use left mouse button to cooperate the ALT key in the middle of photo, to click, obtain the square constituency of long 1420 pixels, using the Crop command cutting metallographic digital photograph canvas size under Photoshop software " image " menu is the square (attention is the Crop command under " image " menu, but not " shearing " under the Edit menu orders) of 1420 pixels; Secondly, add the scale line segment, same use " rectangular marquee ", " fixed size " pattern of selection, fixed length be 200 pixels, wide be 20 pixels, at picture lower right corner a mouse click left button, obtain the rectangle constituency of 200 * 20 pixels, use " filling " order of Photoshop software to fill ater or pure white for this constituency, obtain a colouring discrimination in black or the white line segment of metallographic digital photograph matrix; Add explanatory note at last, use " the Type tool " of Photoshop software, select font size 50 pixels, add the length note of " 100um " for this line segment.After the picture operation was closed in preservation, in the actions panel of photoshop software, mouse-click " stopped " the button execution and records.Should " scale is also added in the cutting visual field " action only need to make once, just can forever leave under the Photoshop software catalog of computer.To all metallographic digital photographs of 100 times of collections of this microscope, when needs are cut to the square visual field of 71mm and add scale, all can utilize this action to finish all operations.
Step 5, batch processing: the holding function of Photoshop software only can be finished the automatic operation of a photo, for the batch operation of multiple photos, need to use " batch processing " function under the Photoshop software File menu to finish in conjunction with " action " function.Open " batch processing " interface, as shown in Figure 2, select " scale is added in 100 times of cutting visual fields " of selecting making in the step 3 in the frame in " action ", " choose " in the source and to choose the file of depositing original non-metallic inclusion photo in the button, in " target " check box, select " file " pattern, the file of depositing after choosing several non-metallic inclusion photo cutting visual fields and add scale in target " selection " button selects at " memory command in the overlap action " and to make hook in the frame.After carrying out above-mentioned selection, click OK button, Photoshop will be automatically come all photos in the process source file according to the concrete operations in the action " scale is added in 100 times of cutting visual fields ", and it is saved in the purpose file.Handle preceding photo as shown in Figure 3, photo as shown in Figure 4 after the batch processing.What intermediate demand was noted is: must select " file " pattern in " target " check box, otherwise when preserving photo after the batch processing, every photo all can eject the dialog box that needs the user to determine, batch process is interrupted.

Claims (3)

1. one kind is used Photoshop software as metallographic digital photograph in batches cutting visual field and the method for adding scale, it is characterized in that: comprise the steps:
Step 1, picture collection: use microscope and digital camera head ,Under identical multiplying power micrometer and metallographic specimen are gathered the metallographic digital photograph respectively, the difference to the metallographic digital photograph of wanting batch processing is pressed its enlargement ratio leaves in respectively in the corresponding file;
Step 2, demarcation scale: use the digital photograph under Photoshop software " tolerance " the instrument bioassay standard micrometer different multiplying, according to the corresponding relation of physical length and the length in pixels of micrometer digital photograph, find the number of the required pixel of every 1um length under this multiplying power;
Step 3, length transform: according to the corresponding relation of the length in pixels under the digital photograph different multiplying and physical length, the concrete physical length parameter with visual field size, scale line segment length is converted into the length in pixels parameter;
Step 4, action are recorded: after obtaining the length in pixels parameter request of visual field under the different multiplying, scale, determine the shape of photo visual field by difform " the marquee tool " of Photoshop software, be fixed the constituency of the visual field of pixel size by " the fixed size pattern " of " the marquee tool ", use the Crop command under " image " menu to finish the visual field cutting of fixed pixel size then; Be fixed the constituency of the scale line segment of pixel size equally by " the fixed size pattern " of " rectangular marquee ", by the order of " filling " color the constituency of scale line segment is colored as coloured line segment again, add the length note by " the Type tool " for the scale line segment then, use " action " function of Photoshop software, the aforesaid operations process is recorded, can be obtained the action of " scale is also added in the cutting visual field " under the different multiplying;
Step 5, batch processing: use " batch processing " order of Photoshop software in conjunction with " scale is also added in the cutting visual field " action of recording under the different multiplying, for the file of its multiplying power coupling under a large amount of metallographic digital photograph batch processing.
2. a kind of Photoshop of use software according to claim 1 is metallographic digital photograph in batches cutting visual field and the method for adding scale, it is characterized in that: during described step 4 action is recorded, the color of scale line segment realizes by " filling " order, select the color strong with its color contrast according to digital photograph matrix color, thereby strengthen the seeing property of scale.
3. a kind of Photoshop of use software according to claim 7 is metallographic digital photograph in batches cutting visual field and the method for adding scale, it is characterized in that: select " file " pattern in " batch processing " interface in " target " check box, photo is preserved in the position after specified modification, guarantee can not eject in the batch process user and confirm dialog box, and make batch process interrupt.
CN2013101393412A 2013-07-11 2013-07-11 Batched field-of-view cropping and ruler adding method for metallographic digital photographs by using Photoshop software Pending CN103279480A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2013101393412A CN103279480A (en) 2013-07-11 2013-07-11 Batched field-of-view cropping and ruler adding method for metallographic digital photographs by using Photoshop software

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2013101393412A CN103279480A (en) 2013-07-11 2013-07-11 Batched field-of-view cropping and ruler adding method for metallographic digital photographs by using Photoshop software

Publications (1)

Publication Number Publication Date
CN103279480A true CN103279480A (en) 2013-09-04

Family

ID=49062000

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2013101393412A Pending CN103279480A (en) 2013-07-11 2013-07-11 Batched field-of-view cropping and ruler adding method for metallographic digital photographs by using Photoshop software

Country Status (1)

Country Link
CN (1) CN103279480A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103530120A (en) * 2013-10-12 2014-01-22 深圳市中兴移动通信有限公司 Method and device for processing visualized objects
CN104406519A (en) * 2014-11-25 2015-03-11 深圳市计量质量检测研究院 Method and device for digitally measuring magnification multiplying power
CN104655020A (en) * 2013-11-22 2015-05-27 中原特钢股份有限公司 Method for measuring metallographic ultra-long-sized region by Photoshop software
CN105136068A (en) * 2015-05-15 2015-12-09 天津普达软件技术有限公司 Electronic scale for grid detection
CN108956390A (en) * 2018-05-30 2018-12-07 贵阳中医学院 One kind measuring microsphere diameter method based on photoshop software
CN112950568A (en) * 2021-02-25 2021-06-11 汇鸿智能科技(辽宁)有限公司 Scale length calculation method and device, computer equipment and storage medium
CN114063861A (en) * 2021-11-18 2022-02-18 广西壮族自治区农业科学院 Method for rapidly processing polyacrylamide gel electrophoresis picture

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1825158A (en) * 2005-02-25 2006-08-30 宝钢集团上海梅山有限公司 Digital metallurgical microscopic image enlarging multiplying power calibrating method
CN102419762A (en) * 2011-09-29 2012-04-18 河北省电力建设调整试验所 Method for loading scales for batches of metallographic digital photos
CN102841098A (en) * 2012-09-10 2012-12-26 中原特钢股份有限公司 Method for measuring ferrite content in austenitic stainless steel through using Photoshop software
CN102866172A (en) * 2012-08-31 2013-01-09 广东电网公司电力科学研究院 Measuring method of Laves phase content of T/P 92 steel

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1825158A (en) * 2005-02-25 2006-08-30 宝钢集团上海梅山有限公司 Digital metallurgical microscopic image enlarging multiplying power calibrating method
CN102419762A (en) * 2011-09-29 2012-04-18 河北省电力建设调整试验所 Method for loading scales for batches of metallographic digital photos
CN102866172A (en) * 2012-08-31 2013-01-09 广东电网公司电力科学研究院 Measuring method of Laves phase content of T/P 92 steel
CN102841098A (en) * 2012-09-10 2012-12-26 中原特钢股份有限公司 Method for measuring ferrite content in austenitic stainless steel through using Photoshop software

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
赵秀芳 等: "《Photoshop全面掌握》", 30 June 2009, article "Photoshop全面掌握" *
郑相锋 等: "VC.NET环境下的金相照片批处理加载标尺系统开发", 《冶金自动化》, 2 September 2014 (2014-09-02) *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103530120A (en) * 2013-10-12 2014-01-22 深圳市中兴移动通信有限公司 Method and device for processing visualized objects
CN104655020A (en) * 2013-11-22 2015-05-27 中原特钢股份有限公司 Method for measuring metallographic ultra-long-sized region by Photoshop software
CN104406519A (en) * 2014-11-25 2015-03-11 深圳市计量质量检测研究院 Method and device for digitally measuring magnification multiplying power
CN105136068A (en) * 2015-05-15 2015-12-09 天津普达软件技术有限公司 Electronic scale for grid detection
CN108956390A (en) * 2018-05-30 2018-12-07 贵阳中医学院 One kind measuring microsphere diameter method based on photoshop software
CN112950568A (en) * 2021-02-25 2021-06-11 汇鸿智能科技(辽宁)有限公司 Scale length calculation method and device, computer equipment and storage medium
CN114063861A (en) * 2021-11-18 2022-02-18 广西壮族自治区农业科学院 Method for rapidly processing polyacrylamide gel electrophoresis picture

Similar Documents

Publication Publication Date Title
CN103279480A (en) Batched field-of-view cropping and ruler adding method for metallographic digital photographs by using Photoshop software
CN107610131B (en) Image clipping method and image clipping device
US8270709B2 (en) Color selection and/or matching in a color image
Baecker ImageJ macro tool sets for biological image analysis
CN105068918A (en) Page test method and device
CN104061748A (en) Refrigerator food storage position recording method, device and terminal and refrigerator
CN109059808A (en) Method for measuring leaf area, system, storage medium and mobile terminal
CN112085663A (en) Generating enhanced digital images with context-aware sensors and multi-dimensional gesture input
DE202013012486U1 (en) User interface for orienting a camera view towards surfaces within a 3-D map and facilities that incorporate the user interface
US8120616B2 (en) Color sampler
CN108230236B (en) Digital image automatic imposition method and digitally published picture imposition method
CN106776742A (en) A kind of pure electric vehicle VCU data processings and analysis method
CN111684462B (en) Image matching method and vision system
CN104991768A (en) Control method and device for batched alignment of image documents in image processing software
CN106415596A (en) Segmentation based image transform
CN112053418B (en) Hydropower engineering monitoring data drawing system and method
CN105787493B (en) A method of based on BIM intelligent extraction setting-out characteristic point
CN109670514B (en) Method, device, equipment and storage medium for identifying pore and skeleton of digital core
US9196038B2 (en) Recipe based method for time-lapse image analysis
EP2936436A2 (en) Computer implemented method and system for detecting an object marked by means of stroke input of a user on the basis of pixels in a digital image
Herbert et al. DProj: a toolbox for local 2D projection and accurate morphometrics of large 3D microscopy images
CN109597975B (en) Color setting method and apparatus
CN207396361U (en) Matrix form sequential image acquisition analysis system
Marzouk et al. Tracking construction projects progress using mobile hand-held devices
Neilsen et al. Extending watershed segmentation algorithms for high-throughput phenotyping on mobile devices

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
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20130904