Camera body and interchangeable lens of a digital camera

Information

  • Patent Application
  • 20030048374
  • Publication Number
    20030048374
  • Date Filed
    September 04, 2002
    21 years ago
  • Date Published
    March 13, 2003
    21 years ago
Abstract
In a digital camera 1, an interchangeable lens 3 is attachable to a camera body 2, and a lens ROM 30 is provided in the interchangeable lens 3. In the lens ROM 30, an ICC profile which is color compensate information particular to the interchangeable lens 3 is recorded. When photographing is performed with the interchangeable lens 3 attached, the ICC profile is associated with the obtained image data. Consequently, color compensate information can be set for each kind of interchangeable lens, so that color compensation reflecting the characteristic of the interchangeable lens can be appropriately performed on the image data.
Description


[0001] This application is based on application No. 2001-268565 filed in Japan the content of which is hereby incorporated by reference.


BACKGROUND OF THE INVENTION

[0002] 1. Field of the Invention


[0003] The present invention relates to a technology of a digital camera having an interchangeable lens and a camera body to which the interchangeable lens is attachable.


[0004] 2. Description of the Related Art


[0005] A method for improving the color reproducibility, on a monitor, a printer and the like, of image data obtained by a digital camera uses color compensate information.


[0006] For example, in a lens-interchangeable single lens reflex digital camera, color compensate information determined for each kind of interchangeable lens is stored in the camera body, and the color reproduction characteristic that varies among interchangeable lenses is compensated for by selecting the color compensate information corresponding to the kind of the interchangeable lens attached to the camera body.


[0007] In this camera, however, since the color compensate information stored in the camera body is used, in a case where a new interchangeable lens is provided after the camera body is provided, the color compensate information of the new interchangeable lens cannot be obtained from the camera body, so that color compensation reflecting the characteristic of the interchangeable lens cannot be performed.


[0008] Moreover, there are various kinds of interchangeable lenses and some of telephoto lenses and wide angle lenses incorporate a filter. In that case, although it is necessary to consider the characteristic of the filter when color compensation of image data is performed, since the above-described camera has no color compensate information on the filter characteristic, an interchangeable lens having a built-in filter cannot be used when accurate color compensation is required.



SUMMARY OF THE INVENTION

[0009] The present invention is made in view of the above-mentioned problem, and an object thereof is to obtain a technology of a digital camera capable of appropriately performing color compensation reflecting the characteristic of the interchangeable lens on the image data.


[0010] To attain the above-mentioned object, a first aspect of the invention relates to a digital camera comprising an interchangeable lens and a camera body to which the interchangeable lens is attachable, wherein the interchangeable lens comprises a memory for storing color compensate information of the interchangeable lens, and the camera body comprises: an image sensor for photographing an object and generating image data; and a controller for associating the color compensate information with the image data.


[0011] Moreover, another aspect of the invention relates to an interchangeable lens attachable to a camera body of a digital camera and comprising: an image sensor for generating image data of an object; and a controller for associating color compensate information with the image data, wherein the color compensate information of the interchangeable lens is stored in the interchangeable lens itself.


[0012] Moreover, another aspect of the invention relates to a camera body to which an interchangeable lens in which color compensate information of the interchangeable lens is stored is attachable, the camera body comprising: an image sensor for photographing an object and generating image data; a memory for storing the color compensate information for each kind of interchangeable lens; a controller for associating the color compensate information with the image data; and a determination part for determining whether or not the color compensate information is stored in the interchangeable lens attached to the camera body, wherein the controller inhibits the association of the color compensate information with the image data when the color compensate information is not stored in the lens attached to the camera body and color compensate information corresponding to the kind of the lens is not stored in the memory.


[0013] Moreover, another aspect of the invention relates to a digital camera comprising an interchangeable lens and a camera body to which the interchangeable lens is attachable, wherein a memory is provided for storing color compensate information corresponding to a kind of a filter, the interchangeable lens comprises a detector for detecting the kind of the filter set in the interchangeable lens, and the camera body comprises: an image sensor for photographing an object and generating image data; and a controller for associating the color compensate information with the image data in accordance with the kind of the filter detected by the detector.


