1. Home
  2. Docs
  3. Computer Vision
  4. Introduction to OpenCV
  5. Overview of Digital Image...
  6. Working with image

Working with image

In addition to accessing, each image intensity with a row and column index, we also have an index for each channel

  • 0 – Red Channel
  • 1 – Blue Channel
  • 2 – Green Channel

An image is a file on your computer. There are two types of images,

  • Joint Photographic Expert Group image (JPEG)
  • Portable Network Graphics (PNG)

These formats reduce file size and have other features. The steps involved are:

  • Loading the image
  • If the image and the code is in the same directory, then specify the file name

If the image and the code are in different directory, then specify the path of the image

Loading

Views: 2

How can we help?

0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments