Image Processing using Python

preview_player
Показать описание
Ravi Chityala gave this talk at All Things Python meetup held on November 4th 2015 in Sunnyvale. In this talk, Ravi Chityala introduced image processing using Python with some simple examples. The viewers will learn the basic image processing pipeline, image processing operations such as filter, segmentation, morphology etc.

Рекомендации по теме
Комментарии
Автор

Hello Sir.

I would like to ask why the computation for the summation of the probabilities written this way:



Why was there a need to divide the pdf by the cdf?

monikkarosliannabusto
Автор

dear sir i have a question im new to python i workd on matlab image prossing..
in ur all programs u write imort .... as np like that what all these

ieeehub
Автор

is this book is available for python 3.6

sonaligodve
Автор

import math, numpy
import scipy.misc
from scipy.misc.pilutil import Image

# opening the image and converting it to grayscale

im =

# im is converted to an ndarray

im1 = scipy.misc.fromimage(im)

b = im1.max()
a = im1.min()
print(a, b)

#%% This is a cell separator!

# converting im1 to float

c = im1.astype(float)

#%%
# contrast stretching transformation

im2 = 255*(c-a)/(b-a)

# im2 is converted from an ndarray to an image

im3 = scipy.misc.toimage(im2)

# saving im3 as new file


anon