[0014] Moreover, another aspect of the invention relates to an image processing method using a digital camera comprising an interchangeable lens and a camera body to which the interchangeable lens is attachable, the image processing method comprising: detecting a kind of a filter set in the interchangeable lens; photographing an object and generating image data before or after the detecting; associating, with the image data, color compensate information corresponding to the detected kind of the filter; and performing image processing on the image data based on the associated color compensate information.


[0015] These and other objects, advantages and features of the invention will become apparent from the following description thereof taken in conjunction with the accompanying drawings, which illustrate specific embodiments of the invention.







BRIEF DESCRIPTION OF THE DRAWINGS

[0016] In the following description, like parts are designated by like reference numbers throughout the several drawings.


[0017]
FIG. 1 is a view showing a first embodiment of the present invention and shows the structure of a relevant part of a digital camera;


[0018]
FIG. 2 shows the structure of the relevant part of the digital camera according to the first embodiment;


[0019]
FIG. 3 shows the structure of the relevant part of the digital camera according to the first embodiment;


[0020]
FIG. 4 is a view for explaining the spectral transmission characteristics of different kinds of interchangeable lenses;


[0021]
FIG. 5 is a view showing the structure of a relevant part of a lens mount;


[0022]
FIG. 6 is a functional block diagram of the digital camera;


[0023]
FIG. 7 is a view for explaining data storage of a memory card;


[0024]
FIG. 8 is a view for explaining an example of use of profiles;


[0025]
FIG. 9 is a flowchart for explaining an operation associated with a lens change in the digital camera;


[0026]
FIG. 10 is a view showing a second embodiment of the present invention and shows a cross section of an interchangeable lens;


[0027]
FIG. 11 is a cross-sectional view taken on the line A-A of FIG. 10;


[0028]
FIG. 12 is a view for explaining the spectral transmission characteristic of a yellow filter; and


[0029]
FIG. 13 is a flowchart showing an operation associated with a filter change in the digital camera.







DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0030] First Embodiment


[0031] Structure of a Relevant Part of a Digital Camera


[0032] FIGS. 1 to 3 are views showing the structure of the relevant part of a digital camera 1 according to a first embodiment. FIG. 1 is a plan view. FIG. 2 is a cross-sectional view taken on the line X-X of FIG. 1. FIG. 3 is a rear view. These views do not always strictly adhere to the third angle projection method but are arranged as required so that the structure of the relevant part of the digital camera 1 is easily understood.


[0033] The digital camera 1 has a camera body 2 having a similar structure to that of a single lens reflex camera using film, and an interchangeable lens 3 attachable to a lens mount Mt of the camera body 2.


[0034] A quick return mirror M1 pivotably supported by a support 21 in an upper rear part in the camera body 2 is disposed in a position behind the interchangeable lens 3 and on the optical axis L. Further, a focal plane shutter 22 is disposed in a position behind the mirror M1 and on the optical axis L, and a CCD 23 serving as a color area sensor is disposed behind the focal plane shutter 22.


[0035] A spatial low pass filter 24 suppressing the influence of aliasing noise at the time of sampling of an analog image signal from the CCD 23 is disposed on the front surface of the CCD 23.


[0036] A viewfinder portion 25 is disposed in a position above the mirror M1 in the camera body 2. The view finder portion 25 is provided with a pentagonal roof prism 252 above a focusing screen 251. Further, an eyepiece 253 is disposed between the prism 252 and a finder window 254. The mirror M1, the prism 252 and the eyepiece 253 constitute an optical viewfinder.


[0037] In the digital camera 1, until a shutter start button 29 is fully depressed by the user, the mirror M1 is in a regular position inclined at 45 degrees to the optical axis L as shown in FIG. 2 so that the optical flux L from the interchangeable lens 3 is directed toward the focusing screen 251. When the start button 29 is fully depressed, the mirror M1 pivots upward on the support 21 to a substantially horizontal position so that the optical path from the interchangeable lens 3 to the CCD 23 is opened.


