• 学术搜索
  • 科研智能体
    • Research Labs
    • AI 阅读
    • AI 文库
    • 深度研究
    • 学者亮点
  • 学术资源
    • AI2000
    • 期刊/会议
    • 学者库
    • 学术API
    • 溯源树
    • 数据集
  • 知识沉淀
    • 学术空间
订阅小程序
旧版功能
aminer vip
开通会员低至0.73元/天
一次搞定AI科研
立即登录
  • English
  • 联系方式
    专

    种基于入库流量和水质联合概率分析的水库供水安全风险评估方法

    KR9302392A1
    发明人
    ZHANG YUNLONG, WANG XUAN, CANG NAN, LIANG PEIYU, YANG ZHIFENG
    受让人
    UNIV BEIJING NORMAL
    申请人
    Randall C. Hansen
    申请号
    222806993
    申请日
    2019-05-06
    公开(公告)号
    KR9302392A1
    公开(公告)日
    2009-01-21
    IPC分类号
    A61B005/02A61B005/00A61B005/14
    CPC分类号
    -
    优先权号
    010123
    优先权日
    2005-02-02
    摘要

    A wireless communication method and system for controlling an enhanced uplink (EU) radio access bearer (RAB). The wireless communication system includes at least one wireless transmit/receive unit (WTRU), at least one Node-B and a radio network controller (RNC). The RNC configures an EU RAB to operate on an enhanced dedicated channel (E-DCH). At least one of the WTRU and the Node-B report EU traffic statistics and EU performance statistics to the RNC. The RNC then adjusts the configuration of the EU RAB in accordance with the received EU traffic statistics, the EU performance statistics, and information collected by the RNC itself.

    权利要求
    1. A method of managing activation of network management policies in a mobile network, the method comprising: prior to a change in location of a mobile device between a first location area and a second location area of a plurality of location areas of a mobile network, receiving, by the mobile device, a network management policy for the second location area, wherein the location area includes a plurality of cells forming the location area; responsive to a change in the location of the mobile device in the mobile network, determining if a new location is on a location area list distributed by a proxy server, wherein the location area list includes a congestion trigger associated with a congested network at a cell; and activating, by the mobile device, a network management policy associated with the mobile device when the new location is on the location area list, wherein the network management policy does not have specific binding to a particular location in the mobile network but is responsive to the congestion trigger in the location area list such that the network management policy is activated when the mobile device enters the congested cell but is not activated in uncongested cells in the location area.
    2. The method of claim 1 , wherein the location area list includes congested cell identifiers indicating congested cells in a location area of multiple location areas of the mobile network, wherein a cell includes a congested cell identifier if the cell is congested.
    3. The method of claim 2 , wherein the multiple location areas each indicate a different set of cell locations in the mobile network; and wherein the cell identifiers are guaranteed unique within the location area.
    4. The method of claim 2 , further comprising: responsive to the change in the location of the mobile device in the mobile network, determining, by the mobile device, if a new location is in a new location area; and if the new location is in the new location area, reporting the new location area to the proxy server.
    5. The method of claim 4 wherein, the historical metrics are specific and relevant to the mobile device.
    6. The method of claim 4 wherein, the mobile device is provisioned with the historical metrics that are specific and relevant to the mobile device.
    7. The method of claim 6 , wherein the location is reported to the proxy server responsive to the change in the location of the mobile device in the mobile network.
    8. The method of claim 2 , further comprising: receiving, by the mobile device, network topology information identifying one or more of the multiple location areas of the mobile network.
    9. The method of claim 2 , wherein the congested cells in the current location area are further determined to be congested based on historical metrics associated with the cells.
    10. The method of claim 1 , wherein the activating the network management policy associated with the mobile device further comprises: modifying communications of the mobile device to reduce congestion in the new location.
    11. The method of claim 1 , further comprising: monitoring, by the mobile device, the location of the mobile device in the mobile network.
    12. The method of claim 1 , further comprising: receiving, by the mobile device, the location area cell list from a proxy server responsive to a change in a current location area of multiple location areas of the mobile network.
    13. The method of claim 1 , further comprising: identifying, by the mobile device, the network management policy associated with the mobile device based on the network management policy including a congested cell trigger.
    14. The method of claim 1 , wherein the network management policy comprises a modification to another network management policy.
    15. The method of claim 1 , further comprising: responsive to another change in the location of the mobile device in the mobile network, determining if another new location is on the location area list distributed by the proxy server; and deactivating, by the mobile device, the active network management policy associated with the mobile device when the another new location is not on the location area list.
    16. The method of claim 1 , further comprising: storing, by the mobile device, one or more previous location area lists in on the mobile device.
    17. The method of claim 1 , wherein activating a network management policy associated with the mobile device when the new location is on the location area list comprises determining whether a cell associated with the new location is congested based only on the location area list.
    18. A mobile device comprising: a radio; a processor; memory storing instructions, wherein the instructions, when executed by the processor, causes the mobile device to: receive at the mobile device, prior to a change in location of the mobile device in a first location area and a second location area in a mobile network, a network management policy for the second location area, wherein the location area includes a plurality of cells forming the location area; in response to a change in the location of the mobile device in the mobile network, determining if a new location is on a location area list distributed by a proxy server, wherein the location area list includes a congestion trigger associated with a congested network at a cell; locally trigger the network management policy when the current cell location is on the location area cell list, wherein the network management policy does not have specific binding to a particular cell in the mobile network but is responsive to a congestion trigger of a congested cell in the location area list such that the network management policy is activated when the mobile device enters the congested cell but is not activated in uncongested calls in the location area list.
    19. The mobile device of claim 18 , wherein the location area cell list includes congested cell identifiers indicating congested cells in a location area of multiple location areas of the mobile network.
    20. The mobile device of claim 19 , wherein the multiple location areas each indicate a different set of cell locations in the mobile network.
    21. The mobile device of claim 19 , wherein the congested cell identifiers are guaranteed unique within the location area.
    22. The mobile device of claim 18 , wherein to trigger the network management policy, the instructions, when executed by the processor, causes further the mobile device to modify communications of the mobile device to reduce congestion in the new cell location.
    23. The mobile device of claim 18 , wherein the instructions, when executed by the processor, further causes the mobile device to: monitor the cell location of the mobile device in the mobile network; responsive to a change in the cell location of the mobile device in the mobile network, determine if a new cell location is in a new location area; and report the new cell location area to a proxy server if the new location is in the new location area.
    24. The mobile device of claim 18 , further comprising: an interface in communication with the processor and the radio, wherein the interface: receives the location area cell list from a proxy server responsive to a change in a current location area of multiple location areas of the mobile network; and wherein the location area cell list is stored in the memory on the mobile device.
    25. The mobile device of claim 18 , further comprising: an interface in communication with the processor and the radio, wherein the interface: receives the network management policy including a congested cell trigger; and wherein the network management policy is stored in memory on the mobile device.
    26. A computer-readable non-transitory storage medium storing instructions to be implemented by a mobile device having a processor, wherein the instructions, when executed by the processor, causes the mobile device to: prior to a change in the location area of a mobile device between a first location area and a second location area of a plurality of location areas of a mobile network, receive, by the mobile device, a network management policy for the second location area, wherein the location area includes a plurality of cells forming the location area; responsive to a change in a location of the mobile device in the mobile network, determine if a new location is on a location area list distributed by a proxy server, wherein the location area list includes a congestion trigger associated with a congested network at a cell; and trigger a network management policy associated with the mobile device locally when the new location is on the location area list, wherein the network management policy does not have specific binding to a particular location in the mobile network but is responsive to a congestion trigger of a congested cell in the location area list such that the network management policy is activated when the mobile device enters the congested cell but is not activated in uncongested cells in the location area list.
    27. The computer-readable non-transitory storage medium of claim 26 , wherein, when the network management policy is triggered, the mobile device modifies communications to reduce congestion in the new location.
    28. The computer-readable non-transitory storage medium of claim 26 , wherein the instructions, when executed by the processor further cause the processor to: preload the network management policy including a congested location status trigger on the mobile device, wherein the network management policy is received prior to the change in the location of the mobile device in the mobile network, and wherein the congested location status trigger causes the triggering of the network management policy when the new location is on the location area list.
    29. The computer-readable non-transitory storage medium of claim 28 , wherein the instructions, when executed by the processor further cause the processor to: monitor the location of the mobile device in the mobile network; responsive to a change in the location of the mobile device in the mobile network, determine if a new location is in a new location area; and if the new location is in the new location area, report the new location area to the proxy server.
    30. The computer-readable non-transitory storage medium of claim 26 , wherein the location area list includes congested cell identifiers indicating congested cells in a current location area of multiple location areas of the mobile network, wherein the multiple location areas each indicate a different set of cell locations in the mobile network; and wherein the cell identifiers are guaranteed unique within the current location area of the mobile network.
    说明书
    [0001]CROSS-REFERENCE TO RELATED APPLICATION
    [0002]This application is based upon and claims the benefit of priority from the prior Japanese Patent Application No. 2013-193005, filed Sep. 18, 2013, the entire contents of which are incorporated herein by reference.
    [0003]BACKGROUND OF THE INVENTION
    [0004]1. Field of the Invention
    [0005]The present invention relates to an image processing device which performs processing for segmenting an area in an image into a plurality of areas.
    [0006]2. Description of the Related Art
    [0007]Generally, as a technique for extracting an area (for example, a photographic subject) desired by a user from an image, a technique called image segmentation is known, and there are various methods for this segmentation processing, such as Graph Cuts. However, these methods are based on an assumption that an area (foreground) to be extracted is specified by a user operation, and therefore have a problem in that an area to be extracted is difficult to be precisely specified, and an incorrect specifying operation may create an adverse result in segmentation processing.
    [0008]For this reason, there is a conventional technique in which, when a point in an extraction target area (photographic subject) in a displayed image is tapped (specified by a user), an area of a predetermined shape (such as a circular shape) including a coordinate point corresponding to the tapped point is created in the image, and pixels in the image are segmented into background pixels and foreground pixels by segmentation processing being performed with the created area as an initial area for the foreground by the use of a program of Graph Cuts (refer to Japanese Patent Application Laid-Open (Kokai) Publication No. 2013-029930).
    [0009]SUMMARY OF THE INVENTION
    [0010]In accordance with one aspect of the present invention, there is provided an image processing device comprising: a segmentation processing section which segments an image into a foreground and a background; a boundary position acquisition section which acquires positional information of a boundary line for a case where a first image is segmented into a foreground and a background by the segmentation processing section; and a segmentation control section which controls the segmentation processing section to segment a second image having a predetermined relationship with the first image by use of the positional information of the boundary line acquired by the boundary position acquisition section.
    [0011]In accordance with another aspect of the present invention, there is provided an image processing method for an image processing device, comprising: a segmentation step of segmenting an image into a foreground and a background; a boundary position acquisition step of acquiring positional information of a boundary line for a case where a first image is segmented into a foreground and a background in the segmentation step; and a segmentation control step of controlling the segmentation step to segment a second image having a predetermined relationship with the first image by use of the positional information of the boundary line acquired in the boundary position acquisition step.
    [0012]In accordance with another aspect of the present invention, there is provided a non-transitory computer-readable storage medium having stored thereon a program that is executable by a computer, the program being executable by the computer to perform functions comprising: segmentation processing for segmenting an image into a foreground and a background; boundary position acquisition processing for acquiring positional information of a boundary line for a case where a first image is segmented into a foreground and a background in the segmentation processing; and segmentation control processing for controlling the segmentation processing to segment a second image having a predetermined relationship with the first image by use of the positional information of the boundary line acquired in the boundary position acquisition processing.
    [0013]The above and further objects and novel features of the present invention will more fully appear from the following detailed description when the same is read in conjunction with the accompanying drawings. It is to be expressly understood, however, that the drawings are for the purpose of illustration only and are not intended as a definition of the limits of the invention.
    [0014]BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram showing basic components of a tablet terminal device in which the present invention has been applied as an image processing device; FIG. 2A to FIG. 2C are diagrams exemplarily showing a state where moving image data read out from an image memory 3 c are being replayed on the touch display section 6 ; FIG. 3A to FIG. 3B are diagrams for explaining preprocessing that is performed before a photographic subject (marathon runner) is extracted from a moving image as a foreground; FIG. 4A to FIG. 4C are diagrams for explaining processing for identifying the area of a photographic subject (marathon runner) for each frame of a moving image so as to extract the photographic subject from each frame image as a foreground; FIG. 5 is a flowchart of moving image processing for extracting a photographic subject (marathon runner) from a moving image as a foreground, and combining the photographic subject with another moving image; and FIG. 6 is a flowchart of operations following those in FIG. 5 .
    [0015]DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
    [0016]Hereinafter, an embodiment of the present invention will be described with reference to FIG. 1 to FIG. 6 .
    [0017]In this embodiment, the present invention has been applied in a tablet terminal device as an image processing device, and FIG. 1 is a block diagram showing basic components of this tablet terminal device.
    [0018]This tablet terminal device is a portable information terminal device whose housing is of A5 size as a whole, and has a touch input function, a wireless communication function, an Internet connecting function, etc. A control section 1 that serves as the core of this tablet terminal device operates by receiving power from a power supply section (secondary battery) 2 . This control section 1 includes a central processing unit that controls the entire operation of the tablet terminal device according to various programs in a storage section 3 , a memory, etc.
    [0019]The storage section 3 is structured to include a ROM (Read-Only Memory), a flash memory, and the like, and has a program memory 3 a having stored therein programs for achieving the present embodiment according to operation procedures shown in FIG. 5 and FIG. 6 , a work memory 3 b that temporarily stores various data and flags required in this tablet terminal device, and an image memory 3 c that stores various image data such as a moving image captured by a camera function. Note that the storage section 3 may be structured to include, for example, a removable portable memory (recording medium) such as an SD card or IC card. In addition, although not shown, the storage section 3 may include a storage area on a predetermined server device side in a case where the tablet terminal device is connected to a network via a communication function. Also, the image memory 3 c is not limited to an internal memory and may be a removable portable memory such as an SD card. This memory 3 c stores, for example, image data received and acquired via the Internet or image data captured by a camera device (not shown).
    [0020]An operation section 4 in FIG. 1 includes a power supply key for turning power supply ON/OFF, a selection key for selecting a moving image to be processed, a playback key for instructing to replay a moving image, a pause key for instructing to temporarily stop a moving image being replayed, and the like not shown, as push-button-type keys. A wireless LAN (Local Area Network) communication section 5 in FIG. 1 is a wireless communication module capable of high-speed large-capacity communication, and is connectable to the Internet or the like via a wireless LAN router nearby (omitted in the drawing). A touch display section 6 in FIG. 1 is structured by a touch panel 6 b being laminated on a display panel 6 a , and displays function names serving as software keys (soft keys), various icons, and image data. The touch panel 6 b of the touch display section 6 constitutes a touch screen which detects a point where a touch operation has been performed with a finger or the like (including an operator such as a pen) and inputs coordinate data of the point. Note that, although a capacitive type or a resistive film type is adopted in this embodiment, another type such as a photosensor type may be adopted.
    [0021]FIG. 2A to FIG. 2C are diagrams exemplarily showing a state where moving image data read out from the image memory 3 c are being replayed on the touch display section 6 .
    [0022]Moving images to be replayed by the touch display section 6 are, for example, moving images of data acquired by capturing a moving subject (for example, a marathon runner), and the frame rates of which are 30 fps. Note that the frame rates are not limited to 30 fps and may be arbitrarily set. FIG. 2A shows a frame image captured at timing at which the left foot of a marathon runner has landed on the ground (left-foot-landing image), and FIG. 2B shows the subsequent frame image, which is substantially the same as the preceding frame image showing the left foot landing in FIG. 2A . That is, the image in FIG. 2B is substantially the same as the image showing the left foot landing in FIG. 2A except for a change due to the movement of the moving subject (for example, a marathon runner) for one frame. FIG. 2C shows a frame image displayed, for example, 15 frames (½ second) after the frame image of the left foot landing in FIG. 2 , which is an image captured at timing at which the right foot of the marathon runner has landed on the ground (right-foot-landing image).
    [0023]In the moving image processing of the present embodiment, from each frame image of a moving image where a marathon runner is a subject as described above, the area of the subject (marathon runner) is extracted as a foreground, and this subject is combined with another moving image. However, the moving image processing is not limited thereto and may be performed in an arbitrary manner.
    [0024]FIG. 3A to FIG. 3B are diagrams for explaining preprocessing which is performed before a photographic subject (marathon runner) is extracted from a moving image as a foreground and in which the area of the photographic subject (marathon runner) is specified by a user operation from within a first frame image showing the photographic subject. FIG. 3A shows a state where the contour of the photographic subject is being “traced” by a user operation so that the area of the photographic subject (marathon runner) in the image is specified.
    [0025]That is, when the moving image of running marathon runners is being replayed on the touch display section 6 , if the playback of the moving image is temporarily stopped at a frame showing a desired marathon runner, and the contour (outline: closed curve) of the marathon runner is traced with a finger or a pen tip by a touch operation so as to designate the area of the marathon runner as a foreground, a thick line having a predetermined width is drawn on “the portion traced” by “this tracing operation” (substantially on the contour of the marathon runner). The width (thickness) of this drawn line is, for example, several pixels to several tens of pixels, which varies depending on the display screen size, the resolution, and the moving image frame rate. FIG. 3B shows a state where the contour of the marathon runner has been “traced”, or in other words, surrounded by the drawn line having the predetermined width (a state where a closed curve line has been drawn). This portion serves as a thick line area corresponding to the photographic subject.
    [0026]FIG. 4A to FIG. 4C are diagrams for explaining processing for identifying the area of a photographic subject (marathon runner) for each frame of a moving image so as to extract the photographic subject from each frame image as a foreground.
    [0027]FIG. 4A is a diagram showing a state where a thick line having a predetermined width has been drawn by the contour of the photographic subject being “traced” in a first frame image as described above. Here, when the contour of the photographic subject in the frame image is being traced by a user operation, the contour of the photographic subject, that is, the boundary line between the foreground pixels and the background pixels is likely to be located at a position shifted from the center line (imaginary line) of the drawn line having the predetermined width, depending on the preciseness of the tracing operation. However, in the present embodiment, even in a case where the contour of the photographic subject has not been precisely traced (even in a case where the tracing operation has been performed roughly) when the drawing line is being specified, the drawn line is judged as a valid line as long as the contour of the photographic subject is within the area of the drawn line having the predetermined width, and predetermined image segmentation processing is performed based on this drawn line. That is, the drawing line for the predetermined image segmentation processing may be specified roughly.
    [0028]This predetermined image division processing is processing for segmenting the pixels of a whole image into foreground pixels and background pixels based on the positional information of some of the foreground pixels and the background pixels specified in the image, in which a segmentation method called Grow Cut is used. In this processing, an image is segmented into foreground pixels and background pixels, with one side of an area segmented by a specified and drawn line having a predetermined width as the positional information of some of the foreground pixels, the other side thereof as the positional information of some of the background pixels, and the inner pixels of this drawn line having the predetermined width as pixels that remain undetermined as to whether they are a foreground or a background.
    [0029]FIG. 4B is a diagram showing a new boundary line created based on the foreground pixels and the background pixels determined by the image segmentation processing being performed on the first frame as described above, and a thick line (drawing line) of a predetermined width created based on this boundary line. That is, FIG. 4B is showing a state where a new boundary line has been created based on foreground pixels and background pixels newly determined by image segmentation processing for segmenting pixels into foreground pixels and background pixels being performed on the inner pixels of the drawn line of the predetermined width which remain undetermined as to whether they are a foreground or a background, and a thick line having a predetermined width has been created and drawn along this boundary line.
    [0030]FIG. 4C is a diagram showing a state where the drawn line in the preceding frame image has been applied in a corresponding area in the following frame image. That is, FIG. 4C is showing a state where the drawing line of the predetermined width newly created in FIG. 4B has been applied in a corresponding area (identical area) in the following frame, in which the contour of the photographic subject is located at a position shifted from the center line (imaginary line) of the drawing line having the predetermined width. Here, as in the above-described case, image segmentation processing for segmenting pixels into foreground pixels and background pixels is performed on the whole image with the inner pixels of the drawing line as pixels that remain undetermined as to whether they are a foreground or a background, whereby a boundary line between the foreground pixels and the background pixels is newly determined. In addition, processing for drawing and creating a thick line having a predetermined width along the boundary line is performed. Then, this new boundary line is applied in the following frame. Hereafter, the above-described operations are repeatedly performed for each frame.
    [0031]As described above, in the present embodiment, an image processing device (tablet terminal device) is structured to include a segmentation processing section (the control section 1 and the program memory 3 a ) which performs predetermined image segmentation processing for segmenting the pixels of a whole image into foreground pixels and background pixels based on the positional information of some of the foreground pixels and the positional information of some of the background pixels specified in the image, a specifying section (the control section 1 , the program memory 3 a , and the touch display section 6 ) which specifies a drawing line having a predetermined width (several pixels to several tens of pixels) on the image to be subjected to the image segmentation processing by the division processing means, and a segmentation processing control section (the control section 1 and the program memory 3 a ) which controls the predetermined image segmentation processing to be performed on the image, with one side of an area segmented by the drawing line of the predetermined width specified by the specifying section as the positional information of some of the foreground pixels, the other side of the area as the positional information of some of the background pixels, and the inner pixels of the drawing line of the predetermined width as pixels that remain undetermined as to whether the pixels are a foreground or a background.
    [0032]Next, the operation concept of the image processing device (tablet terminal device) of the present embodiment is described with reference to flowcharts shown in FIG. 5 and FIG. 6 . Here, each function described in the flowcharts is stored in a readable program code format, and operations based on these program codes are sequentially performed. Also, operations based on the above-described program codes transmitted over a transmission medium such as a network can also be sequentially performed. That is, the unique operations of the present embodiment can be performed using programs and data supplied from an outside source over a transmission medium, in addition to a recording medium. Note that these flowcharts in FIG. 5 and FIG. 6 outline operations of the characteristic portion of the present embodiment from among all of the operations of the tablet terminal device. After exiting the flows in FIG. 5 and FIG. 6 , the procedure returns to the main flow (not shown) of the overall operation.
    [0033]FIG. 5 and FIG. 6 are flowcharts of moving image processing for combining a photographic subject (marathon runner) extracted from a moving image with another moving image, which is an operation of the characteristic portion of the present embodiment.
    [0034]First, when a selection operation for respectively selecting a moving image for foreground extraction and a moving image for a background as processing targets from a list screen showing an image list is performed (Step S 1 of FIG. 5 ), the control section 1 starts a playback operation for reading out the selected moving image data for foreground extraction and displaying it on the touch display section 6 (Step S 2 ). In this state, if a pause operation for instructing to temporarily stop the playback is performed when a desired photographic subject (marathon runner) appears in the playback screen (Step S 3 ), the control section 1 temporarily stops the playback operation and causes a frame image at this stopped point to be displayed in a stopped state (Step S 4 ). Then, the control section 1 switches the current state to a state where a tracing operation (operation for drawing a closed curve line) can be accepted to be performed on the displayed frame image (touch screen) (Step S 5 ).
    [0035]Here, when the contour (outline: closed curve) of the photographic subject (marathon runner) is “traced” with a finger or a pen tip by a touch operation, a thick drawing line having a predetermined width is displayed on the “traced portion” along the trajectory of the operation, as shown in FIGS. 3A and 3B (Step S 6 ). In a case where the trajectory of the tracing operation is straying far from the contour of the photographic subject by a distance greater than the predetermined width of the thick line, a notification indicating this situation may be provided to the user by a message being displayed.
    [0036]Then, when the whole contour of the photographic subject is “traced” by the touch operation, the control section 1 proceeds to the following Step S 7 , and designates the inner pixels of the drawn line of the predetermined width as pixels that remain undetermined as to whether they are a foreground or a background.
    [0037]Next, the control section 1 designates, as pixels determined to be a foreground, pixels of an area excluding the drawn line which are located within the closed curve line created by the drawn line (Step S 8 ). In addition, the control section 1 designates, as pixels determined to be a background, pixels of an area excluding the drawn line which are located outside the closed curve line created by the drawn line (Step S 9 ). Then, the control section 1 performs image segmentation processing for segmenting the inner pixels of the drawn line into foreground pixels and background pixels based on designation information regarding the designated foreground and background (Step S 10 ).
    [0038]In the image segmentation processing of this embodiment (Step S 10 ), the initially designated foreground pixels and background pixels are taken as determined pixels for which determination as to whether they are a foreground or a background has been completed. For the target pixels (the inner pixels of the drawn line) that remain undetermined as to whether they are a foreground or a background, processing for improving a confidence level as to whether a target pixel is a foreground or a background is repeated based on the information of a surrounding pixel located around the target pixel and having a higher confidence level as to whether it is a foreground or a background as compared to that of the target pixel, and eventually the determination of all of the target pixels as to whether they are a foreground or a background is completed. That is, when surrounding pixels whose confidence levels as to whether they are a foreground or a background are higher than those of the target pixels are present around the target pixels (the inner pixels of the drawn line) that remain undetermined as to whether they are a foreground or a background, and the pixel values of the target pixels and the pixel values of the surrounding pixels are close in distance, processing is repeated in which the label of a target pixel indicating whether it is a foreground or a background is changed to the same label as that of a surrounding pixel and the confidence level of the target pixel is changed based on the confidence level of the surrounding pixel and the distance, and eventually the determination of all of the target pixels as to whether they are a foreground or a background is completed.
    [0039]When the determination of the inner pixels of the drawn line as to whether they are a foreground or a background is completed for all of the inner pixels, the control section 1 newly specifies, based on the determined foreground and the determined background, a boundary line portion (a boundary line) between the foreground and the background, as shown in FIG. 4B (Step S 11 ), and newly creates a thick drawing line of a predetermined width along the specified boundary line portion (boundary line) (Step S 12 ). Then, the control section 1 proceeds to the flow of FIG. 6 , and judges whether there is a subsequent frame (Step S 13 ). When judged that there is a subsequent frame (YES at Step S 13 ), the control section 1 judges whether there is the photographic subject (marathon runner) in a corresponding area in this frame (Step S 14 ).
    [0040]When judged that there is the photographic subject in a corresponding area in the frame (YES at Step S 14 ), the control section 1 designates this frame image as a processing target (Step S 15 ), and after performing processing in which the drawing line of the predetermined width created for the preceding frame (the immediately preceding frame) is drawn in the corresponding area in the designated processing target frame (Step S 16 ), designates the inner pixels of this drawn line having the predetermined width as pixels that remain undetermined as to whether they are a foreground or a background (Step S 17 ), as shown in FIG. 4C . Next, the control section 1 designates, as pixels determined to be a foreground, pixels of an area excluding the drawn line which are located within a closed curve line created by the drawn line (Step S 18 ). In addition, the control section 1 designates, as pixels determined to be a background, pixels of an area excluding the drawn line which are located outside the closed curve line created by the drawn line (Step S 19 ). Then, the control section 1 returns to Step S 10 in FIG. 5 and performs image segmentation processing for segmenting the inner pixels of the drawn line into foreground pixels and background pixels. Hereafter, until a judgment is made at Step S 13 that there is no subsequent frame, the above-described operations are repeated.
    [0041]At Step S 13 , when judged that there is no subsequent frame (NO at Step S 13 ), the control section 1 performs predetermined moving image processing based on a result of the segmentation into a foreground and a background (Steps S 20 to S 22 ). That is, the control section 1 performs processing for extracting the foreground portion (marathon runner) from each frame of the moving image for foreground extraction (Step S 20 ), reading out the selected moving image for the background, combining the extracted foreground portion (marathon runner) with the moving image for the background (Step S 21 ), and storing the composite image (moving image) (Step S 22 ).
    [0042]As described above, in the present embodiment, the control section 1 performs predetermined image segmentation processing for segmenting the pixels of a whole image into foreground pixels and background pixels based on the positional information of some of the foreground pixels and the positional information of some of the background pixels specified in the image, with one side of an area segmented by a drawing line of a predetermined width specified in the image that is a image segmentation processing target as the positional information of some of the foreground pixels, the other side the area as the positional information of some of the background pixels, and the inner pixels of the drawing line having the predetermined width as pixels that remain undetermined as to whether they are a foreground or a background. As a result of this configuration, the entire processing for segmenting the pixels of an image into background pixels and foreground pixels can be simplified as compared to, for example, a method in which a boundary line is pursued from the amount of characteristics such as the colors and edges of pixels constituting the boundary line. In addition, when a drawing line having a predetermined width is to be specified, it can be specified roughly by an amount equal to the predetermined width. That is, image segmentation can be precisely performed with a simple specifying operation by the user.
    [0043]Also, when an image among two sequentially captured images has been entirely segmented into foreground pixels and background pixels by image segmentation processing, the control section 1 newly creates a drawing line of a predetermined width along a boundary line between the foreground pixels and the background pixels in the image, and applies this new drawing line in a corresponding area in the other image. As a result of this configuration, when sequentially captured images are to be sequentially segmented into a foreground and a background, a drawn line of a predetermined width can be reused, by which the entire processing can be simplified.
    [0044]In this case, since the sequentially captured images are a moving image constituted by plurality of frames, the entire processing can be significantly simplified. In addition, by merely performing an operation of roughly tracing the contour of a photographic subject in a first frame image, the user can extract the photographic subject as a foreground from each of the subsequent frame images. Therefore, the drawing operation is not required to be performed on all of the frame images, which significantly simplify the user's operation.
    [0045]Moreover, in the predetermined image segmentation processing, foreground pixels and background pixels initially designated are taken as determined pixels for which determination as to whether they are a foreground or a background has been completed. For target pixels that remain undetermined as to whether they are a foreground or a background, processing for improving a confidence level as to whether a target pixel is a foreground or a background is repeated based on the information of a surrounding pixel located around the target pixel and having a higher confidence level as to whether it is a foreground or a background as compared to that of the target pixel, and eventually the determination of all of the target pixels as to whether they are a foreground or a background is completed. As a result of this configuration, the entire processing for segmenting pixels in an image into background pixels and foreground pixels can be simplified.
    [0046]In this case, when surrounding pixels whose confidence levels as to whether they are a foreground or a background are higher than those of target pixels are present around the target pixels that remain undetermined as to whether they are a foreground or a background, and the pixel values of the target pixels and the pixel values of the surrounding pixels are close in distance, processing is repeated in which the label of a target pixel indicating whether it is a foreground or a background is changed to the same label as that of a surrounding pixel and the confidence level of the target pixel is changed based on the confidence level of the surrounding pixel and the distance, and eventually the determination of all of the target pixels as to whether they are a foreground or a background is completed. As a result of this configuration, a confidence level as to whether pixels are a foreground or a background can be accurately determined.
    [0047]In the above-described embodiment, the present invention is used for moving image data. However, a configuration is also possible in which pixels in a plurality of sequentially (consecutively) captured images are segmented into background pixels and foreground pixels. In this case, the predetermined width of the drawing line is changed in accordance with the speed of the consecutive capturing. For example, the predetermined width of the drawing line may become thicker as the speed of the consecutive capturing slows down.
    [0048]Also, in the above-described embodiment, an inner area surrounded by a drawing line (closed curve line) of a predetermined width is extracted as a foreground, and an area outside the line is extracted as a background. However, a configuration may be adopted in which the area outside the drawing line (closed curve line) of the predetermined width is extracted as a foreground, and the inner area is extracted as a background.
    [0049]Moreover, in the above-described embodiment, pixels in an image are segmented into “background pixels” and “foreground pixels”. However, these expressions “background pixels” and “foreground pixels” are expressions for descriptive purposes, and the present invention is not limited to the case where segmentation is performed with an area excluding a photographic subject as a background and the photographic subject as a foreground. In a case where an area in an image is segmented into the area of photographic subject A and the area of photographic subject B, one may be “background pixels” and the other may be “foreground pixels”.
    [0050]Furthermore, in the above-described embodiment, the segmentation method called Grow Cut is used as the predetermined image segmentation processing. However, other segmentation methods may also be used.
    [0051]Still further, in the above-described embodiment, the moving image processing is performed in which a photographic subject (marathon runner) is extracted as a foreground from each frame image of a moving image where the photographic subject is a marathon runner, and combined with another moving image. However, processing may be performed in which a photographic subject is cut out as a foreground, and the portion from which the photographic subject has been cut out is covered with a background.
    [0052]Yet still further, in the above-described embodiment, the present invention has been applied to a tablet terminal device as an image processing device. However, the present invention is not limited thereto, and may be applied to a personal computer, a PDA (Personal Digital Assistant), a cellular phone such as a smart phone, a game machine, a music player, or a digital camera itself.
    [0053]Yet still further, in the above-described embodiment, each function (section) is actualized by each program stored in the program memory 3 a being executed by the control section 1 . However, dedicated circuit blocks for the respective functions (sections) may be provided.
    [0054]In this case, the image processing device may be constituted by a segmentation processing section which segments an image into a foreground and a background; a boundary position acquisition section which acquires the positional information of a boundary line for a case where a first image is segmented into a foreground and a background by the segmentation processing section; and a segmentation control section which controls the segmentation processing section to segment a second image having a predetermined relationship with the first image by use of the positional information of the boundary line acquired by the boundary position acquisition section.
    [0055]Also, a configuration may be adopted in which the segmentation processing section segments the pixels of the whole image into foreground pixels and background pixels by use of the positional information of a temporary boundary line specified on the image, and the segmentation control section specifies a temporary boundary line on the second image based on the positional information of the boundary line acquired with the first image as a target by the boundary position acquisition section, and controls the segmentation processing section to segment the second image.
    [0056]Moreover, a configuration may be adopted in which a specification section is provided which specifies a boundary line by a user operation performed on the image, and the segmentation control section designates, as a temporary boundary line on the first image, a boundary line specified with the first image as a target by the specification section, and controls the segmentation processing section to segment the first image.
    [0057]Furthermore, a configuration may be adopted in which the specification section creates and displays a drawing line having a predetermined width by a drawing operation performed on the image by the user, and designates the created drawing line of the predetermined width as the temporary boundary line.
    [0058]Still further, a configuration may be adopted in which the segmentation processing section performs predetermined image segmentation processing for segmenting the pixels of the whole image into foreground pixels and background pixels by use of the positional information of some of the foreground pixels or the background pixels specified in the image; and the segmentation control section designates pixels located at a predetermined distance away from the boundary line as some of the foreground pixels or the background pixels described above, and then controls the segmentation processing section to perform the image segmentation.
    [0059]Yet still further, a configuration may be adopted in which the segmentation processing section performs predetermined image segmentation processing for segmenting the pixels of the whole image into foreground pixels and background pixels by use of the positional information of some of the foreground pixels and the background pixels specified in the image; and the segmentation control section controls the segmentation processing section to perform the image segmentation, with pixels located at the predetermined distance away on one side of an area segmented by the boundary line as some of the foreground pixels described above, pixels located at the predetermined distance away on the other side of the area segmented by the boundary line as some of the background pixels described above, and pixels located within the predetermined distance from the boundary line as pixels that remain undetermined as to whether they are a foreground or a background.
    [0060]Yet still further, a configuration may be adopted in which an image acquisition section is further provided which acquires, as the first image and the second image, two captured images showing the same photographic subject.
    [0061]Yet still further, a configuration may be adopted in which an image acquisition section is further provided which acquires two sequentially captured images as the first image and the second image.
    [0062]Yet still further, a configuration may be adopted in which the image acquisition section sequentially acquires, as the first image and the second image, two sequentially captured images from among a plurality of frame images included in moving image data; the boundary position acquisition section sequentially acquires the positional information of a boundary line when sequential segmentation is performed by the segmentation processing section with each frame image sequentially acquired by the image acquisition section as a target: and the segmentation control section controls the segmentation processing section to sequentially perform segmentation by use of the positional information of the boundary line sequentially acquired by the boundary position acquisition section with each frame image sequentially acquired by the image acquisition section as a target.
    [0063]Yet still further, a configuration may be adopted in which the segmentation control section controls such that a boundary line for a first frame image to be segmented by the segmentation processing section from among the plurality of frame images included in the moving image data is specified by a user operation on the image.
    [0064]Yet still further, a configuration may be adopted in which the segmentation processing section performs predetermined image segmentation processing for taking initially designated foreground pixels and background pixels as determined pixels for which determination as to whether they are a foreground or a background has been completed; and repeating, for target pixels that remain undetermined as to whether they are a foreground or a background, processing for improving a confidence level as to whether a target pixel is a foreground or a background based on the information of a surrounding pixel located around the target pixel and having a higher confidence level as to whether it is a foreground or a background as compared to that of the target pixel, so that the determination of all of the target pixels as to whether they are a foreground or a background is eventually completed.
    [0065]Yet still further, a configuration may be adopted in which the segmentation processing section performs predetermined image segmentation processing for repeating, when the surrounding pixels whose confidence levels as to whether they are a foreground or a background are higher than those of the target pixels are present around the target pixels that remain undetermined as to whether they are a foreground or a background, and the pixel values of the target pixels and the pixel values of the surrounding pixels are close in distance, processing in which the label of a target pixel indicating whether it is a foreground or a background is changed to the same label as that of a surrounding pixel and the confidence level of the target pixel is changed based on the confidence level of the surrounding pixel and the distance, so that the determination of all of the target pixels as to whether they are a foreground or a background is eventually completed.
    [0066]Yet still further, the “devices” or the “sections” described in the above-described embodiment are not required to be in a single housing and may be separated into a plurality of housings by function. In addition, the steps in the above-described flowcharts are not required to be processed in time-series, and may be processed in parallel, or individually and independently.
    [0067]While the present invention has been described with reference to the preferred embodiments, it is intended that the invention be not limited by any of the details of the description therein but includes all the embodiments which fall within the scope of the appended claims.
    同族专利
    暂无同族专利