摘要:
In an example embodiment, a method, apparatus and computer program product are provided. The method includes computing a first cost volume for a light-field image. A first depth map comprising depth information of the plurality of sub-images of the light-field image is computed based on the first cost volume. A first view image comprising reconstruction information is reconstructed based on the depth information of the plurality of sub-images. A second cost volume corresponding to the first cost volume is computed based on the reconstruction information. The second cost volume is filtered based on the first view image to generate an aggregated cost volume. A second depth map is generated based on the aggregated cost volume. The second depth map facilitates generation of a second view image that is associated with a resolution higher than a resolution of the first view image.
摘要:
In an example embodiment a method, apparatus and computer program product are provided. The method includes facilitating receipt of a first and a second image. A first and a second aggregated cost volume associated with pixels of the first and the second images are determined for a plurality of disparity values. A first and a second disparity maps are generated based on the first and the second aggregated cost volume. A confidence map for disparity values of the first image is generated based on the first aggregated cost volume. One or more infinity regions in the first image are determined based on a number of confident pixels in color segments of the first image. A third disparity map is generated by determining filtered disparity values for the pixels of the first image where filtered disparity values for pixels of the one or more infinity regions are a pre-defined disparity value.
摘要:
Various methods are provided for processing images. One example method may include computing a starting point and an ending point for an image seam as defined by an intersection of a rectangle bounding a first image and a rectangle bounding a second image. The method may also include determining whether the starting point and the ending point for the image seam are final points based on a determined mask region. The method may also include refining the starting point and the ending point by using an intersection of a mask image of the first image and a mask image of the second image in an instance in which it is determined that the starting point and the ending point are not final points. The method may also include computing a seam direction and one or more seam points using the starting point and the ending point.
摘要:
In accordance with an example embodiment a method, apparatus and computer program product are provided. The method comprises extracting a set of image features from a first image and a corresponding set of image features from a second image. A first transformation matrix and a second transformation matrix are computed between the first image and the second image based on a matching of the set of image features in the first image with the corresponding set of image features in the second image. A first set of feature points is determined based on the first transformation matrix, and a second set of feature points based on the second transformation matrix. A transformation matrix is estimated between the first set of feature points and the second set of feature points. The second image is aligned with the first image based on the transformation matrix.
摘要:
In accordance with an example embodiment a method, apparatus and computer program product are provided. The method comprise assigning weights to at least one first feature and at least one second feature. The at least one first feature may be associated with a first image and the at least one second feature may be associated with a second image. The weights are assigned based on a distance of the at least one first feature and the at least one second feature from a central portion of the corresponding one of the first image and the second image. The method further includes registering the first image and the second image based at least on the assigned weights to determine transforms between the first image and the second image. The first image and the second image may be based on the determined transform.
摘要:
Various methods are provided for processing images. One example method may include computing a starting point and an ending point for an image seam as defined by an intersection of a rectangle bounding a first image and a rectangle bounding a second image. The method may also include determining whether the starting point and the ending point for the image seam are final points based on a determined mask region. The method may also include refining the starting point and the ending point by using an intersection of a mask image of the first image and a mask image of the second image in an instance in which it is determined that the starting point and the ending point are not final points. The method may also include computing a seam direction and one or more seam points using the starting point and the ending point.
摘要:
In accordance with an example embodiment a method, apparatus and computer program product are provided. The method comprises receiving colour image frames and panchromatic image frames associated with a scene. The colour image frames correspond to the panchromatic image frames. The method further comprises computing registration information based on a panchromatic image frame and one or more panchromatic image frames from among the panchromatic image frames. A colour image frame corresponding to the panchromatic image frame is modified based on the registration information.
摘要:
In an example embodiment, a method, apparatus and computer program product are provided. The method includes facilitating receipt of an image of a scene and determining a graph based on connecting nodes of the image. The nodes are either pixels or superpixels of the image. The graph is determined by determining one or more connections of a node to one or more nodes belonging to a pre-defined image region around the node in the image. The connections are associated with edge weights that are determined based on at least one of similarity parameters and spatial distances between the node and the one or more nodes. The method includes determining disparity values at the nodes of the image based at least on performing tree based aggregation of a cost volume on the graph, where the cost volume is associated with the image and at least one view image of the scene.
摘要:
In an example embodiment, a method, apparatus and computer program product are provided. The method includes facilitating receipt of primary depth map and plurality of color segments, the primary depth map associated with a first image and a second image that are stereoscopic pair of images of a scene, and the color segments associated with the first image. The method includes generating plurality of disparity planes based on the color segments and the primary depth map. The method includes determining aggregated cost volume between pixels of the first and second images for the disparity planes. The method includes assigning plane labels corresponding to the disparity planes to pixels of the first and second images based on the aggregated cost volume, an individual pixel being assigned a plane label. The method includes generating secondary depth map based on the plane labels assigned to the pixels of the first and second images.
摘要:
In an example embodiment, a method, apparatus and computer program product are provided. The method includes facilitating receipt of a first image and a second image of a scene comprising one or more objects. The method includes detecting the objects in the first image by detecting object point of the objects in the first image. The method includes detecting the object points of the objects in the second image based on detection of the object points of the objects in the first image. Detection of an object point in the second image that corresponds to an object point of the first image comprises searching for the object point on an epipolar line in the second image corresponding to the object point of the first image. The method includes determining disparity values between the objects points in the first image and the object points in the second image.