Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^2: Perl Image Analysis

by Koosemose (Pilgrim)
on Oct 04, 2006 at 20:37 UTC ( [id://576403]=note: print w/replies, xml ) Need Help??


in reply to Re: Perl Image Analysis
in thread Perl Image Analysis

Actually you were right, Image::Magick does have a method to query pixel color:

$image->Get('Pixel[x,y]')

It returns a scalar value containing a comma seperated list R,G,B,A. There's also $image->GetPixels(), but I've had some issues getting accurate color readings from it, though that's likely an error on my part.

Just Another Perl Alchemist

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://576403]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2024-04-19 13:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found