DumpPixelValues
m (→Links) |
m (fix dead links and minor formatting) |
||
Line 4: | Line 4: | ||
|McPoodle | |McPoodle | ||
|v.1.0 | |v.1.0 | ||
− | |[http://www. | + | |[http://www.theneitherworld.com/mcpoodle/Tools/DumpPixelValues.zip DumpPixelValues.zip] |
|Debug filter | |Debug filter | ||
| | | | ||
Line 11: | Line 11: | ||
|GPL | |GPL | ||
}} | }} | ||
− | |||
== Abstract == | == Abstract == | ||
This DLL allows you to sample the colors from selected pixels for every frame in a video source and output the data to a text or binary file. | This DLL allows you to sample the colors from selected pixels for every frame in a video source and output the data to a text or binary file. | ||
+ | |||
== Notes == | == Notes == | ||
+ | {{Template:FuncDef|DumpPixelValues(clip, string colorList, string coordinateList[, string filename]) }} | ||
+ | |||
− | ColorList is one or more of the letters R, G, B, A (for the Alpha channel), Y, U or V. RGB colors cannot be mixed with YUV colors. Video must be in RGB32 format if you want RGBA colors, or in YUY2 format if you want YUV colors. | + | ColorList is one or more of the letters R, G, B, A (for the Alpha channel), Y, U or V. [[RGB]] colors cannot be mixed with [[YUV]] colors. Video must be in [[RGB32]] format if you want RGBA colors, or in [[YUY2]] format if you want [[YUV]] colors. |
CoordinateList is a comma-separated set of (x,y) coordinates, with no spaces. | CoordinateList is a comma-separated set of (x,y) coordinates, with no spaces. | ||
− | The optional parameter filename is assumed to be "C:\\DumpPixelValues.log" if it is not supplied. You must use two backslash characters for each backslash in the full path. The file will not be deleted if it already exists, instead appending the data onto the end of the existing file. NOTE: To use the special binary output mode, filename must end with the extension .bin (see [http://www. | + | The optional parameter filename is assumed to be "C:\\DumpPixelValues.log" if it is not supplied. You must use two backslash characters for each backslash in the full path. The file will not be deleted if it already exists, instead appending the data onto the end of the existing file. NOTE: To use the special binary output mode, filename must end with the extension .bin (see [http://www.theneitherworld.com/mcpoodle/Tools/DumpPixelValues.html here] for details). |
− | == Links == | + | ==External Links == |
− | Download the latest stable version: http://www. | + | *Download the latest stable version: http://www.theneitherworld.com/mcpoodle/Tools/DumpPixelValues.zip | [http://web.archive.org/web/20140716225317/http://www.theneitherworld.com/mcpoodle/Tools/DumpPixelValues.zip mirror]<br> |
− | Offical homepage: http://www.theneitherworld.com/mcpoodle/Tools/DumpPixelValues.html | + | *Offical homepage: http://www.theneitherworld.com/mcpoodle/Tools/DumpPixelValues.html | [http://web.archive.org/web/20140716225317/http://www.theneitherworld.com/mcpoodle/Tools/DumpPixelValues.html mirror] |
Revision as of 21:43, 20 September 2014
Abstract | |
---|---|
Author | McPoodle |
Version | v.1.0 |
Download | DumpPixelValues.zip |
Category | Debug filter |
Requirements | |
License | GPL |
Discussion |
Abstract
This DLL allows you to sample the colors from selected pixels for every frame in a video source and output the data to a text or binary file.
Notes
DumpPixelValues(clip, string colorList, string coordinateList[, string filename])
ColorList is one or more of the letters R, G, B, A (for the Alpha channel), Y, U or V. RGB colors cannot be mixed with YUV colors. Video must be in RGB32 format if you want RGBA colors, or in YUY2 format if you want YUV colors.
CoordinateList is a comma-separated set of (x,y) coordinates, with no spaces.
The optional parameter filename is assumed to be "C:\\DumpPixelValues.log" if it is not supplied. You must use two backslash characters for each backslash in the full path. The file will not be deleted if it already exists, instead appending the data onto the end of the existing file. NOTE: To use the special binary output mode, filename must end with the extension .bin (see here for details).
External Links
- Download the latest stable version: http://www.theneitherworld.com/mcpoodle/Tools/DumpPixelValues.zip | mirror
- Offical homepage: http://www.theneitherworld.com/mcpoodle/Tools/DumpPixelValues.html | mirror