qtjava has the following api:
quicktime.std.image.QTImage
public static final float getSimilarity(QDGraphics src,
QDRect srcRect,
ImageDescription desc,
EncodedImage data)
throws StdQTException,
QDException
Compares a compressed image to a picture stored in a pixel map and
returns a value indicating the relative similarity of the two images.
QuickTime::GetSimilarity
Parameters:
src - a QDGraphics that contains a PixMap object containing a
noncompressed image.
srcRect - a QDRect defining the portion of the source image to compare
to the compressed image
desc - an ImageDescription object that defines the compressed image
data - an EncodedImage object that contains the compressed image data
Returns:
the relative similarity value
StdQTException
QDException
On Apr 10, 2005, at 2:20 PM, Scott Ellsworth wrote:
Hi, all.
A friend just asked how one would scan approximately 40k images for
duplicates.. Anyone able to recommend a Java toolkit for same that
works with reasonable speed on the Mac?
This is a terribly complicated problem to do right, but I wanted to
try an "off the cuff" fast solution first. Something perhaps a bit
more clever than a straight checksum of the image data, like a color
histogram. This would let us decide whether something smart that
actually analyzes the images is a good idea.
Scott
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden
This email sent to email@hidden
Dmitry Markman
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden