Chitti app logo

Chitti is better in the app

Coins, streaks and builds — free on Android & iOS

Get the app
Chitti logoChitti

Matrix and Determinants - 1

7 Minutes · Chitti videos

Matrices in image processing for students: learn how digital photos use matrices and how matrix operations edit images. A Tamil maths lesson.

  • Representing shades of grey with pixel numbers from 0 to 255
  • Inverting an image into a negative using matrix subtraction
  • Detecting edges in CCTV footage through matrix multiplication
What this lesson teachesRead the lesson as text

A matrix [ani] is a rectangular arrangement of numbers into rows and columns, used by computers to store and edit digital images. Each tiny dot in a digital picture is a pixel whose colour or brightness value is stored as an entry inside this grid.

How digital images are stored

  • A black and white digital image has height and width, divided into a grid of tiny squares called pixels.
  • In an eight-bit computer system, there are 256 possible values, where 0 represents white, 255 represents black, and the numbers between them represent shades of grey.
  • Each pixel gets a number based on its brightness, and writing these values in rows and columns inside brackets creates an image matrix.
  • For example, a picture can have 768 rows and 1024 columns, creating a large matrix of 1024 by 768 pixels.

Making a negative image by subtraction

To turn a picture into a photographic negative, the computer swaps dark areas with bright areas using matrix subtraction. In a simple black-and-white image where black is 1 and white is 0, subtracting the image matrix from a matrix filled entirely with 1 flips every black pixel to white and every white pixel to black. For a full grayscale photograph, the image matrix is subtracted element by element from a matrix filled completely with 255. For instance, subtracting a black pixel value of 255 from 255 gives 0, while subtracting 235 gives 20, turning the original photo into its exact negative.

Detecting edges in CCTV footage

  • Zooming in on low-quality security camera footage makes the pixels look broken and unclear.
  • To uncover details such as facial features, the computer performs matrix multiplication between the image matrix and a special filter matrix.
  • This filter matrix has negative ones surrounding an eight at its centre to capture changes between nearby pixels.
  • Multiplying by this filter isolates the outlines and edges of the subject, making the person easy to recognise.

Other uses of matrices

Matrix operations are not limited to making photo negatives or finding outlines. Changing values across a matrix allows computers to adjust the brightness of an image. Beyond basic photo editing, matrices play an important role in fields such as computer animation and robotics.

Part of the course

Maths

View course →

More in Chitti videos

  1. 1Discrete Mathematics7 Minutes
  2. 2Probability Distributions - 66 Minutes
  3. 3Probability Distributions - 54 Minutes
  4. 4Probability Distributions - 47 Minutes
  5. 5Probability Distributions - 34 Minutes
  6. 6Probability Distributions – 25 Minutes
  7. 7Probability Distributions – 15 Minutes
  8. 8Ordinary Differential Equations4 Minutes
  9. 9Complex Numbers - 36 Minutes
  10. 10Complex Numbers - 27 Minutes
  11. 11Complex Numbers - 18 Minutes
  12. 12Introduction to Probablity - 52 Minutes
  13. 13Introduction to Probablity - 43 Minutes
  14. 14Introduction to Probablity - 35 Minutes
  15. 15Introduction to Probablity - 27 Minutes
  16. 16Introduction to Probablity - 15 Minutes
  17. 17Vector Algebra5 Minutes
  18. 18Applications of Matrices and Determinants - 26 Minutes
  19. 19Applications of Matrices and Determinants - 17 Minutes
  20. 20Matrix and Determinants - 24 Minutes
  21. 21Matrix and Determinants - 1Now playing
  22. 22Two Dimensional Analytical Geometry5 Minutes
  23. 23Trigonometry – 45 Minutes
  24. 24Trigonometry – 32 Minutes
  25. 25Trigonometry – 26 Minutes
  26. 26Trigonometry – 16 Minutes
  27. 27Basic Algebra – 74 Minutes
  28. 28Basic Algebra – 64 Minutes
  29. 29Basic Algebra – 55 Minutes
  30. 30Basic Algebra – 44 Minutes
  31. 31Basic Algebra – 35 Minutes
  32. 32Basic Algebra – 25 Minutes
  33. 33Basic Algebra – 16 Minutes
  34. 34Sets, Relations, and Functions – 88 Minutes
  35. 35Sets, Relations, and Functions – 75 Minutes
  36. 36Sets, Relations, and Functions – 65 Minutes
  37. 37Sets, Relations, and Functions – 53 Minutes
  38. 38Inverse Function – Karikalan Part – 35 Minutes
  39. 39Introduction to Function5 Minutes
  40. 40Inverse Function – Karikalan Part – 35 Minutes
  41. 41Euler's Number12 Minutes
  42. 42Learn Shapes3 Minutes
  43. 43How the Square Helped Seenu’s Family3 Minutes
  44. 44Cartesian Product – EP – 24 Minutes
  45. 45Equivalent Rational Numbers4 Minutes
  46. 46Whole Numbers6 Minutes
  47. 47Time6 Minutes
  48. 48Properties of Rational Number7 Minutes
  49. 49Multiplication and Division of Rational numbers6 Minutes
  50. 50Addition and Subtraction of Rational Numbers7 Minutes
  51. 51Comparing Rational Numbers7 Minutes
  52. 52Rational Number Between Two Rational Numbers EP – 25 Minutes
  53. 53Rational Number Between Two Rational Numbers EP -15 Minutes
  54. 54The Standard Form of Rational Numbers4 Minutes
  55. 55Decimal As Rational Numbers4 Minutes
  56. 56Properties of Lines5 Minutes
  57. 57Ascending and Descending Order5 Minutes
  58. 58Estimation4 Minutes
  59. 59Reading a Bill5 Minutes
  60. 60Percentage Calculation3 Minutes
  61. 61Digits and Number Places7 Minutes
  62. 62Properties of Subtraction7 Minutes
  63. 63BODMAS7 Minutes
  64. 64Metric System8 Minutes
  65. 65Properties of Whole Numbers4 Minutes
  66. 66Parallelogram3 Minutes
  67. 67Cartesian Product – Part – 111 Minutes
  68. 68Types of Set – III5 Minutes
  69. 69Types of Set – Part – 26 Minutes
  70. 70Types of Sets and Relations – 16 Minutes
  71. 71Set Operations4 Minutes
  72. 72Murder Case Decoding Using Set Theory4 Minutes
  73. 73Union and Intersection5 Minutes
  74. 74Introduction to Set7 Minutes
  75. 75Solving the Sniper Scenario3 Minutes
  76. 76Slope and Equation of a Straight Line6 Minutes
  77. 77Solving Methods of an Equation in Two Variables6 Minutes
  78. 78Application of Linear Equation in Two Variables6 Minutes
  79. 79Introduction to Slope and Lines7 Minutes
  80. 80Introduction to Algebra - EP - 24 Minutes
  81. 81Algebra Ep - 14 Minutes
  82. 82Transversal Lines5 Minutes
  83. 83Properties of Triangle4 Minutes
  84. 84Introduction to Rational Numbers6 Minutes
  85. 85Application of Slope & Lines6 Minutes
  86. 86Introduction to Slope and Lines7 Minutes
  87. 87Classification of Matter: Pure Substances and Mixtures5 Minutes
  88. 88Integer: Multiplication5 Minutes
  89. 89Integer: Addition and Subtraction6 Minutes