Category «Computer Vision»

2D to 3D Transformation

Now a days 3d transformation is required in neuroscience in order to visualize the material, even we are proceeding towards the cosmos and try to visualize the object in a 3d space. This article is based on the visualization technique. Lets take the example of a human face. With Deep Learning we have achieved a …

Filters in Image Processing

Filters in image processing are used to smooth or sharpen the images, there are mainly two classes of filters Low Pass Filters and High Pass Filters. In Low pass filters process blocks the high-frequency pixel and allows low-intensity values or frequency to pass through it. In High pass filter process blocks the low-frequency pixels and …

Morphological Operation

Morphology is a branch in which we study the shape and size of an object or in other words, we may say we find the structure of the object. We use the concept of structuring element in this. So what is Structuring Element?. Structuring Elements is a mask or window which is placed on the original image …

Edge Detection

An Edge is a boundary between two regions having different intensity level. When an image change from black to white or vice versa we get an edge. Edge detection is very useful in detecting discontinuity of an image. There are different types of edges in an image like Step Edges, Ramp Edges, Ridge Edges. In image processing, …

Load Different layers of images

A grayscale image and an RGB image is the number of “color channels”: a grayscale image has one. An RGB image has three. An RGB image can be thought of as three superimposed grayscale images, one colored red, one green, and one blue. Lets start to play with an image, take a image and abstract the …

Load a image in OpenCV

In order to load a image in opencv, place the image in a folder/in the same folder where you are executing the code. import cv2 import matplotlib.pyplot as plt img=cv2.imread(‘img1.png’,-1) cv2.imshow(‘image’,img) cv2.waitKey() cv2.destroyAllWindows() Details: cv2.imread(filename[, flags]) Parameters: filename – Name of file to be loaded. flags –Flags specifying the color type of a loaded image: CV_LOAD_IMAGE_ANYDEPTH – …