CN102082892A - Method for automatically identifying positive/negative film of negative film scanner - Google Patents

Method for automatically identifying positive/negative film of negative film scanner Download PDF

Info

Publication number
CN102082892A
CN102082892A CN 201110004793 CN201110004793A CN102082892A CN 102082892 A CN102082892 A CN 102082892A CN 201110004793 CN201110004793 CN 201110004793 CN 201110004793 A CN201110004793 A CN 201110004793A CN 102082892 A CN102082892 A CN 102082892A
Authority
CN
China
Prior art keywords
negative film
positive
analysis
exposure
distributed
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
CN 201110004793
Other languages
Chinese (zh)
Inventor
周迎正
黄锦辉
Original Assignee
MYT-IMAGE TECHNOLOGY (SHENZHEN) 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 MYT-IMAGE TECHNOLOGY (SHENZHEN) Co Ltd filed Critical MYT-IMAGE TECHNOLOGY (SHENZHEN) Co Ltd
Priority to CN 201110004793 priority Critical patent/CN102082892A/en
Publication of CN102082892A publication Critical patent/CN102082892A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a method for automatically identifying a positive/negative film of a negative film scanner, which comprises the following steps of: a, starting the negative film scanner and carrying out automatic exposure in a default negative film mode; b, when the automatic exposure is stable, analyzing exposure parameters, a color space and a mean value; c, obtaining an analysis result, finishing identification if the analysis result is the same as the negative film mode, and switching the mode into a positive film mode if the analysis result is opposite to the negative film mode. The method for automatically identifying the positive/negative film of the negative film scanner can realize automatic identification of the positive/negative film by analyzing the exposure parameters of the positive/negative film, distribution of red gains and blue gains of the color space and the mean value of the red gains and the blue gains, and guarantees high identification success rate so as to meet the requirement of a user.

Description