[0038] A sub-mirror M2 is pivotably supported on the back surface of the mirror M1, and reflects an optical flux transmitted by a semitransparent portion provided in a part of the mirror M1 so that it is directed toward a focus detecting sensor 26. The focus detecting sensor 26 detects the focus state of the interchangeable lens with respect to the object so that the lens units provided in the interchangeable lens 3 are automatically driven to the in-focus position. When the mirror M1 pivots upward, the sub-mirror M2 also pivots in response thereto so as to be parallel to the back surface of the mirror M1.


[0039] A focusing motor 27 for driving the focusing lens unit included in the interchangeable lens 3 along the optical axis L is provided in the camera body 2. Further, four batteries E supplying electric power to the digital camera 1 and a memory card 9 for recording obtained image data and the like are attachable to the camera body 2.


[0040] A liquid crystal display (LCD) 31 for displaying an image obtained based on the output of the CCD 23 and a selector switch 32 for selecting a “photographing mode”, a “playback mode” or the like are provided on the back surface of the camera body 2. The photographing mode is for taking pictures or images, and the playback mode is for playing back taken images recorded on the memory card 9.


[0041] A four way key 33 is provided on the right side of the back surface of the digital camera 1, and various operations can be performed with the buttons U, D, L and R. A power switch 34 for turning on and off the digital camera 1 is provided on the back surface of the camera body 2.


[0042] The interchangeable lens 3 has a lens ROM 30 inside. In the lens ROM 30, an ICC (International Color Consortium) profile for color matching which is the color compensate information (parameter) of the interchangeable lens 3 is stored.


[0043] As shown in FIG. 4, the spectral transmission characteristics La and Lb of interchangeable lenses different in kind and material are different from each other. In FIG. 4, the horizontal axis represents the wavelength, and the vertical axis represents the transmittance. In the digital camera 1, the color reproducibility of the image data is improved by storing the ICC profile particular to the interchangeable lens in the lens ROM 30.


[0044]
FIG. 5 is a view showing the structure of a relevant part of the lens mount Mt.


[0045] The lens mount Mt to which the interchangeable lens 3 is attachable is provided with a lens driving shaft Ca and a connector Cb.


[0046] The lens driving shaft Ca is connected to the focusing motor 27, and transmits the driving force to move the lens unit in the interchangeable lens 3.


[0047] The connector Cb electrically connects the camera body 2 and the interchangeable lens 3, and this enables the ICC profile of the lens recorded in the lens ROM 30 to be transmitted to the camera body 2.


[0048] Functional Block of the Digital Camera 1


[0049]
FIG. 6 is a functional block diagram of the digital camera 1.


[0050] The CCD 23 photoelectrically converts the light image of the object formed by the interchangeable lens 3, and outputs an image signal of color components of R (red), G (green) and B (blue), that is, a signal comprising a string of pixel signals received at the pixels. That is, the CCD 23 generates image data of the object. A timing generator 41 generates various kinds of timing pulses for controlling the driving of the CCD 23.


[0051] The exposure control of the digital camera 1 is performed by adjusting by an aperture control driver 42 the aperture stop in the interchangeable lens 3 and the exposure amount of the CCD 23, that is, the charge accumulation time of the CCD 23 corresponding to the shutter speed.


[0052] The timing generator 41 generates driving control signals of the CCD 23 based on a reference clock transmitted from a timing controller 43. The timing generator 41 generates clock signals such as the accumulation start/end (exposure start/end) timing signal and signals (a horizontal synchronization signal, a vertical synchronizing signal, a transfer signal, etc.) to control the reading of the light reception signals of the pixels, and outputs the generated signals to the CCD 23.


[0053] A signal processor 44 performs predetermined analog processings on the analog image signals output from the CCD 23. The signal processor 44 having a CDS (correlation double sampling) circuit and an AGC (automatic gain control) circuit reduces the noise of the image signal by the CDS circuit and adjusts the level of the image signal by adjusting the gain of the AGC circuit.


