PDA

View Full Version : ShowPixelValues


Si
30th October 2003, 15:47
I've made a diagnostic filter to display pixel values.

Version 1.4c available here (http://www.geocities.com/siwalters_uk/showpixelvalues.html)

It currently only works with YUY2 colourspace but it'll shortly handle RGB as well.

regards
Simon

Si
31st October 2003, 20:21
I've updated the filter to display RGB values in RGB32 colourspace as well.

Any suggestions for improvements/changes welcomed.

regards
Simon

Si
1st November 2003, 12:33
I've added ability to change brightness levels used to display the pixel values.

Thanks to Bordo32 for the suggestion.

regards
Simon

Si
3rd November 2003, 23:26
Y1 value now underlined in YUY2 mode to aid readability - thanks to Bordo32 again :)

regards
Simon

vcmohan
14th July 2005, 04:43
Under some other thread I mentioned that Showpixelvalue gives rise to Access violation. Some how I could not locate that thread. As I lost the reference image which gave rise to that problem I could not reply immediately on that. Now I got one. Under a thread asking for help on FANFILTER maximt posted a link for an image.
http://forum.doom9.org/attachment.php?attachmentid=4287&stc=1
I used imagereader and (probably converted to YUY2) and tried showpixelvalues and got an access error. Only after cropping I could get over problem.

Si
14th July 2005, 18:03
Fine - here will do.

Could you post the exact script that gives the error please?

regards

Simon

vcmohan
16th July 2005, 04:47
The script used is
imagereader("E:\TransPlugins\images\travel_noise.jpg",0,1,25,false)
r32=converttoRGB32()
showpixelvalues(r32,350,100,bright=2,dim=0,threshold=1,showArea=true,showpixels=true)
The screen showed a horizontally stretched image and below the access error message

Si
6th January 2007, 12:43
:o :o :o
I finally managed to get Visual C++ 2005 up and running and have fixed the bug with non-mod 16 frame sizes.

I've also made the YUV2/RGB32 modes more consistent (hopefully) and altered some of the characters used in the font to improve clarity.

Sorry for delay :o

File available via my sig

regards

Simon

ChiDragon
7th June 2007, 02:10
Using AviSynth 2.57, I get an error stating that there is no function called ShowPixelValues when I try 'ConvertToYUY2().ShowPixelValues()' with plugin autoloading. I also tried 'LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\ShowPixelValues.dll")' and that states that AviSynth is unable to load the plugin... I've checked and double-checked paths and re-downloaded and re-extracted from the zip file with no success. :(

foxyshadis
7th June 2007, 05:45
Works fine on mine. I don't know what could be preventing it from loading.

Oh, maybe you need the VC8 runtime libs, it won't work without those; unfortunately Microsoft makes it very difficult to get this version, but here: http://www.eecs.wsu.edu/paint.net/misc/vcredist.zip

Fizick
7th June 2007, 06:12
the better for developers to use /MT option.
file size is usually not important

Leak
7th June 2007, 13:50
Oh, maybe you need the VC8 runtime libs, it won't work without those; unfortunately Microsoft makes it very difficult to get this version, but here: http://www.eecs.wsu.edu/paint.net/misc/vcredist.zip
Maybe that's why the VC8 runtime redist was included as an install option with the latest ATI graphics drivers, along with some other optional (read: "unwanted, bloat-inducing") stuff, namely "Free games offers" and "EarthSim"?

What's next, an AOL installer and the kitchen sink? :rolleyes:

squid_80
7th June 2007, 17:44
the better for developers to use /MT option.
file size is usually not important

From virtualdub.org:The problem is that a lot of codecs and plugins are statically linked to the C run-time library (CRT). Each instance of the CRT consumes one Thread Local Storage (TLS) slot, of which there are only 64 under Windows 95/NT4, and ~80 under Windows 98. Once all TLS slots are consumed, DLLs fail to load. Codecs have a tendency to stick around in memory, and VirtualDub filters are always loaded, so you can hit this limit really fast.
Admittedly most people are using xp and the number of slots has been dramatically increased, but consider that a lot of people just dump every plugin into their autoload folder, those plugins may load dlls of their own, there's codecs to consider as well...

Fizick
7th June 2007, 18:39
It is not my fault, but M$ msvc*** hell.

ChiDragon
8th June 2007, 00:00
Well I have Visual Studio 8 installed. I tried plunking msvcr80.dll into system32 alone, then 'm' and 'p' as well but it didn't help.

EDIT: I also tried removing 18 of my autoloaded plugins, leaving 16, with no difference.

foxyshadis
8th June 2007, 01:17
msvcr80 and msvcp80 aren't loaded out of system32, they're loaded out of SxS now. They won't load without manifests. (The whole setup is a bit rediculous, trade one dll hell for another one.)

Maybe they're the SP1 runtimes required? Ah, yes, it is loading that one:
C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.762_x-ww_6b128700\msvcr80.dll
So my link to the originals was wrong. This is the package you need:
http://www.microsoft.com/downloads/details.aspx?familyid=200B2FD9-AE1A-4A14-984D-389C36F85647&displaylang=en
The readme should probably be updated to include that.

ChiDragon
8th June 2007, 04:38
That did it, thank you!

vcmohan
13th April 2008, 04:39
I just downloaded the showpixelvalues.dll and tried loadplugin and by keeping it in plugin folder for auto load. but both ways the plugin is not loaded. I get an error saying unable to load plugin. Anything changed with this plugin? Earlier I was able to use without any problem.