File:VerticalLinesWithThicknessDecreasingToTheRightBluredAndResharpened.png
From Wikimedia Commons, the free media repository
Jump to navigation
Jump to search
Size of this preview: 800 × 553 pixels. Other resolutions: 320 × 221 pixels | 640 × 442 pixels | 1,024 × 707 pixels | 1,280 × 884 pixels | 2,560 × 1,768 pixels | 3,776 × 2,608 pixels.
Original file (3,776 × 2,608 pixels, file size: 14 KB, MIME type: image/png)
File information
Structured data
Captions
Summary[edit]
DescriptionVerticalLinesWithThicknessDecreasingToTheRightBluredAndResharpened.png | Vertical black lines on white background. The distance between the line and their thickness is dereasing to the right. The image has been blurred by successive convolution with Gaussians. After that it has been resharpend by scaling the pixel values. Nothing has happend to the left side, and the contrast on the right side was boosted. |
Date | |
Source | Own work |
Author | Dirk Hünniger |
Permission (Reusing this file) |
GNU Free Documentation License |
Creation Procedure[edit]
# Python script
from math import *
def f(x):
return 1.0+floor(sin(10*x**2-0.3))
l=[ f(x/300.0) for x in range(2000) ]
def zz(l):
o=[]
for i in range(len(l)):
zs=0.0
s=0.0
for k in range(20):
j=k-10
z=exp(-0.03*j**2))
try:
n=l[i+j]
zs+=z
s+=n*z
except:
None
o.append(s/(1.0*zs))
#except: # o.append(0.0)
return o
out=zz(l)
out=zz(out)
out=zz(out)
out=zz(out)
out=zz(out)
out=zz(out)
out=zz(out)
for i in range(len(out)-700):
print ""
for j in range(100):
print i,j,out[i+100],l[i+100]
# plot the result unsing gnuplot with pm3d
# f(x)= (a*x+b)>1? 1: (a*x+b)
# g(x)=f(x)>0.55? f(x): 0.55
# h(x,y)=((x-0.5)/(2*(g(y)-0.5)))+0.5
# a = -0.0006
# b = 1.1
# set pm3d map
# splot "data" u 1:2:(h($3,$1))
Licensing[edit]
This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported license. Subject to disclaimers. | ||
| ||
This licensing tag was added to this file as part of the GFDL licensing update.http://creativecommons.org/licenses/by-sa/3.0/CC BY-SA 3.0Creative Commons Attribution-Share Alike 3.0truetrue |
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled GNU Free Documentation License. Subject to disclaimers.http://www.gnu.org/copyleft/fdl.htmlGFDLGNU Free Documentation Licensetruetrue |
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 14:06, 2 February 2007 | 3,776 × 2,608 (14 KB) | Dirk Hünniger (talk | contribs) | {{Information |Description= Vertical black lines on white background. The distance between the line and their thickness is dereasing to the right. The image has been blurred by successive convolution with Gaussians. |Source=self |Date= 1 February 2007 |A |
You cannot overwrite this file.
File usage on Commons
There are no pages that use this file.
File usage on other wikis
The following other wikis use this file: