This Nonprovisional application claims priority under 35 U.S.C. § 119(a) on Patent Application No(s). 2003-149251 and 2003-152709, both filed in Japan on May 27, 2003 and May 29, 2003, respectively, the entire contents of which are hereby incorporated by reference.
1. Field of the Invention
The present invention relates to an email relay apparatus and an email relay method for relaying an email attached with a moving image to a destination. The present invention also relates to a program causing a computer to execute the email relay method.
2. Description of the Related Art
An image obtained by a digital camera, a scanner, or the like can represent 24-bit colors (that is, approximately 16.77 million colors) wherein 8 bits each are assigned to R, G, and B. However, some reproduction apparatus are capable of reproducing fewer colors such as 256 colors. Furthermore, an image format used frequently in Web sites (such as GIF or PNG) can deal with only 256 colors. Therefore, for displaying an image obtained by a digital camera or the like on a reproduction apparatus which can display fewer colors, or for converting the image into an image format such as GIF or PNG, the 16.77 million colors need to be reduced to 256 colors.
In conventional color reduction processing, palette data comprising 256 palette colors are generated for optimally representing the image to be displayed, and one of the 256 palette colors is selected from the palette data for color conversion on each pixel. In this manner, the colors in the image are reduced to the 256 colors.
Moreover, a method of generating a moving image has been proposed in Japanese Unexamined Patent Publication No. 11(1999)-259640. In this method, a moving image obtained by a digital camcorder is subjected to real-time color reduction processing, and an image having motion caused by serially changing still images (hereinafter referred to as a reduced-color moving image) is generated. In this method, frames that change at every 1/60 of a second in the moving image are subjected to the real-time color reduction processing without being skipped. Therefore, palette data are generated for every several frames instead of each frame, and the color reduction processing is carried out by using the palette data for the several frames.
Meanwhile, functions of mobile terminals such as camera-embedded mobile phones have improved remarkably, and a communication speed is also rising. Therefore, a mobile terminal has been realized that is capable of photographing a moving image, transmitting the moving image by attaching the image to an email, and reproducing desired moving image content by downloading the moving image content through access to a moving image transmission server.
In addition, an email relay server has also been proposed that can carry out appropriate image processing in accordance with the type of a terminal as a receiver of an email attached with a still image sent from a camera-embedded mobile phone (Japanese Patent Application No. 2002-214215). By using such an email relay server, the image processing can be carried out on image data to cause the image to be appropriate for a size, brightness, and colors of a display screen of the terminal, and the image data are sent to the terminal by being attached to the email.
Another system has also been proposed for sending image data (Japanese Unexamined Patent Publication No. 2002-244971). In this system, image data in accordance with models of mobile terminals are stored in an image server corresponding to a Web site, and the model of a mobile terminal that accesses the Web site is judged. The image data corresponding to the judged model are then sent to the mobile terminal.
Meanwhile, following a recent increase in the number of pixels in a display screen of a mobile terminal, a mobile terminal having a display screen that is 2×2 (in other words, 4) times larger in the number of pixels in horizontal and vertical directions is on the market. If an image appropriate for the number of pixels in such a display screen of a mobile terminal is used, the image can be displayed on the mobile terminal in higher definition.
Furthermore, in the case where an email attached with a moving image is sent to a mobile terminal, the moving image can surely be displayed thereon if the terminal is capable of moving image display. However, there are some models of mobile terminals that cannot display a moving image. Therefore, even if an email attached with a moving image having been subjected to appropriate image processing in accordance with the model of a mobile terminal as a receiver is sent to the mobile terminal, the moving image may not be displayed thereon. In this case, the moving image can be converted into a reduced-color moving image as has been described above, and sent to the mobile terminal as the receiver.
Meanwhile, regardless of an increase in the number of pixels in a display screen, capacity of a memory installed in a mobile terminal for image display is not large due to high cost or the like. For example, although the number of pixels in a display screen has achieved a fourfold increase, memory capacity has only been doubled.
In addition, a format of a reduced-color moving image such as GIF and PNG uses a compression method considering one-dimensional redundancy (that is, redundancy in only one direction of an image). Therefore, although a compression ratio can be improved in the case where pixels having the same value are aligned in one direction, the compression ratio cannot be increased for a direction orthogonal thereto.
For this reason, in the case where a reduced-color moving image of a reduced-color moving image format is sent and displayed on a display screen of a mobile terminal having a large number of pixels (hereinafter referred to as a high-resolution display screen), a data size of the image after compression can only be doubled although the number of pixels therein can be quadrupled, for example. Therefore, the data size of the image in the reduced-color moving image format needs to be decreased by degrading image quality, decreasing frames in the image to be displayed, or lowering resolution, for example. However, since the image of the reduced-color moving image format originally has only 256 displayable colors, quality of the image displayed on the mobile terminal is substantially degraded by the data size reduction despite that the mobile terminal can carry out high-definition image display.
The present invention has been conceived based on consideration of the above circumstances. An object of the present invention is therefore to enable high-quality image display wherein frames are continuously displayed one by one as in a reduced-color moving image even in the case where an email attached with a moving image is sent to a mobile terminal that is not capable of displaying the moving image.
Another object of the present invention is to enable pseudo moving image display even in the case where an email attached with a moving image is sent to a mobile terminal that is not capable of displaying the moving image.
A first email relay apparatus of the present invention is an apparatus for sending an email attached with a moving image to a terminal as a destination of the email, and the first email relay apparatus comprises:
model judgment means for judging a model of the terminal; and
moving image conversion means for converting the moving image into a multimedia image in a multimedia format in the case where the model of the terminal is not capable of moving image display but enables multimedia image display. The first email relay apparatus then sends the multimedia image instead of the moving image to the terminal.
The multimedia image in the multimedia format refers to an image in a format that enables interactive serial display of frames while causing the frames to synchronize with sound. For example, Flash™ developed by Macromedia, Inc. can be used for generating the multimedia image, which is not necessarily limited thereto. An image in a format that does not cause the image to synchronize with sound is included in the multimedia image of the multimedia format.
A Flash™ movie is a vector graphic animation to be displayed on the Web, and combines sound and animation of vector graphics. A file format called SWF is used in a Flash™ movie, and a Flash™ movie realizes interactive display of a graphic animation such as figures, photographs, and the like represented by vectors on a display screen in synchronization with sound. By using Flash™, the multimedia image wherein the frames are continuously reproduced one by one can be generated.
A Flash™ movie can deal with a reduced-color moving image in a format such as GIF or PNG. However, in the present invention, the frames are preferably compressed in a method such as JPEG that considers redundancy in two dimensions, rather than a method such as GIF or PNG that considers redundancy in only one dimension.
Sending the multimedia image instead of the moving image to the terminal refers to the case of sending the multimedia image instead of the moving image by attaching the multimedia image to the email if the terminal can receive the email without separation of the image attached thereto, and to the case of sending information (such as URL) representing where the multimedia image is temporarily stored to the terminal by attaching the information to the email while temporarily storing the multimedia image and sending later the multimedia image to the terminal in response to an instruction sent from the terminal, if the terminal cannot receive the email without separation of the image attached thereto.
In the first email relay apparatus of the present invention, the moving image conversion means may comprise:
sampling means for sampling the frames from the moving image; and
multimedia image generation means for generating the multimedia image by compressing the frames according to the compression method considering two-dimensional redundancy.
In this case, the multimedia image generation means of the first email relay apparatus of the present invention may generate the multimedia image in such a manner that it can be displayed on a display device of the terminal in accordance with a characteristic of the display device.
The characteristic of the display device refers to resolution of the display device, a data size that can be dealt with by the display device, and the number of colors that can be reproduced by the display device, for example.
Generating the multimedia image in such a manner that it can be displayed on the display device refers to generating the multimedia image in such a manner that the image can be displayed on the display device without any processing by the display device. More specifically, the number of the frames in the multimedia image, a display interval between the frames, a size of display, the number of colors to be displayed, a data size of the multimedia image, and a data size after decompression need to agree with the characteristic of the display device so that no processing is necessary for the display device.
The multimedia image generation means may comprise:
size change means for enlarging or reducing the frames according to the characteristic of the display device;
frame compression means for compressing the frames by the compression method considering two-dimensional redundancy so that the data size of the multimedia image can be dealt with by the display device; and
format compilation means for generating the multimedia image by compiling the frames compressed by the frame compression means into the multimedia format.
In the case where the multimedia image does not have the data size that can be dealt with by the display device, the frame compression means may repeat changing of a compression ratio of the frames and/or thinning of the frames until the data size of the multimedia image becomes the data size that can be dealt with by the display device.
In the first email relay apparatus of the present invention, the terminal may be a mobile terminal.
A first email relay method of the present invention is a method of sending an email attached with a moving image to a terminal as a destination of the email. The first email relay method comprises the steps of:
judging a model of the terminal;
converting the moving image into a multimedia image in a multimedia format in the case where the model of the terminal is not capable of moving image display but enables multimedia image display; and
sending the multimedia image instead of the moving image to the terminal.
The first email relay method of the present invention may be provided as a program executed by a computer. A computer readable storage medium may have a computer executable program stored thereon.
According to the first email relay apparatus and the first email relay method of the present invention, the model of the terminal as the destination of the email attached with the moving image is judged first, and moving image is converted into the multimedia image in the case where the model does not allow display of the moving image but can deal with the multimedia image in the multimedia format. The multimedia image is then sent to the terminal instead of the moving image. Therefore, even if the mobile terminal cannot display the moving image, the multimedia image enables pseudo display of the moving image in high quality.
A compression method considering two-dimensional redundancy can reduce the data size than a compression method considering one-dimensional redundancy while maintaining an image quality. Therefore, by sampling the frames from the moving image and compressing the frames according to the compression method that considers two-dimensional redundancy, the multimedia image in the multimedia format is generated. At this time, the frames sampled from the moving image are included in the multimedia image by being compressed in the compression method such as JPEG that considers two-dimensional redundancy instead of a compression method such as GIF or PNG considering one-dimensional redundancy as used for generating a reduced-color moving image. Therefore, the image to be displayed continuously frame by frame can be generated in high quality while the data size thereof can be made smaller than that of a reduced-color moving image. In this manner, the image can be displayed in high quality on the display device such as a terminal that has a high-resolution display screen.
In addition, by generating the multimedia image that is displayable on the display device according to the characteristic of the display device, the multimedia image can be displayed on the display device of the terminal without fail.
The frames can be enlarged or reduced according to the characteristic. The frames are then compressed according to the compression method considering two-dimensional redundancy so that the data size thereof can be dealt with by the display device, and complied to generate the multimedia image. In this manner, the multimedia image can be generated in consideration of the screen size and the data size that can be dealt with by the display device. Therefore, the multimedia image can be displayed on the display device of the terminal with more certainty.
The data size of the frames after the compression becomes different, depending on the fact that the frames represent simple images of a single color or complex images including detailed subjects, for example. The data size of the frames also becomes different after decompression, depending on the simplicity or complexity of the images. Therefore, the data size of the multimedia image (before and after decompression) may not become the data size that can be dealt with by the display device of the terminal in some cases, depending on how complex the frames are. In this case, by repeating procedure of the compression ratio change and/or the frame thinning until the data size can be dealt with by the display device, the multimedia image having the data size that can be dealt with by the display device of the terminal can be generated.
By using a mobile terminal as the terminal that receives the email, the multimedia image can be displayed on the mobile terminal.
A second email relay apparatus of the present invention is an apparatus for sending an email attached with a moving image to a terminal as a destination of the email, and the second email relay apparatus comprises:
model judgment means for judging a model of the terminal; and
reduced-color moving image conversion means for converting the moving image into a reduced-color moving image in the case where the model is incapable of moving image display but capable of reduced-color moving image display. The second email relay apparatus then sends the reduced-color moving image instead of the moving image to the terminal.
Sending the reduced-color moving image instead of the moving image to the terminal refers to the case of sending the reduced-color moving image instead of the moving image by attaching the reduced-color moving image to the email if the terminal can receive the email without separation of the image attached thereto, and to the case of sending information (such as URL) representing where the reduced-color moving image is temporarily stored to the terminal by attaching the information to the email while temporarily storing the reduced-color moving image and sending later the reduced-color moving image to the terminal in response to an instruction sent from the terminal, if the terminal cannot receive the email without separation of the image attached thereto.
In the second email relay apparatus of the present invention, the reduced-color moving image conversion means may comprise:
reference frame generation means for generating a reference frame that represents frames comprising the moving image;
palette data generation means for generating a palette data set including a predetermined number of colors from the reference frame;
frame sampling means for sampling, from the frames, reduced-color moving image generation frames to be used for generating the reduced-color moving image;
color reduction processing means for converting the reduced-color moving image generation frames into reduced-color moving image frames according to the palette data set; and
frame compilation means for compiling the reduced-color moving image from the reduced-color moving image frames.
In the second email relay apparatus of the present invention, the reference frame generation means may generate the reference frame from all or a part of the frames comprising the moving image.
As the part of the frames, the reduced-color moving image generation frames may be used.
A second email relay method of the present invention is a method of sending an email attached with a moving image to a terminal as a destination of the email, and the second email relay method comprises the steps of:
judging a model of the terminal;
converting the moving image into a reduced-color moving image in the case where the model is not capable of moving image display but is capable of reduced-color moving image display; and
sending the reduced-color moving image instead of the moving image to the terminal.
The second email relay method of the present invention may be provided as a program executed by a computer. A computer readable storage medium may have a computer executable program stored thereon.
According to the second email relay apparatus and the second email relay method of the present invention, the model of the terminal as the destination of the email attached with the moving image is judged first, and the moving image is converted into the reduced-color moving image and sent to the terminal instead of the moving image in the case where the model does not allow display of the moving image but can deal with the reduced-color moving image. Therefore, even if the terminal cannot display the moving image, pseudo moving image display can be realized based on the reduced-color moving image.
Furthermore, the reference frame representing the frames comprising the original moving image is generated, and the palette data set including the predetermined number of colors is generated from the reference frame. The reduced-color moving image generation frames are then sampled from the frames, and converted into the reduced-color moving image frames by using the palette data set. The reduced-color moving image frames are compiled into the reduced-color moving image. Therefore, by generating the reduced-color moving image in the above-described manner, the palette data set does not need to be generated for every several frames as in the case of the method described in Japanese Unexamined Patent Publication No. 11(1999)-259640. The only palette data set is generated and used for obtaining the reduced-color moving image from the moving image. Consequently, the reduced-color moving image can be generated without increasing a size of the apparatus.
By generating the reference frame from all or the part of the frames comprising the original moving image, the palette data set can be generated for reflecting colors of all or the part of the frames. Therefore, the reduced-color moving image can be generated without a substantial change of the colors in the original moving image.
Hereinafter, embodiments of the present invention will be explained with reference to the accompanying drawings.
The email relay server 1 comprises an email reception unit 11, a moving image separation unit 12, a model judgment unit 13, an image storage unit 14, a moving image conversion unit 15, an image attaching unit 16, a URL attaching unit 17, an email transmission unit 18, a request reception unit 19, an image reading unit 20, and an image transmission unit 21.
The email reception unit 11 receives an email E0 attached with a moving image data set M0 representing the moving image sent from the sender terminal 3.
The moving image separation unit 12 separates the moving image data set M0 from the email E0, and obtains main content E1 comprising information of the email E0 excluding the moving image data set M0. The main content E1 comprises a message and a header including various kinds of information such as a sender email address and a destination email address. The moving image separation unit 12 inputs the main content E1 and the moving image data set M0 to the model judgment unit 13.
The model judgment unit 13 judges whether or not the destination terminal 3 can carry out moving image display, based on the destination email address included in the header of the main content E1, while referring to a database 13A relating the destination email address with the model of the destination terminal 3 and to a table representing a relationship between models and formats. The model judgment unit 13 also judges whether or not the destination terminal 3 can receive the image-attached email without separating the image attached thereto.
A result of the judgment by the model judgment unit 13 is one of four cases shown below:
(1) The destination terminal 3 can carry out moving image display and can receive the image-attached email without separation of the image attached thereto.
(2) The destination terminal 3 cannot carry out moving image display but can receive the image-attached email without separation of the image attached thereto.
(3) The destination terminal 3 can carry out moving image display but cannot receive the image-attached email without separation of the image attached thereto.
(4) The destination terminal 3 cannot carry out moving image display and cannot receive the image-attached email without separation of the image attached thereto.
In the case where the result of the judgment corresponds to the case (1), the model judgment unit 13 inputs the moving image data set M0 to the image attaching unit 16 without processing by the moving image conversion unit 15. The moving image separation unit 12 inputs the main content E1 to the image attaching unit 16.
If the result corresponds to the case (2), the model judgment unit 13 inputs the moving image data set M0 to the moving image conversion unit 15, and causes the moving image conversion unit 15 to process the moving image data set M0. The moving image separation unit 12 inputs the main content E1 to the image attaching unit 16.
In the case where the result is the case (3) described above, the model judgment unit 13 inputs the moving image data set M0 to the image storage unit 14 without the processing by the moving image conversion unit 15. The moving image separation unit 12 inputs the main content E1 to the URL attaching unit 17.
If the result is the case (4), the model judgment unit 13 inputs the moving image data set M0 to the moving image conversion unit 15, and causes the moving image conversion unit to process the moving image data set M0. The moving image separation unit 12 inputs the main content E1 to the URL attaching unit 17.
The image storage unit 14 stores the moving image data set M0 and a multimedia image data set F or a reduced-color moving image data set R1 that is generated by the moving image conversion unit 15.
The moving image conversion unit 15 judges whether or not the destination terminal 3 can carry out multimedia image display in the case where the destination terminal 3 cannot carry out moving image display. If a result of this judgment is affirmative, the moving image conversion unit 15 converts the moving image data set M0 into the multimedia image data set F1. If the result is negative, the moving image conversion unit 15 converts the moving image data set M0 into the reduced-color moving image data set R1.
The moving image input unit 51 receives an input of the moving image data set M0 thereto.
The decoding unit 52 decodes the moving image data set M0 that is encoded, and generates a raw moving image data set M0′.
By referring to the table T1, the output format determination unit 53 inputs the raw moving image data set M0′ to the multimedia image generation unit 54 in the case where the destination terminal 3 can carry out multimedia image display. Otherwise, the output format determination unit 53 inputs the raw moving image data set M0′ to the reduced-color moving image generation unit 55.
The multimedia image generation unit 54 generates the multimedia image data set F1 from the raw moving image data set M0′.
The frame division unit 61 divides the raw moving image data set M0′ into image data sets of respective frames (hereinafter referred to as frame data sets Fr0). In this embodiment, 1 frame represents a part of the moving image displayed for 1/60 of a second, for example.
The coding control unit 62 controls the frame sampling unit 63 and the frame coding unit 64 so that a data size of the multimedia image data set F1 can be equal to or smaller than a data size that can be dealt with by a display device of the destination terminal 3 (hereinafter referred to as a data size K). The data size K refers to both a data size K1 at the time of dealing with image data in compression and a data size K2 at the time of dealing with image data after decompression.
The frame sampling unit 63 samples frame data sets Fr1 from the frame data sets Fr0 to cause the data size of the multimedia image data set F1 to become the data size K or smaller.
The frame coding unit 64 compresses the sampled frame data sets Fr1 according to a JPEG format that considers two-dimensional redundancy so that the data size of the multimedia image data set F1 becomes the data size K or smaller. The frame coding unit 64 obtains compressed frame data sets Fr2 in this manner. The frame coding unit 64 further judges whether the data size of the multimedia image data set F1 generated through compilation of the compressed frame data sets Fr2 by the compilation unit 65 is equal to or smaller than the data size K1. The frame coding unit 64 also judges whether the data size of the multimedia image data set F1 after decompression is equal to or smaller than the data size K2. If a result of the judgment is affirmative (that is, the data size is not larger than the data size K), the frame coding unit 64 inputs the compressed frame data sets Fr2 to the compilation unit 65. If the result is negative (that is, the data size is larger than the data size K1 or K2, or both K1 and K2), the frame coding unit 64 sends information representing this fact to the coding control unit 62. After reception of this information, the coding control unit 62 controls the frame sampling unit 63 to reduce the number of frames to be sampled, and controls the frame coding unit 64 to increase a compression ratio.
More specifically, the data size of the compressed frame data sets Fr2 becomes different, depending on whether the frames represent simple images of a single color or whether the frames represent images including detailed subjects, for example. The data size of the multimedia image data set F1 after decompression also varies, depending on the simplicity or complexity. Therefore, the data size of the multimedia image data set F1 may be larger than the data size K in some cases, depending on the complexity of the frames. Consequently, in the case where the data size of the multimedia image data set F1 generated by the compilation unit 65 is larger than the data size K, the sampling and the coding of the sampled frame data sets Fr1 are carried out again to cause the data size of the multimedia image data set F1 to become the data size K or smaller.
The compilation unit 65 generates the multimedia image data set F1 by compiling the compressed frame data sets Fr2 into a Flash™ movie. More specifically, the compilation unit 65 adds information necessary for serial display of the frames (such as information on a display interval between the frame data sets Fr2) to the respective compressed frame data sets Fr2, and arranges the compressed frame data sets Fr2. In this manner, the compressed frame data sets Fr2 are compiled into the multimedia image data set F1. In the case where sound is added to the multimedia image data set F1, the compilation unit 65 includes audio data to the multimedia image data set F1.
The reduced-color moving image generation unit 55 in
The frame division unit 71 divides the raw moving image data set M0′ into the frame data sets Fr0, as the frame division unit 61 of the multimedia image generation unit 54.
The reference frame generation unit 72 generates a reference frame data set B0 used for palette data generation from the frame data sets Fr0. The reference frame data set B0 refers to a first frame data set Fr0 that comes first in the frames when the frames are arranged in chronological order. Alternatively, any one of the frame data sets Fr0 may be used as the reference frame data set B0. Furthermore, the reference frame data set B0 may be one image data set generated by combining all of the frame data sets Fr0 or from a portion Fr0′ of the frame data set Fr0 (hereinafter referred to as selected frame data sets Fr0′). Alternatively, all the frame data sets Fr0 or the selected frame data sets Fr0′ may be averaged and used as the reference frame data set B0. The selected frame data sets Fr0′ may be frame data sets sampled by the frame sampling unit 74 as will be explained later.
The palette data generation unit 73 generates a palette data set P0 having a predetermined number of colors that are necessary for color reduction processing from the reference frame data set B0. More specifically, the palette data set P0 can be generated according to a median cut method, but a method of palette data generation is not limited to this method.
In the median cut method, RGB color data comprising the reference frame data set B0 are plotted in a three-dimensional RGB space, and a median is found in a range where the color data exist in the space. The median is then used as one palette color comprising the palette data set P0, and the space is divided into two spaces by the median. In the divided spaces, the median is also found. By repeating the above-described procedure until the number of colors in the palette data set becomes the predetermined number (such as 256 colors), the palette colors comprising the palette data set P0 can be found.
The frame sampling unit 74 samples frame data sets Fr3 comprising the reduced-color moving image data set R1 from the frame data sets Fr0. More specifically, the frame sampling unit 74 obtains information on the number of frames in the reduced-color moving image represented by the reduced-color moving image data set R1 that is displayed by the destination terminal 3, with reference to the table T1 shown in
The processing unit 75 carries out the color reduction processing on the frame data sets Fr3 sampled by the frame sampling unit 74, with reference to the palette data set P0. As a method of the color reduction processing, an error diffusion technique or the like can be used. In this manner, reduced-color frame data sets Fr4 are generated.
The compilation unit 76 generates one file by arranging the reduced-color frame data sets Fr4 generated by the processing unit 75 in chronological order. In this manner, a reduced-color moving image data set R0 wherein the frames are serially changed is generated.
The coding unit 77 carries out coding on the reduced-color moving image data set R0, and generates the reduced-color moving image data set R1. At this time, the coding is carried out to cause a data size of the reduced-color moving image data set R1 to become the data size K or smaller. As a file format for the reduced-color moving image data set R1, Animated GIF or MNG that is a format of PNG corresponding to Animated GIF may be used, which is not necessarily limited thereto.
The image output unit 56 in
The image attaching unit 16 in
The URL attaching unit 17 generates an email E3 by attaching the URL representing where the moving image data set M0, or the multimedia image data set F1, or the reduced-color moving image data set R1 is stored in the image storage unit 14 to the main content E1 in the case where the destination terminal 3 cannot receive the image-attached email as it is.
The email transmission unit 18 sends the email E2 or E3 to the destination terminal 3 via a mobile phone communication network.
The request reception unit 19 receives an image downloading request sent from the destination terminal 3 after the destination terminal 3 receives the email E3 attached with the URL. The request sent from the destination terminal 3 includes the URL of the moving image data set M0, or the multimedia image data set F1, or the reduced-color moving image data set R1.
The image reading unit 20 reads the moving image data set M0, or the multimedia image data set F1, or the reduced-color moving image data set R1 from the image storage unit 14, by referring to the URL included in the request received by the request reception unit 19.
The image transmission unit 21 sends the moving image data set M0, or the multimedia image data set F1, or the reduced-color moving image data set R1 read by the image reading unit 20 to the destination terminal 3 that sent the request, via the mobile phone communication network.
A procedure carried out in the first embodiment will be explained next.
If the result is the case (1), the procedure goes to a flow chart shown in
The terminal 3 receiving the email E2 can carry out moving image display. Therefore, the moving image data set M0 attached to the email E2 can be displayed on the destination terminal 3.
If the result is (2), the procedure goes to a flow chart shown in
The frame sampling unit 63 samples the frame data sets Fr1 comprising the multimedia image data set F1 from the frame data sets Fr0 (Step S33). The frame coding unit 64 then generates the compressed frame data sets Fr2 by carrying out the coding on the sampled frame data sets Fr1 (Step S34). The frame coding unit 64 also judges whether the data size of the multimedia image data set F1 to be generated from the compressed frame data sets Fr2 by the compilation unit 65 is equal to or smaller than the data size K (Step S35). If a result at Step S35 is negative, the frame coding unit 64 inputs the information to the coding control unit 62. The coding control unit 62 controls the frame sampling unit 63 and the frame coding unit 64 to cause the data size of the multimedia image data set F1 to become equal to or smaller than the data size K (Step S36), and the procedure returns to Step S33. The frame sampling unit 63 and the frame coding unit 64 repeat the procedure from Step S33 until the data size of the multimedia image data set F1 becomes equal to or smaller then the data size K.
If the result at Step S35 is affirmative, the compilation unit 65 compiles the compressed frame data sets Fr2 into the Flash™ movie, and generates the multimedia image data set F1 (Step S37) to end the multimedia image generation processing.
If the result at Step S23 in
The frame sampling unit 74 samples the frame data sets Fr3 comprising the reduced-color moving image from the frame data sets Fr0 (Step S44). The procedure at Step S44 may be carried out before the procedure at Steps S42 and S43. Alternatively, the procedure from Step S42 to Step S44 may be carried out in parallel.
The processing unit 75 generates the reduced-color frame data sets Fr4 by carrying out the color reduction processing on the sampled frame data sets Fr3 by using the palette data set P0 (Step S45). The compilation unit 76 then generates the reduced-color moving image data set R0 by arranging the reduced-color frame data sets Fr4 generated by the processing unit 75 in chronological order (Step S46). The coding unit 77 carries out the coding on the reduced-color moving image data set R0, and generates the reduced-color moving image data set R1 (Step S47) to end the reduced-color moving image generation processing.
The image attaching unit 16 generates the image-attached email E2 by attaching the multimedia image data set F1 or the reduced-color moving image data set R1 to the main content E1 (Step S8 in
Since the destination terminal 3 receiving the email E2 cannot carry out moving image display, an image having motion caused by continuously changing the frames sampled from the moving image data set M0 can be displayed on the terminal 3, based on the multimedia image data set F1 or the reduced-color moving image data set R1 attached to the email E2.
The multimedia image data set F1 can reproduce the image in higher quality than the reduced-color moving image data set R1. Therefore, the image having motion caused by continuously changing the frames sampled from the moving image data set M0 can be displayed in high quality on the terminal 3 that received the multimedia image data set F1.
In the case of (3) described above, the procedure goes to a flow chart shown in
In the case of (4), the procedure goes to a flow chart shown in
In the cases (3) and (4), the destination terminal 3 that received the email E3 requests downloading of the moving image data set M0, or the multimedia image data set F1, or the reduced-color moving image data set R1 from the email relay server 1.
The destination terminal 3 receives the moving image data set M0, or the multimedia image data set F1, or the reduced-color moving image data set R1. If the terminal 3 can carry out moving image display, the moving image data set M0 is sent thereto and displayed thereon. If the terminal 3 cannot carry out moving image display but can carry out multimedia image display, the multimedia image data set F1 is sent thereto. In this manner, the image having motion caused by serially changing the frames sampled from the moving image data set M0 can be displayed on the terminal 3 in high quality.
If the terminal 3 can carry out neither moving image display nor multimedia image display, the reduced-color moving image data set R1 is sent thereto. In this manner, the image having motion caused by serially changing the frames sampled from the moving image data set M0 can be displayed on the terminal 3, based on the reduced-color moving image data set R1.
As has been described above, in the first embodiment, the model of the terminal 3 as the destination of the email E0 attached with the moving image is judged first, and the moving image data set M0 attached to the email E0 is converted into the multimedia image data set F1 or the reduced-color moving image data set R1 in the case where the model is not capable of moving image display. Therefore, even if the terminal 3 cannot display the moving image, pseudo moving image display can be carried out based on the multimedia image data set F1 or the reduced-color moving image data set R1.
Unlike the reduced-color moving image data set R1, the multimedia image data set F1 includes the frame data sets Fr2 compressed according to the compression method such as JPEG considering two-dimensional redundancy. Therefore, the image displayed frame by frame can be generated in high quality while the data size thereof is reduced compared to the case of the reduced-color moving image data set R1. Consequently, if the terminal 3 is not capable of moving image display and has a limit in the data size that can be dealt with, the multimedia image data set F1 allows pseudo moving image display in high quality. In this manner, the image displayed frame by frame can be reproduced in high quality on the terminal 3 if the destination terminal 3 has a high-resolution display screen.
Furthermore, since the multimedia image data set F1 is generated from the moving image data set M0 according to a characteristic of the destination terminal 3, the multimedia image data set F1 can be displayed on the destination terminal 3 with certainty.
In the case where the data size of the multimedia image data set F1 is larger than the data size K, the sampling of the frame data sets Fr1 and the coding of the frame data sets Fr2 are carried out repeatedly until the data size becomes equal to or smaller than the data size K. Therefore, the multimedia image data set F1 has the data size corresponding to the data size K that can be dealt with by the destination terminal 3.
In the case where the destination terminal 3 cannot display not only the moving image but also the multimedia image, the moving image data set M0 is converted into the reduced-color moving image data set R1 and sent to the terminal 3. Therefore, although the destination terminal 3 can carry out neither multimedia image display nor moving image display, pseudo moving image display can be realized by using the reduced-color moving image data set R1 although an image quality thereof is lower.
When the reduced-color moving image data set R1 is generated from the moving image data set M0, only the palette data set P0 is generated. Therefore, unlike the method described in Japanese Unexamined Patent Publication No. 11(1999)-259640, generation of palette data sets for every several frames becomes unnecessary. As a result, the reduced-color moving image data set R1 can be obtained from the moving image data set M0 without increasing a size of the apparatus.
Although the multimedia image data set F1 is generated as the Flash™ movie in the first embodiment, any format that enables interactive serial frame-by-frame display can be used.
In the first embodiment, sound included in the moving image data set M0 can be included in the multimedia image data set F1.
In the first embodiment described above, only the palette data set P0 is generated and used for generating the reduced-color moving image data set R1 from the moving image data set M0. However, as has been described in Japanese Unexamined Patent Publication No. 11(1999)-259640, palette data sets may be generated for every several frames and used in generation of the reduced-color moving image data set R1 from the moving image data set M0. In addition, any method may be used as long as the reduced-color moving image data set R1 can be generated from the moving image data set M0.
In the first embodiment, the moving image separation unit 12 may temporarily store the email E0 attached with the moving image data set M0 so that the email E0 attached with the moving image data set M0 is sent to the destination terminal 3 as it is from the email transmission unit 18 in the case where the result of the judgment made by the model judgment unit 13 is the case (1).
The format of the moving image data set M0 may be converted with reference to the table T1 for agreement with the display size and the number of displayable colors corresponding to the destination terminal 3. In this case, the multimedia image data set F1 and the reduced-color moving image data set R1 are generated from the format-converted moving image data set.
Although the email relay server 1 in the first embodiment relays the email regardless of whether or not the destination terminal 3 can receive the image-attached email without separation of the image attached thereto. However, the email relay server 1 can be configured specifically for use in the case where the destination terminal 3 can receive the image-attached email without separation of the image attached thereto.
Furthermore, the email relay server 1 may be configured so as to be used specifically in the case where the destination terminal 3 cannot receive the image-attached email as it is.
A second embodiment of the present invention will be explained next.
As shown in
The color reduction processing unit 115 converts a format-converted moving image data set M1 into a reduced color moving image data set R1 in the case where a destination terminal 3 cannot carry out moving image display.
The moving image input unit 151, the decoding unit 152, the frame division unit 153, the reference frame generation unit 154, the palette data generation unit 155, the frame sampling unit 156, the processing unit 157, the compilation unit 158, the coding unit 159, and the reduced-color moving image output unit 160 in the second embodiment respectively operate in the same manner as the moving image input unit 51, the decoding unit 52, the frame division unit 71, the reference frame generation unit 72, the palette data generation unit 73, the frame sampling unit 74, the processing unit 75, the compilation unit 76, the coding unit 77, and the image output unit 56 in the first embodiment, and detailed explanations thereof will be omitted.
A procedure carried out in the second embodiment will be explained next. Since color reduction processing is carried out in the second embodiment instead of the moving image conversion processing at Steps S7 and S15 in the first embodiment, only the color reduction processing will be explained below.
The frame sampling unit 156 samples frame data sets Fr3 used for generating the reduced-color moving image data set R1 from the frame data sets Fr0 (Step S66). The procedure at Step S66 may be carried out before the procedure at Steps S64 and S65. Alternatively, the procedure from Steps S64 to Step S66 may be carried out in parallel.
The processing unit 157 generates reduced-color frame data sets Fr4 by reducing colors in the frame data sets Fr3 with reference to the palette data set P0 (Step S67). The compilation unit 158 then arranges the reduced-color frame data sets Fr4 generated by the processing unit 157 in chronological order, and generates a raw reduced-color moving image data set R0 (Step S68). The coding unit 159 encodes the raw reduced-color moving image data R0, and generates the reduced-color moving image data set R1 (Step S69). The reduced-color moving image output unit 160 then outputs the reduced-color moving image data set R1 (Step S70) to end the color reduction processing.
In the second embodiment, the procedure at Steps S8 and S9 in the flow chart shown in
The destination terminal 3 receives the email E2. The terminal 3 cannot display a moving image, but can display an image having motion caused by serially changing frames sampled from the moving image data set M0, based on the reduced-color moving image data set R1 attached to the email E2.
In the case where the result of judgment is (4), the procedure from Step S16 to Step S18 in the flow chart in
In this case, the terminal 3 that received the email E3 requests downloading of the moving image data set M0 or the reduced-color moving image data set R1 from the email relay server 1. In this manner, the destination terminal 3 can receive the reduced-color moving image data set R1. The image having motion caused by serially changing the frames sampled from the moving image data set M0 can be displayed on the terminal 3, based on the reduced-color moving image data set R1.
As has been described above, in the second embodiment, the model of the terminal 3 as the destination of an email E0 attached with the moving image data set M0 is judged first. The moving image data set M0 attached to the email E0 is converted into the reduced-color moving image data set R1 and sent to the destination terminal 3 in the case where the model is not capable of moving image display. Therefore, even if the destination terminal 3 cannot carry out moving image display, pseudo moving image display can be realized based on the reduced-color moving image data set R1.
When the reduced-color moving image data set R1 is generated from the moving image data set M0, only the palette data set P0 is generated. Therefore, unlike the method described in Japanese Unexamined Patent Publication No. 11(1999)-259640, generation of palette data sets for every several frames becomes unnecessary. As a result, the reduced-color moving image data set R1 can be obtained from the moving image data set M0 without increasing a size of the apparatus.
In the second embodiment described above, only the palette data set P0 is generated and used for generating the reduced-color moving image data set R1 from the moving image data set M0. However, as has been described in Japanese Unexamined Patent Publication No. 11(1999)-259640, palette data sets may be generated for every several frames and used in generation of the reduced-color moving image data set R1 from the moving image data set M0. In addition, any method may be used as long as the reduced-color moving image data set R1 can be generated from the moving image data set M0.
In the second embodiment, the moving image separation unit 12 may temporarily store the email E0 attached with the moving image data set M0 so that the email E0 attached with the moving image data set M0 is sent to the destination terminal 3 as it is from the email transmission unit 18 in the case where the result of the judgment made by the model judgment unit 13 is the case (1).
In the case where the reduced-color moving image data set R1 is sent to the destination terminal 3, a file size of image data that can be displayed on the terminal 3 is limited. Therefore, without considering the file size limit, the reduced-color moving image data set R1 may not be displayed on the terminal 3.
For this reason, by generating the reduced-color moving image data set R1 in such a manner that the reduced-color moving image data set R3 has the file size corresponding to the model of the destination terminal 3, the reduced-color moving image data set R1 can be displayed on the destination terminal 3 without fail once the reduced-color moving image data set R1 is sent thereto.
Although the email relay server 1 in the second embodiment relays the image-attached email regardless of whether or not the destination terminal 3 can receive the image-attached email as it is. However, the email relay server 1 can be configured specifically for use in the case where the destination terminal 3 can receive the image-attached email as it is.
Furthermore, the email relay server 1 may be configured so as to be used specifically in the case where the destination terminal 3 cannot receive the image-attached email as it is.
Number | Date | Country | Kind |
---|---|---|---|
2003-149251 | May 2003 | JP | national |
2003-152709 | May 2003 | JP | national |
Number | Name | Date | Kind |
---|---|---|---|
5557320 | Krebs | Sep 1996 | A |
5949912 | Wu | Sep 1999 | A |
6092114 | Shaffer et al. | Jul 2000 | A |
6148108 | Nishikawa | Nov 2000 | A |
6310962 | Chung et al. | Oct 2001 | B1 |
6345279 | Li et al. | Feb 2002 | B1 |
6571015 | Matsuo et al. | May 2003 | B1 |
7313602 | Ono et al. | Dec 2007 | B2 |
20010044814 | Itani et al. | Nov 2001 | A1 |
20010051979 | Aufricht et al. | Dec 2001 | A1 |
20020129002 | Alberts et al. | Sep 2002 | A1 |
20030028647 | Grosu | Feb 2003 | A1 |
20030050062 | Chen et al. | Mar 2003 | A1 |
20030093565 | Berger et al. | May 2003 | A1 |
20030120840 | Isozu | Jun 2003 | A1 |
20030126214 | Oliszewski | Jul 2003 | A1 |
20030130894 | Huettner et al. | Jul 2003 | A1 |
20030158777 | Schiff et al. | Aug 2003 | A1 |
20030208546 | DeSalvo et al. | Nov 2003 | A1 |
20030221100 | Russ et al. | Nov 2003 | A1 |
20040009766 | Hong | Jan 2004 | A1 |
20040015589 | Isozu | Jan 2004 | A1 |
20040039801 | Srinivasan et al. | Feb 2004 | A9 |
20040044781 | Hymel et al. | Mar 2004 | A1 |
20040199906 | McKnight et al. | Oct 2004 | A1 |
20040225752 | O'Neil et al. | Nov 2004 | A1 |
Number | Date | Country |
---|---|---|
1 081 619 | Mar 2001 | EP |
11168498 | Jun 1999 | JP |
11205860 | Jul 1999 | JP |
11-259640 | Sep 1999 | JP |
2000-023191 | Jan 2000 | JP |
2001217860 | Aug 2001 | JP |
2002-244971 | Aug 2002 | JP |
10-2004-0047099 | Jun 2004 | KR |
WO 02089486 | Nov 2002 | WO |
WO 03005276 | Jan 2003 | WO |
WO 03013080 | Mar 2003 | WO |
Number | Date | Country | |
---|---|---|---|
20050021642 A1 | Jan 2005 | US |