[0054] An analog to digital (A/D) converter 45 converts the pixel signals of the image signal into 12-bit digital signals. The A/D converter 45 converts the analog pixel signals into 12-bit digital signals based on a clock for A/D conversion input from the timing controller 43.


[0055] The timing controller 43 generating clocks for the timing generator 41 and the A/D converter 45 is provided. The timing controller 43 is controlled by a reference clock in an overall controller 40.


[0056] A black level correction circuit 46 corrects the black levels of the A/D converted pixel signals to a reference black level. A white balance (WB) circuit 47 converts the levels of the pixel data of the color components of R, G and B. The WB circuit 47 converts the levels of the pixel data of the color components of R, G and B by use of a level conversion table input from the overall controller 40. The parameter of each color component of the level conversion table, that is, the characteristic inclination is automatically or manually set for each taken image by the overall controller 40.


[0057] A color compensation circuit 48 associates the ICC profile of the attached interchangeable lens 3 and the ICC profile for compensating for the color reproduction characteristic particular to the camera body 2 with image data obtained by the CCD 23. Color compensation of the image data can be performed based on the associated ICC profile. An image memory 49 is for storing the pixel data output from the color compensation circuit 48. A VRAM 50 is a buffer memory of the image data displayed on the LCD 31. A back light 51 supplies light to the LCD 31 from the rear.


[0058] In the playback mode of the digital camera 1, the image data read out from the memory card 9 undergoes predetermined signal processings at the overall controller 40, is transferred to the VRAM 50, and is then displayed on the LCD 31.


[0059] A card I/F 52 is an interface for performing writing/reading of image data onto/from the memory card 9. A communication I/F 53 is an interface for external connection enabling communication with a personal computer 8. The communication I/F 53 is in conformity with, for example, the USB standard. Control programs recorded on recording media such as the memory card 9 and CD-ROMs can be taken in a memory of the overall controller 40 through the card I/F 52 and the communication I/F 53.


[0060] An operation portion 54 includes the selector switch 32 and the four way key 33.


[0061] An RTC 55 is a clock circuit for managing the date and time of photographing, and is driven by a non-illustrated another power source.


[0062] A camera operation portion 56 includes the shutter start button 29, the power switch 34 and the like associated mainly with photographing of the digital camera 1.


[0063] The shutter start button 29 is a two-stroke switch where a half depressed condition (S1 on) and a fully depressed condition (S2 on) can be detected. When the shutter start button 29 is half depressed, that is, brought to the S1 on condition during standby, lens driving for automatic focusing is performed by the AF motor 27.


[0064] The overall controller 40 has a CPU and a memory (RAM 40a), and is organically connected to the above-described elements of the digital camera 1 to perform centralized control of the operation of the digital camera 1. The overall controller 40 also has a ROM 40b. In the ROM 40b are stored the ICC profile of the camera body 2 and the ICC profiles P1, P2, . . . and Pn of a number, “n”, of kinds of interchangeable lenses with which photographing can be performed when they are attached to the camera body 2.


[0065] A camera control CPU 57 is connected to the overall controller 40 so that transmission is possible, and is mainly for processing the user's operation on the digital camera 1.


[0066] In the photographing mode, when a photographing instruction, that is, an exposure start instruction is provided by the shutter start button 29, the overall controller 40 generates (1) a thumbnail image and (2) a compressed image, compressed with a set compression ratio by the JPEG method, of the image taken in the image memory 49 upon the photographing instruction. Further, the overall controller 40 stores these images into the memory card 9 together with information such as tag information (the frame number, the exposure value, the shutter speed, the compression ratio, the date of photographing, data on on/off of the electronic flash at the time of photographing, scene information, the result of image determination, etc.) of the taken image.


[0067] In the memory card 9, as shown in FIG. 7, compressed images of images recorded by the digital camera 1 can be stored, and in each frame, a part of tag information is provided and a JPEG-compressed high resolution image signal (1600×1200 pixels) and an image signal (80×60 pixels) for thumbnail display are recorded. In the part of tag information, a lens profile 91 of the interchangeable lens 3 and a camera profile 92 of the camera body 2 are stored so as to be associated with image data.


