摘要:
A method for colorization of images is presented. The method comprises the following steps: Displaying an image (102); applying multiple color markings (at least two colors are different) to the displayed image (104); automatically coloring the image by applying a constrained optimization to a cost function that is responsive to the marked colors and the intensity differences of the neighborhoods of some of all of the pixels (106); the resultant image is subsequently stored (110), displayed (108), or transferred (112).
摘要:
In a method and system for matting a foreground object F having an opacity α constrained by associating a characteristic with selected pixels in an image having a background B, weights are determined for all edges of neighboring pixels for the image and used to build a Laplacian matrix L. The equation α is solved where α=arg min αT Lα s.t.αi=si, ∀iεS, S is the group of selected pixels, and si is the value indicated by the associated characteristic. The equation Ii=αiFi+(1−αi)Bi is solved for F and B with additional smoothness assumptions on F and B; after which the foreground object F may be composited on a selected background B′ that may be the original background B or may be a different background, thus allowing foreground features to be extracted from the original image and copied to a different background.
摘要:
A method for colorization of images is presented. The method comprises the following steps: Displaying an image (102); applying multiple color markings (at least two colors are different) to the displayed image (104); automatically coloring the image by applying a constrained optimization to a cost function that is responsive to the marked colors and the intensity differences of the neighborhoods of some of all of the pixels (106); the resultant image is subsequently stored (110), displayed (108), or transferred (112).
摘要:
In a method and system for matting a foreground object F having an opacity α constrained by associating a characteristic with selected pixels in an image having a background B, weights are determined for all edges of neighboring pixels for the image and used to build a Laplacian matrix L. The equation α is solved where α=arg min αT Lα s.t.αi=si, ∀iεS, S is the group of selected pixels, and si is the value indicated by the associated characteristic. The equation Ii=αiFi+(1−αi)Bi is solved for F and B with additional smoothness assumptions on F and B; after which the foreground object F may be composited on a selected background B′ that may be the original background B or may be a different background, thus allowing foreground features to be extracted from the original image and copied to a different background.
摘要:
A method maximizes a candidate solution to a cardinality-constrained combinatorial optimization problem of sparse principal component analysis. An approximate method has as input a covariance matrix A, a candidate solution, and a sparsity parameter k. A variational renormalization for the candidate solution vector x with regards to the eigenvalue structure of the covariance matrix A and the sparsity parameter k is then performed by means of a sub-matrix eigenvalue decomposition of A to obtain a variance maximized k-sparse eigenvector x that is the best possible solution. Another method solves the problem by means of a nested greedy search technique that includes a forward and backward pass. An exact solution to the problem initializes a branch-and-bound search with an output of a greedy solution.
摘要:
In a method and system for matting a foreground object F having an opacity α constrained by associating a characteristic with selected pixels in an image having a background B, weights are determined for all edges of neighboring pixels for the image and used to build a Laplacian matrix L. The equation α is solved where α=arg min αT Lα s.t.αi=si, ∀i ∈ S, S is the group of selected pixels, and si is the value indicated by the associated characteristic. The equation Ii=αiFi+(1−αi)Bi is solved for F and B with additional smoothness assumptions on F and B; after which the foreground object F may be composited on a selected background B′ that may be the original background B or may be a different background, thus allowing foreground features to be extracted from the original image and copied to a different background.
摘要翻译:在具有通过将特征与具有背景B的图像中的所选像素相关联而具有不透明度α的前景对象F消除的方法和系统中,为图像的相邻像素的所有边缘确定权重,并且用于构建拉普拉斯矩阵 方程式α被求解,其中α= arg minαL pha pha∈∈∈∈∈∈S S S is is is is is is is is 所选择的像素组以及相关联的特征所指示的值。 方程式I> i i i)))<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 对于F和B,对F和B进行额外的平滑假设求解/ SUB> 之后,可以将前景对象F合成到可以是原始背景B的选定背景B'上,或者可以是不同的背景,从而允许从原始图像提取前景特征并将其复制到不同的背景。
摘要:
A computer implemented method maximizes candidate solutions to a cardinality-constrained combinatorial optimization problem of sparse linear discriminant analysis. A candidate sparse solution vector x with k non-zero elements is inputted, along with a pair of covariance matrices A, B measuring between-class and within-class covariance of binary input data to be classified, the sparsity parameter k denoting a desired cardinality of a final solution vector. A variational renormalization of the candidate solution vector x is performed with regards to the pair of covariance matrices A, B and the sparsity parameter k to obtain a variance maximized discriminant eigenvector {circumflex over (x)} with cardinality k that is locally optimal for the sparsity parameter k and zero-pattern of the candidate sparse solution vector x, and is the final solution vector for the sparse linear discriminant analysis optimization problem. Another method solves the initial problem of finding a candidate sparse solution by means of a nested greedy search technique that includes a forward and backward pass. Another method, finds an exact and optimal solution to the general combinatorial problem by first finding a candidate by means of the previous nested greedy search technique and then using this candidate to initialize a branch-and-bound algorithm which gives the optimal solution.
摘要:
A method determines the probabilities of states of a system represented by a model including of nodes connected by links. Each node represents possible states of a corresponding part of the system, and each link represents statistical dependencies between possible states of related nodes. The nodes are grouped into arbitrary sized clusters such that every node is included in at least one cluster. A minimal number of marginalization constraints to be satisfied between the clusters are determined. A super-node network is constructed so that each cluster of nodes is represented by exactly one super-node. Super-nodes that share one of the marginalization constraints are connected by super-links. The super-node network is searched to locate closed loops of super-nodes containing at least one common node. A normalization operator for each closed loop is determined, and messages between the super-nodes are defined. Initial values are assigned to the messages, and the messages between super-nodes are updated using standard belief propagation. The messages are replaced by associated normalized values using the corresponding normalization operator, and approximate probabilities of the states of the system are determined from the messages when a termination condition is reached.