Filling missing data with blurred data
Message-ID:<FYednc-8SIYhlKHUnZ2dnUVZ8rydnZ2d@lyse.net>
Subject:
Filling missing data with "blurred" data
Date:Sun, 7 Dec 2008 18:36:44 +0100
Hi! I have an image with chunks of "nodata" areas. These areas are stored as totaly transparent in the alpha channel. I was thinking of filling in theese areas with the result of a blur filter. However, the blur filters takes the alpha channel into account. So...is there any way to fill the missing areas of the image with the result of a blur filter that do not take into account pixels that are completely transparent. In other words.... running a moving average filter over the image and when you are positioned over a pixel that are completely transparent replace that value with the average of the cells inside the moving window that are not transparent.......... Regards Kjell L.
Message-ID:<FYednc-8SIYhlKHUnZ2dnUVZ8rydnZ2d@lyse.net>
Subject:
Filling missing data with "blurred" data
Date:Sun, 7 Dec 2008 18:36:44 +0100
Hi! I have an image with chunks of "nodata" areas. These areas are stored as totaly transparent in the alpha channel. I was thinking of filling in theese areas with the result of a blur filter. However, the blur filters takes the alpha channel into account. So...is there any way to fill the missing areas of the image with the result of a blur filter that do not take into account pixels that are completely transparent. In other words.... running a moving average filter over the image and when you are positioned over a pixel that are completely transparent replace that value with the average of the cells inside the moving window that are not transparent.......... Regards Kjell L.
Message-ID:<FYednc-8SIYhlKHUnZ2dnUVZ8rydnZ2d@lyse.net>
Subject:
Filling missing data with "blurred" data
Date:Sun, 7 Dec 2008 18:36:44 +0100
Hi! I have an image with chunks of "nodata" areas. These areas are stored as totaly transparent in the alpha channel. I was thinking of filling in theese areas with the result of a blur filter. However, the blur filters takes the alpha channel into account. So...is there any way to fill the missing areas of the image with the result of a blur filter that do not take into account pixels that are completely transparent. In other words.... running a moving average filter over the image and when you are positioned over a pixel that are completely transparent replace that value with the average of the cells inside the moving window that are not transparent.......... Regards Kjell L.



RSS News Feed