Sunday, August 8, 2010

A8.D - Canvas Weave Modeling and Removal

For this part of the activity we want to enhance this patch of a painting(from the UP Vargas Museum collection) by removing the canvas weave pattern such that only the paint texture is seen.

Given the painting patch...


Figure 1: Patch of painting
Take its FT...

Figure 2: FT

Design a filter that would get rid of those dirac deltas we see in the FT...(remember that the FT of addition of sine patterns are dirac deltas... :D)


Figure 3: Filter

How do we know that we are choosing the right areas to be filtered you might ask...well let's take the FT of the filter to be sure...


Figure 4: FT of filter

I would say that the FT somehow resembles that of the canvas weave pattern so it means that we are on the right track. :D

Multiply the FT of the patch of painting to the filter...


Figure 5: Image of patch of painting multiplied by filter

Resulting image...no more canvas weave pattern! or atleast reduced..hehe.

Figure 6: Resulting image

CODE: same as in act.8.B with filter input being figure 3.

No comments:

Post a Comment