The positive negative film automatic identifying method of negative film scanner
Technical field
The present invention relates to electronic applications, relate in particular to the positive negative film automatic identifying method of a kind of negative film scanner.
Background technology
The Chinese invention patent application number is: " 03160326.2 ", name is called: disclose a kind of method that is applicable to the automatic identification egative film of scanner in the application documents of " discern device, the method for egative film automatically and store the storage medium of its computer program ", be used for discerning the egative film that is placed on scanner.At first, be placed on egative film in the scanner by the scanner preview, to obtain original preview image.Original preview image comprises the negative map picture, and original preview image has pixel, and described first pixel has first hue value.Then, pixel is carried out pixel fill, cross bright and dark excessively part in the original preview image to get rid of, and obtain image preview figure.Then,, image preview figure is carried out the frames images choosing, select picture frame with frame according to first hue value of each pixel.At last, respectively each picture frame is carried out image segmentation, with identification negative map picture.
Above-mentioned patent document is described in detail the method for egative film identification, discerns automatically but this egative film recognition methods can not align negative film.Use the negative film scanner of above-mentioned technology, need the user to come corresponding positive of manual adjustments or negative film exposal model, just can scan normal egative film picture according to the type of egative film.
Summary of the invention
The technical problem that the present invention mainly solves provides the positive negative film automatic identifying method of a kind of negative film scanner, can realize the automatic identification of positive negative photo plane, and guarantees high recognition success rate, to satisfy user's demand.
For solving the problems of the technologies described above, the technical scheme that the present invention adopts is: provide a kind of negative film scanner positive negative film automatic identifying method, may further comprise the steps:
A. start negative film scanner, be defaulted as under the negative film pattern and do automatic exposure;
B. when automatic exposure is stablized, carry out the analysis of exposure parameter, the analysis and the average analysis of color space;
C. obtain analysis result,, then finish identification if analysis result is identical with the pattern of negative film; If analysis result is opposite with the negative film pattern, then translative mode is positive tablet mode.
Wherein, in the analysis of the exposure parameter in described step b, the time for exposure of positive is distributed in 1ms~100ms interval, and the time for exposure of negative film is distributed in 60ms~200ms interval.
Wherein, in the analysis of the color space in described step b, the positive red gain is distributed in 0~350 interval, and the red gain of negative film is distributed in more than 350 interval; The positive blue gain is distributed in 0~100 interval, and the blue gain of negative film is distributed in more than 100 interval.
Wherein, in the average of described step b was analyzed, described average analysis result was the red gain of positive and negative film and the average result of blue gain.
For solving the problems of the technologies described above, another technical solution used in the present invention is: provide a kind of negative film scanner positive negative film automatic identifying method, may further comprise the steps:
A. start negative film scanner, be defaulted as under the positive tablet mode and do automatic exposure;
B. when automatic exposure is stablized, carry out the analysis of exposure parameter, the analysis and the average analysis of color space;
C. obtain analysis result,, then finish identification if analysis result is identical with the pattern of negative film; If analysis result is opposite with positive tablet mode, then translative mode is the negative film pattern.
Wherein, in the analysis of the exposure parameter in described step b, the time for exposure of positive is distributed in 1ms~100ms interval, and the time for exposure of negative film is distributed in 60ms~200ms interval.
Wherein, in the analysis of the color space in described step b, the positive red gain is distributed in 0~350 interval, and the red gain of negative film is distributed in more than 350 interval; The positive blue gain is distributed in 0~100 interval, and the blue gain of negative film is distributed in more than 100 interval.
Wherein, in the average of described step b was analyzed, described average analysis result was the red gain of positive and negative film and the average result of blue gain.
The invention has the beneficial effects as follows: the negative film scanner that is different from prior art can not be discerned the defective of positive negative film automatically, the positive negative film automatic identifying method of negative film scanner of the present invention, by the exposure parameter of positive negative film, red gain and the distribution of blue gain and the average analysis of red gain and blue gain of color space, can realize the automatic identification of positive negative photo plane, and guarantee high recognition success rate, to satisfy user's demand.
Description of drawings
Fig. 1 is the flow chart of steps of positive negative film automatic identifying method first embodiment of negative film scanner of the present invention;
Fig. 2 is the flow chart of steps of positive negative film automatic identifying method second embodiment of negative film scanner of the present invention;
Fig. 3 is the positive negative film exposure distribution figure of the positive negative film automatic identifying method of negative film scanner of the present invention;
Fig. 4 is the red gain and the blue gain analysis chart of the positive negative film color space of the positive negative film automatic identifying method of negative film scanner of the present invention;
Fig. 5 is the positive negative film identification software flow chart of the positive negative film automatic identifying method of negative film scanner of the present invention.
Embodiment
By describing technology contents of the present invention, structural feature in detail, realized purpose and effect, give explanation below in conjunction with execution mode and conjunction with figs. are detailed.
Red gain (Rgain) is the ratio of G and R in the RGB numerical value.
Blue gain (Bgain) is the ratio of G and B in the RGB numerical value.
See also Fig. 1, in the flow chart of steps of positive negative film automatic identifying method first embodiment of negative film scanner of the present invention, said method comprising the steps of:
A. start negative film scanner, be defaulted as under the negative film pattern and do automatic exposure;
B. when automatic exposure is stablized, carry out the analysis of exposure parameter, the analysis and the average analysis of color space;
C. obtain analysis result,, then finish identification if analysis result is identical with the pattern of negative film; If analysis result is opposite with the negative film pattern, then translative mode is positive tablet mode.
The positive negative film automatic identifying method of negative film scanner of the present invention, by the exposure parameter of positive negative film, red gain and the distribution of blue gain and the average analysis of red gain and blue gain of color space, can realize the automatic identification of positive negative photo plane, and guarantee high recognition success rate, to satisfy user's demand.In this embodiment, be defaulted as the negative film pattern earlier, the analysis after exposing finds whether exposure parameter, color space and the average after the exposure be consistent with the parameters of negative film, if unanimity then think negative film finishes to judge.If inconsistent then think positive, translative mode is to positive tablet mode.
In the analysis of the exposure parameter in described step b, the time for exposure of positive is distributed in 1ms~100ms interval, and the time for exposure of negative film is distributed in 60ms~200ms interval.
In the analysis of the color space in described step b, the positive red gain is distributed in 0~350 interval, and the red gain of negative film is distributed in more than 350 interval; The positive blue gain is distributed in 0~100 interval, and the blue gain of negative film is distributed in more than 100 interval.
In the average of described step b was analyzed, described average analysis result was the red gain of positive and negative film and the average result of blue gain.
See also Fig. 2, in the flow chart of steps of positive negative film automatic identifying method second embodiment of negative film scanner of the present invention, said method comprising the steps of:
A. start negative film scanner, be defaulted as under the positive tablet mode and do automatic exposure;
B. when automatic exposure is stablized, carry out the analysis of exposure parameter, the analysis and the average analysis of color space;
C. obtain analysis result,, then finish identification if analysis result is identical with the pattern of negative film; If analysis result is opposite with positive tablet mode, then translative mode is the negative film pattern.
The positive negative film automatic identifying method of negative film scanner of the present invention, by the exposure parameter of positive negative film, red gain and the distribution of blue gain and the average analysis of red gain and blue gain of color space, can realize the automatic identification of positive negative photo plane, and guarantee high recognition success rate, to satisfy user's demand.In this embodiment, be defaulted as positive tablet mode earlier, the analysis after exposing finds whether exposure parameter, color space and the average after the exposure be consistent with the parameters of positive, if unanimity then think positive finishes to judge.If inconsistent then think negative film, translative mode is to the negative film pattern.
In the analysis of the exposure parameter in described step b, the time for exposure of positive is distributed in 1ms~100ms interval, and the time for exposure of negative film is distributed in 60ms~200ms interval.
In the analysis of the color space in described step b, the positive red gain is distributed in 0~350 interval, and the red gain of negative film is distributed in more than 350 interval; The positive blue gain is distributed in 0~100 interval, and the blue gain of negative film is distributed in more than 100 interval.
In the average of described step b was analyzed, described average analysis result was the red gain of positive and negative film and the average result of blue gain.
The present invention can successfully discern the positive and the negative film of negative film scanner, and in 25 positives that detect in actual field and 25 the negative film egative films, recognition success rate can reach 100%.
Referring to Fig. 3~Fig. 5, automatic recognition principle of the present invention is: find that in the RGB data analysis through a large amount of positive egative films and negative photo plane its exposure and RGB component are equipped with bigger difference in the distribute bits of color space.
The first, the difference of exposure parameter:
With ISO=100 is example, and the time for exposure of most of negative film, the time for exposure of most of positive then was distributed between 1ms~100ms about 60ms~200ms.The backlight illumination of plain scan instrument provides a good environment for positive negative film detects.
The second, the difference of color space distribution:
Can get access to Rgain=G/R, Bgain=G/B from the RGB data.The two-dimensional space of being made up of Rgain and Bgain comes positive and the residing zone of negative film that bigger difference is arranged as can be seen.(seeing also Fig. 2)
Three, average analysis:
Consider that different egative films have different colors, particularly big color lump, the result who draws can allow the color space analysis produce erroneous judgement, adopts average to analyze Rgain, and Bgain can effectively reduce the erroneous judgement probability.
Four, weight analysis:
For above difference, give and different weights, the size in conjunction with the possibility of various analyses calculates final judged result again.
The above only is embodiments of the invention; be not so limit claim of the present invention; every equivalent structure or equivalent flow process conversion that utilizes specification of the present invention and accompanying drawing content to be done; or directly or indirectly be used in other relevant technical fields, all in like manner be included in the scope of patent protection of the present invention.

