enow.com Web Search

Search results

  1. Results from the WOW.Com Content Network
  2. Box blur - Wikipedia

    en.wikipedia.org/wiki/Box_blur

    A number of optimizations can be applied when implementing the box blur of a radius r and N pixels: [6] The box blur is a separable filter , so that only two 1D passes of averaging 2 r + 1 pixels will be needed, one horizontal and one vertical, for each pixel.

  3. Flood fill - Wikipedia

    en.wikipedia.org/wiki/Flood_fill

    Flood fill, also called seed fill, is a flooding algorithm that determines and alters the area connected to a given node in a multi-dimensional array with some matching attribute. It is used in the "bucket" fill tool of paint programs to fill connected, similarly colored areas with a different color, and in games such as Go and Minesweeper for ...

  4. Sum coloring - Wikipedia

    en.wikipedia.org/wiki/Sum_coloring

    The sum of the labels is 11, smaller than could be achieved using only two labels. In graph theory, a sum coloring of a graph is a labeling of its vertices by positive integers, with no two adjacent vertices having equal labels, that minimizes the sum of the labels. The minimum sum that can be achieved is called the chromatic sum of the graph. [1]

  5. Nonogram - Wikipedia

    en.wikipedia.org/wiki/Nonogram

    Add the clues together, plus 1 for each "space" in between. For example, if the clue is 6 2 3, this step produces the sum 6 + 1 + 2 + 1 + 3 = 13. Subtract this number from the total available in the row (usually the width or height of the puzzle). For example, if the clue in step 1 is in a row 15 cells wide, the difference is 15 - 13 = 2.

  6. Pascal's triangle - Wikipedia

    en.wikipedia.org/wiki/Pascal's_triangle

    Each entry of each subsequent row is constructed by adding the number above and to the left with the number above and to the right, treating blank entries as 0. For example, the initial number of row 1 (or any other row) is 1 (the sum of 0 and 1), whereas the numbers 1 and 3 in row 3 are added to produce the number 4 in row 4.

  7. Subset sum problem - Wikipedia

    en.wikipedia.org/wiki/Subset_sum_problem

    Let A be the sum of the negative values and B the sum of the positive values; the number of different possible sums is at most B-A, so the total runtime is in (()). For example, if all input values are positive and bounded by some constant C , then B is at most N C , so the time required is O ( N 2 C ) {\displaystyle O(N^{2}C)} .

  8. Graph coloring - Wikipedia

    en.wikipedia.org/wiki/Graph_coloring

    Labels like red and blue are only used when the number of colors is small, and normally it is understood that the labels are drawn from the integers {1, 2, 3, ...}. A coloring using at most k colors is called a (proper) k-coloring. The smallest number of colors needed to color a graph G is called its chromatic number, and is often denoted χ(G).

  9. Equitable coloring - Wikipedia

    en.wikipedia.org/wiki/Equitable_coloring

    The equitable chromatic number of a graph G is the smallest number k such that G has an equitable coloring with k colors. But G might not have equitable colorings for some larger numbers of colors; the equitable chromatic threshold of G is the smallest k such that G has equitable colorings for any number of colors greater than or equal to k. [2]