[0068]
FIG. 8 is a view for explaining an example of use of the profiles.


[0069] The image data Dt obtained by the digital camera 1, the ICC profile PFa of the interchangeable lens 3 associated with the image data Dt and the ICC profile PFb of the camera body 2 are input to the personal computer 8, for example, through the memory card 9. Then, after color compensation reflecting the color compensate information of the ICC profiles PFa and PFb is performed on the image data Dt by an image display application Ap launched on a personal computer main unit 8a, the process shifts to a gamut adjustment processing Gm. In the gamut adjustment processing Gm, image processing reflecting the ICC profile PFc of a display 8b is performed, and an image having appropriate color reproducibility is displayed on the display 8b.


[0070] The use of the profile of the interchangeable lens 3 is not limited to the case where display is provided on the display 8b, but the profile may be used at the time of printing. Further, the use is not limited to the use on the personal computer 8, but the profile may be used for image display on the LCD 31 of the digital camera 1.


[0071] Operation of the Digital Camera 1


[0072]
FIG. 9 is a flowchart for explaining an operation associated with a lens change in the digital camera 1. This operation is automatically performed by the controller 40 when a lens change is detected.


[0073] At step ST1, the kind of the interchangeable lens 3 attached to the camera body 2 is recognized. At this step, the kind of the interchangeable lens 3 can be recognized by the camera body 2 obtaining through the connector Cb the information on the interchangeable lens stored in the lens ROM 30 of the interchangeable lens 3.


[0074] At step ST2, whether the kind of the interchangeable lens 3 is unknown or not is determined based on the operation at step ST1. At this step, the kind of the interchangeable lens 3 is determined to be unknown when the lens ROM 30 is absent in the interchangeable lens 3 or when the camera body 2 cannot recognize the kind of the interchangeable lens 3 although the lens ROM 30 is present. When the kind of the interchangeable lens 3 is unknown, the process proceeds to step ST3. When the kind is not unknown, the process proceeds to step ST4.


[0075] At step ST3, association of the ICC profile of the lens with the image data obtained by the digital camera 1 is inhibited. That is, when photographing is performed with the currently attached interchangeable lens, the color compensate information of the lens is not associated with the image data. This is because an effective ICC profile cannot be associated with the image data since the kind of the interchangeable lens 3 is unknown.


[0076] At step ST4, it is checked whether an ICC profile of a lens is present in the lens ROM 30 of the interchangeable lens 3 or not.


[0077] At step ST5, it is determined whether the ICC profile of the interchangeable lens 3 is stored in the lens ROM 30 or not. When the profile is present, the process proceeds to step ST6. When the profile is absent, the process proceeds to step ST7.


[0078] At step ST6, setting is made to associate the lens ICC profile corresponding to the kind of the attached interchangeable lens with the image data obtained by the digital camera 1. Specifically, the ICC profile in the lens ROM 30 or the ICC profile in the ROM 40b in the camera body 2 is loaded into the RAM 40a in the camera body 2, and when the obtained image data is recorded, the lens profile 91 (FIG. 7) associated with the image data is recorded.


[0079] At step ST7, the ROM 40b of the overall controller 40 in the camera body 2 is checked.


[0080] At step ST8, it is determined whether the ICC profile of the currently attached interchangeable lens is stored in the ROM 40b in the camera body 2 or not. When the ICC profile is stored, the process proceeds to step ST6. When it is not stored, the process proceeds to step ST9.


[0081] At step ST9, like at step ST3, association of the ICC profile of the lens with the image data obtained by the digital camera 1 is inhibited. That is, when no ICC profile is stored in the interchangeable lens 3 attached to the camera body 2 and the ICC profile corresponding to the kind of the interchangeable lens is not stored in the ROM 40a of the camera body 2, association of color compensate information with image data is inhibited.


