separable attributes: a technique for solving the sub matrices character count problem. the subsequence character count problem has as its input an array s = s1, &iexcl;&shy;, sn of symbols over alphabet &brvbar;&sup2; and a natural number m. its output is: for every i, i = 1, &iexcl;&shy;, n - m + 1, the number of different alphabet symbols occurring in the subsequence si, si+1, &iexcl;&shy;, si+m-1. the subsequence character count problem is a natural problem that has many uses. it can be solved in linear time for fixed finite alphabets and in time o(n log m) for infinite alphabets. in [1] the problem was used to solve the parameterized matching problem. the character count problem can be generalized to two dimensions and becomes the submatrix character count problem. its input is an n x n matrix t over alphabet &brvbar;&sup2; and a natural number m. its output is: for every i,j, i,j = 1, &iexcl;&shy;, n - m + 1, the number of different alphabet symbols occurring in the submatrix t[i + k,j + &ell;], k = 0, &iexcl;&shy;, m - 1;&ell; = 0, &iexcl;&shy;, m - 1. this problem was motivated by parameterized matching in two dimensions which is a good model for seeking a pattern in an image with a change of color map. the number of different colors in a subarea of an image is considered a "signature". there are many image processing tools that use this measure (see e.g. [5]). the straightforward one dimensional solution slides a window along the text adding an element and deleting an element at every step. the problem with two dimensions is that at every move of the window there are m elements added and m deleted. in this paper we present an alternate solution that generalizes to two dimensions. we achieve a o(n2) time solution to the submatrix character count problem over finite fixed alphabet and a o(n2 log m) solution over an infinite alphabet. the submatrix character count problem is a special case of the color range query problem, where one needs to preprocess a two dimensional nxn array t of symbols over alphabet &brvbar;&sup2; - the colors. subsequently we are interested in answers to queries of the type: given intervals [i1,j1] and [i2,j2], i1,i2,j1,j 2 &brvbar;&aring; {1, &iexcl;&shy;, n} and i1 &iexcl;&uuml; j1, i2 &iexcl;&uuml; j2 give the number of different alphabet symbols (colors) occurring in the submatrix t[k,&ell;], k = i1, &iexcl;&shy;,j1, &ell; = i2,&iexcl;&shy;,j2. jonardan and lopez [6] showed that with a o(n2 log2 n) preprocessing one can answer queries in time o(log2 n). this means that the submatrices character count problem can be solved in time o(n2 log2 n) by preprocessing and then querying, for every location, the m x m submatrix starting at that location. we are not aware of a faster direct approach for solving the submatrix character count problem. however, problems with a similar flavor, where the desired calculation is a convolution, are solved in electrical engineering by a method called separable convolutions or separable filters [4]. a similar notion was used by bird [3] and baker [2] to solve the two dimensional pattern matching problem. the contributions of this paper are two-fold. first, we generalize the notion of separable convolutions to separable attributes. we believe it is important to keep this method in mind as an element of the basic algorithmic toolkit. it has proven useful in the past and, we think, will prove useful for solving various two-dimensional problems in the future. secondly, we use the separable attributes method for providing the fastest algorithm yet for the submatrices character count problem. a full version of this paper can be found at http://www.cs.biu.ac.il/~amir/postscripts/sep.ps.