File:Random-image.jpg
Original file (2,560 × 1,440 pixels, file size: 2.11 MB, MIME type: image/jpeg)
Captions
Summary
[edit]DescriptionRandom-image.jpg |
English: Each pixel of this RGB image was sampled independently from all other pixels. Each RGB pixel is randomly created in for each channel.
Deutsch: Jeder Pixel dieses RGB-Bildes wurde unabhängig gleichverteilt generiert. Auch die 3 RGB-Kanäle sind von einander unabhängig. Der Wert wurde jeweils gleichverteilt aus gezogen.
Türkçe: Bu resimdeki her RGB pikseli birbirinden bağımsız bir şekilde örneklenmiştir. Herbir RGB değeri rastgele bir şekilde uzayından seçilmiştir. |
Date | |
Source | Own work |
Author | MartinThoma |
This file was created with LaTeX (tikz):
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Create a white noise RGB image of the dimensions you want."""
import numpy
import Image
def create_white_noise(outfile, width, height):
"""
Create white noise RGB image
Parameters
----------
outfile : str
width : int
height : int
"""
array = numpy.random.rand(height, width, 3) * 255
im_out = Image.fromarray(array.astype('uint8')).convert('RGBA')
im_out.save(outfile)
def get_parser():
"""Get parser object for create_random_image.py."""
from argparse import ArgumentParser, ArgumentDefaultsHelpFormatter
parser = ArgumentParser(description=__doc__,
formatter_class=ArgumentDefaultsHelpFormatter)
parser.add_argument("-f", "--file",
dest="filename",
help="write white noise image to FILE",
default="white-noise.jpg",
metavar="FILE")
parser.add_argument("-x", "--width",
dest="width",
default=1280,
type=int,
help="width of the image")
parser.add_argument("-y", "--height",
dest="height",
default=960,
type=int,
help="height of the image")
return parser
if __name__ == "__main__":
args = get_parser().parse_args()
create_white_noise(args.filename, args.width, args.height)
Licensing
[edit]This file is made available under the Creative Commons CC0 1.0 Universal Public Domain Dedication. | |
The person who associated a work with this deed has dedicated the work to the public domain by waiving all of their rights to the work worldwide under copyright law, including all related and neighboring rights, to the extent allowed by law. You can copy, modify, distribute and perform the work, even for commercial purposes, all without asking permission.
http://creativecommons.org/publicdomain/zero/1.0/deed.enCC0Creative Commons Zero, Public Domain Dedicationfalsefalse |
This image has been assessed using the Quality image guidelines and is considered a Quality image.
العربية ∙ جازايرية ∙ беларуская ∙ беларуская (тарашкевіца) ∙ български ∙ বাংলা ∙ català ∙ čeština ∙ Cymraeg ∙ Deutsch ∙ Schweizer Hochdeutsch ∙ Zazaki ∙ Ελληνικά ∙ English ∙ Esperanto ∙ español ∙ eesti ∙ euskara ∙ فارسی ∙ suomi ∙ français ∙ galego ∙ עברית ∙ हिन्दी ∙ hrvatski ∙ magyar ∙ հայերեն ∙ Bahasa Indonesia ∙ italiano ∙ 日本語 ∙ Jawa ∙ ქართული ∙ 한국어 ∙ kurdî ∙ Lëtzebuergesch ∙ lietuvių ∙ македонски ∙ മലയാളം ∙ मराठी ∙ Bahasa Melayu ∙ Nederlands ∙ Norfuk / Pitkern ∙ polski ∙ português ∙ português do Brasil ∙ rumantsch ∙ română ∙ русский ∙ sicilianu ∙ slovenčina ∙ slovenščina ∙ shqip ∙ српски / srpski ∙ svenska ∙ தமிழ் ∙ తెలుగు ∙ ไทย ∙ Tagalog ∙ toki pona ∙ Türkçe ∙ українська ∙ vèneto ∙ Tiếng Việt ∙ 中文 ∙ 中文(简体) ∙ 中文(繁體) ∙ +/− |
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 10:01, 26 May 2016 | 2,560 × 1,440 (2.11 MB) | MartinThoma (talk | contribs) | Upload higher resolution image | |
10:28, 14 January 2016 | 1,280 × 960 (721 KB) | MartinThoma (talk | contribs) | {{Information |Description ={{en|1=Each pixel of this RGB image was sampled independently from all other pixels. Each RGB pixel is randomly created in <math>\{0, 1, \dots, 255\}</math> for each channel.}} {{de|1=Jeder Pixel dieses RGB-Bildes wurde u... |
You cannot overwrite this file.
File usage on Commons
The following 3 pages use this file:
File usage on other wikis
The following other wikis use this file:
- Usage on tr.wikipedia.org