Matrix slicing
First Claim
1. A method for isolating target elements in a matrix, comprising:
- identifying target matrix elements in a matrix to isolate, wherein the matrix comprises target and non-target matrix elements;
calculating the potential gain of isolated target matrix elements for each cut from a set of matrix cuts by;
selecting a horizontal cut from the set of matrix cuts;
for each remaining cut from the set of matrix cuts between the selected cut and the nearest existing cut above the selected cut;
determining the number of isolated and isolatable target matrix elements above the selected cut and the nearest existing cut above the selected cut attributable to introducing the selected cut to the matrix;
determining the number of isolated and isolatable target matrix elements above the selected cut and the nearest existing cut above the selected cut attributable to introducing the remaining cut to the matrix;
assigning a score to each isolated and isolatable target matrix element attributable to introducing the selected cut to the matrix, wherein the score is proportional to the number of additional vertical cuts required to isolate each isolated or isolatable target matrix element; and
summing the inverse of each score assigned to each isolated and isolatable target matrix element;
setting the potential gain of isolated target matrix elements above the selected cut to the highest calculated sum;
calculating the potential gain of isolated target matrix elements below the selected cut;
selecting the highest calculated potential gain as the potential gain of isolated target elements for the selected cut; and
applying the matrix cut from the set of matrix cuts with the greatest calculated potential gain.
2 Assignments
0 Petitions
Accused Products
Abstract
A user identifies desired target elements in a two dimensional matrix. A set of interesting cuts is created. The maximum potential gain in isolated target elements for each cut in the set of interesting cuts is calculated. The cut with the greatest potential gain is applied to the matrix and removed from the set of interesting cuts. The maximum potential gain for each remaining cut in the set of interesting cuts is recalculated given the cuts applied so far. With each iteration, the cut providing the maximum potential gain is applied to the matrix, removed from the set of interesting cuts, and the maximum gain for each remaining cut is recalculated given the cuts applied to the matrix so far.
-
Citations
14 Claims
-
1. A method for isolating target elements in a matrix, comprising:
-
identifying target matrix elements in a matrix to isolate, wherein the matrix comprises target and non-target matrix elements; calculating the potential gain of isolated target matrix elements for each cut from a set of matrix cuts by; selecting a horizontal cut from the set of matrix cuts; for each remaining cut from the set of matrix cuts between the selected cut and the nearest existing cut above the selected cut; determining the number of isolated and isolatable target matrix elements above the selected cut and the nearest existing cut above the selected cut attributable to introducing the selected cut to the matrix; determining the number of isolated and isolatable target matrix elements above the selected cut and the nearest existing cut above the selected cut attributable to introducing the remaining cut to the matrix; assigning a score to each isolated and isolatable target matrix element attributable to introducing the selected cut to the matrix, wherein the score is proportional to the number of additional vertical cuts required to isolate each isolated or isolatable target matrix element; and summing the inverse of each score assigned to each isolated and isolatable target matrix element; setting the potential gain of isolated target matrix elements above the selected cut to the highest calculated sum; calculating the potential gain of isolated target matrix elements below the selected cut; selecting the highest calculated potential gain as the potential gain of isolated target elements for the selected cut; and applying the matrix cut from the set of matrix cuts with the greatest calculated potential gain. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A computer-readable medium with computer-executable instructions stored thereon for:
-
identifying target matrix elements in a matrix to isolate, wherein the matrix comprises target and non-target matrix elements; calculating the potential gain of isolated target matrix elements for each cut from a set of matrix cuts by; selecting a horizontal cut from the set of matrix cuts; calculating the potential gain of isolated target matrix elements above the selected cut; for each remaining cut from the set of matrix cuts between the selected cut and the nearest existing cut below the selected cut; determining the number of isolated and isolatable target matrix elements below the selected cut and the nearest existing cut below the selected cut attributable to introducing the selected cut to the matrix; determining the number of isolated and isolatable target matrix elements below the selected cut and the nearest existing cut below the selected cut attributable to introducing the remaining cut to the matrix; assigning a score to each isolated and isolatable target matrix element attributable to introducing the selected cut to the matrix, wherein the score is proportional to the number of additional vertical cuts required to isolate each isolated or isolatable target matrix element; and summing the inverse of each score assigned to each isolated and isolatable target matrix element; setting the potential gain of isolated target matrix elements above the selected cut to the highest calculated sum; selecting the highest calculated potential gain as the potential gain of isolated target elements for the selected cut; and applying the matrix cut from the set of matrix cuts with the greatest calculated potential gain. - View Dependent Claims (11, 12)
-
-
13. A system for isolating target matrix elements in a matrix, the system comprising:
-
identifying means for identifying target matrix elements in a matrix to isolate, wherein the matrix comprises target and non-target matrix elements; maximum gain calculating means for calculating the potential gain of isolated target matrix elements for each cut from a set of matrix cuts by; selecting a horizontal cut from the set of matrix cuts; for each remaining cut from the set of matrix cuts between the selected cut and the nearest existing cut above the selected cut; determining the number of isolated and isolatable target matrix elements above the selected cut and the nearest existing cut above the selected cut attributable to introducing the selected cut to the matrix; determining the number of isolated and isolatable target matrix elements above the selected cut and the nearest existing cut above the selected cut attributable to introducing the remaining cut to the matrix; assigning a score to each isolated and isolatable target matrix element attributable to introducing the selected cut to the matrix, wherein the score is proportional to the number of additional vertical cuts required to isolate each isolated or isolatable target matrix element; and summing the inverse of each score assigned to each isolated and isolatable target matrix element; setting the potential gain of isolated target matrix elements above the selected cut to the highest calculated sum; calculating the potential gain of isolated target matrix elements below the selected cut; selecting the highest calculated potential gain as the potential gain of isolated target elements for the selected cut; and isolating means for applying the cut from the set of matrix cuts that results in the maximum potential gain in isolated target matrix elements, wherein applying the cut divides the matrix into homogeneous regions of target and non-target matrix elements. - View Dependent Claims (14)
-
Specification