[0082] By the above-described operation of the digital camera 1, for interchangeable lenses existing at the time of shipment of the camera body 2, that is, interchangeable lenses of which ICC profiles are not stored in the interchangeable lenses, appropriate color compensation in accordance with the characteristic of the interchangeable lens can be performed with the ICC profile in the camera body 2, and for interchangeable lenses newly provided after the shipment of the camera body 2, appropriate color compensation can be performed with the ICC profile in the interchangeable lens. That is, color compensation reflecting the characteristic of the interchangeable lens can be appropriately performed for all kinds of interchangeable lenses.


[0083] In image processing in digital cameras and the like, it is desirable to perform image compensation using an ICC profile for color matching after performing white balance compensation on the image data. By doing this, color reproduction faithful to the object can be performed.


[0084] Second Embodiment


[0085] Structure of a Relevant Part of a Digital Camera


[0086] The structure of a digital camera 1A according to a second embodiment is similar to that of the digital camera 1 according to the first embodiment, but the structure of an interchangeable lens 3A is different. In the interchangeable lens 3A, a filter can be set.


[0087]
FIG. 10 is a view showing a cross section of the interchangeable lens 3A with respect to the direction of the optical axis L. FIG. 11 is a cross-sectional view taken on the line A-A of FIG. 10.


[0088] A filter portion 6 is interposed between lens units in the interchangeable lens 3A, and is rotatable on a rotation axis 61.


[0089] In the filter portion 6, three circular filters 62 to 64 are disposed, and by rotating the filter portion 6, one of the three filters 62 to 64 can be situated on the optical axis L. The filter situated on the optical axis L enables a photographing intended by the user.


[0090] Moreover, identification information for identifying the kind of the filter set on the optical axis is provided by a detector 65 provided in the interchangeable lens 3A and detecting the rotation condition of the filter portion 6. By the filter identification information being transmitted to the camera body 2, the camera body 2 can detect the kind of the selected filter.


[0091] The filter 62 is an ultraviolet (UV) filter that cuts light in the ultraviolet region, and has a spectral transmission characteristic being flat in the visible region as shown in FIG. 4, that is, with no bias in color. Another example of the filter having a spectral transmission characteristic with no bias in color is a neutral density (ND) filter.


[0092] The filter 63 is a 4 deca-mired color temperature conversion filter (LBB4) functioning as a compensation filter, and is selected by the user in consideration of the light source temperature with respect to the object.


[0093] The filter 64 is a yellow Y2 filter, and has a spectral transmission characteristic absorbing light of wavelengths not more than approximately 480 nm as shown in FIG. 12, that is, with a bias in color in the visible region.


[0094] Moreover, in the lens ROM 40a of the interchangeable lens 3A, a plurality of ICC profiles of a plurality of kinds of filters that can be set in the interchangeable lens 3A is stored.


[0095] Operation of the Digital Camera 1A


[0096] The operation of the digital camera 1A of the second embodiment is similar to that of the digital camera 1 of the first embodiment, but is different in the operation at step ST6 shown in the flowchart of FIG. 9. That is, the digital camera 1A performs an operation associated with a filter change described below instead of the operation at step ST6. This operation is performed by the controller 40 when the detector 65 detects a filter selection condition change.


[0097]
FIG. 13 is a flowchart showing the operation associated with a filter change in the digital camera 1A.


[0098] At step ST11, it is determined whether the interchangeable lens has a built-in filter or not. This determination is made, for example, based on the information stored in the lens ROM 30 of the interchangeable lens 3A. When the interchangeable lens has a built-in filter, the process proceeds to step ST12. When it has no built-in filter, the process proceeds to step ST13.


[0099] At step ST12, setting is made to associate the ICC profile of the lens with the image data obtained by the digital camera 1A. Specifically, after the ICC profile of the interchangeable lens 3A is loaded into the RAM 40a in the camera body 2, when the obtained image data is recorded, the lens profile 91 (FIG. 7) associated with the image data is recorded.