Claims (8)

1. positive negative film automatic identifying method of negative film scanner is characterized in that: may further comprise the steps:
A. start negative film scanner, be defaulted as under the negative film pattern and do automatic exposure;
B. when automatic exposure is stablized, carry out the analysis of exposure parameter, the analysis and the average analysis of color space;
C. obtain analysis result,, then finish identification if analysis result is identical with the pattern of negative film; If analysis result is opposite with the negative film pattern, then translative mode is positive tablet mode.
2. the positive negative film automatic identifying method of negative film scanner according to claim 1, it is characterized in that: in the analysis of the exposure parameter in described step b, the time for exposure of positive is distributed in 1ms~100ms interval, and the time for exposure of negative film is distributed in 60ms~200ms interval.
3. the positive negative film automatic identifying method of negative film scanner according to claim 1 is characterized in that: in the analysis of the color space in described step b, the positive red gain is distributed in 0~350 interval, and the red gain of negative film is distributed in more than 350 interval; The positive blue gain is distributed in 0~100 interval, and the blue gain of negative film is distributed in more than 100 interval.
4. the positive negative film automatic identifying method of negative film scanner according to claim 1 is characterized in that: in the average of described step b was analyzed, described average analysis result was the red gain of positive and negative film and the average result of blue gain.
5. positive negative film automatic identifying method of negative film scanner is characterized in that: may further comprise the steps:
A. start negative film scanner, be defaulted as under the positive tablet mode and do automatic exposure;
B. when automatic exposure is stablized, carry out the analysis of exposure parameter, the analysis and the average analysis of color space;
C. obtain analysis result,, then finish identification if analysis result is identical with the pattern of negative film; If analysis result is opposite with positive tablet mode, then translative mode is the negative film pattern.
6. the positive negative film automatic identifying method of negative film scanner according to claim 4, it is characterized in that: in the analysis of the exposure parameter in described step b, the time for exposure of positive is distributed in 1ms~100ms interval, and the time for exposure of negative film is distributed in 60ms~200ms interval.
7. the positive negative film automatic identifying method of negative film scanner according to claim 4 is characterized in that: in the analysis of the color space in described step b, the positive red gain is distributed in 0~350 interval, and the red gain of negative film is distributed in more than 350 interval; The positive blue gain is distributed in 0~100 interval, and the blue gain of negative film is distributed in more than 100 interval.
8. the positive negative film automatic identifying method of negative film scanner according to claim 4 is characterized in that: in the average of described step b was analyzed, described average analysis result was the red gain of positive and negative film and the average result of blue gain.
CN 201110004793 2011-01-11 2011-01-11 Method for automatically identifying positive/negative film of negative film scanner Pending CN102082892A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201110004793 CN102082892A (en) 2011-01-11 2011-01-11 Method for automatically identifying positive/negative film of negative film scanner

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201110004793 CN102082892A (en) 2011-01-11 2011-01-11 Method for automatically identifying positive/negative film of negative film scanner

