--- class: left, top ## Images as Arrays
--- class: left, top ### RGB Images --
--- class: left, top ### Scaler Images --
--- class: left, top ### Binary Images --
--- class: left, top #### Converting from RGB to Grayscale --
--- class: left, top #### Cont'd For each RGB pixel, we compute: -- $$ I = \big[0.299, 0.587, 0.114\big] . \big[R, G, B\big]^T$$ -- ```python def rgb2gray(rgb_image): return np.dot(rgb_image[...,:3], [0.299, 0.587, 0.114]) ``` --- class:left, top #### Results --
--- class:left, top ### Converting from Grayscale to Binary Image #### Thresholding -- ```python def binarize( gray_image , threshold ): threshold = np.max( gray_image ) * threshold return 1 * ( gray_image > threshold ) ``` --- class: left, top #### Results --
--- class: left, top ### Hyperspectral Images -- Pixels in Hyperspectral images consists of many channels. --
--- class:left, top ### Cont'd
--- class:left, top ## Mean and Variance -- ```python print( np.mean( image )) print( np.std( image )) ``` --- class: left, top ## Profiles --
--- class: left, top ## Edges ### First-Order Derivatives -- $$ \begin{bmatrix} \frac{\partial f}{\partial x} \\ \frac{\partial f}{\partial y} \end{bmatrix} $$ -- where: $$\textstyle\frac{\partial f}{\partial x}$$ is the derivative with respect to x (gradient in the x direction) $$\textstyle\frac{\partial f}{\partial y}$$ is the derivative with respect to y (gradient in the y direction). --- class: left, top #### Results --
--- class: left, top ## Computer Vision Opportunities in Egypt ### Internship at [{Affectiva}](https://www.affectiva.com) --
--- class: left, top [{Internship 1: Machine Learning}](https://www.affectiva.com/machine-learning-intern/) -- [{Internship 2: Empath Summer Internship}](https://www.affectiva.com/empath-high-school-summer-internship-program-at-affectiva/) --- class: left, top A very interesting talk by *Rana Elkaliouby* about Affectiva:
--- class: left, top ### 360imaging in Egypt
[{Website}](http://www.360imaging.com/) -- * Planned Dental Surgeries. * They demand highly skilled C++ developers. * Computer Vision background is a plus * They offer opportunities through Wuzzuf. --- class: left, top ### Egyptian AI & Big Data Geeks #### Follow the latest news, technologies, and vacancies in Egypt [{Egyptian AI & Big Data Geeks}](https://www.facebook.com/groups/big.data.egypt/?hc_ref=ARRdEaEGxIrwkMjEnvNxD81ZxbGlFmE6i92Dd4Vdw0vboAUOg05qsCcMkLJNv3-28OE) Also visit the [{**pinned** post}](https://www.facebook.com/groups/big.data.egypt/permalink/1762260707366456/) for lots of info about many related topics. --- class: left, top ## Resources * [{Awsome Computer Vision}](https://github.com/jbhuang0604/awesome-computer-vision), **+5K** starts. * [{Awesome Machine Learning}](https://github.com/josephmisiti/awesome-machine-learning), **30K** starts. --- class: left, top ## Interesting Application: Artistic Flavor ### Neural Doodle [Neural Doodle](https://github.com/alexjc/neural-doodle)