[0100] At step ST13, whether the user selects the UV filter 62 or not is determined based on the filter identification information provided by the detector 65. That is, different color compensate information is associated with the image data according to whether the filter set in the interchangeable lens 3A has a spectral transmission characteristic with no bias in color or not. When the UV filter 62 is selected, the process proceeds to step ST12. When it is not selected, the process proceeds to step ST14.


[0101] At step ST14, whether the user selects the LBB4 filter 63 or not is determined based on the filter identification information provided by the detector 65. When the LBB4 filter 63 is selected, the process proceeds to step ST15. When it is not selected, the process proceeds to step ST16.


[0102] At step ST15, setting is made to associate, with the image data obtained by the digital camera 1A, the profile for the LBB filter, that is, the color compensate information corresponding to the kind of the filter. Specifically, the ICC profile where the characteristic of the LBB4 filter is added to the lens characteristic is loaded from the lens ROM 30 into the RAM 40a in the camera body 2, and when the obtained image data is recorded, the lens profile 91 (FIG. 7) associated with the image data is recorded.


[0103] At step ST16, association of the ICC profile with the image data obtained by the digital camera 1A is inhibited. Since the yellow filter 64 which is a color filter is selected, the user's intension to photograph a yellowish image is respected and association of the ICC profile is not performed.


[0104] Since an ICC profile can be appropriately set for each filter by the above-described operation of the digital camera 1A, color compensation reflecting the filter characteristic of the interchangeable lens can be appropriately performed on the image data.


[0105] Modifications


[0106] In the interchangeable lens 3A of the second embodiment, it is not essential that selection can be made among three filters, but the interchangeable lens 3A may be one in which one filter is built-in or one to which a filter is attachable.


[0107] Further, while in the first and the second embodiments, the ICC profile of the interchangeable lens and the obtained image data are recorded being associated with each other, obtained image data on which color compensation processing associated with the ICC profile of the interchangeable lens has been performed by the color compensation circuit 48 may be recorded without the ICC profile of the interchangeable lens itself being recorded.


[0108] With respect to the color compensation, the use of the ICC profile is not essential, but another data format may be used.


[0109] The above-described concrete embodiments include a structure having the following constitutions:


[0110] (1) A digital camera wherein the color compensate information is a profile for color matching.


[0111] This enables color reproduction faithful to the object to be appropriately performed.


[0112] (2) A digital camera according to (1), wherein in the image processing, after white balance compensation on the image data is performed, image compensation using the profile for color matching is performed.


[0113] This enables color reproduction faithful to the object to be more appropriately performed.


[0114] According to the above-described constitutions, color compensate information of the interchangeable lens is stored in the interchangeable lens, and the color compensate information is associated with the image data of the object. Consequently, for any interchangeable lens, color compensation reflecting the characteristic of the interchangeable lens can be appropriately performed on the image data. That is, it is unnecessary to be conscious of the color reproduction characteristic that varies among interchangeable lenses, so that color matching is facilitated.


[0115] When color compensate information is stored in the interchangeable lens attached to the camera body, the color compensate information is associated with the image data, and when color compensate information is not stored in the interchangeable lens attached to the camera body, color compensate information corresponding to the kind of the attached interchangeable lens is associated with the image data by use of the color compensate information stored in the memory of the camera body. Consequently, for interchangeable lenses existing at the time of shipment of the camera body, appropriate color compensation in accordance with the characteristic of the interchangeable lens can be performed with the color compensate information in the camera body, and for interchangeable lenses newly provided after the shipment of the camera body, appropriate color compensation can be performed with the color compensate information in the interchangeable lens.


[0116] Moreover, by providing the memory for storing the color compensate information of the interchangeable lens in the interchangeable lens itself and associating the color compensate information with the image data in the camera body of the digital camera, it is unnecessary to be conscious of the color reproduction characteristic that varies among interchangeable lenses, so that color compensation reflecting the characteristic of the interchangeable lens can be appropriately performed on the image data.


