This application claims priority from Korean Patent Application No. 10-2008-0078518, filed on Aug. 11, 2008, in the Korean Intellectual Property Office, the disclosure of which is incorporated herein in its entirety by reference.
1. Field of the Invention
Apparatuses and methods consistent with the present invention relate to generating a media signal, and more particularly, to generating a media signal for a region identified by a predetermined pattern using a camera.
2. Description of the Related Art
A variety of digital apparatuses are widely provided due to the development of technology. Thus, a user can input desired information to a digital apparatus using an input device, such as a remote control, a mouse, a keyboard, a touch screen and so on, or select desired information displayed on a screen of the digital apparatus. Furthermore, the user can transmit information stored in the digital apparatus to an external server or an external terminal using a wired or wireless communication network.
Exemplary embodiments of the present invention overcome the above disadvantages and other disadvantages not described above. Also, the present invention is not required to overcome the disadvantages described above, and an exemplary embodiment of the present invention may not overcome any of the problems described above.
Exemplary embodiments of the present invention provide a method and an apparatus for generating a media signal for a region identified by a predetermined pattern.
According to an aspect of the present invention, there is provided a method of generating a media signal, which includes detecting a pattern requesting a media signal to be generated from an input image, extracting a region identified by the detected pattern, and generating a media signal for the extracted region.
The detecting of the pattern may include comparing the pattern included in the input image with previously stored media signal request patterns and determining whether the pattern included in the input image corresponds to a media signal request pattern. The pattern may include a predetermined sign and a predetermined action and the predetermined sign may include at least one of a bracket and a figure.
The method may further include transmitting the media signal to an external terminal or an external server through a communication network.
The method may further include outputting the state of transmission of the media signal to the external terminal or the external server as graphic information. The graphic information may include first identification information used to identify the external terminal, the external server, or a user of the external terminal. The graphic information may include second identification information used to identify a media signal generating apparatus or a user of the media signal generating apparatus, and transmission state information representing that the media signal is being transmitted from the media signal generating apparatus or the user of the media signal generating apparatus that is identified by the second identification information to the external terminal, the external server or the external terminal user identified by the first identification information. Each of the first identification information, the second identification information and the transmission state information may include at least one of characters, a sign and image information, and the image information may include at least one of an emoticon, an icon, a flash icon and image information.
The method may further include displaying the media signal on a screen of the media signal generating apparatus. The detecting of the pattern may include detecting a first pattern from the input image and detecting a second pattern corresponding to the first pattern from the input image. The extracting of the identified region may include extracting a region defined by positions of the first and second patterns. The extracting of the identified region may include extracting a rectangular region having a straight line connecting the first pattern and the second pattern as a diagonal line. The extracting of the identified region may include extracting a region defined by position and direction of the pattern. The extracting of the identified region may include extracting a region which can be variable in vertical and horizontal directions about the position of the pattern depending on the direction of the pattern.
When the pattern corresponds to an angle bracket, the extracting of the identified region may include extracting a rectangular region having a straight line connecting the center point of the angle bracket to a corner of a region located between two straight lines that extend from two lines that are elements of the angle bracket from the center point, as a diagonal line. When the pattern corresponds to a curved line, the extracting of the identified region may include extracting a rectangular region having a straight line connecting the center point of the curved line to a corner of a region located between two straight lines that extend from two lines connecting each of the two end points of the curved line to the center point as a diagonal line. The generating of the media signal may include generating a media signal in the form of an image file or a media signal in the form of a text file from the input image. The generating of the media signal may include extracting second information corresponding to first information included in the identified region and generating the media signal using the second information.
According to another aspect of the present invention, there is provided an apparatus for generating a media signal, which includes a pattern detector detecting a pattern requesting a media signal to be generated from an input image, a region extractor extracting a region identified by the detected pattern, and a media signal generator generating a media signal for the extracted region.
According to another aspect of the present invention, there is provided a computer readable recording medium storing a program for executing a method of generating a media signal, which includes detecting a pattern requesting a media signal to be generated from an input image, extracting a region identified by the detected pattern, and generating a media signal for the extracted region.
The above and other aspects of the present invention will become more apparent by describing in detail exemplary embodiments thereof with reference to the attached drawings in which:
Exemplary embodiments of the present invention will now be explained in detail with reference to the attached drawings.
The media signal generating apparatus 200 can take a photograph of an object to generate a media signal and may be a personal digital assistant (PDA), a portable multimedia player (PMP), a cellular phone, or a navigation system, which has a camera function, a camcorder, and a camera, or a notebook computer including an ultra mobile personal computer (UMPC). In
A user can input desired information to the media signal generating apparatus 200 by using a camera instead of a keyboard or a keypad. The media signal generating apparatus 200 captures an image, corresponding to the information desired to be input by the user, with a camera. In
Media signal request patterns are stored in the media signal generating apparatus 200. The media signal request patterns can include brackets and parentheses in various forms, signs, figures, and predetermined actions. In
The media signal generating apparatus 200 generates a media signal for the extracted region. The media signal generating apparatus 200 can capture the region identified by the patterns 101 and 103 in the input image 201 to generate a media signal in the form of an image file. Furthermore, the media signal generating apparatus 200 can convert characters included in the identified region into a text file to generate a media signal in the form of a text file.
The media signal generating apparatus 200 can display the generated media signal on a screen thereof or transmit the media signal to an external server or the external terminal 400 through the wired or wireless communication network 300. The external terminal 400 can communicate with the media signal generating apparatus 200 through a communication network and may be a PDA, a PMP, a cellular phone, a navigation system, or a notebook computer including a UMPC.
As described above, according to an exemplary embodiment of the present invention, the user can input desired information to the media signal generating apparatus 200 using the camera instead of an input device such as a keyboard or a keypad.
The media signal generating apparatus 200 may further include a user interface (not shown). The user interface transmits commands, characters, numbers or audio information received from the user to the controller 220.
The input unit 210 receives an image input through a camera or other device providing the image. The media signal generating apparatus 200 can receive information through other methods, in addition to a method of acquiring an image using the camera. In this case, the input unit 210 can include physical transducers such as a keyboard, a mouse, a touch pad, a touch screen and a microphone, in addition to the camera. The user can select whether to input information using a camera or a keyboard through the user interface. The input unit 210 can also function as a user interface for transmitting an instruction of the user to the controller 220 according to circumstances.
The input unit 210 includes an image acquisition unit 211, a pattern detector 213 and a region extractor 215. The image acquisition unit 211 acquires an image input through a camera lens and sends the received image to the pattern detector 213. The pattern detector 213 determines whether the image transmitted from the image acquisition unit 211 includes a media signal request pattern. The media signal request pattern may include brackets, signs, figures, and predetermined actions. Specifically, the media signal request pattern can include at least one of brackets such as angle brackets, parentheses, braces and square brackets, quotation marks such as double quotation marks, single quotation marks, corner brackets and double corner brackets, signs and figures such as a cross or a clover, but is not limited to these examples.
The media signal request pattern can include a predetermined action of the user. For example, when the user draws a circle around letters or a picture with a finger or a pen, this action can be a predetermined pattern for requesting a media signal to be generated for the image surrounded by the circle. When the pattern corresponds to a predetermined action, the pattern detector 213 determines whether the action forming the predetermined pattern has been performed for a predetermined period of time.
The pattern detector 213 determines whether the input image includes a media signal request pattern stored in the memory 230, detects the pattern when it is determined that the input image includes the media signal request pattern stored in the memory 230 and sends the detected pattern to the region extractor 215.
The region extractor 215 extracts a region identified by the detected pattern. The media signal request pattern can be represented as one of a pair of parentheses or quotation marks forming a closed section. When two patterns forming the parenthesis pair or quotation mark pair are referred to as a first pattern and a second pattern, if the first pattern is detected from the input image, the pattern detector 213 determines whether the input image also includes the second pattern corresponding to the first pattern. When the input image includes both the first and second patterns, the region extractor 215 extracts the closed section designated by the positions of the first and second patterns as a region identified by the first and second patterns. For example, the region extractor 215 can extract a rectangular region having a straight line that connects the center points of the first and second patterns as a diagonal line as an identified region.
When the input image includes the first pattern and does not include the second pattern, the region extractor 215 can extract a region defined by the position and direction of the detected first pattern as an identified region. The region extractor 215 transmits the extracted region to the media signal generator 260.
The media signal generator 260 generates a media signal for the region extracted by the region extractor 215 among the image input through the image acquisition unit 211. The media signal can include at least one of a video signal, an audio signal and a text signal. The media signal generator 260 can generate a media signal in the form of an image file corresponding to the image of the extracted region. When the image of the extracted region includes characters, the media signal generator 260 can convert the characters into a corresponding figure or a text signal to generate a media signal. The media signal generator 260 transmits the generated media signal to the display 250 or the communication unit 240.
The memory 230 stores media signal request patterns, information on figures corresponding to characters included in media signals, graphic information for graphics to be displayed on the display 250 when media signals are transmitted to an external terminal or an external server, and programs required to perform the method of generating a media signal according to an exemplary embodiment of the present invention. The graphic information can include identification information used to identify the external terminal, the external server or an external terminal user and transmission state information representing the state of transmission of a media signal from the media signal generating apparatus 200 to the external terminal 400 or the external server. The graphic information can include at least one of characters, a sign and image information. The image information can include at least one of an emoticon, an icon, a flash icon and image information.
The memory 230 can include a high-speed main memory such as random access memory (RAM) or read only memory (ROM), an auxiliary memory in the form of a long-term storage medium, such as a floppy disk, a hard disk, tape, a CD-ROM and a flash memory, and a device storing data using an electric storage medium, a magnetic storage medium, an optical storage medium and other storage media.
The controller 220 controls the overall operation of the media signal generating apparatus 200 at the request of the user. The controller 220 controls the input unit 210 to detect a media signal request pattern from an input image and controls the media signal generator 260 to generate a media signal for a region identified by the detected pattern. The controller 220 controls the communication unit 240 to transmit the media signal to the external server or the external terminal 400 and controls the display 250 to output graphic information that represents the state of transmission of the media signal to the server or the external terminal 400. The controller 220 includes an arithmetic logic unit (ALU) for performing computations and a register for temporarily storing data and commands.
The display 250 displays the overall state of the media signal generating apparatus 200 or an image input through the input unit 210. The display 250 can output a media signal generated by the media signal generating apparatus 200. When the media signal generating apparatus 200 transmits a generated media signal to the external terminal 400 at the request of the user, the display 250 can output information identifying the media signal generating apparatus 200, information identifying the external terminal 400 or server and information representing the state of transmission of predetermined information from the media signal generating apparatus 200 to the external terminal 400 or server using the graphic information stored in the memory 230. The display 250 generates a user control list and outputs the user control list as on-screen display (OSD) information.
The communication unit 240 can transmit the media signal to the external server or the user terminal 400 using the wired or wireless communication network 300. When the communication unit 240 performs a communication operation according to a wireless communication method, the communication unit 240 can include a radio signal transceiver (not shown), a base band processor (not shown) and a link controller (not shown). The base band processor and the link controller may be connected to the controller 220 according to host control interface (HCI) and transmit/receive HCI packets to send and receive control commands and transmission/receiving data. A WLAN, Bluetooth, Zigbee, Wibro, or the like may be used as the wireless communication method.
The media signal generating apparatus 200 illustrated in
In
The media signal generating apparatus 200 illustrated in
The media signal generating apparatus 200 illustrated in
However, when a media signal request pattern corresponds to one of a pair of restriction marks forming a closed section, such as brackets or quotation marks, the media signal generating apparatus 200 detects one pattern from an input image, and then determines whether the other pattern corresponding to the detected pattern is included in the input image. If only one of the two patterns forming a closed section is included in the input image, the media signal generating apparatus 200 can extract a predetermined region only using the detected pattern. That is, the media signal generating apparatus 200 can extract a region defined by the position and direction of the angle bracket pattern 411 as a region identified by the angle bracket pattern 411.
Referring to
As described above, the media signal generating apparatus 200 according to an exemplary embodiment of the present invention can display information representing that a media signal is being transmitted to a predetermined recipient using an emoticon that the user prefers.
While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it will be understood by those of ordinary skill in the art that various changes in form and details may be made therein without departing from the spirit and scope of the present invention as defined by the following claims.
Number | Date | Country | Kind |
---|---|---|---|
10-2008-0078518 | Aug 2008 | KR | national |