This document provides an overview of MATLAB for students in engineering fields. It introduces MATLAB as a tool for matrix calculations and numerical computing. It describes the MATLAB environment and commands for help, variables, matrices, logical operations, flow control, scripts and functions. It also covers image processing in MATLAB, including importing and displaying images, image data types, basic operations, and examples of blending and edge detection on images. Finally, it discusses performance issues and the importance of vectorizing code to avoid slow loops.
In computer science, digital image processing is the use of computer algorithms to perform image processing on digital images. As a subcategory or field of digital signal processing, digital image processing has many advantages over analog image processing.It allows a much wider range of algorithms to be applied to the input data and can avoid problems such as the build-up of noise and signal ...
digital image processing pdf
digital image processing books
digital image processing textbook pdf
digital image processing textbook
digital image processing pdf book
digital image processing gonzalez pdf
digital image processing 4th pdf
digital image processing 3rd pdf
digital image processing slides
history of image processing
digital image processing third edition
digital image processing pdf
digital image processing gonzalez ppt
digital image processing 3rd edition pdf
digital image processing third edition pdf
image processing basics
Open Graphics Library (OpenGL) is a cross-language, cross-platform application programming interface (API) for rendering 2D and 3D vector graphics. The API is typically used to interact with a graphics processing unit (GPU), to achieve hardware-accelerated rendering.
In computer science, digital image processing is the use of computer algorithms to perform image processing on digital images. As a subcategory or field of digital signal processing, digital image processing has many advantages over analog image processing.It allows a much wider range of algorithms to be applied to the input data and can avoid problems such as the build-up of noise and signal ...
digital image processing pdf
digital image processing books
digital image processing textbook pdf
digital image processing textbook
digital image processing pdf book
digital image processing gonzalez pdf
digital image processing 4th pdf
digital image processing 3rd pdf
digital image processing slides
history of image processing
digital image processing third edition
digital image processing pdf
digital image processing gonzalez ppt
digital image processing 3rd edition pdf
digital image processing third edition pdf
image processing basics
Open Graphics Library (OpenGL) is a cross-language, cross-platform application programming interface (API) for rendering 2D and 3D vector graphics. The API is typically used to interact with a graphics processing unit (GPU), to achieve hardware-accelerated rendering.
An illumination model, also called a lighting model and sometimes referred to as a shading model, is used to calculate the intensity of light that we should see at a given point on the surface of an object.
In this presentation we described important things about Image processing and computer vision. If you have any query about this presentation then feels free to visit us at:
http://www.siliconmentor.com/
An illumination model, also called a lighting model and sometimes referred to as a shading model, is used to calculate the intensity of light that we should see at a given point on the surface of an object.
In this presentation we described important things about Image processing and computer vision. If you have any query about this presentation then feels free to visit us at:
http://www.siliconmentor.com/
A basic overview, application and usage of MATLAB for engineers. It covered very basics essential that will help one to get started with MATLAB programming easily.
Provided by IDEAS2IGNITE
Introduction to Digital Image Processing Using MATLABRay Phan
This was a 3 hour presentation given to undergraduate and graduate students at Ryerson University in Toronto, Ontario, Canada on an introduction to Digital Image Processing using the MATLAB programming environment. This should provide the basics of performing the most common image processing tasks, as well as providing an introduction to how digital images work and how they're formed.
You can access the images and code that I created and used here: https://www.dropbox.com/sh/s7trtj4xngy3cpq/AAAoAK7Lf-aDRCDFOzYQW64ka?dl=0
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Albert Hoitingh
In this session I delve into the encryption technology used in Microsoft 365 and Microsoft Purview. Including the concepts of Customer Key and Double Key Encryption.
Epistemic Interaction - tuning interfaces to provide information for AI supportAlan Dix
Paper presented at SYNERGY workshop at AVI 2024, Genoa, Italy. 3rd June 2024
https://alandix.com/academic/papers/synergy2024-epistemic/
As machine learning integrates deeper into human-computer interactions, the concept of epistemic interaction emerges, aiming to refine these interactions to enhance system adaptability. This approach encourages minor, intentional adjustments in user behaviour to enrich the data available for system learning. This paper introduces epistemic interaction within the context of human-system communication, illustrating how deliberate interaction design can improve system understanding and adaptation. Through concrete examples, we demonstrate the potential of epistemic interaction to significantly advance human-computer interaction by leveraging intuitive human communication strategies to inform system design and functionality, offering a novel pathway for enriching user-system engagements.
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualityInflectra
In this insightful webinar, Inflectra explores how artificial intelligence (AI) is transforming software development and testing. Discover how AI-powered tools are revolutionizing every stage of the software development lifecycle (SDLC), from design and prototyping to testing, deployment, and monitoring.
Learn about:
• The Future of Testing: How AI is shifting testing towards verification, analysis, and higher-level skills, while reducing repetitive tasks.
• Test Automation: How AI-powered test case generation, optimization, and self-healing tests are making testing more efficient and effective.
• Visual Testing: Explore the emerging capabilities of AI in visual testing and how it's set to revolutionize UI verification.
• Inflectra's AI Solutions: See demonstrations of Inflectra's cutting-edge AI tools like the ChatGPT plugin and Azure Open AI platform, designed to streamline your testing process.
Whether you're a developer, tester, or QA professional, this webinar will give you valuable insights into how AI is shaping the future of software delivery.
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Tobias Schneck
As AI technology is pushing into IT I was wondering myself, as an “infrastructure container kubernetes guy”, how get this fancy AI technology get managed from an infrastructure operational view? Is it possible to apply our lovely cloud native principals as well? What benefit’s both technologies could bring to each other?
Let me take this questions and provide you a short journey through existing deployment models and use cases for AI software. On practical examples, we discuss what cloud/on-premise strategy we may need for applying it to our own infrastructure to get it to work from an enterprise perspective. I want to give an overview about infrastructure requirements and technologies, what could be beneficial or limiting your AI use cases in an enterprise environment. An interactive Demo will give you some insides, what approaches I got already working for real.
Securing your Kubernetes cluster_ a step-by-step guide to success !KatiaHIMEUR1
Today, after several years of existence, an extremely active community and an ultra-dynamic ecosystem, Kubernetes has established itself as the de facto standard in container orchestration. Thanks to a wide range of managed services, it has never been so easy to set up a ready-to-use Kubernetes cluster.
However, this ease of use means that the subject of security in Kubernetes is often left for later, or even neglected. This exposes companies to significant risks.
In this talk, I'll show you step-by-step how to secure your Kubernetes cluster for greater peace of mind and reliability.
UiPath Test Automation using UiPath Test Suite series, part 3DianaGray10
Welcome to UiPath Test Automation using UiPath Test Suite series part 3. In this session, we will cover desktop automation along with UI automation.
Topics covered:
UI automation Introduction,
UI automation Sample
Desktop automation flow
Pradeep Chinnala, Senior Consultant Automation Developer @WonderBotz and UiPath MVP
Deepak Rai, Automation Practice Lead, Boundaryless Group and UiPath MVP
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf91mobiles
91mobiles recently conducted a Smart TV Buyer Insights Survey in which we asked over 3,000 respondents about the TV they own, aspects they look at on a new TV, and their TV buying preferences.
Key Trends Shaping the Future of Infrastructure.pdfCheryl Hung
Keynote at DIGIT West Expo, Glasgow on 29 May 2024.
Cheryl Hung, ochery.com
Sr Director, Infrastructure Ecosystem, Arm.
The key trends across hardware, cloud and open-source; exploring how these areas are likely to mature and develop over the short and long-term, and then considering how organisations can position themselves to adapt and thrive.
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Ramesh Iyer
In today's fast-changing business world, Companies that adapt and embrace new ideas often need help to keep up with the competition. However, fostering a culture of innovation takes much work. It takes vision, leadership and willingness to take risks in the right proportion. Sachin Dev Duggal, co-founder of Builder.ai, has perfected the art of this balance, creating a company culture where creativity and growth are nurtured at each stage.
Accelerate your Kubernetes clusters with Varnish CachingThijs Feryn
A presentation about the usage and availability of Varnish on Kubernetes. This talk explores the capabilities of Varnish caching and shows how to use the Varnish Helm chart to deploy it to Kubernetes.
This presentation was delivered at K8SUG Singapore. See https://feryn.eu/presentations/accelerate-your-kubernetes-clusters-with-varnish-caching-k8sug-singapore-28-2024 for more details.
1. MATLAB WORKSHOP
FOR
EE, ECE, CS, Geophysics, B
ioinformatics, Mechanical
Engineering
2. Outline
• Introduction to MATLAB
– Basics & Examples
• Image Processing with MATLAB
– Basics & Examples
3. What is MATLAB?
• MATLAB = Matrix Laboratory
• “MATLAB is a high-level language and
interactive environment that enables you to
perform computationally intensive tasks faster
than with traditional programming languages
such as C, C++ and Fortran.”
(www.mathworks.com)
• MATLAB is an interactive, interpreted language
that is designed for fast numerical matrix
calculations
4. 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
5. 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
6. 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
7. 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
- CODE
8. 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), r
and(), randn()
9. 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
- CODE
10. 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
11. Logical Operators
• ==, <, >, (not equal) ~=, (not) ~
• find(‘condition’) – Returns indexes
of A’s elements that satisfy the condition
13. Flow Control
• MATLAB has five flow control constructs:
– if statement
– switch statement
– for loop
– while loop
– break statement
14. if
• IF statement condition
– The general form of the IF statement is
IF expression
statements
ELSEIF expression
statements
ELSE
statements
END
15. 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
16. 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)
17. for
• FOR repeats statements a specific
number of times
• The general form of a FOR statement is:
FOR variable=expr
statements
END
18. Code
Assume k has already been assigned a value.
Create the Hilbert matrix, using zeros to
preallocate the matrix to conserve memory:
a = zeros(k,k) % Preallocate matrix
for m = 1:k
for n = 1:k
a(m,n) = 1/(m+n -1);
end
end
19. while
• WHILE repeats statements an indefinite
number of times
• The general form of a WHILE statement is:
WHILE expression
statements
END
20. Scripts and Functions
• There are two kinds of M-files:
– Scripts, which do not accept input arguments
or return output arguments. They operate on
data in the workspace
– Functions, which can accept input arguments
and return output arguments. Internal
variables are local to the function
21. Functions in MATLAB (cont.)
• Example:
– A file called STAT.M:
function [mean, stdev]=stat(x)
%STAT Interesting statistics.
n=length(x);
mean=sum(x)/n;
stdev=sqrt(sum((x-mean).^2)/n);
– Defines a new function called STAT that calculates
the mean and standard deviation of a vector. Function
name and file name should be the SAME!
22. 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
23. Saving your Work
• save mysession
% creates mysession.mat with all variables
• save mysession a b
% save only variables a and b
• clear all
% clear all variables
• clear a b
% clear variables a and b
• load mysession
% load session
24. Outline
• Introduction to MATLAB
– Basics & Examples
• Image Processing with MATLAB
– Basics & Examples
25. What is the Image Processing Toolbox?
• The Image Processing Toolbox is a collection of
functions that extend the capabilities of the MATLAB’s
numeric computing environment. The toolbox supports a
wide range of image processing operations, including:
– Geometric operations
– Neighborhood and block operations
– Linear filtering and filter design
– Transforms
– Image analysis and enhancement
– Binary image operations
– Region of interest operations
26. Images in MATLAB
• MATLAB can import/export • Data types in MATLAB
several image formats: – Double (64-bit double-precision
– BMP (Microsoft Windows floating point)
Bitmap) – Single (32-bit single-precision
– GIF (Graphics Interchange floating point)
Files) – Int32 (32-bit signed integer)
– HDF (Hierarchical Data Format) – Int16 (16-bit signed integer)
– JPEG (Joint Photographic – Int8 (8-bit signed integer)
Experts Group) – Uint32 (32-bit unsigned integer)
– PCX (Paintbrush) – Uint16 (16-bit unsigned integer)
– PNG (Portable Network – Uint8 (8-bit unsigned integer)
Graphics)
– TIFF (Tagged Image File
Format)
– XWD (X Window Dump)
– raw-data and other types of
image data
27. 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)
28. 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)
29. Images and Matrices
[0, 0]
How to build a matrix
(or image)? o
Intensity Image:
Row 1 to 256
row = 256;
col = 256;
img = zeros(row, col);
img(100:105, :) = 0.5;
img(:, 100:105) = 1;
figure;
o
imshow(img);
Column 1 to 256
[256, 256]
37. Performance Issues
• The idea: MATLAB is
– very fast on vector and matrix operations
– Correspondingly slow with loops
• Try to avoid loops
• Try to vectorize your code
http://www.mathworks.com/support/tech-
notes/1100/1109.html
38. Vectorize Loops
• Example
– Given image matrices, A and B, of the same size (540*380), blend
these two images
apple = imread(‘apple.jpg');
orange = imread(‘orange.jpg’);
• Poor Style
% measure performance using stopwatch timer
tic
for i = 1 : size(apple, 1)
for j = 1 : size(apple, 2)
for k = 1 : size(apple, 3)
output(i, j, k) = (apple(i, j, k) +
orange(i, j, k))/2;
end
end
end
toc
• Elapsed time is 0.138116 seconds
39. Vectorize Loops (cont.)
• Example
– Given image matrices, A and B, of the same size (600*400), blend
these two images
apple = imread(‘apple.jpg');
orange = imread(‘orange.jpg’);
• Better Style
tic % measure performance using stopwatch timer
Output = (apple + orange)/2;
toc
• Elapsed time is 0.099802 seconds
• Computation is faster!