You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to get a better idea of what happens with the transforms by looking
at the images as they go through various stages.
My first step of checking out if I can get illumination from original image and filtered
"reflectance". I messed it up, as you can the illunimation looks nothing like how its
supposed to look, I should rethink on the illumination-reflectance model itself.
Signed-off-by: Aditya A Prasad <[email protected]>
IC 040 IMAGE PROCESSING - Code Samples for concepts learned while pursuing this elective
3
3
4
4
## Homomorphic filtering
5
5
6
+
I thank Steve Eddins, for his [blog post](http://blogs.mathworks.com/steve/2013/06/25/homomorphic-filtering-part-1/) on this.
7
+
6
8
In case of homomorphic filtering, I am taking the image into the log domain so as to seperate the illumination and the reflectance of the image (Multiplicative model).
7
9
8
10
As the irregualar illumination varies slowly and reflectance (property if the object being imaged) varies with a high frequency when we look at it with respect to the spatial domain.
@@ -11,4 +13,15 @@ After running my code I get this
11
13
12
14

13
15
14
-
As you can see the illumination is regular across the image. Thus we have removed the multiplicative noise.
16
+
As you can see the illumination is regular across the image. Thus we have removed the multiplicative noise.
17
+
18
+
## DCT
19
+
20
+
This is the code I got from [here](http://bugra.github.io/work/notes/2014-07-12/discre-fourier-cosine-transform-dft-dct-image-compression/), I used it to get great insight into DCT. I added some comments to understand it better.
21
+
22
+
23
+
## Image Transformations
24
+
25
+
The plan is to explore the equations relating to the various transforms using actual images - numpy arrays.
26
+
27
+
My first attempt is at getting the illumination - from the homomorphic filtered - before and after image.
0 commit comments