File:Miniature piglet edge detection color angle.ogv

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Original file (Ogg Theora video file, length 15 s, 1,278 × 718 pixels, 16.18 Mbps, file size: 29.62 MB)

Captions

Captions

Add a one-line explanation of what this file represents

Summary

[edit]
Description
English: Based on File:miniature piglet.ogg.

You see a edge detected images with a color decoded edge direction.

I used ffmpeg to separate the images. Then I used a self written program for the edge detection. The program handles all operations as 64 Bit floating point.

Program flow:

  • Load 24 Bit RGB image
  • Convert into floating point grey scale (grey = 0.2126 * R + 0.7152 * G + 0.0722 * B)
  • Calculate the gradients by Scharr operator
  • Calculate the gradient magnitude and the edge angle
  • Calculate a 48 Bit RGB image, which multiplies gradient magnitude by a color value, which corresponds to the edge angle
  • Save the image
  • Use ImageMagic for normalizing the image (make it a little brighter)
Use ffmpeg to join the images.
Deutsch: Basiert auf File:miniature piglet.ogg.

Dargestellt wird die Kantendetektion mit einer Farbcodierung für die Kantenrichtung.

Das Video wurde mittels ffmpeg in Einzelbilder zerlegt. Auf diese wurde selbst geschriebenes Kantenfindungsprogramm angewandt. Intern werden alle Berechnungen auf Basis von 64 Bit Gleitkommawerten ausgeführt.

Programmablauf:

  • 24 Bit RGB-Bild laden
  • Umwandlung in Gleitkomma-Graustufen (grey = 0.2126 * R + 0.7152 * G + 0.0722 * B)
  • Berechnung der Gradienten mittels Scharr-Operator
  • Berechnung der absoluten Kantenstärke und der Kantenrichtung
  • 48 Bit RGB-Bild berechnen, dass die Kantenstärke mit einem Farbwert multipliziert, welcher der Kantenrichtung entspricht
  • Speichern des Bildes
  • Bild mit ImageMagic normalisieren (aufhellen)
Zusammenfügen der Einzelbilder mittels ffmpeg.
Date
Source Own work
Author Prog

Licensing

[edit]
I, the copyright holder of this work, hereby publish it under the following license:
Creative Commons CC-Zero 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.

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current22:16, 22 September 201115 s, 1,278 × 718 (29.62 MB)Prog (talk | contribs){{Information |Description ={{en|1=Based on File:miniature piglet.ogg. You see a edge detected images with a color decoded edge direction. I used ffmpeg to separate the images. Then I used a self written program for the edge detection. The progr

The following page uses this file:

Transcode status

Update transcode status
Format Bitrate Download Status Encode time
VP9 480P 1.27 Mbps Completed 12:42, 3 September 2018 57 s
VP9 360P 635 kbps Completed 12:41, 3 September 2018 38 s
VP9 240P 312 kbps Completed 12:41, 3 September 2018 28 s
WebM 360P 516 kbps Completed 12:46, 9 February 2017 47 s
QuickTime 144p (MJPEG) Not ready Unknown status

Metadata