Log in

View Full Version : Pixel value file extraction


Sagittaire
16th February 2012, 23:27
I search filter or script for pixel value (RGB or YV12) extraction in text files for tab input (regressi or excell).

thx for help

Yellow_
17th February 2012, 09:24
If you struggle finding an Avisynth solution to this, Imagemagick can provide pixel value and coords via its PPM image format tools, you can convert an image to a text file list of RGB values and there locations as well as thresholding first to capture only certain pixel locations and values.

FlimsyFeet
17th February 2012, 12:28
http://avisynth.org/mediawiki/DumpPixelValues

Although the download link is to geocities (which has now gone), looks like the filter can be obtained from http://avisynth.org/warpenterprises/

Chikuzen
17th February 2012, 17:55
interesting.

try this tool
avs2pipemod-0.3.0.7z (http://www.mediafire.com/download.php?ilpfc0m89c95apv)

#colorbars.avs
ColorBars(320, 240, "YV12").Trim(0, -1)

$ avs2pipemod -dumpyuv colorbars.avs > dump.txt


result: dump.zip (http://www.mediafire.com/download.php?a4uvk38ffbe878v)