[0117] Moreover, by storing a plurality of pieces of color compensate information of a plurality of kinds of filters among which selection can be made in the interchangeable lens, color compensation reflecting the characteristics of a plurality of kinds of filters can be appropriately performed.


[0118] Moreover, when the color compensate information is not stored in the lens attached to the camera body and the color compensate information corresponding to the kind of the lens is not stored in the memory, association of the color compensate information with the image data is inhibited. Consequently, at the time of photographing for special effect using an unspecified lens or the like, erroneous color compensation is never performed.


[0119] Moreover, the kind of the filter set in the interchangeable lens is detected, and the color compensate information is associated with the image data in the camera body in accordance with the detected kind of the filter. Consequently, color compensation reflecting the characteristic of the filter set in the interchangeable lens can be appropriately performed on the image data.


[0120] Moreover, by determining whether or not different color compensate information is associated with the image data according to whether or not the filter set in the interchangeable lens has a spectral transmission characteristic with no bias in color, image processing reflecting the user's intention can be performed.


[0121] Moreover, when the filter set in the interchangeable lens is a color filter, by inhibiting association of the color compensate information with the image data, image processing reflecting the user's intention can be performed.


[0122] Moreover, when the filter set in the interchangeable lens is a color temperature compensation filter, by associating the color compensate information corresponding to the kind of the set filter with the image data, image processing reflecting the user's intention can be performed.


[0123] Although the present invention has been fully described by way of examples with reference to the accompanying drawings, it is to be noted that various changes and modifications will be apparent to those skilled in the art. Therefore, unless otherwise such changes and modifications depart from the scope of the present invention, they should be construed as being included therein.


Claims
  • 1. A camera body to which an interchangeable lens in which color compensate information of the interchangeable lens is stored is attachable, the camera body comprising: (a) an image sensor for generating image data of an object; and (b) a controller for associating the color compensate information with the image data, wherein the controller associates the color compensate information stored in the interchangeable lens with the image data.
  • 2. A camera body according to claim 1 further comprising: (c) a memory for storing the color compensate information for each kind of interchangeable lens; and (d) a determination part for determining whether or not the color compensate information is stored in the interchangeable lens attached to the camera body, wherein the controller associates the color compensate information stored in the interchangeable lens with the image data when the color compensate information is stored the interchangeable lens attached to the camera body, and associates, with the image data, color compensate information stored in the memory and corresponding to the kind of the attached interchangeable lens when the color compensate information is not stored in the interchangeable lens attached to the camera body.
  • 3. A camera body according to claim 2, wherein the controller inhibits the association of the color compensate information with the image data when the color compensate information is not stored in the lens attached to the camera body and color compensate information corresponding to the kind of the lens is not stored in the memory.
  • 4. An interchangeable lens attachable to a camera body of a digital camera, said camera body comprising an image sensor for generating image data of an object and a controller for associating color compensate information with the image data, wherein said interchangeable lens is characterized in that, the color compensate information of the interchangeable lens is stored in the interchangeable lens itself.
  • 5. An interchangeable lens according to claim 4, further comprising a memory for storing a plurality of color compensate information of a plurality of kinds of filters among which selection can be made in the interchangeable lens.
  • 6. A camera body to which an interchangeable lens is attachable, the interchangeable lens comprises a detector for detecting kind of a filter set in the interchangeable lens, said camera body comprising: an image sensor for generating image data of an object; and a controller for associating the color compensate information with the image data in accordance with the kind of the filter detected by the detector.
  • 7. A camera body according to claim 6, wherein the controller determines whether or not different color compensate information is associated with the image data according to whether or not the filter set in the interchangeable lens has a spectral transmission characteristic with no bias in color.
  • 8. A camera body according to claim 6, wherein the controller inhibits the association of the color compensate information with the image data when the filter set in the interchangeable lens is a color filter.
  • 9. A camera body according to claim 6, wherein the controller associates color compensate information corresponding to the kind of the set filter with the image data when the filter set in the interchangeable lens is a color temperature compensation filter.
Priority Claims (1)
Number Date Country Kind
2001-268565 Sep 2001 JP