This document discusses linear filtering and its properties. It begins with motivations for noise reduction using techniques like averaging multiple images. It then introduces linear filters like box filters and Gaussian filters for smoothing images. Key properties of linear filters are discussed such as linearity, shift-invariance, and separability. Median filtering is presented as an alternative for salt and pepper noise reduction. Sharpening filters are also covered. Examples are provided throughout to illustrate filtering concepts.
Spatial filtering using image processingAnuj Arora
spatial filtering in image processing (explanation cocept of
mask),lapace filtering and filtering process of image for extract information and reduce noise
Spatial filtering using image processingAnuj Arora
spatial filtering in image processing (explanation cocept of
mask),lapace filtering and filtering process of image for extract information and reduce noise
Digital Image Processing denotes the process of digital images with the use of digital computer. Digital images are contains various types of noises which are reduces the quality of images. Noises can be removed by various enhancement techniques. Image smoothing is a key technology of image enhancement, which can remove noise in images.
digital image processing is Basic concepts, Examples of fields that use Digital Image
Processing, Fundamental steps in Digital Image Processing, Components of
an Image Processing System.
Digital Image Fundamentals: Elements of visual perception, Image sensing
and acquisition, Image sampling and quantization, Some basic relationships
between pixels.
9
2 Image Enhancement in Spatial domain: Some Basic Intensity
Transformation functions, Histogram Processing, Fundamentals of Spatial
Filtering, Smoothing and Sharpening Spatial Filtering.
Self Study:
Image Enhancement In Frequency Domain: Introduction to Fourier
Transform, Smoothing and Sharpening frequency domain filtersBasic concepts, Examples of fields that use Digital Image
Processing, Fundamental steps in Digital Image Processing, Components of
an Image Processing System.
Digital Image Fundamentals: Elements of visual perception, Image sensing
and acquisition, Image sampling and quantization, Some basic relationships
between pixels.
9
2 Image Enhancement in Spatial domain: Some Basic Intensity
Transformation functions, Histogram Processing, Fundamentals of Spatial
Filtering, Smoothing and Sharpening Spatial Filtering.
Self Study:
Image Enhancement In Frequency Domain: Introduction to Fourier
Transform, Smoothing and Sharpening frequency domain filtersBasic concepts, Examples of fields that use Digital Image
Processing, Fundamental steps in Digital Image Processing, Components of
an Image Processing System.
Digital Image Fundamentals: Elements of visual perception, Image sensing
and acquisition, Image sampling and quantization, Some basic relationships
between pixels.
9
2 Image Enhancement in Spatial domain: Some Basic Intensity
Transformation functions, Histogram Processing, Fundamentals of Spatial
Filtering, Smoothing and Sharpening Spatial Filtering.
Self Study:
Image Enhancement In Frequency Domain: Introduction to Fourier
Transform, Smoothing and Sharpening frequency domain filtersBasic concepts, Examples of fields that use Digital Image
Processing, Fundamental steps in Digital Image Processing, Components of
an Image Processing System.
Digital Image Fundamentals: Elements of visual perception, Image sensing
and acquisition, Image sampling and quantization, Some basic relationships
between pixels.
9
2 Image Enhancement in Spatial domain: Some Basic Intensity
Transformation functions, Histogram Processing, Fundamentals of Spatial
Filtering, Smoothing and Sharpening Spatial Filtering.
Self Study:
Image Enhancement In Frequency Domain: Introduction to Fourier
Transform, Smoothing and Sharpening frequency domain filtersBasic concepts, Examples of fields that use Digital Image
Processing, Fundamental steps in Digital Image Processing, Components of
an Image Processing System.
Digital Image Fundamentals: Elements of visual perception, Image sensing
and acquisition, Image sampling and quantization, Some basic relationships
between pixels.
9
2 Basic
This Algorithm is better than canny by 0.7% but lacks the speed and optimization capability which can be changed by including Neural Network and PSO searching to the same.
This used dual FIS Optimization technique to find the high frequency or the edges in the images and neglect the lower frequencies.
Continuing the presentation series, the fourth part is about the blurring and sharpening of images. the manual method of doing the operations is given along with some functions for blurring. the next is about edge detection algorithms like Canny, Sobel, and Prewitt. also, the dilates and the eroded images are provided along with the canny ones.
I HAVE WORKED HARD FOR THIS PRESENTATION!! SO PLEASE SUPPORT GUYS!!!
AI generated text:
In this captivating PowerPoint presentation, we delve into the transformative realm of Artificial Intelligence (AI) and its profound impact on our world. Join us as we explore the intricate facets of AI, its applications, challenges, and its potential to reshape various industries.
In this captivating PowerPoint presentation, we delve into the transformative realm of Artificial Intelligence (AI) and its profound impact on our world. Join us as we explore the intricate facets of AI, its applications, challenges, and its potential to reshape various industries.
Our presentation begins with an engaging introduction to the concept of AI, demystifying its core components and algorithms. We navigate through the historical evolution of AI, from its humble beginnings to the present-day breakthroughs that have brought it into the mainstream.
Moving forward, we showcase the vast array of AI applications across diverse sectors, highlighting its capabilities in healthcare, finance, manufacturing, customer service, and more. Witness how AI-driven solutions revolutionize processes, enhance decision-making, and elevate productivity, leading to unprecedented advancements in our society.
However, no discussion on AI would be complete without addressing the challenges and ethical considerations it poses. We shed light on the potential risks, biases, and privacy concerns associated with AI systems, emphasizing the need for responsible development and deployment.
Furthermore, we delve into the cutting-edge advancements in AI research, such as machine learning, natural language processing, computer vision, and robotics. Gain insights into the future of AI and its potential to drive innovation, unlock new possibilities, and shape the way we live and work.
Throughout the presentation, captivating visuals, real-world examples, and interactive elements keep the audience engaged and ensure a dynamic learning experience. By the end of this thought-provoking session, participants will have a deeper understanding of AI's transformative power and be inspired to embrace the opportunities it presents.
Join us as we embark on an exciting journey, unraveling the mysteries of AI and discovering how it holds the key to a brighter, more intelligent future.
The Roman Empire A Historical Colossus.pdfkaushalkr1407
The Roman Empire, a vast and enduring power, stands as one of history's most remarkable civilizations, leaving an indelible imprint on the world. It emerged from the Roman Republic, transitioning into an imperial powerhouse under the leadership of Augustus Caesar in 27 BCE. This transformation marked the beginning of an era defined by unprecedented territorial expansion, architectural marvels, and profound cultural influence.
The empire's roots lie in the city of Rome, founded, according to legend, by Romulus in 753 BCE. Over centuries, Rome evolved from a small settlement to a formidable republic, characterized by a complex political system with elected officials and checks on power. However, internal strife, class conflicts, and military ambitions paved the way for the end of the Republic. Julius Caesar’s dictatorship and subsequent assassination in 44 BCE created a power vacuum, leading to a civil war. Octavian, later Augustus, emerged victorious, heralding the Roman Empire’s birth.
Under Augustus, the empire experienced the Pax Romana, a 200-year period of relative peace and stability. Augustus reformed the military, established efficient administrative systems, and initiated grand construction projects. The empire's borders expanded, encompassing territories from Britain to Egypt and from Spain to the Euphrates. Roman legions, renowned for their discipline and engineering prowess, secured and maintained these vast territories, building roads, fortifications, and cities that facilitated control and integration.
The Roman Empire’s society was hierarchical, with a rigid class system. At the top were the patricians, wealthy elites who held significant political power. Below them were the plebeians, free citizens with limited political influence, and the vast numbers of slaves who formed the backbone of the economy. The family unit was central, governed by the paterfamilias, the male head who held absolute authority.
Culturally, the Romans were eclectic, absorbing and adapting elements from the civilizations they encountered, particularly the Greeks. Roman art, literature, and philosophy reflected this synthesis, creating a rich cultural tapestry. Latin, the Roman language, became the lingua franca of the Western world, influencing numerous modern languages.
Roman architecture and engineering achievements were monumental. They perfected the arch, vault, and dome, constructing enduring structures like the Colosseum, Pantheon, and aqueducts. These engineering marvels not only showcased Roman ingenuity but also served practical purposes, from public entertainment to water supply.
Operation “Blue Star” is the only event in the history of Independent India where the state went into war with its own people. Even after about 40 years it is not clear if it was culmination of states anger over people of the region, a political game of power or start of dictatorial chapter in the democratic setup.
The people of Punjab felt alienated from main stream due to denial of their just demands during a long democratic struggle since independence. As it happen all over the word, it led to militant struggle with great loss of lives of military, police and civilian personnel. Killing of Indira Gandhi and massacre of innocent Sikhs in Delhi and other India cities was also associated with this movement.
We all have good and bad thoughts from time to time and situation to situation. We are bombarded daily with spiraling thoughts(both negative and positive) creating all-consuming feel , making us difficult to manage with associated suffering. Good thoughts are like our Mob Signal (Positive thought) amidst noise(negative thought) in the atmosphere. Negative thoughts like noise outweigh positive thoughts. These thoughts often create unwanted confusion, trouble, stress and frustration in our mind as well as chaos in our physical world. Negative thoughts are also known as “distorted thinking”.
Palestine last event orientationfvgnh .pptxRaedMohamed3
An EFL lesson about the current events in Palestine. It is intended to be for intermediate students who wish to increase their listening skills through a short lesson in power point.
How to Make a Field invisible in Odoo 17Celine George
It is possible to hide or invisible some fields in odoo. Commonly using “invisible” attribute in the field definition to invisible the fields. This slide will show how to make a field invisible in odoo 17.
Synthetic Fiber Construction in lab .pptxPavel ( NSTU)
Synthetic fiber production is a fascinating and complex field that blends chemistry, engineering, and environmental science. By understanding these aspects, students can gain a comprehensive view of synthetic fiber production, its impact on society and the environment, and the potential for future innovations. Synthetic fibers play a crucial role in modern society, impacting various aspects of daily life, industry, and the environment. ynthetic fibers are integral to modern life, offering a range of benefits from cost-effectiveness and versatility to innovative applications and performance characteristics. While they pose environmental challenges, ongoing research and development aim to create more sustainable and eco-friendly alternatives. Understanding the importance of synthetic fibers helps in appreciating their role in the economy, industry, and daily life, while also emphasizing the need for sustainable practices and innovation.
The Art Pastor's Guide to Sabbath | Steve ThomasonSteve Thomason
What is the purpose of the Sabbath Law in the Torah. It is interesting to compare how the context of the law shifts from Exodus to Deuteronomy. Who gets to rest, and why?
Read| The latest issue of The Challenger is here! We are thrilled to announce that our school paper has qualified for the NATIONAL SCHOOLS PRESS CONFERENCE (NSPC) 2024. Thank you for your unwavering support and trust. Dive into the stories that made us stand out!
Ethnobotany and Ethnopharmacology:
Ethnobotany in herbal drug evaluation,
Impact of Ethnobotany in traditional medicine,
New development in herbals,
Bio-prospecting tools for drug discovery,
Role of Ethnopharmacology in drug evaluation,
Reverse Pharmacology.
2. Motivation: Noise reduction
Given a camera and a still scene, how can you
reduce noise?
Take lots of images and average them!
What’s the next best thing?
Source: S. Seitz
3. • Let’s replace each pixel with a weighted
average of its neighborhood
• The weights are called the filter kernel
• What are the weights for a 3x3 moving
average?
Moving average
1
1
1
1
1
1
1
1
1
“box filter”
Source: D. Lowe
4. Review: Color
• What are some linear color spaces?
• What are some non-linear color spaces?
• What is a perceptually uniform color space?
• What is color constancy?
• What are some applications of color in
computer vision?
6. Key properties
• Linearity: filter(f1 + f2 ) = filter(f1) + filter(f2)
• Shift invariance: same behavior regardless of
pixel location: filter(shift(f)) = shift(filter(f))
• Theoretical result: any linear shift-invariant
operator can be represented as a convolution
7. Properties in more detail
• Commutative: a * b = b * a
• Conceptually no difference between filter and signal
• Associative: a * (b * c) = (a * b) * c
• Often apply several filters one after another: (((a * b1) * b2) * b3)
• This is equivalent to applying one filter: a * (b1 * b2 * b3)
• Distributes over addition: a * (b + c) = (a * b) + (a * c)
• Scalars factor out: ka * b = a * kb = k (a * b)
• Identity: unit impulse e = […, 0, 0, 1, 0, 0, …],
a * e = a
8. Annoying details
What is the size of the output?
• MATLAB: filter2(g, f, shape)
• shape = ‘full’: output size is sum of sizes of f and g
• shape = ‘same’: output size is same as f
• shape = ‘valid’: output size is difference of sizes of f and g
f
g
g
g
g
f
g
g
g
g
f
g
g
g
g
full same valid
9. Annoying details
What about near the edge?
• the filter window falls off the edge of the image
• need to extrapolate
• methods:
– clip filter (black)
– wrap around
– copy edge
– reflect across edge
Source: S. Marschner
10. Annoying details
What about near the edge?
• the filter window falls off the edge of the image
• need to extrapolate
• methods (MATLAB):
– clip filter (black): imfilter(f, g, 0)
– wrap around: imfilter(f, g, ‘circular’)
– copy edge: imfilter(f, g, ‘replicate’)
– reflect across edge: imfilter(f, g, ‘symmetric’)
Source: S. Marschner
16. Practice with linear filters
Original
1
1
1
1
1
1
1
1
1
Blur (with a
box filter)
Source: D. Lowe
17. Practice with linear filters
Original
1
1
1
1
1
1
1
1
1
0
0
0
0
2
0
0
0
0
- ?
(Note that filter sums to 1)
Source: D. Lowe
18. Practice with linear filters
Original
1
1
1
1
1
1
1
1
1
0
0
0
0
2
0
0
0
0
-
Sharpening filter
- Accentuates differences
with local average
Source: D. Lowe
20. Smoothing with box filter revisited
• Smoothing with an average actually doesn’t compare
at all well with a defocused lens
• Most obvious difference is that a single point of light
viewed in a defocused lens looks like a fuzzy blob; but
the averaging process would give a little square
Source: D. Forsyth
21. Smoothing with box filter revisited
• Smoothing with an average actually doesn’t compare
at all well with a defocused lens
• Most obvious difference is that a single point of light
viewed in a defocused lens looks like a fuzzy blob; but
the averaging process would give a little square
• Better idea: to eliminate edge effects, weight
contribution of neighborhood pixels according to their
closeness to the center, like so:
“fuzzy blob”
22. Gaussian Kernel
• Constant factor at front makes volume sum to 1 (can be
ignored, as we should re-normalize weights to sum to 1 in
any case)
0.003 0.013 0.022 0.013 0.003
0.013 0.059 0.097 0.059 0.013
0.022 0.097 0.159 0.097 0.022
0.013 0.059 0.097 0.059 0.013
0.003 0.013 0.022 0.013 0.003
5 x 5, σ = 1
Source: C. Rasmussen
23. Choosing kernel width
• Gaussian filters have infinite support, but
discrete filters use finite kernels
Source: K. Grauman
27. Gaussian filters
• Remove “high-frequency” components from
the image (low-pass filter)
• Convolution with self is another Gaussian
• So can smooth with small-width kernel, repeat, and get
same result as larger-width kernel would have
• Convolving two times with Gaussian kernel of width σ is
same as convolving once with kernel of width σ√2
• Separable kernel
• Factors into product of two 1D Gaussians
Source: K. Grauman
29. Separability example
*
*
=
=
2D convolution
(center location only)
Source: K. Grauman
The filter factors
into a product of 1D
filters:
Perform convolution
along rows:
Followed by convolution
along the remaining column:
31. Noise
• Salt and pepper
noise: contains
random occurrences
of black and white
pixels
• Impulse noise:
contains random
occurrences of white
pixels
• Gaussian noise:
variations in
intensity drawn from
a Gaussian normal
distribution
Original
Gaussian noise
Salt and pepper noise
Impulse noise
Source: S. Seitz
32. Gaussian noise
• Mathematical model: sum of many
independent factors
• Good for small standard deviations
• Assumption: independent, zero-mean noise
Source: M. Hebert
33. Smoothing with larger standard deviations suppresses noise,
but also blurs the image
Reducing Gaussian noise
35. Alternative idea: Median filtering
• A median filter operates over a window by
selecting the median intensity in the window
• Is median filtering linear?
Source: K. Grauman
36. Median filter
• What advantage does median filtering have
over Gaussian filtering?
• Robustness to outliers
Source: K. Grauman
39. Sharpening revisited
What does blurring take away?
original smoothed (5x5)
–
detail
=
sharpened
=
Let’s add it back:
original detail
+ α
40. Unsharp mask filter
Gaussian
unit impulse
Laplacian of Gaussian
)
)
1
((
)
1
(
)
( g
e
f
g
f
f
g
f
f
f −
+
∗
=
∗
−
+
=
∗
−
+ α
α
α
α
image blurred
image
unit impulse
(identity)