35
Filtering 2

Filtering 2 - University of Minnesotavision.psych.umn.edu/users/schrater/schrater_lab/courses/CompVis03/ImageFiltering2.pdfFiltering as a Linear Transform h = 1 4 6 4 1 F = F convolved

  • Upload
    others

  • View
    1

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Filtering 2 - University of Minnesotavision.psych.umn.edu/users/schrater/schrater_lab/courses/CompVis03/ImageFiltering2.pdfFiltering as a Linear Transform h = 1 4 6 4 1 F = F convolved

Filtering 2

Page 2: Filtering 2 - University of Minnesotavision.psych.umn.edu/users/schrater/schrater_lab/courses/CompVis03/ImageFiltering2.pdfFiltering as a Linear Transform h = 1 4 6 4 1 F = F convolved

Topics

• Filtering as a linear transform• Fourier Transform• Filtering as feature finding• Filtering for target detection

Page 3: Filtering 2 - University of Minnesotavision.psych.umn.edu/users/schrater/schrater_lab/courses/CompVis03/ImageFiltering2.pdfFiltering as a Linear Transform h = 1 4 6 4 1 F = F convolved

For a filter size N by M,Rij = HuvFi-u, j-v

v=1:MÂ

u=1:NÂ

Page 4: Filtering 2 - University of Minnesotavision.psych.umn.edu/users/schrater/schrater_lab/courses/CompVis03/ImageFiltering2.pdfFiltering as a Linear Transform h = 1 4 6 4 1 F = F convolved
Page 5: Filtering 2 - University of Minnesotavision.psych.umn.edu/users/schrater/schrater_lab/courses/CompVis03/ImageFiltering2.pdfFiltering as a Linear Transform h = 1 4 6 4 1 F = F convolved
Page 6: Filtering 2 - University of Minnesotavision.psych.umn.edu/users/schrater/schrater_lab/courses/CompVis03/ImageFiltering2.pdfFiltering as a Linear Transform h = 1 4 6 4 1 F = F convolved
Page 7: Filtering 2 - University of Minnesotavision.psych.umn.edu/users/schrater/schrater_lab/courses/CompVis03/ImageFiltering2.pdfFiltering as a Linear Transform h = 1 4 6 4 1 F = F convolved
Page 8: Filtering 2 - University of Minnesotavision.psych.umn.edu/users/schrater/schrater_lab/courses/CompVis03/ImageFiltering2.pdfFiltering as a Linear Transform h = 1 4 6 4 1 F = F convolved
Page 9: Filtering 2 - University of Minnesotavision.psych.umn.edu/users/schrater/schrater_lab/courses/CompVis03/ImageFiltering2.pdfFiltering as a Linear Transform h = 1 4 6 4 1 F = F convolved
Page 10: Filtering 2 - University of Minnesotavision.psych.umn.edu/users/schrater/schrater_lab/courses/CompVis03/ImageFiltering2.pdfFiltering as a Linear Transform h = 1 4 6 4 1 F = F convolved
Page 11: Filtering 2 - University of Minnesotavision.psych.umn.edu/users/schrater/schrater_lab/courses/CompVis03/ImageFiltering2.pdfFiltering as a Linear Transform h = 1 4 6 4 1 F = F convolved
Page 12: Filtering 2 - University of Minnesotavision.psych.umn.edu/users/schrater/schrater_lab/courses/CompVis03/ImageFiltering2.pdfFiltering as a Linear Transform h = 1 4 6 4 1 F = F convolved
Page 13: Filtering 2 - University of Minnesotavision.psych.umn.edu/users/schrater/schrater_lab/courses/CompVis03/ImageFiltering2.pdfFiltering as a Linear Transform h = 1 4 6 4 1 F = F convolved
Page 14: Filtering 2 - University of Minnesotavision.psych.umn.edu/users/schrater/schrater_lab/courses/CompVis03/ImageFiltering2.pdfFiltering as a Linear Transform h = 1 4 6 4 1 F = F convolved
Page 15: Filtering 2 - University of Minnesotavision.psych.umn.edu/users/schrater/schrater_lab/courses/CompVis03/ImageFiltering2.pdfFiltering as a Linear Transform h = 1 4 6 4 1 F = F convolved
Page 16: Filtering 2 - University of Minnesotavision.psych.umn.edu/users/schrater/schrater_lab/courses/CompVis03/ImageFiltering2.pdfFiltering as a Linear Transform h = 1 4 6 4 1 F = F convolved

Filtering as a Linear Transform

h = 1 4 6 4 1

F =

F convolved with H = ?

101 101 112 96 124 167 158 134 128 115 114 107 95 149 64 75117 122 115 114 115 164 156 132 134 128 149 129 139 178 89 52144 147 139 128 122 162 153 135 131 129 168 152 135 149 154 135155 163 171 126 124 144 143 134 127 127 162 145 150 140 131 127133 149 153 111 122 150 140 130 129 138 149 159 149 150 159 158148 159 133 109 118 152 141 131 127 131 143 166 169 157 149 148143 144 121 106 118 151 144 130 127 135 134 152 171 173 167 163141 147 115 105 129 149 143 133 128 136 140 145 154 171 177 179145 141 118 115 142 151 150 143 131 137 143 139 148 157 168 175145 137 122 134 155 163 153 147 132 124 132 147 149 154 166 166152 141 128 145 165 171 166 152 138 124 128 147 164 159 165 164153 159 130 157 175 183 182 161 144 129 139 135 159 169 176 167161 147 127 156 178 192 183 160 143 137 152 129 158 158 178 178157 142 114 129 161 168 163 141 120 139 148 125 168 172 162 179157 152 70 87 129 139 129 103 67 63 100 98 175 174 166 167157 155 116 68 71 83 77 56 94 136 142 169 177 172 176 163

