This application claims the benefit of Taiwan application Serial No. 94113157, filed on Apr. 25, 2005, the subject matter of which is incorporated herein by reference.
1. Field of the Invention
The invention relates in general to a method for scanning and processing a negative film and apparatus using the same, and more particularly to a method for scanning and processing a negative film in which scan images are calibrated according to a predetermined calibration curve, and apparatus using the same.
2. Description of the Related Art
In digital image processing technology, color calibration is performed on reflective documents and positive films by using the corresponding Kodak IT8 cards. But there're no corresponding Kodak IT8 cards to do color calibration for negative films. Generally, a negative algorithm is used to eliminate the “color mask” existing in the negative film.
Due to large variations among negative films produced by different manufacturers, the negative films have no unified standards. The scanner has to repeatedly perform a cycle operation “regulate→inspect→regulate again→inspect again . . . ” so as to determine better negative characteristic parameters. Therefore, the scanner can scan different negative films to generate the corresponding final images closest to their original ones. In the process, a few tens of types of films in the market have to be inspected, and for each film, lots of types of images have to be tested, which requires large amount of work. The duration for adjusting the characteristic parameters generally lasts at least two weeks. The negative algorithm also has its application range and specific requirement on image data distribution (RGB brightness ratio) obtained by hardware. Moreover, the critical characteristic parameters are adjusted by hand and the image quality is difficult to demonstrate due to artificial decision. Especially, these negative characteristic parameters cannot completely remove variation factors existing in different types of scanners. Therefore, the same negative film will have different color display effects in different types of scanners, and an industrial standard is difficult to form.
It is therefore an object of the invention to provide a method for scanning and processing a negative film and apparatus using the same. A calibration curve is generated according to the image data obtained from a standard calibration negative film as respectively scanned by a standard scanner and the scanner in usage, and is stored beforehand in a scanner's driver or firmware. The original images generated as scanning the to-be-scanned negative film are calibrated by the calibration curve to generate calibration images and a negative algorithm is performed on the calibration images by using the negative characteristic parameters of the standard scanner to obtain the final images. Consequently, not only research-and-development duration of the negative-film scanner can be reduced, but the quality of negative scan images can also be improved.
The invention achieves the above-identified object by providing a method for scanning and processing a negative film used in a scanner. The method includes scanning the negative film to generate an original image; performing a calibration algorithm on the original image according to a calibration curve, wherein the calibration curve is a mapping relation between a standard original image and a standard calibration image generated from a standard calibration negative film as scanned respectively by the scanner and a standard scanner; and performing a negative algorithm on the calibration image by using negative characteristic parameters of the standard scanner to generate a final image.
The invention achieves the above-identified object by providing an apparatus for scanning and processing a negative film including a scan unit, an image calibration unit, and a data processing unit. The scan unit is for scanning the negative film to generate original image data. The image calibration unit, connected to the scan unit, is for compensating the original image data and outputting calibration image data according to a calibration curve. The calibration curve is a mapping relation between standard original image data and standard calibration image data generated from a standard calibration negative film as scanned respectively by the scanner and a standard scanner. The data processing unit, connected to the image calibration unit, is for performing a negative algorithm on the calibration image data by using negative characteristic parameters of the standard scanner to generate final image data.
Other objects, features, and advantages of the invention will become apparent from the following detailed description of the preferred but non-limiting embodiments. The following description is made with reference to the accompanying drawings.
Refer to
The function of the scan unit 210 can be provided by a scanner while that of the image calibration unit 220 and the data processing unit 230 can be provided by a computer, or the function of the scan unit 210 and the image calibration unit 220 can be provided by a scanner while that of the data processing unit is provided by a computer, or the data processing unit 230 can be a scanner, or the function of the scan unit 210, the image calibration unit 220 and the data processing unit 230 can be also provided completely by a scanner.
Referring to
The above-mentioned calibration-curve forming algorithm 350 is a process of mapping the average brightness values of red/green/blue pixels in each color block of the standard original image 330 to the average brightness values of red/green/blue pixels in the corresponding color block of the standard calibration image 340. For example, the calibration curve Lc can be obtained by opening the standard original image 330 in photoshop software and carefully regulating the image 330 by using the curve regulation function until the image 330 is very close to the standard calibration image 340. Or the calibration-curve forming algorithm can also be performed by matlab software without using the photoshop software. Or the calibration-curve forming algorithm 350 can also be performed by a self-developed tool.
Referring to
Referring to
The above-mentioned calibration algorithm 430 is a process of mapping the RGB pixel brightness averages {Rs1, Rs2, . . . , Rs264}, {Gs1, Gs2, . . . Gs264} and {Bs1, Bs2, . . . Bs264} in 264 color blocks of the original image 420 via the calibration curve Lc to obtain the required calibrated pixel brightness averages as the RGB pixel brightness averages {Rs1′, Rs2′, . . . , Rs264′}, {Gs1′, Gs2′, . . . Gs264′} and {Bs1′, Bs2′, . . . Bs264′} in the corresponding color blocks of the calibration image 440. For example, R1=128, and the corresponding R1′, which is the required pixel brightness, is 140 as mapped by the calibration curve C1 of
The method for scanning and processing a negative film and apparatus using the same according to the above-mentioned embodiment of the invention has the following advantages:
1. The invention can shorten the negative digital processing duration from two weeks to a few hours thereby effectively improving efficiency of negative scanning and processing research by using a calibration-curve forming algorithm instead of the conventional most time-consuming negative characteristic parameter adjusting procedure in the negative digital processing.
2. The negative processing method of the invention is not limited to the requirement of the hardware on the image data distribution for the conventional negative processing algorithm is not necessarily used. The negative effect variation among different types of scanners can be prevented and thus an industrial standard can be formed.
3. By choosing a better standard scanner, the negative scan image quality of the scanner having originally a poor image quality can also be improved, which is difficult to achieve by a conventional negative algorithm.
While the invention has been described by way of example and in terms of a preferred embodiment, it is to be understood that the invention is not limited thereto. On the contrary, it is intended to cover various modifications and similar arrangements and procedures, and the scope of the appended claims therefore should be accorded the broadest interpretation so as to encompass all such modifications and similar arrangements and procedures.
Number | Date | Country | Kind |
---|---|---|---|
94113157 | Apr 2005 | TW | national |