MATLAB/SIMULINK for Engineering Applications day 2:Introduction to simulinkreddyprasad reddyvari
3 days Hands on workshop on MATLAB/SIMULINK for Engineering Applications:
this workshop aims to make students to aware of MATLAB to do own projects in engineering life with best available technology E-Simulink Softwares and tools.
CETPA INFOTECH PVT LTD is one of the IT education and training service provider brands of India that is preferably working in 3 most important domains. It includes IT Training services, software and embedded product development and consulting services.
http://www.cetpainfotech.com
MATLAB/SIMULINK for Engineering Applications day 2:Introduction to simulinkreddyprasad reddyvari
3 days Hands on workshop on MATLAB/SIMULINK for Engineering Applications:
this workshop aims to make students to aware of MATLAB to do own projects in engineering life with best available technology E-Simulink Softwares and tools.
CETPA INFOTECH PVT LTD is one of the IT education and training service provider brands of India that is preferably working in 3 most important domains. It includes IT Training services, software and embedded product development and consulting services.
http://www.cetpainfotech.com
thGAP - BAbyss in Moderno!! Transgenic Human Germline Alternatives ProjectMarc Dusseiller Dusjagr
thGAP - Transgenic Human Germline Alternatives Project, presents an evening of input lectures, discussions and a performative workshop on artistic interventions for future scenarios of human genetic and inheritable modifications.
To begin our lecturers, Marc Dusseiller aka "dusjagr" and Rodrigo Martin Iglesias, will give an overview of their transdisciplinary practices, including the history of hackteria, a global network for sharing knowledge to involve artists in hands-on and Do-It-With-Others (DIWO) working with the lifesciences, and reflections on future scenarios from the 8-bit computer games of the 80ies to current real-world endeavous of genetically modifiying the human species.
We will then follow up with discussions and hands-on experiments on working with embryos, ovums, gametes, genetic materials from code to slime, in a creative and playful workshop setup, where all paticipant can collaborate on artistic interventions into the germline of a post-human future.
The Legacy of Breton In A New Age by Master Terrance LindallBBaez1
Brave Destiny 2003 for the Future for Technocratic Surrealmageddon Destiny for Andre Breton Legacy in Agenda 21 Technocratic Great Reset for Prison Planet Earth Galactica! The Prophecy of the Surreal Blasphemous Desires from the Paradise Lost Governments!
2137ad - Characters that live in Merindol and are at the center of main storiesluforfor
Kurgan is a russian expatriate that is secretly in love with Sonia Contado. Henry is a british soldier that took refuge in Merindol Colony in 2137ad. He is the lover of Sonia Contado.
Explore the multifaceted world of Muntadher Saleh, an Iraqi polymath renowned for his expertise in visual art, writing, design, and pharmacy. This SlideShare delves into his innovative contributions across various disciplines, showcasing his unique ability to blend traditional themes with modern aesthetics. Learn about his impactful artworks, thought-provoking literary pieces, and his vision as a Neo-Pop artist dedicated to raising awareness about Iraq's cultural heritage. Discover why Muntadher Saleh is celebrated as "The Last Polymath" and how his multidisciplinary talents continue to inspire and influence.
The perfect Sundabet Slot mudah menang Promo new member Animated PDF for your conversation. Discover and Share the best GIFs on Tenor
Admin Ramah Cantik Aktif 24 Jam Nonstop siap melayani pemain member Sundabet login via apk sundabet rtp daftar slot gacor daftar
1. Lecture 1: Introduction to
Image Processing and MATLAB
Computer Vision In MATLAB
By. Assist. Prof. Ielaf O.Abdul Majjed
2022-2023
2. Image Processing
Refer to the operation that be applied on the
information of the digital image such as (analysis ,
transformation ,enhancement )
3. Image formation
There are numerous ways to acquire images, but the objective is how to
generate digital image from sensed data (physical image ).since the output of
the most sensors is continuous. Converting continuous sensed data into digital
form involves two processes , sampling and quantization
4. Sampling
f
t
A sampled function
Sampling is the process of converting a signal (for example, a
function of continuous time and/or space) into a numeric
sequence (a function of discrete time and/or space).
∆𝑥
Hint: take enough samples so that the “continuous” image can be
reconstructed from its samples.
5. What is the effect of Δx?
Large Δx (i.e., few samples)
results to overlapping
• Smaller Δx (i.e., more samples)
alleviates aliasing!
How to choose Δx
The sampling period (Δx) Choose according to Nyquist criterion
(should be smaller than or at the most equal to half of the period
of the finest detail present within an image).
Nyquist Theory where W is the max frequency of f(x)
6. Image Sampling
To convert the image to digital we have to sample the function in both
coordinates (x,y)
Two dimensional sampling array
∆𝑦 where W is the max frequency
7. Quantization
f
t
3
2
1
0
Quantization
∆𝑥
Quantization Conversion of the sampled analogue pixel intensities to
discrete valued integer numbers is the process of quantization. Quantization
involves assigning a single value to each sample in such a way that the image
reconstructed from the quantized sample values
12. How are images represented
in the computer?
The image can now be represented as a matrix of integer values
13. What is a Digital Image
Digital image is composed of a finite number of elements, each of
which has a particular location and value. These elements are referred
to as picture elements, image elements, and pixels.
Pixel is the term most widely used to denote the elements of a digital
image
Pixel
14. f(x,y)=i(x,y)r(x,y)
where
1) i(x,y) the amount of illumination
incident to the scene
2) r(x,y) the reflectance from the
object
DIGITAL IMAGE
1
)
,
(
0
)
,
(
0
y
x
r
y
x
i
15. Digital Images(Storage requirements)
0 ≤ f(x,y) ≤ L-1 for all (x,y)
Usually L= 2k
Dynamic Range : [0, L-1]
The number of bits required to store an image
b = M x N x k where k is the number of bits/pixel
N = number of rows
M= number of column
k = number of bits/pixel
• An image is represented by a rectangular array of integers.
17. The MATLAB Environment
• MATLAB window
components:
Workspace
> Displays all the defined
variables
Command Window
> To execute commands
in the MATLAB
environment
Command History
> Displays record of the
commands used
File Editor Window
> Define your functions
18. MATLAB Help
• MATLAB Help is an
extremely powerful
assistance to learning
MATLAB
• Help not only contains the
theoretical background,
but also shows demos for
implementation
• MATLAB Help can be
opened by using the
HELP pull-down menu
19. MATLAB Help (cont.)
• Any command description
can be found by typing
the command in the
search field
• As shown above, the
command to take square
root (sqrt) is searched
• We can also utilize
MATLAB Help from the
command window as
shown
20. More about the Workspace
• who, whos – current variables in the
workspace
• save – save workspace variables to *.mat
file
• load – load variables from *.mat file
• clear – clear workspace variables
21. Matrices in MATLAB
• Matrix is the main MATLAB data type
• How to build a matrix?
– A=[1 2 3; 4 5 6; 7 8 9];
– Creates matrix A of size 3 x 3
• Special matrices:
– zeros(n,m), ones(n,m), eye(n,m),
rand(),…. etc
• Numbers are always double (64 bits)
unless you specify a different data
type
22. Basic Operations on Matrices
• All operators in MATLAB are defined on
matrices: +, -, *, /, ^, sqrt,
sin, cos, etc.
• Element-wise operators defined with a
preceding dot: .*, ./, .^
• size(A) – size vector
• sum(A) – columns sums vector
• sum(sum(A)) – sum of all the elements
23. Variable Name in Matlab
• Variable naming rules
- must be unique in the first 63 characters
- must begin with a letter
- may not contain blank spaces or other types of punctuation
- may contain any combination of letters, digits, and
underscores
- are case-sensitive
- should not use Matlab keyword
• Pre-defined variable names
• pi
24. Logical Operators
• ==, <, >, (not equal) ~=, (not) ~
• find(‘condition’) – Returns indexes
of A’s elements that satisfy the condition
26. Flow Control
• MATLAB has five flow control constructs:
– if statement
– switch statement
– for loop
– while loop
– break statement
27. if
• IF statement condition
– The general form of the IF statement is
IF expression
statements
ELSEIF expression
statements
ELSE
statements
END
28. switch
• SWITCH – Switch among several cases based
on expression
• The general form of SWITCH statement is:
SWITCH switch_expr
CASE case_expr,
statement, …, statement
CASE {case_expr1, case_expr2, case_expr3, …}
statement, …, statement
…
OTHERWISE
statement, …, statement
END
29. switch (cont.)
• Note:
– Only the statements between the matching
CASE and the next CASE, OTHERWISE, or END
are executed
– Unlike C, the SWITCH statement does not fall
through (so BREAKs are unnecessary)
30. for
• FOR repeats statements a specific
number of times
• The general form of a FOR statement is:
FOR variable=expr
statements
END
31. while
• WHILE repeats statements an indefinite
number of times
• The general form of a WHILE statement is:
WHILE expression
statements
END
32. Visualization and Graphics
• plot(x,y),plot(x,sin(x)) – plot 1D function
• figure, figure(k) – open a new figure
• hold on, hold off – refreshing
• axis([xmin xmax ymin ymax]) – change axes
• title(‘figure titile’) – add title to figure
• mesh(x_ax,y_ax,z_mat) – view surface
• contour(z_mat) – view z as topo map
• subplot(3,1,2) – locate several plots in figure
33. Images in MATLAB
• MATLAB can import/export
several image formats:
– BMP (Microsoft Windows Bitmap)
– GIF (Graphics Interchange Files)
– HDF (Hierarchical Data Format)
– JPEG (Joint Photographic
Experts Group)
– PCX (Paintbrush)
– PNG (Portable Network
Graphics)
– TIFF (Tagged Image File Format)
– XWD (X Window Dump)
– raw-data and other types of
image data
• Typically switch images to double
to perform any processing and
convert back to unsigned integer
• Data types in MATLAB
– Double (64-bit double-precision
floating point)
– Single (32-bit single-precision
floating point)
– Int32 (32-bit signed integer)
– Int16 (16-bit signed integer)
– Int8 (8-bit signed integer)
– Uint32 (32-bit unsigned integer)
– Uint16 (16-bit unsigned integer)
– Uint8 (8-bit unsigned integer)
34. Images in MATLAB
• Binary images : {0,1}
• Intensity images : [0,1] or uint8, double etc.
• RGB images : m × n × 3
• Multidimensional images: m × n × p (p is the number of layers)
35. Image Import and Export
• Read and write images in Matlab
img = imread('apple.jpg');
dim = size(img);
figure;
imshow(img);
imwrite(img, 'output.bmp', 'bmp');
• Alternatives to imshow
imagesc(I)
imtool(I)
image(I)
36. Images and Matrices
Column 1 to 256
Row
1
to
256
o
[0, 0]
o
[256, 256]
How to build a matrix (or image)?
Intensity Image:
row = 256;
col = 256;
img = zeros(row, col);
img(100:105, :) = 0.5;
img(:, 100:105) = 1;
figure;
imshow(img);