dcsimg
Login | Register   
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX

By submitting your information, you agree that devx.com may send you DevX offers via email, phone and text message, as well as email offers about other products and services that DevX believes may be of interest to you. DevX will process your information in accordance with the Quinstreet Privacy Policy.


advertisement
 

Go Beyond Keywords! Perform a Visual Image Search  : Page 3

Searching graphics files via keywords can be tedious. Learn how to use image-matching technology to find images by matching shapes, patterns, colors, and textures.


advertisement

WEBINAR:

On-Demand

Application Security Testing: An Integral Part of DevOps


Step 2: Store Processed Images
You save your MediaObjects (the analyzed image data and its associated metadata) in one or more MediaCollections. A MediaCollection is a container or category that can be used to access a collection of MediaObjects. Searching operates on individual MediaCollections (such as a collection of animal images, undersea images, faces of people, or medical images etc.). You can extend your searches to span multiple media collections.

The Strings below represent the input path to the previously analyzed MediaObject and the output path for the new MediaCollection.

String mediaCollectionPath = new String ("/myMediaCollection/"); String analyzedImagePath = new String ("/myMediaCollection/edf/myImage.edf");

Now instantiate a MediaCollection and create it on the disk.

MediaCollection myMediaCollection = (MediaCollection) Eve.newMediaCollection(); myMediaCollection.create (mediaCollectionPath);

Add the MediaObject to the new MediaCollection, and close the MediaCollection.


myMediaCollection.add (myMediaObject) myMediaCollection.close(); ...



Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date