The present invention enables image distribution while maintaining privacy, using a simple configuration. An image distribution apparatus which distributes image data to which location information has been added stores information specifying an inhibited area concerning the location information and determines whether or not a location indicated by the location information added to the image data to be distributed falls within the stored inhibited area. If it is determined that the location indicated by the location information falls within the inhibited area, the image distribution apparatus distributes the image data by deleting the location information from the image data to be distributed. On the other hand, if it is determined that the location indicated by the location information falls outside the inhibited area, the image distribution apparatus distributes the image data with the location information added.
|
1. An image distribution apparatus which distributes image data to which location information has been added, comprising:
a storage unit configured to store information specifying an inhibited area concerning the location information;
an acquisition unit configured to acquire the location information added to the image data to be distributed;
a location checking unit configured to determine whether or not a location indicated by the location information acquired by said acquisition unit falls within the inhibited area stored in said storage unit; and
a distribution control unit configured to distribute the image data by deleting the location information from the image data to be distributed if said location checking unit determines that the location falls within the inhibited area and distribute the image data with the location information added if said location checking unit determines that the location falls outside the inhibited area.
9. An image distribution method for an image distribution apparatus which distributes image data to which location information has been added, the image distribution method comprising:
an acquisition step in which an acquisition unit acquires the location information added to the image data to be distributed;
a location checking step in which a location checking unit determines whether or not a location indicated by the location information acquired by the acquisition unit falls within an inhibited area concerning the location information, stored in a storage unit; and
a distribution control step in which a distribution control unit distributes the image data by deleting the location information from the image data to be distributed if the location checking unit determines that the location falls within the inhibited area, and distributes the image data with the location information added if the location checking unit determines that the location falls outside the inhibited area.
2. The image distribution apparatus according to
3. The image distribution apparatus according to
4. The image distribution apparatus according to
an image registration unit in which image data is registered; and
a pattern checking unit configured to determine whether or not the image data to be distributed contains a pattern which matches a pattern contained in the image data registered in said image registration unit, wherein
even if said location checking unit determines that the location falls within the inhibited area, said distribution control unit distributes the image data with the location information added without deleting the location information from the image data to be distributed if said pattern checking unit determines that the image data to be distributed does not contain a pattern which matches a pattern contained in the image data registered in said image registration unit.
6. The image distribution apparatus according to
a recipient registration unit in which a recipient address is registered;
an address checking unit configured to determine whether or not a recipient address of the image data to be distributed matches a recipient address registered in said recipient registration unit, wherein
even if said location checking unit determines that the location falls within the inhibited area, said distribution control unit distributes the image data with the location information added without deleting the location information from the image data to be distributed if said address checking unit determines that the recipient address of the image data to be distributed matches the recipient address registered in said recipient registration unit.
7. The image distribution apparatus according to
an image registration unit in which image data is registered;
a recipient registration unit in which a recipient address is registered;
a pattern checking unit configured to determine whether or not the image data to be distributed contains a pattern which matches a pattern contained in the image data registered in said image registration unit; and
an address checking unit configured to determine whether or not a recipient address of the image data to be distributed matches a recipient address registered in said recipient registration unit, wherein
said distribution control unit deletes the location information from the image data to be distributed if said location checking unit determines that the location falls within the inhibited area, said pattern checking unit determines that the image data to be distributed contains a pattern which matches a pattern contained in the image data registered in said image registration unit, and said address checking unit determines that a recipient address of the image data to be distributed matches a recipient address registered in said recipient registration unit.
8. The image distribution apparatus according to
an image registration unit in which image data is registered;
a recipient registration unit in which a recipient address is registered;
a pattern checking unit configured to determine whether or not the image data to be distributed contains a pattern which matches a pattern contained in the image data registered in said image registration unit;
an address checking unit configured to determine whether or not a recipient address of the image data to be distributed matches a recipient address registered in said recipient registration unit; and
a setting unit configured to create a logic operation using at least any of checking results produced by said location checking unit, said pattern checking unit, and said address checking unit, wherein
by applying the checking results produced by said location checking unit, said pattern checking unit, and said address checking unit to the logic operation created by said setting unit, said distribution control unit deletes the location information from the image data to be distributed if a result of the logic operation is true.
10. A computer readable storage medium storing a program which makes a computer execute each of the steps of the image distribution method according to
|
1. Field of the Invention
The present invention relates to an image distribution apparatus and image distribution method which distribute image data.
2. Description of the Related Art
Recently, digital cameras equipped with a GPS (Global Positioning System) function have appeared on the market. Such a digital camera allows location information to be added to shot images. Also, there is application software which displays the images to which location information has been added on a map. Besides, it has recently become possible to distribute images to many people by uploading the images onto a server. Consequently, it is pointed out that location information added to the images may cause infringement on the privacy of the photographer or photographed person.
Under these circumstances, Japanese Patent Laid-Open No. 2008-027336 (hereinafter referred to as Document 1) proposes to put restrictions on publication of images to protect privacy by managing image data and location information in different databases. On the other hand, Japanese Patent Laid-Open No. 2004-343627 (hereinafter referred to as Document 2) proposes to delete all additional information of images including location information before uploading the images onto a server.
However, the technique in Document 1 has a problem of increased costs because of the need to prepare two databases (database for image data and database for location information). Also, the technique in Document 2 deletes, from the images, not only the location information, but also additional information which the user wants to publish. That is, the conventional techniques cannot distribute images while protecting privacy, using a simple configuration.
The present invention has been made in view of the above problems and provides an image distribution apparatus and method, one preferred embodiment of which enables image distribution while maintaining privacy, using a simple configuration.
According to one aspect of the present invention, there is provided an image distribution apparatus which distributes image data to which location information has been added, comprising: a storage unit configured to store information specifying an inhibited area concerning the location information; an acquisition unit configured to acquire the location information added to the image data to be distributed; a location checking unit configured to determine whether or not a location indicated by the location information acquired by the acquisition unit falls within the inhibited area stored in the storage unit; and a distribution control unit configured to distribute the image data by deleting the location information from the image data to be distributed if the location checking unit determines that the location falls within the inhibited area and distribute the image data with the location information added if the location checking unit determines that the location falls outside the inhibited area.
Furthermore, according to another aspect of the present invention, there is provided an image distribution method for an image distribution apparatus which distributes image data to which location information has been added, the image distribution method comprising: an acquisition step in which an acquisition unit acquires the location information added to the image data to be distributed; a location checking step in which a location checking unit determines whether or not a location indicated by the location information acquired by the acquisition unit falls within an inhibited area concerning the location information, stored in a storage unit; and a distribution control step in which a distribution control unit distributes the image data by deleting the location information from the image data to be distributed if the location checking unit determines that the location falls within the inhibited area, and distributes the image data with the location information added if the location checking unit determines that the location falls outside the inhibited area.
Further features of the present invention will become apparent from the following description of exemplary embodiments with reference to the attached drawings.
Embodiments of the present invention will be described below in detail with reference to the accompanying drawings.
A configuration example of an entire system according to the present embodiment is shown in
Next, a structure of image data used in the present embodiment will be described. According to the present embodiment, it is assumed that the image data is contained in a “JPEG file” in JPEG format and that additional information is in Exif format, but these are not restrictive.
As shown in
Section 306 (APP1 marker) stores data which indicates the top of the application marker segment 303. In the present example, the character string “FFE1” is recorded in section 306. Section 307 (APP1 Length) stores size of the application marker segment 303. Section 308 stores a code (Exif identification code) used to identify Exif additional information. Section 309 records a TIFF header, that is, an offset which indicates head position of IFD data in an IFD (Image File Directory) structure described later with reference to
Field 404 stores a tag name (a number which represents an item of attribute information, according to the present embodiment). Field 405 stores format information which represents data type of attribute information. Examples of the data type of the attribute information include 1-byte data, 2-byte data, character string, and fraction. Field 406 stores component count which represents how many data items of the type specified in field 405 (format) are contained in one tag. For example, if the attribute information is given as character string data of 20 characters, “character string” is recorded in field 405 (format) and “20” is recorded in field 406 (component count). Also, for example, if the attribute information contains two items of 2-byte data, “2-byte data” is recorded in field 405 (format) and “2” is recorded in field 406 (component count).
Field 407 (data or offset) stores the attribute information itself or data which represents an offset from the top of the TIFF header recorded in section 309. Field 407 has a 4-byte fixed length. Consequently, if the attribute information is too large to be stored in 4 bytes, the attribute information is recorded at an address (field 403) indicated by the offset from the top of the TIFF header in section 309. In this case, value of the offset from the TIFF header in section 309 is recorded in field 407 (data or offset).
An example of how location information is recorded in an image file will be described below. According to the present embodiment, location information to be recorded is given in terms of longitude and latitude (e.g., 50° 13′ north latitude and 140° 48′ east longitude) and recorded in IFD (GPS IFD) format in the image file. The location information is recorded in field 402. In this case, a tag which indicates location information is recorded in field 404 (tag name) of field 402 (tag). In this example, a numerical value of 0x8825 is recorded. The data format (GPS IFD, in this example) of the location information is recorded in field 405 (format). Since the Exif standard prescribes that the data type of GPS IFD location information is 4-byte data, a numerical value of “4” is entered in field 406 (component count). The offset from the top of the TIFF header in section 309 is recorded in field 407 (data or offset). That is, the location information is recorded in GPS IFD format at an address separated from the top of the TIFF header stored in section 309 by a distance equal to a byte count recorded in field 407 (data or offset).
The GPS IFD also has the structure shown in
Incidentally, the image data used in the present embodiment is not limited to JPEG files in Exif format as long as additional information such as location information can be added to the image data.
A process flow for registering an inhibited area in the table 600 will be described below with reference to
In step S701, the CPU 102 accepts inputs of latitude, longitude, radius, and comment from the user. As described above, to enter the latitude and longitude, a GPS signal is used or the user is allowed to specify a desired location on a displayed map. On the other hand, the radius and comment are entered by the user via the boxes 502 and 503, respectively. Next, in step S702, the CPU 102 determines whether or not any button has been pressed. If it is determined in step S702 that a button has been pressed, the CPU 102 goes to step S703. If it is determined in step S702 that no button has been pressed, the CPU 102 repeats steps S701 and S702 until a button is pressed. In step S703, the CPU 102 determines whether the pressed button is the Set button 505. If it is determined in step S703 that the pressed button is the Set button 505, the CPU 102 goes to step S704 to add a new record containing the latitude, longitude, radius, and comment entered in step S701 to the end of the table 600. It is assumed that the table 600 is recorded in the secondary storage device 104. On the other hand, if it is determined in step S703 that the Cancel button 504 has been pressed, the CPU 102 finishes the process right away.
In step S801, the CPU 102 acquires the location information added to the image to be distributed. In step S802, the CPU 102 acquires a record containing an inhibited area from the table 600. In steps S803 and S804, the CPU 102 carries out location checking to determine whether the location indicated by the location information acquired from the image to be distributed falls within the inhibited area stored in the table 600. In step S803, the CPU 102 calculates a distance D between the location indicated by the location information acquired in step S801 and the location (center location) of the inhibited area acquired in step S802. A method for determining distance between two points whose latitude and longitude are known will be described below.
For example, if a location (point A) prerecorded in the table is 50° 45′ north latitude and 130° 12′ east longitude and the current location (point B) is 50° 34′ north latitude and 129° 58′ east longitude and if a difference in a latitudinal direction is Δny and a difference in a longitudinal direction is Δnx,
Δny=11′→0.183°
Δnx=14′→0.233°
It is assumed here that the earth is perfectly spherical and that the radius of the earth is R (=6378 km). If distance difference in the latitudinal direction is Δy and distance difference in the longitudinal direction is Δx, then Δy and Δx are given by the equations below.
Δy=0.183°/360°×2πR=20.37 km
Δx=0.233°/360°×2πR=25.94 km
Thus, the distance D between two points A and B is given by the equation below.
D=√(Δx2+Δy2)=32.98 km
In step S804, the CPU 102 makes a comparison to determine whether the distance D determined in step S803 is smaller than a radius r of the inhibited area registered in the table 600. If it is determined in step S804 that the distance D is smaller than the radius r registered in the table 600, the location indicated by the location information of the image to be distributed falls within the inhibited area. When a location falls within this range, the location information about the location must not be added to the image to be distributed. Thus, in step S805, the CPU 102 deletes the location information from the image. Then, the CPU 102 goes to step S808 to upload the image onto the server (or deliver the image to an appropriate recipient).
If it is determined in step S804 that the distance D is larger than the radius r of the inhibited area, the CPU 102 goes to step S806. In step S806, the CPU 102 determines whether all the records registered in the table 600 in
As described above, the first embodiment can protect the privacy of the photographer or photographed persons in an image containing location information concerning a specified inhibited area even if the user does not go to the trouble of making privacy protection settings before distribution.
Although in the first embodiment, the inhibited area is specified as the range of a circle defined by a center location and radius, the method for specifying the range is not limited to the use of a circle. As an example of another range specification method, a method described in the second embodiment specifies a range using a rectangle defined by a center location, distance from the center location in an east-west direction, and distance from the center location in a north-south direction.
A setting screen used to set an inhibited area according to the second embodiment is shown in
According to the second embodiment, the inhibited area is set as shown in
A registration process of an inhibited area according to the second embodiment will be described below with reference to
In step S1203, the CPU 102 determines whether or not the pressed button is the Set button 505. If it is determined in step S1203 that the pressed button is the Set button 505, the CPU 102 goes to step S1204. In step S1204, the CPU 102 adds record 1010 containing the latitude, longitude, distance in the east-west direction, distance in the north-south direction, and comment specified on the setting screen 901 to the end of the table 1000. The table 1000 is stored in the secondary storage device 104. On the other hand, if it is determined in step S1203 that the Cancel button 504 has been pressed, the CPU 102 finishes the process without doing anything.
Now, image distribution control according to the second embodiment will be described below with reference to
If it is determined in step S1304 that the longitudinal difference Dx is smaller than the distance rx in the east-west direction, the CPU 102 goes to step S1305. In step S1305, the CPU 102 calculates a latitudinal difference Dy between the location indicated by the location information acquired in step S1301 and the center location acquired in step S1302. In step S1306, the CPU 102 makes a comparison to determine whether the latitudinal difference Dy determined in step S1305 is smaller than the distance ry in the north-south direction acquired in step S1302. If it is determined in step S1306 that the latitudinal difference Dy is smaller than the distance ry in the north-south direction, it follows that the location indicated by the location information added to the image to be distributed falls within the inhibited area such as shown in
If it is determined in step S1304 that “the longitudinal difference Dx≧the distance rx in the east-west direction” or if it is determined in step S1306 that “the latitudinal difference Dy≧the distance ry in the north-south direction,” the CPU 102 goes to step S1308. In step S1308, the CPU 102 determines whether all the records in the table 1000 have been checked. If it is determined in step S1308 that all the records have been checked, the CPU 102 goes to step S1310. If it is determined in step S1308 that all the records in the table 1000 have not been checked, the CPU 102 goes to step S1309 to select a next record in the table 1000. Then, the CPU 102 returns to step S1302.
As described above, the second embodiment can protect the privacy of the photographer or photographed persons in an image shot in a specified rectangular area even if the user does not go to the trouble of making privacy protection settings before distribution, as in the case of the first embodiment.
According to the first and second embodiments, when the location indicated by the location information added to the image to be distributed falls within an inhibited area, the image is distributed with the location information deleted. According to the third embodiment, even when the location indicated by the location information in the image falls within an inhibited area, the location information is not deleted if a predetermined condition is satisfied. As an example of the predetermined condition, according to the third embodiment, the location information is not deleted if the image does not contain a preregistered pattern (the location information is deleted only when the image contains the preregistered pattern). In the following description, a human face is registered as an example of the pattern.
It is assumed that a facial recognition program is stored in the read-only memory 107 of the information processing apparatus 100, allowing the CPU 102 to identify faces in the image on an individual basis. A setting screen used by the user to enter inputs for image registration in the third embodiment is shown in
Procedures for registering an image in the image list 1500 will be described below with reference to
Now, image distribution control according to the third embodiment will be described below with reference to
Steps S801 to S808 are the same as those described in the first embodiment (
If it is determined in step S1703 that the two images show an identical person, the CPU 102 deletes the location information from the image in step S805. Then, the CPU 102 goes to step S808. If it is determined in step S1703 that the two images do not show any identical person, the CPU 102 determines in step S1704 whether all the records in the image list 1500 have been checked. If it is determined in step S1704 that all the records in the image list 1500 have been checked, the CPU 102 goes to step S808. If it is determined in step S1704 that all the records in the image list 1500 have not been checked, the CPU 102 goes to step S1705 to select a next record in the image list 1500. Then, the CPU 102 returns to step S1701.
Thus, even if location information added to an image indicates a location within a specified inhibited area, the image can be distributed without deleting the location information if a registered person (face) is not shown in the image.
Although the third embodiment uses the inhibited area according to the first embodiment, needless to say, the inhibited area described in the second embodiment may be used alternatively.
With the configuration described above, even if location information added to an image indicates a location within a specified inhibited area, the location information is not deleted if the image does not show a registered face, but the presence or absence of a registered face may be handled in an opposite manner. Specifically, in a conceivable configuration, even if location information added to an image indicates a location within a specified inhibited area, the image can be distributed without deleting the location information if a registered person (face) is shown in the image. Also, when an image registered by image registration contains multiple faces, various methods are conceivable, including, for example:
(1) To delete the location information from the image to be distributed if a face detected in the image matches any one of the multiple faces, and
(2) To delete the location information from the image to be distributed if faces detected in the image match all the multiple faces.
According to the third embodiment, even when the location indicated by the location information in the image falls within an inhibited area, the location information is not deleted if a predetermined condition is satisfied. An example of the predetermined condition has been that the image does not contain a preregistered pattern. According to the fourth embodiment, the predetermined condition is whether or not the recipient (publication site) has been preregistered. According to the fourth embodiment, even when the location indicated by the location information in the image falls within an inhibited area, the location information is not deleted if the recipient has been preregistered. Thus, if familiar persons are registered as recipients in advance, images can be distributed to the familiar persons with the location information added.
An example of a setting screen according to the fourth embodiment is shown in
A registration process of the address list 1900 will be described below with reference to
Now, image distribution control according to the fourth embodiment will be described below with reference to
As described above, according to the fourth embodiment, even when the location indicated by added location information falls within an inhibited area, the image can be distributed with the location information added if the image is distributed to a preregistered recipient.
Although the fourth embodiment uses the inhibited area according to the first embodiment, needless to say, the inhibited area according to the second embodiment may be used alternatively. Also, the fourth embodiment may be configured such that even when the location indicated by added location information falls within an inhibited area, the image can be distributed with the location information added if the recipient has not been registered.
Preferred embodiments of the present invention have been described in detail above. Nevertheless, the present invention is not limited to these specific embodiments and the invention can be achieved through various other embodiments without departing from the spirit and scope of the invention. Parts of the embodiments described above may be combined as appropriate. For example, it is apparent that exception handling of the third embodiment and exception handling of the fourth embodiment may be used at the same time.
This will be described more specifically. In the first to fourth embodiments, conditions A to C below are used to determine whether to delete location information.
A: The photographed site is within a registered range (first and second embodiments)
B: The photographic image contains the face of a specific person (third embodiment)
C: The destination of the photographic image is a registered address (fourth embodiment)
In the first and second embodiments, location information is deleted when condition A is true. In the third embodiment, location information is deleted when “condition A condition B” is true ( represents logical AND). In the fourth embodiment, location information is deleted when “condition A condition C” is true ( represents logical NOT).
To delete location information, conditions A to C can be used in any appropriate combination. For example, location information may be configured to be deleted when “condition A condition B condition C” is true (i.e., the photographed site is within a registered range, the photographic image contains the face of a specific person, and the destination of the photographic image is not a registered address). Processing procedures for that will be apparent to those skilled in the art from the flowcharts in
Also, location information may be configured to be deleted when “condition A (condition B condition C)” is true (i.e., the photographed site is within a registered range, and the photographic image contains the face of a specific person or the destination of the photographic image is not a registered address). Furthermore, location information may be configured to be deleted when “condition A condition B” is true (i.e., the photographed site is within a registered range and the photographic image does not contain the face of a specific person) or location information may be configured to be deleted when “condition B condition C” is true (i.e., the photographic image contains the face of a specific person and the destination of the photographic image is not a registered address).
Also, as the conditions for determining whether to delete location information, the user may be allowed to specify a desired combination of conditions A, B, and C described above. Specifically, the user may be allowed to create a logic operation of conditions A, B, and C and location information may be deleted when the result of the logic operation is true.
Aspects of the present invention can also be realized by a computer of a system or apparatus (or devices such as a CPU or MPU) that reads out and executes a program recorded on a memory device to perform the functions of the above-described embodiment(s), and by a method, the steps of which are performed by a computer of a system or apparatus by, for example, reading out and executing a program recorded on a memory device to perform the functions of the above-described embodiment(s). For this purpose, the program is provided to the computer for example via a network or from a recording medium of various types serving as the memory device (e.g., computer-readable storage medium).
While the present invention has been described with reference to exemplary embodiments, it is to be understood that the invention is not limited to the disclosed exemplary embodiments. The scope of the following claims is to be accorded the broadest interpretation so as to encompass all such modifications and equivalent structures and functions.
This application claims the benefit of Japanese Patent Application Nos. 2009-253524, filed Nov. 4, 2009 and 2010-214336, filed Sep. 24, 2010, which are hereby incorporated by reference herein in their entirety.
Patent | Priority | Assignee | Title |
Patent | Priority | Assignee | Title |
5982912, | Mar 18 1996 | Kabushiki Kaisha Toshiba | Person identification apparatus and method using concentric templates and feature point candidates |
7327386, | May 19 2003 | Canon Kabushiki Kaisha | Image capture apparatus and method for transmitting captured image without predetermined additional information |
20110292231, | |||
JP2004343627, | |||
JP2008027336, | |||
JP9251534, |
Executed on | Assignor | Assignee | Conveyance | Frame | Reel | Doc |
Oct 27 2010 | MIZUNO, TAKASHI | Canon Kabushiki Kaisha | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 025838 | /0963 | |
Oct 29 2010 | Canon Kabushiki Kaisha | (assignment on the face of the patent) | / |
Date | Maintenance Fee Events |
Jan 26 2017 | M1551: Payment of Maintenance Fee, 4th Year, Large Entity. |
Mar 29 2021 | REM: Maintenance Fee Reminder Mailed. |
Sep 13 2021 | EXP: Patent Expired for Failure to Pay Maintenance Fees. |
Date | Maintenance Schedule |
Aug 06 2016 | 4 years fee payment window open |
Feb 06 2017 | 6 months grace period start (w surcharge) |
Aug 06 2017 | patent expiry (for year 4) |
Aug 06 2019 | 2 years to revive unintentionally abandoned end. (for year 4) |
Aug 06 2020 | 8 years fee payment window open |
Feb 06 2021 | 6 months grace period start (w surcharge) |
Aug 06 2021 | patent expiry (for year 8) |
Aug 06 2023 | 2 years to revive unintentionally abandoned end. (for year 8) |
Aug 06 2024 | 12 years fee payment window open |
Feb 06 2025 | 6 months grace period start (w surcharge) |
Aug 06 2025 | patent expiry (for year 12) |
Aug 06 2027 | 2 years to revive unintentionally abandoned end. (for year 12) |