Page 17: Filtering 2 - University of Minnesotavision.psych.umn.edu/users/schrater/schrater_lab/courses/CompVis03/ImageFiltering2.pdfFiltering as a Linear Transform h = 1 4 6 4 1 F = F convolved

1 4 6 4 1 0 0 0 0 0 0 0 0 0 0 00 1 4 6 4 1 0 0 0 0 0 0 0 0 0 00 0 1 4 6 4 1 0 0 0 0 0 0 0 0 00 0 0 1 4 6 4 1 0 0 0 0 0 0 0 00 0 0 0 1 4 6 4 1 0 0 0 0 0 0 00 0 0 0 0 1 4 6 4 1 0 0 0 0 0 00 0 0 0 0 0 1 4 6 4 1 0 0 0 0 00 0 0 0 0 0 0 1 4 6 4 1 0 0 0 00 0 0 0 0 0 0 0 1 4 6 4 1 0 0 00 0 0 0 0 0 0 0 0 1 4 6 4 1 0 00 0 0 0 0 0 0 0 0 0 1 4 6 4 1 00 0 0 0 0 0 0 0 0 0 0 1 4 6 4 1

F’ = H*F

H =

H*F*H'

x & y filtering

y filtering

Page 18: Filtering 2 - University of Minnesotavision.psych.umn.edu/users/schrater/schrater_lab/courses/CompVis03/ImageFiltering2.pdfFiltering as a Linear Transform h = 1 4 6 4 1 F = F convolved
Page 19: Filtering 2 - University of Minnesotavision.psych.umn.edu/users/schrater/schrater_lab/courses/CompVis03/ImageFiltering2.pdfFiltering as a Linear Transform h = 1 4 6 4 1 F = F convolved
Page 20: Filtering 2 - University of Minnesotavision.psych.umn.edu/users/schrater/schrater_lab/courses/CompVis03/ImageFiltering2.pdfFiltering as a Linear Transform h = 1 4 6 4 1 F = F convolved
Page 21: Filtering 2 - University of Minnesotavision.psych.umn.edu/users/schrater/schrater_lab/courses/CompVis03/ImageFiltering2.pdfFiltering as a Linear Transform h = 1 4 6 4 1 F = F convolved
Page 22: Filtering 2 - University of Minnesotavision.psych.umn.edu/users/schrater/schrater_lab/courses/CompVis03/ImageFiltering2.pdfFiltering as a Linear Transform h = 1 4 6 4 1 F = F convolved
Page 23: Filtering 2 - University of Minnesotavision.psych.umn.edu/users/schrater/schrater_lab/courses/CompVis03/ImageFiltering2.pdfFiltering as a Linear Transform h = 1 4 6 4 1 F = F convolved
Page 24: Filtering 2 - University of Minnesotavision.psych.umn.edu/users/schrater/schrater_lab/courses/CompVis03/ImageFiltering2.pdfFiltering as a Linear Transform h = 1 4 6 4 1 F = F convolved
Page 25: Filtering 2 - University of Minnesotavision.psych.umn.edu/users/schrater/schrater_lab/courses/CompVis03/ImageFiltering2.pdfFiltering as a Linear Transform h = 1 4 6 4 1 F = F convolved
Page 26: Filtering 2 - University of Minnesotavision.psych.umn.edu/users/schrater/schrater_lab/courses/CompVis03/ImageFiltering2.pdfFiltering as a Linear Transform h = 1 4 6 4 1 F = F convolved
Page 27: Filtering 2 - University of Minnesotavision.psych.umn.edu/users/schrater/schrater_lab/courses/CompVis03/ImageFiltering2.pdfFiltering as a Linear Transform h = 1 4 6 4 1 F = F convolved
Page 28: Filtering 2 - University of Minnesotavision.psych.umn.edu/users/schrater/schrater_lab/courses/CompVis03/ImageFiltering2.pdfFiltering as a Linear Transform h = 1 4 6 4 1 F = F convolved
Page 29: Filtering 2 - University of Minnesotavision.psych.umn.edu/users/schrater/schrater_lab/courses/CompVis03/ImageFiltering2.pdfFiltering as a Linear Transform h = 1 4 6 4 1 F = F convolved
Page 30: Filtering 2 - University of Minnesotavision.psych.umn.edu/users/schrater/schrater_lab/courses/CompVis03/ImageFiltering2.pdfFiltering as a Linear Transform h = 1 4 6 4 1 F = F convolved
Page 31: Filtering 2 - University of Minnesotavision.psych.umn.edu/users/schrater/schrater_lab/courses/CompVis03/ImageFiltering2.pdfFiltering as a Linear Transform h = 1 4 6 4 1 F = F convolved

Image Synthesis with Fourier Basis

Page 32: Filtering 2 - University of Minnesotavision.psych.umn.edu/users/schrater/schrater_lab/courses/CompVis03/ImageFiltering2.pdfFiltering as a Linear Transform h = 1 4 6 4 1 F = F convolved
Page 33: Filtering 2 - University of Minnesotavision.psych.umn.edu/users/schrater/schrater_lab/courses/CompVis03/ImageFiltering2.pdfFiltering as a Linear Transform h = 1 4 6 4 1 F = F convolved
Page 34: Filtering 2 - University of Minnesotavision.psych.umn.edu/users/schrater/schrater_lab/courses/CompVis03/ImageFiltering2.pdfFiltering as a Linear Transform h = 1 4 6 4 1 F = F convolved
Page 35: Filtering 2 - University of Minnesotavision.psych.umn.edu/users/schrater/schrater_lab/courses/CompVis03/ImageFiltering2.pdfFiltering as a Linear Transform h = 1 4 6 4 1 F = F convolved