Publications (1)

Publication Number Publication Date
CN102082892A true CN102082892A (en) 2011-06-01

Family

ID=44088636

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201110004793 Pending CN102082892A (en) 2011-01-11 2011-01-11 Method for automatically identifying positive/negative film of negative film scanner

Country Status (1)

Country Link
CN (1) CN102082892A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001194732A (en) * 2000-01-07 2001-07-19 Canon Inc Bar code reading device, bar code reading method and recording medium
CN1381811A (en) * 2002-04-17 2002-11-27 力捷电脑股份有限公司 Scanning method able to get correction parameters
JP2003057798A (en) * 2001-08-10 2003-02-26 Noritsu Koki Co Ltd Image plane detecting device
CN101790020A (en) * 2009-09-28 2010-07-28 苏州佳世达电通有限公司 Film scanning method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001194732A (en) * 2000-01-07 2001-07-19 Canon Inc Bar code reading device, bar code reading method and recording medium
JP2003057798A (en) * 2001-08-10 2003-02-26 Noritsu Koki Co Ltd Image plane detecting device
CN1381811A (en) * 2002-04-17 2002-11-27 力捷电脑股份有限公司 Scanning method able to get correction parameters
CN101790020A (en) * 2009-09-28 2010-07-28 苏州佳世达电通有限公司 Film scanning method

Similar Documents

Publication Publication Date Title
CN102129693B (en) Image vision significance calculation method based on color histogram and global contrast
CN103699532B (en) Image color retrieval method and system
CN101620679B (en) Method for eliminating red eye in image
JP5810628B2 (en) Image processing apparatus and image processing program
US20110050723A1 (en) Image processing apparatus and method, and program
CN110161233B (en) Rapid quantitative detection method for immunochromatography test paper card
CN1761204A (en) System for blocking off erotic images and unhealthy information in internet
CN109636825A (en) Seal graphics dividing method, device and computer readable storage medium
CN110390648A (en) A kind of image high-intensity region method distinguished based on unsaturation and saturation bloom
CN108806638B (en) Image display method and device
JP2010191968A (en) Image enhancement method and image enhancement device
KR20120132315A (en) Image processing apparatus, image processing method, and computer readable medium
CN110222555B (en) Method and device for detecting skin color area
CN115482529A (en) Method, equipment, storage medium and device for recognizing fruit image in near scene
CN112634248B (en) Particle size measurement system and method for granular raw material, electronic device and storage medium
CN106446889B (en) A kind of local recognition methods of logo and device
CN111062926B (en) Video data processing method, device and storage medium
CN106415596A (en) Segmentation based image transform
CN107292892A (en) The dividing method and device of video frame images
CN102082892A (en) Method for automatically identifying positive/negative film of negative film scanner
CN105893578A (en) Method and device for selecting photos
CN111083468B (en) Short video quality evaluation method and system based on image gradient
CN114418951A (en) Pad detection method and device, computer equipment and storage medium
CN113962936A (en) Picture cleaning method and system and intelligent device
CN109919924A (en) A method of suitable for high-volume HE dyeing picture cell number wordization processing

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
ASS Succession or assignment of patent right

Owner name: YAO XUEWEN

Free format text: FORMER OWNER: SHENZHEN IMAGE TECHNOLOGY CO., LTD.

Effective date: 20111115

C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20111115

Address after: 518000, B402, garden city digital building, 1079 Nanhai Road, Guangdong, Shenzhen, Nanshan District

Applicant after: Yao Xuewen

Address before: 518000, B402, garden city digital building, 1079 Nanhai Road, Guangdong, Shenzhen, Nanshan District

Applicant before: MYT-Image Technology (Shenzhen) Co., Ltd.

C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20110601