What we are doing by slicing the red channel of the image's array? I see no difference only white colour is changed to purple colour or violet colour. Please explain this professor.
what is the difference between plt.imshow() and plt.show() ? why do we need to use both to display the image?.
How to change the color of the border of an image?
since the index value starts from zero which is correctimg[74:225,75:225] orimg[75:225,75:225]
What is the meaning of the value 2 or 4 in the below functions:-plt.imshow(img[::2,::2])plt.imshow(img[::4,::4])
Sir, when I run command G = plt.imread('squares.png') I get error that no such file or directoryWhile I already downloaded it in home directory
RGB Examples?How to read images into arrays?How to check the dimensions of an array?Example to access parts of an image How to stride over an array?
How to apply image manipulations functions on other formats of image like .jpeg, bmp etc
24904 visits
Outline:Read images into arrays How to access parts of an array? imread command imshow command show command How to check the dimensions of an array? Example to access parts of an image How to stride over an array? Example to access an RGB image Slice an image of different dimension
Read images into arrays How to access parts of an array? imread command imshow command show command How to check the dimensions of an array? Example to access parts of an image How to stride over an array? Example to access an RGB image Slice an image of different dimension
Show video info
Pre-requisite