<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-20807398</id><updated>2012-04-15T21:40:43.808-07:00</updated><title type='text'>Multimedia Databases</title><subtitle type='html'>A literature survey on Multimedia Databases</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://multimediadb.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20807398/posts/default'/><link rel='alternate' type='text/html' href='http://multimediadb.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Ajit</name><uri>http://www.blogger.com/profile/14368940898827871315</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://www.cse.iitb.ac.in/~ajitb/me.png'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>17</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-20807398.post-115697829039591401</id><published>2006-08-30T15:50:00.000-07:00</published><updated>2006-08-30T15:51:30.423-07:00</updated><title type='text'>Multimedia database .Presentation</title><content type='html'>Multimedia database : &lt;a href="http://www.cse.iitb.ac.in/%7Eajitb/seminar/mmdbppt.pdf"&gt;PPT&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20807398-115697829039591401?l=multimediadb.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.cse.iitb.ac.in/~ajitb/seminar/mmdbppt.pdf' title='Multimedia database .Presentation'/><link rel='replies' type='application/atom+xml' href='http://multimediadb.blogspot.com/feeds/115697829039591401/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20807398&amp;postID=115697829039591401' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20807398/posts/default/115697829039591401'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20807398/posts/default/115697829039591401'/><link rel='alternate' type='text/html' href='http://multimediadb.blogspot.com/2006/08/multimedia-database-presentation.html' title='Multimedia database .Presentation'/><author><name>Ajit</name><uri>http://www.blogger.com/profile/14368940898827871315</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://www.cse.iitb.ac.in/~ajitb/me.png'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20807398.post-114476861997212738</id><published>2006-04-11T08:15:00.000-07:00</published><updated>2006-04-11T08:16:59.983-07:00</updated><title type='text'>Seminar report</title><content type='html'>here is my seminar report, images are missing as i used latex2html for it.&lt;br /&gt;here is the link&lt;br /&gt;&lt;a href="http://www.cse.iitb.ac.in/%7Eajitb/seminar/"&gt;http://www.cse.iitb.ac.in/~ajitb/seminar/&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20807398-114476861997212738?l=multimediadb.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.cse.iitb.ac.in/~ajitb/seminar/' title='Seminar report'/><link rel='replies' type='application/atom+xml' href='http://multimediadb.blogspot.com/feeds/114476861997212738/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20807398&amp;postID=114476861997212738' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20807398/posts/default/114476861997212738'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20807398/posts/default/114476861997212738'/><link rel='alternate' type='text/html' href='http://multimediadb.blogspot.com/2006/04/seminar-report.html' title='Seminar report'/><author><name>Ajit</name><uri>http://www.blogger.com/profile/14368940898827871315</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://www.cse.iitb.ac.in/~ajitb/me.png'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20807398.post-114437432735829110</id><published>2006-04-06T18:42:00.000-07:00</published><updated>2006-04-06T18:45:27.376-07:00</updated><title type='text'>Types of queries</title><content type='html'>Now after defining these data structure our database is ready to answer fundamental queries like:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt; Whole Match Queries:&lt;/span&gt; Given a collection of N objects O1,.., On and aquery object Q find data objects that are within distance &lt;span style="font-style: italic;"&gt;delta&lt;/span&gt; from Q&lt;/li&gt;&lt;li&gt; &lt;span style="font-weight: bold;"&gt;Sub-pattern Match:&lt;/span&gt; Given a collection of N objects O1,.., On and a query(sub-) object Q and a tolerance &lt;span style="font-style: italic;"&gt;delta&lt;/span&gt; identify the parts of the data objects that match the query Q.&lt;/li&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt; K- Nearest Neighbor queries: &lt;/span&gt;Given a collection of N objects O1,.., On and a query object Q find the K most similar data objects to Q.&lt;/li&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt; All pairs queries (or ”spatial joins”):&lt;/span&gt; Given a collection of N objects O1 ,.., On find all objects that are within distance &lt;span style="font-style: italic;"&gt;delta&lt;/span&gt; from each other.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;for solving such queries we first need to find a distance function between two objects and find one or more numerical feature-extraction functions (to provide a quick test). Then Use a SAM (e.g., R-tree) to store and retrieve k-d feature vectors. here is an example of queries in context to computer games which uses these data structures :&lt;br /&gt;&lt;ul&gt;&lt;li&gt;  Visibility - What can I see?&lt;br /&gt;&lt;/li&gt;&lt;li&gt; Ray intersections - What did the player just shoot?&lt;/li&gt;&lt;li&gt; Collision detection - Did the player just hit a wall?&lt;/li&gt;&lt;li&gt; Proximity queries - Where is the nearest power-up?&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20807398-114437432735829110?l=multimediadb.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://multimediadb.blogspot.com/feeds/114437432735829110/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20807398&amp;postID=114437432735829110' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20807398/posts/default/114437432735829110'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20807398/posts/default/114437432735829110'/><link rel='alternate' type='text/html' href='http://multimediadb.blogspot.com/2006/04/types-of-queries.html' title='Types of queries'/><author><name>Ajit</name><uri>http://www.blogger.com/profile/14368940898827871315</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://www.cse.iitb.ac.in/~ajitb/me.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20807398.post-114437390359409465</id><published>2006-04-06T18:36:00.000-07:00</published><updated>2006-04-06T18:41:44.030-07:00</updated><title type='text'>Why are apatial access methods important</title><content type='html'>The main purpose is to is to support efficient spatial selection, for example range queries or nearest neighbour queries of spatial objects.  Without a spatial index,every object in database need to be checked whether it meets selection criterion,i.e complete linear scan of relational database.&lt;br /&gt;Clustering is needed to group those objects which are often requested together. Otherwise, many different disk pages will have to be fetched, resulting in slow response. For spatial selecting the clustering implies storing objects which are close together in reality also close together in the computer memory (instead of scattered over the whole memory).&lt;br /&gt;    In traditional database systems sorting (or ordering) the data is the basis for efficient searching. Higher dimensional data can not be sorted in an obvious manner, as  it is possible for text strings, numbers, or dates (one-dimensional data). Basically, computer memory is one-dimensional. However, spatial data is 2D, 3D (or even higher) and must be organized somehow in the memory. An intuitive solution to organize the data is using a regular grid just as on a paper map. Each grid cell has a unique name; e.g. ’A3’, ’C6’, or ’D5’. The cells are stored in some order in the memory and can each contain a (fixed) number of object references. In a grid&lt;br /&gt;cell, a reference is stored to an object whenever the object (partially) overlaps the cell. However, this will not be very efficient due to the irregular data distribution of spatial data: many cells will be empty, e.g. in the ocean, while many other cells will be overfull, e.g. in the city center. Therefore, more advanced techniques have been developed.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20807398-114437390359409465?l=multimediadb.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://multimediadb.blogspot.com/feeds/114437390359409465/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20807398&amp;postID=114437390359409465' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20807398/posts/default/114437390359409465'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20807398/posts/default/114437390359409465'/><link rel='alternate' type='text/html' href='http://multimediadb.blogspot.com/2006/04/why-are-apatial-access-methods.html' title='Why are apatial access methods important'/><author><name>Ajit</name><uri>http://www.blogger.com/profile/14368940898827871315</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://www.cse.iitb.ac.in/~ajitb/me.png'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20807398.post-114437341022273865</id><published>2006-04-06T18:16:00.000-07:00</published><updated>2006-04-06T18:34:43.940-07:00</updated><title type='text'>Representing image through quadtree</title><content type='html'>Let’s say we divide the picture area into 4 sections. Those 4 sections are then further divided into 4 subsections. We continue this process, repeatedly dividing a square region by 4. We must impose a limit to the levels of division otherwise we could go on dividing the picture forever. Generally, this limit is imposed due to storage considerations or to limit processing time or due to the resolution of the output device. A pixel is the smallest subsection of the quad tree.&lt;br /&gt;To  summarize, a square or quadrant in the picture is either :&lt;ol&gt;&lt;li&gt; entirely one color&lt;/li&gt;&lt;li&gt; composed of 4 smaller sub-squares&lt;/li&gt;&lt;/ol&gt;To represent a picture using a quad tree, each leaf must represent a uniform area of the picture. If the picture is black and white, we only need one bit to represent the colour in each leaf; for example, 0 could mean black and 1 could mean white.&lt;br /&gt;&lt;br /&gt;Now consider the following image :&lt;br /&gt;The definition of a picture is a two-dimensional array, where the elements of the array are colored points .&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/197/560/1600/image1_quad.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt;" src="http://photos1.blogger.com/blogger/197/560/320/image1_quad.jpg" alt="" border="0" /&gt;&lt;/a&gt;              &lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/197/560/1600/image2_quad.jpg"&gt;&lt;img style="margin: 0pt 0pt 10px 10px;" src="http://photos1.blogger.com/blogger/197/560/320/image2_quad.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Given Image in pixel form                                            In Quad tree-form&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Now when this image is represneted as quad tree it will look like :&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/197/560/1600/quadofimage.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 515px; height: 128px;" src="http://photos1.blogger.com/blogger/197/560/320/quadofimage.jpg" alt="" border="0" /&gt;&lt;/a&gt;The quad tree of the above example picture. The quadrants are shown&lt;br /&gt;in counterclockwise order from the top-right quadrant. The root is the top node.&lt;br /&gt;(The 2nd and 3rd quadrants are not shown.)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;For matching procedure, color structure descriptor is first extracted from sample image and then matched with the descriptors associated to the images contained in the DB. Now here we can have a result image in certain range of tolerance according to two criterion :&lt;span style="font-weight: bold;"&gt; Quadtree Structure Similarity (QSS)&lt;/span&gt; and&lt;span style="font-weight: bold;"&gt; Quadtree Color &lt;/span&gt;&lt;span style="font-weight: bold;"&gt;Similarity(QCS)&lt;/span&gt;. The main concept is that the difference in the structure of two quadtrees can be evaluated through the number of changes in the structure that need to be performed to make one of the quadtrees equivalent to the other. This process is called&lt;span style="font-weight: bold;"&gt; quadtree warping&lt;/span&gt;. Once the two quadtrees have the same structure, they are recursively navigated and the difference is computed between the colors of&lt;br /&gt;the corresponding leaves. The final formula used for the &lt;span style="font-weight: bold;"&gt;similarity matching(SM)&lt;/span&gt; is the following:&lt;br /&gt;&lt;div style="text-align: center;"&gt;SM = A1*QSS + A2*QCS&lt;br /&gt;&lt;/div&gt;where the constants A1 and A2 are determined empirically for normalization and&lt;br /&gt;weighting of the two metrics.&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20807398-114437341022273865?l=multimediadb.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://multimediadb.blogspot.com/feeds/114437341022273865/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20807398&amp;postID=114437341022273865' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20807398/posts/default/114437341022273865'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20807398/posts/default/114437341022273865'/><link rel='alternate' type='text/html' href='http://multimediadb.blogspot.com/2006/04/representing-image-through-quadtree.html' title='Representing image through quadtree'/><author><name>Ajit</name><uri>http://www.blogger.com/profile/14368940898827871315</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://www.cse.iitb.ac.in/~ajitb/me.png'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20807398.post-114345628973589393</id><published>2006-03-27T02:41:00.000-08:00</published><updated>2006-03-27T02:44:49.746-08:00</updated><title type='text'>How is Multimedia Data different</title><content type='html'>&lt;ol&gt;&lt;li&gt;&lt;p&gt;The  content of  multimedia data is often captured with different “capture”  techniques (e.g., image processing) that may be rather unreliable.  Multimedia processing techniques need to be able to handle different  ways of content capture including automated ways and/or manual  methods.  &lt;/p&gt;  &lt;/li&gt;&lt;li&gt;&lt;p&gt;Queries  posed by the user in multimedia databases often cannot come  back  with a &lt;b&gt;&lt;i&gt;textual &lt;/i&gt;&lt;/b&gt;answer.  Rather, the answer to a query may be a complex multimedia  presentation that the user can browse at his/her leisure. Our  framework shows how queries to multimedia databases may be used to  generate &lt;b&gt;&lt;i&gt;multimedia  presentations &lt;/i&gt;&lt;/b&gt;that satisfy users queries-a factor  that is unique to our framework.&lt;/p&gt;  &lt;/li&gt;&lt;li&gt;&lt;p&gt;Multimedia  data is large and affects the storage , retrieval and transmission  of multimedia data.  &lt;/p&gt;  &lt;/li&gt;&lt;li&gt;In case of  video and audio databases time to retrieve information may be  critical ex(Video on demand).  &lt;p&gt;&lt;/p&gt;  &lt;/li&gt;&lt;li&gt;&lt;p&gt;Automatic  feature extraction and Indexing: In conventional databases user  explicitly submits the attribute values of objects inserted into the  database. In contrast, advanced tools such as image processing and  pattern recognition tools for images, to extract the various  features and content of multimedia objects. As size of data is very  large we need special data structures for storing and indexing.&lt;/p&gt; &lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20807398-114345628973589393?l=multimediadb.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://multimediadb.blogspot.com/feeds/114345628973589393/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20807398&amp;postID=114345628973589393' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20807398/posts/default/114345628973589393'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20807398/posts/default/114345628973589393'/><link rel='alternate' type='text/html' href='http://multimediadb.blogspot.com/2006/03/how-is-multimedia-data-different.html' title='How is Multimedia Data different'/><author><name>Ajit</name><uri>http://www.blogger.com/profile/14368940898827871315</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://www.cse.iitb.ac.in/~ajitb/me.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20807398.post-114342278199751413</id><published>2006-03-26T17:22:00.000-08:00</published><updated>2006-03-26T17:30:15.000-08:00</updated><title type='text'>Types of Multimedia Data</title><content type='html'>There are number of data types that can be characterized as multimedia data types. These are typically the elements or the building blocks of ore generalized multimedia environments, platforms, or integrating tools. The basic types can be described as follows :  &lt;p&gt;&lt;/p&gt; &lt;ol&gt;&lt;li&gt;&lt;p lang="en-US"&gt;&lt;b&gt;Text &lt;/b&gt;:  The form in which the text can be stored can vary greatly. In  addition to ASCII based files, text is typically stored in processor  files, spreadsheets, databases and annotations on more general  multimedia objects. With  availability and  proliferation of GUIs,  text fonts the job of storing text is becoming complex allowing  special effects(color, shades..).&lt;/p&gt;  &lt;/li&gt;&lt;li&gt;&lt;p lang="en-US"&gt; &lt;b&gt;Images : &lt;/b&gt;  There is great variance in the quality and size of storage for still  images. Digitalized images are sequence of pixels that represents a  region in the user's graphical display. The space overhead for still  images varies on the basis of resolution, size, complexity, and  compression scheme used to store image. The popular image formats  are jpg, png, bmp, tiff.&lt;/p&gt;  &lt;/li&gt;&lt;li&gt;&lt;p lang="en-US"&gt;&lt;b&gt;Audio :&lt;/b&gt;  An increasingly popular datatype being integrated in most of  applications is Audio. Its quite space intensive. One minute of  sound can take up to 2-3 Mbs of space. Several techniques are used  to compress it in suitable format.&lt;/p&gt;  &lt;/li&gt;&lt;li&gt;&lt;p lang="en-US"&gt;&lt;b&gt;Video :  &lt;/b&gt;One on the most space  consuming multimedia data type is digitalized video. The digitalized  videos are stored as sequence of frames. Depending upon its  resolution and size a single frame can consume upto 1 MB.  Also to have realistic video playback, the transmission,  compression, and decompression of digitalized require continuous  transfer rate.&lt;br /&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p lang="en-US"&gt;&lt;b&gt;Graphic  Objects:&lt;/b&gt;  These consists of special data structures used to  define 2D &amp;amp; 3D shapes through which we can define multimedia  objects. These includes various formats used by image, video editing  applications.&lt;br /&gt;&lt;/p&gt;  &lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20807398-114342278199751413?l=multimediadb.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://multimediadb.blogspot.com/feeds/114342278199751413/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20807398&amp;postID=114342278199751413' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20807398/posts/default/114342278199751413'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20807398/posts/default/114342278199751413'/><link rel='alternate' type='text/html' href='http://multimediadb.blogspot.com/2006/03/types-of-multimedia-data.html' title='Types of Multimedia Data'/><author><name>Ajit</name><uri>http://www.blogger.com/profile/14368940898827871315</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://www.cse.iitb.ac.in/~ajitb/me.png'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20807398.post-114228461197227006</id><published>2006-03-13T12:39:00.000-08:00</published><updated>2006-03-13T13:16:52.033-08:00</updated><title type='text'>Multimedia Indexing</title><content type='html'>The Basic Steps for multimedia indexing is :&lt;br /&gt;&lt;ol&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;Provide a measure for the distance between two multimedia objects :&lt;/span&gt;&lt;br /&gt;So we need to define a distance function D().Given two objects OA, OB the distance (=dis-similarity) of the two objects is denoted by D(OA, OB). It can be Euclidean Distance .&lt;/li&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;Similarity Queries &lt;/span&gt;: &lt;ul&gt;&lt;li&gt;Whole query matches : for a query of object &lt;span style="font-weight: bold;"&gt;O&lt;/span&gt; ,  find the objects within the database which are with in similarity distance &lt;span style="font-style: italic;"&gt;delta  &lt;/span&gt;from&lt;span style="font-style: italic;"&gt; O.&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;Sub-pattern Match  : Given a collection of N objects O1,…, ON and a query (sub-) object Q and a tolerance &lt;span style="font-style: italic;"&gt;delta&lt;/span&gt; identify the parts of the data objects that match the query Q .&lt;/li&gt;&lt;li&gt;Or  we can find  k nearest neigbours of object queried.&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;Algorithm&lt;/span&gt; : Sequential  scanning and distance calculation  with each and every object is too  slow for large databases. We can use highly fine-tuned database SAMs (Spatial Access Methods) like R-trees to accelerate the search (by pruning out large portions of the database that are not promising) .&lt;/li&gt;&lt;/ol&gt;The similarity distance can be based on features extracted from image. Like in previous post for an image the similarity can be based on color, texture etc&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20807398-114228461197227006?l=multimediadb.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://multimediadb.blogspot.com/feeds/114228461197227006/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20807398&amp;postID=114228461197227006' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20807398/posts/default/114228461197227006'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20807398/posts/default/114228461197227006'/><link rel='alternate' type='text/html' href='http://multimediadb.blogspot.com/2006/03/multimedia-indexing.html' title='Multimedia Indexing'/><author><name>Ajit</name><uri>http://www.blogger.com/profile/14368940898827871315</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://www.cse.iitb.ac.in/~ajitb/me.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20807398.post-114187223669554581</id><published>2006-03-08T17:34:00.000-08:00</published><updated>2006-03-08T18:43:56.776-08:00</updated><title type='text'>Case Studies</title><content type='html'>&lt;span style="font-weight: bold;"&gt;MediaDB&lt;/span&gt; is Multimedia Database Management System that creates MMDB applications to manage large volumes of multimedia objects. MediaDB is an object oriented system that supports encapsulations, inheritance hierarchies, and object management. It also supports one-to-many and many-tomany relationship between objects.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;InterBase&lt;/span&gt; is a relational Database that has builtin support for BLOBs. It has its own interface to relational database that it manages. InterBase stores BLOBs in collection of segments. A segment in InterBase can be thought of as a fixed-length "page" or I/O block. InterBase provides special API calls to retrieve and modify segments. It allows user to open-BLOb , create-BLOB, read segmet (by get-segment)  and write a segment to BLOB (put-segment).&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Sybase's SQL Server&lt;/span&gt; supports  TEXT  and IMAGE data types. TEXT and IMAGE data-types can be very large up to 2GB. User can defien  table as :&lt;br /&gt;&lt;span style="font-style: italic;"&gt;CREATE TABLE Page (&lt;/span&gt;&lt;br /&gt; &lt;span style="font-style: italic;"&gt;    Number Integer ,&lt;/span&gt;&lt;br /&gt; &lt;span style="font-style: italic;"&gt;    Content IMAGE ,&lt;/span&gt;&lt;br /&gt; &lt;span style="font-style: italic;"&gt;    Anstract TEXT)&lt;/span&gt;&lt;br /&gt;In terms of their internal storage representation TEXT and IMAGE column values contain pointer to firest page of multimedia column. The pages are stored as linked-list. The pages od TEXT and IMAGES colums are stored seperately fro tables of database.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;XDP from Plexus&lt;/span&gt; is imaging database engine that provide support for BYTES and TEXT data types. A special family can be assigned to each IMAGE and TEXT column in a Table with a different storae extent or family for that tabel recors. Example :&lt;br /&gt;    CREATE TABEL Pages&lt;br /&gt;    (Number Intege,&lt;br /&gt;    PageImage IMAGE IN ImageFamily)&lt;br /&gt;    IN CompoundDocumentFamily&lt;br /&gt;&lt;br /&gt; XDP supports hierarchial storage system, managing magnet disks, optical disks, optical jukeboxes  with online, near-line (stored in the optical jukeboxes but not munted), and offline stored on a shelf)  devices.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;MultiMedia Datatypes in UniSQL/X&lt;/span&gt;  Being an object relationa; database management system , UNiSQL supports most of SQL constructs. FOr multimedai data types UniSqL/X supports a class hierarchiay rooted at generalized large object (GLO) class. This class serves as the root od multimedia data types and provides a number of builot-in attributes and methods for instatiating and inheriting clients.For content of GLO objetcs user can create either Large Object (LO) or a File Based Object(FBO) .  An interestin gfeature is that recovery is supported for FBOs but consisteny is not supported as external application can aloso access it. LOs are similar to BLOBs in relational databases. FBOs are stored in host file system. Two other subclasses are Audio and Image class. Audio serve as root class of various type of audio classes. Image class is the root of image types, including 2D and 3D images. It supports number of attributes and ethods(also inherited from parent classes)  to support storing and manipulating data.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20807398-114187223669554581?l=multimediadb.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://multimediadb.blogspot.com/feeds/114187223669554581/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20807398&amp;postID=114187223669554581' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20807398/posts/default/114187223669554581'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20807398/posts/default/114187223669554581'/><link rel='alternate' type='text/html' href='http://multimediadb.blogspot.com/2006/03/case-studies.html' title='Case Studies'/><author><name>Ajit</name><uri>http://www.blogger.com/profile/14368940898827871315</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://www.cse.iitb.ac.in/~ajitb/me.png'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20807398.post-114149572082049344</id><published>2006-03-04T09:18:00.000-08:00</published><updated>2006-03-13T12:39:48.286-08:00</updated><title type='text'>Content Based Retrival</title><content type='html'>Content-based retrieval (&lt;span style="font-weight: bold;font-size:100%;" &gt;CBR&lt;/span&gt;&lt;span style="font-size:100%;"&gt;)&lt;/span&gt;of a multimedia data is retrieval that uses the text of the document rather than any added metadata. Free text searching is a good example of content-based text retrieval for text documents. The words making up the content of the document are indexed and used as the basis for retrieval, sometimes in conjunction with quite sophisticated “intelligent” software used to satisfy the query. But in case of images and videos CBR is difficult. The difficulty is that  an image is an  collection of pixels  with color specified for each pixels  but need to interpret them automatically and see meaningful regions of colour, recognise objects and identify scenes which can usefully form the basis of effective image matching processes.&lt;br /&gt;&lt;span style="font-style: italic;"&gt;How can CBR be performed for images :&lt;/span&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;Image Retrieval By Color &lt;/span&gt;: The colour histogram has been a simple and popular representation which captures the relative amounts of each colour in an image. But it is a global measure and does not give information about colour variations at local positions in the image. Color Histogram gives the proportio of pixels of each color within a image. Now  we define a &lt;span style="font-style: italic;"&gt;distance  &lt;/span&gt;color set distance &lt;span style="font-style: italic;"&gt; &lt;/span&gt;&lt;span style="font-family:Helvetica,Arial;"&gt;&lt;i&gt;d&lt;sup&gt;(set)&lt;/sup&gt;=(c&lt;sub&gt;q&lt;/sub&gt;-c&lt;sub&gt;t&lt;/sub&gt;)&lt;sup&gt;t&lt;/sup&gt;A(c&lt;sub&gt;q&lt;/sub&gt;-c&lt;sub&gt;t&lt;/sub&gt;)  &lt;/i&gt;where&lt;i&gt;                                         &lt;/i&gt;&lt;/span&gt;&lt;span style="font-family:Helvetica,Arial;"&gt;&lt;/span&gt;&lt;ul&gt;&lt;span style="font-family:Helvetica,Arial;"&gt;&lt;li&gt;&lt;i&gt;c&lt;sub&gt;q&lt;/sub&gt;&lt;/i&gt;: Query color histogram &lt;/li&gt;&lt;li&gt; &lt;i&gt;c&lt;sub&gt;t&lt;/sub&gt;&lt;/i&gt;: Target color histogram&lt;/li&gt;&lt;li&gt;A is the color similarity matrix.             &lt;br /&gt;&lt;/li&gt;&lt;/span&gt;&lt;/ul&gt;&lt;span style="font-family:Helvetica,Arial;"&gt;Now for a query we search for minimum value of this distance.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family:Helvetica,Arial;"&gt;&lt;span style="font-weight: bold;"&gt;Region Query for Images by Spatial description&lt;/span&gt; : Image may be divided into some regions. Here we can perform triangulation of image. Now region location can be found using Euclidean distance of centroids. When we query for an region of an image we can make the weighted sum of  &lt;/span&gt;&lt;span style="font-family:Helvetica,Arial;"&gt;&lt;/span&gt;&lt;ul&gt;&lt;span style="font-family:Helvetica,Arial;"&gt;&lt;li&gt; Color set &lt;/li&gt;&lt;li&gt; Location &lt;/li&gt;&lt;li&gt; Area &lt;/li&gt;&lt;li&gt; Spatial extent&lt;/li&gt;&lt;/span&gt;&lt;/ul&gt;&lt;span style="font-family:Helvetica,Arial;"&gt;as a criterion. We may also need to define spatial relation between regions for example &lt;/span&gt;&lt;span style="font-family:Helvetica,Arial;"&gt;&lt;/span&gt;&lt;ul&gt;&lt;span style="font-family:Helvetica,Arial;"&gt;&lt;li&gt; Adjacency &lt;/li&gt;&lt;li&gt; Nearness &lt;/li&gt;&lt;li&gt; Overlap &lt;/li&gt;&lt;li&gt; Surround&lt;br /&gt;&lt;/li&gt;&lt;/span&gt;&lt;/ul&gt;&lt;span style="font-family:Helvetica,Arial;"&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-weight: bold;"&gt;How can we perform CBR :&lt;br /&gt;1. &lt;/span&gt;The application provides us a drawing tool so that we can draw image and calculate feature of query image and search accordingly in database.&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;2&lt;/span&gt;. Or we can prform Query By Example : in this case we provide an example image so that an iomage from database should be similar to it.&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20807398-114149572082049344?l=multimediadb.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://multimediadb.blogspot.com/feeds/114149572082049344/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20807398&amp;postID=114149572082049344' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20807398/posts/default/114149572082049344'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20807398/posts/default/114149572082049344'/><link rel='alternate' type='text/html' href='http://multimediadb.blogspot.com/2006/03/content-based-retrival.html' title='Content Based Retrival'/><author><name>Ajit</name><uri>http://www.blogger.com/profile/14368940898827871315</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://www.cse.iitb.ac.in/~ajitb/me.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20807398.post-114139542975626083</id><published>2006-03-03T04:51:00.000-08:00</published><updated>2006-03-08T19:24:05.330-08:00</updated><title type='text'>Using Metadata for managing Multimedia Data</title><content type='html'>As in case of multimedia data the exact match paradigm for querying is no longer suitable or adequate. Also content-based processing are hard to analyse and result is not often precise. So Metadata that is derived or extracted from digital media have advantage of being more amenable to traditional data retrieval and manipulation techniques than raw digital media.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt; Metadata can often be stored in relatively standard relational and object oriented structures and can be easily queried though simple extension of languages such as SQL.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Type of Metadata :&lt;br /&gt;&lt;/span&gt;&lt;ul&gt;&lt;li&gt;Content Independent Metadata : this type of metadata captures information that does not depend on content of document with which it ios associated. Example of this type of metadata are : owner,location, modification date of document. There is no information content captured but still such metadata is useful for retrival of documents.&lt;/li&gt;&lt;li&gt;Content dependent Metadata : Example is size of document,number of rows and columns and othre field which depend upon content. This can be further sub-divided in two :&lt;br /&gt;&lt;/li&gt;&lt;ul&gt;&lt;li&gt;Direct Content Base Metadata : This is based directly on content of document. A popular example is "&lt;span style="font-style: italic;"&gt;index for a document&lt;/span&gt;" .&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Content Descriptive Metadata : This type of metadata describes the content of document without direct utilization of those contents.Example is "&lt;span style="font-style: italic;"&gt;texual anonations describing an image&lt;/span&gt;".&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;Now here is how can we formally define metadata :&lt;br /&gt;&lt;br /&gt;A  media-instance  is  an  8-tuple&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;(ST, fe, ATR, A, R, F, Var1,  Var2)&lt;/span&gt;&lt;br /&gt;where:&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;ST&lt;/span&gt;  is  a  set  of  objects  called  states,  and&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;fe&lt;/span&gt;  is  a  set  of  objects  called  features,  and&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;ATR&lt;/span&gt;  is  a  set  of  objects  called  attribute  values,  and&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;A&lt;/span&gt;   is  a  map  from  states  to  sets  of  features,  and&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;R&lt;/span&gt;  is  a  set  of  relations  on  &lt;span style="font-weight: bold;"&gt;fe^i&lt;/span&gt; * &lt;span style="font-weight: bold;"&gt;ST&lt;/span&gt;  for  i  &gt;  0,  and&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;F&lt;/span&gt;  is  a  set  of  relations  on  &lt;span style="font-weight: bold;"&gt;ST&lt;/span&gt;,  and&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Var1&lt;/span&gt;,  is  a  set  of  objects,  called  variables,  ranging  over  &lt;span style="font-weight: bold;"&gt;ST&lt;/span&gt;,  and&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Var2&lt;/span&gt;,  is  a  set  of  variables  ranging  over  &lt;span style="font-weight: bold;"&gt;fe&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;A &lt;span style="font-style: italic;"&gt;state &lt;/span&gt;is smallest chunk of media data that we wish to consider. For example , in an image database each eimage may be viewed as state.&lt;br /&gt;A &lt;span style="font-style: italic;"&gt;feature&lt;/span&gt; is any object in a state that is of interest for multimedia database. Example for an image pic.gif showing car, the feature of pic.gif is car .&lt;br /&gt;The &lt;span style="font-style: italic;"&gt;Attributes&lt;/span&gt; are  properties of features in a state. like for picture of car the attributes may be car color, model.&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;A &lt;/span&gt;is a feature extraction ap which tells which feature occur in which states.&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;R &lt;/span&gt;is set of relation on &lt;span style="font-weight: bold;"&gt;fe&lt;/span&gt; X &lt;span style="font-weight: bold;"&gt;ATR&lt;/span&gt; X &lt;span style="font-weight: bold;"&gt;ST &lt;/span&gt;--those relations are state dependent. for instance for an omage photo.gif. There may be state dependent relation ship called &lt;span style="font-style: italic;"&gt;left_of &lt;/span&gt;containg tuples like (a , b , photo.gif)   such that a is in left of b in photo.gif.&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;F  &lt;/span&gt;is a relation on states like "&lt;span style="font-style: italic;"&gt;before"  &lt;/span&gt;example for such relation is (a.gif , b.gif) such that acc to &lt;span style="font-style: italic;"&gt;before&lt;/span&gt; relation , photo a.gif was taken before b.gif.&lt;br /&gt;&lt;br /&gt;Having this formal representation now we can easily formulate methods for queying database easily. Now we cab define functions like : &lt;span style="font-style: italic;"&gt;&lt;span style="font-weight: bold;"&gt;FindObjectWithFeature&lt;/span&gt;(a)&lt;/span&gt; &lt;span style="font-style: italic;"&gt;, &lt;/span&gt;this wll search database for all such states with feature containg &lt;span style="font-style: italic;"&gt;a&lt;/span&gt;. Or we can list all features of an image with &lt;span style="font-weight: bold; font-style: italic;"&gt;FindFeatures()&lt;/span&gt; . Other function types can be  &lt;span style="font-style: italic;"&gt;&lt;span style="font-weight: bold;"&gt;FindObjectWithFeatureandAttr(&lt;/span&gt;Jane,suit,blue) &lt;/span&gt;this&lt;span style="font-style: italic;"&gt;  &lt;/span&gt;query asks to find all media objects in which &lt;span style="font-style: italic;"&gt;jane&lt;/span&gt; apperars in a &lt;span style="font-style: italic;"&gt;blue suit&lt;/span&gt;.  the above mentioned functions are available by default in &lt;span style="font-weight: bold;"&gt;SMDS-SQL. &lt;/span&gt;An example query is &lt;span style="font-weight: bold;"&gt;"&lt;/span&gt;find all images containg jane and denis , with jane  to left of Denis.&lt;br /&gt;SELECT M&lt;br /&gt;FROM  smds source1 M&lt;br /&gt;WHERE FindType(M) = Image AND&lt;br /&gt;                M in FindObjWithFeature(Denis) AND&lt;br /&gt;               M in  FindObjWithFeature(jane ) AND&lt;br /&gt;                left(jane,denis,M)       &lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20807398-114139542975626083?l=multimediadb.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://multimediadb.blogspot.com/feeds/114139542975626083/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20807398&amp;postID=114139542975626083' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20807398/posts/default/114139542975626083'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20807398/posts/default/114139542975626083'/><link rel='alternate' type='text/html' href='http://multimediadb.blogspot.com/2006/03/using-metadata-for-managing-multimedia.html' title='Using Metadata for managing Multimedia Data'/><author><name>Ajit</name><uri>http://www.blogger.com/profile/14368940898827871315</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://www.cse.iitb.ac.in/~ajitb/me.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20807398.post-114138423761593200</id><published>2006-03-03T02:59:00.000-08:00</published><updated>2006-03-03T03:22:04.190-08:00</updated><title type='text'>Information Management &amp; Retrival : Introduction</title><content type='html'>&lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold;"&gt;Basic Approches for Information management :&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;Conventional database system &lt;/span&gt;– This is the widely-used approach to manage and search for structured data. All data in a database system must conform to some predefined structures and constraints (i.e., schemas). To formulate a database query the user must specify which data objects are to be retrieved, the database tables from which they are to be extracted and predicate on  which the retrieval is based. A query language for the database will generally be of the artificial kind, one with restricted syntax and vocabulary, such as SQL. &lt;/li&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;Information retrieval (IR) system&lt;/span&gt; – IR system is mainly used to search large text collections, in which the content of the (text) data is described by an indexer using keywords or a textual abstract, and keywords or natural language is used to express query demands. For example for an image or video we have to describe it in words or in a way need to store lot of metadata (texual form).&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;Content based retrieval (CBR) system&lt;/span&gt; – This approach is used to retrieve desired multimedia objects from a large collection on the basis of features (such as colour, texture and shape, etc.) that can be automatically extracted from the objects themselves. Although keyword can be treated as a “feature” for text data, traditional information&lt;br /&gt;retrieval has much more higher performance than content-based retrieval because keyword has the proven ability to represent semantics, while no features have shown convincing semantic describing ability. But major drawback of this method is that it lacks precision.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;Graph or tree pattern matching&lt;/span&gt; – This approach aims to retrieve object sub-graphs from an object graph according to some denoted patterns.  &lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20807398-114138423761593200?l=multimediadb.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://multimediadb.blogspot.com/feeds/114138423761593200/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20807398&amp;postID=114138423761593200' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20807398/posts/default/114138423761593200'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20807398/posts/default/114138423761593200'/><link rel='alternate' type='text/html' href='http://multimediadb.blogspot.com/2006/03/information-management-retrival.html' title='Information Management &amp; Retrival : Introduction'/><author><name>Ajit</name><uri>http://www.blogger.com/profile/14368940898827871315</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://www.cse.iitb.ac.in/~ajitb/me.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20807398.post-114125603410243787</id><published>2006-03-01T15:33:00.000-08:00</published><updated>2006-03-01T15:33:54.116-08:00</updated><title type='text'>Advanced data structures</title><content type='html'>&lt;span style="font-weight: bold;"&gt;k-dimensionl trees (k-d trees) :&lt;/span&gt;&lt;br /&gt;Each level of a k-d  tree partitions the space into two.&lt;ul&gt;&lt;li&gt;choose one dimension for partitioning at the root level of the tree.&lt;br /&gt;&lt;/li&gt;&lt;li&gt; choose another dimensions for partitioning in nodes at the next level and so on, cycling through the dimensions.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;In each node, approximately half of the points stored in the sub-tree fall on one side and half on the other. Partitioning stops when a node has less than a given maximum number of points.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/197/560/1600/aa.png"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 173px; height: 156px;" src="http://photos1.blogger.com/blogger/197/560/320/aa.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Each line in the figure (other than the outside box) corresponds to a node in the k-d tree. The maximum number of points in a leaf node has been set to 1.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Division of Space by Quadtrees :&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Each node of a quadtree is associated with  a rectangular region of space; the top node is associated with the entire target space.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/197/560/1600/aaa.png"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 202px; height: 151px;" src="http://photos1.blogger.com/blogger/197/560/320/aaa.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Each non-leaf nodes divides its region into four equal sized quadrants correspondingly each such node has four child nodes corresponding to the four quadrants and so on. Leaf nodes have between zero and some fixed maximum number of points (set to 1 in example).&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;R trees&lt;/span&gt; :&lt;br /&gt;R-trees are a N-dimensional extension of B+-trees, useful for indexing sets of rectangles and other polygons. Supported in many modern database systems, along with variants like R+ -trees and R*-trees.&lt;br /&gt;A rectangular bounding box is associated with each tree node.&lt;ul&gt;&lt;li&gt;Bounding box of a leaf node is a minimum  sized rectangle that contains all the rectangles/polygons associated with the leaf node.&lt;/li&gt;&lt;li&gt;The bounding box associated with a non-leaf node contains the bounding box associated with all its children.&lt;/li&gt;&lt;li&gt;Bounding box of a node serves as its key in its parent node (if any)&lt;/li&gt;&lt;li&gt;Bounding boxes of children of a node are allowed to overlap.&lt;/li&gt;&lt;/ul&gt;A polygon is stored only in one node, and the bounding box of the node must contain the polygon&lt;br /&gt;The storage efficiency or R-trees is better than that of k-d trees or quadtrees since a polygon is stored only once.&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/197/560/1600/aa.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://photos1.blogger.com/blogger/197/560/320/aa.0.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;To find data items (rectangles/polygons) intersecting (overlaps)  a given query point/region, do the following, starting from the root node:&lt;ul&gt;&lt;li&gt;If the node is a leaf node, output the data items whose keys intersect the given query point/region.&lt;/li&gt;&lt;li&gt;Else, for each child of the current node whose bounding box overlaps the query point/region, recursively search the child.&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20807398-114125603410243787?l=multimediadb.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://multimediadb.blogspot.com/feeds/114125603410243787/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20807398&amp;postID=114125603410243787' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20807398/posts/default/114125603410243787'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20807398/posts/default/114125603410243787'/><link rel='alternate' type='text/html' href='http://multimediadb.blogspot.com/2006/03/advanced-data-structures.html' title='Advanced data structures'/><author><name>Ajit</name><uri>http://www.blogger.com/profile/14368940898827871315</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://www.cse.iitb.ac.in/~ajitb/me.png'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20807398.post-114125307237380105</id><published>2006-03-01T14:08:00.000-08:00</published><updated>2006-03-01T14:46:41.636-08:00</updated><title type='text'>SQL and Multimedia : Introduction</title><content type='html'>Here is example on how to define table with large objects i.e &lt;span style="font-weight: bold;font-size:100%;" &gt;LOB&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;font-size:85%;" &gt;CREATE TABLE grape&lt;br /&gt;( grape_name VARCHAR2(30) ,&lt;br /&gt;grape_txt CLOB DEFAULT EMPTY_CLOB() ,&lt;br /&gt;picture BLOB DEFAULT EMPTY_BLOB() ,&lt;br /&gt;CONSTRAINT prim_grape PRIMARY KEY (grape_name) )&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;here grape_text is the the description of grape and is stream of characters so is stored as &lt;span style="font-weight: bold;font-size:100%;" &gt;CLOB.&lt;/span&gt; Whereas picture is stored as &lt;span style="font-weight: bold;font-size:100%;" &gt;BLOB&lt;/span&gt;. Here the image will be stored in database itself. Other way is we can store it as &lt;span style="font-weight: bold;font-size:100%;" &gt;BFILE&lt;/span&gt;. Then we can have used :&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-style: italic;font-size:32;" &gt;&lt;span style="font-size:100%;"&gt;picture BFILE&lt;/span&gt; &lt;span style="font-size:100%;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Now while inserting data we have to do as :&lt;br /&gt;&lt;span style="font-style: italic;font-size:85%;" &gt;INSERT INTO grape (grape_name, picture) VALUES ('chardonnay' , BFILENAME('PHOTO_DIR','chardonnay.jpg'))&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Using DBMS_LOB Package :&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-style: italic;"&gt; CREATE PROCEDURE wine_read_bfile &lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;  IS&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;         Lob_loc   BFILE ;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;         Amount   INTEGER :=32767&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;         Position   INTEGER := 1;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;          Buffer     RAW(32767 ) ; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;  BEGIN   &lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;          SELECT picture INTO Lob_loc FROM grape&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;           WHERE grape_name =  'chardonnay' ;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;          DBMS_LOB.OPEN(LOB_loc, DBMS_LOBB.LOB_READONLY);&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;          DBMS_LOB.READ(Lob_loc, Amount , Position , Buffer);&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;          DBMS_LOB.CLOSE(LOb_loc);&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;  END ;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;here the file will be loaded in the buffer. The BFILE is manipulted through LOB locator.&lt;br /&gt;You can also modify CLOB using&lt;br /&gt;&lt;span style="font-style: italic;font-size:85%;" &gt;    DBMS_LOB.WRITE(lob_loc,amount,offset, newtext ) &lt;/span&gt;;   here the newtext is added at position lob_loc + offset value.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20807398-114125307237380105?l=multimediadb.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://multimediadb.blogspot.com/feeds/114125307237380105/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20807398&amp;postID=114125307237380105' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20807398/posts/default/114125307237380105'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20807398/posts/default/114125307237380105'/><link rel='alternate' type='text/html' href='http://multimediadb.blogspot.com/2006/03/sql-and-multimedia-introduction.html' title='SQL and Multimedia : Introduction'/><author><name>Ajit</name><uri>http://www.blogger.com/profile/14368940898827871315</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://www.cse.iitb.ac.in/~ajitb/me.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20807398.post-114124293030926195</id><published>2006-03-01T11:04:00.000-08:00</published><updated>2006-03-01T11:55:30.320-08:00</updated><title type='text'>Multimedia Object Size</title><content type='html'>The size of multimedia data can make storage, processing, transmission and recption of data very costly.&lt;br /&gt;&lt;ul&gt;There are two approaches to cop with multimedia data size:-&lt;br /&gt;&lt;li&gt; Store data externally to database and you may just store metadata in database &lt;/li&gt;&lt;br /&gt;&lt;li&gt; Reducing size of multimedia data so that they can be stored within database &lt;/li&gt; &lt;/ul&gt;&lt;br /&gt;Object-relational databases offers means of stoing and processing multimedia data, based on SQL:1999. It provides two new data types that can hold media data.th first is  "large object" oor &lt;span style="font-weight: bold;"&gt;LOB&lt;/span&gt; data type. THis has two variants, &lt;span style="font-weight: bold;"&gt;BLOB&lt;/span&gt; "binary large object " and &lt;span style="font-weight: bold;"&gt;CLOB&lt;/span&gt; Character large object. Oracle9i supports another  datatype for media objects that are stored externally as operating system files (&lt;span style="font-weight: bold;"&gt;BFILE  &lt;/span&gt; data type. LOBS in Oracle9i can hold up to 4GB size. A &lt;span style="font-weight: bold;"&gt;LOB&lt;/span&gt; can be broken down to chunks for processing.  It also facilitates storing &lt;span style="font-weight: bold;"&gt;URLs&lt;/span&gt; containing audio, image, or video data stored on any HTTP server such as Oracle  Application Server, Netscape Application Server, Microsoft Internet Information Server.&lt;br /&gt;&lt;br /&gt;for more informaion &lt;a href="http://www.cs.umb.edu/cs634/ora9idocs/appdev.920/a96595/dci06mlt.htm"&gt;here&lt;/a&gt;. Oracle sql synatx can be found &lt;a href="http://www.lc.leidenuniv.nl/awcourse/oracle/server.920/a96540/toc.htm"&gt;here&lt;/a&gt;  .&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Reducing Media Object's Size &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Signifiacnt reduction in media oobject size can be achieved by data compression using varios algorithms. But while doig compression we have to keep in mind that how much quality loss (in case of loosy compressions) is acceptable while decompression. In an application we can store data in one compression format and transform data in another while transmitting or presentation, so we need to store information about this. IBM's DB2 and Oracle allows us to do so by providing &lt;span style="font-weight: bold;"&gt;DB2IMAGE&lt;/span&gt; and &lt;span style="font-weight: bold;"&gt;ORDIMAGE&lt;/span&gt; types respectively. So we can store following attributes : &lt;/li&gt;&lt;li&gt;Compression format- such as jpeg,GIFLZW&lt;/li&gt;&lt;li&gt;Compression Quality value such as LOWCOMP ,HIGHCOmp&lt;/li&gt;&lt;li&gt;Content format value such as image type/pixel/data format&lt;/li&gt;&lt;li&gt;FileFormat - such as BMP, TIFF&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;high quality compression is obtained by using &lt;span style="font-weight: bold;"&gt;MPEG &lt;/span&gt;standards.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20807398-114124293030926195?l=multimediadb.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://multimediadb.blogspot.com/feeds/114124293030926195/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20807398&amp;postID=114124293030926195' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20807398/posts/default/114124293030926195'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20807398/posts/default/114124293030926195'/><link rel='alternate' type='text/html' href='http://multimediadb.blogspot.com/2006/03/multimedia-object-size.html' title='Multimedia Object Size'/><author><name>Ajit</name><uri>http://www.blogger.com/profile/14368940898827871315</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://www.cse.iitb.ac.in/~ajitb/me.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20807398.post-114123916227677891</id><published>2006-03-01T10:24:00.000-08:00</published><updated>2006-03-01T10:52:42.320-08:00</updated><title type='text'>Why need Multimedia  Database</title><content type='html'>Data increasingly means not just numbers and small strings but multimedia data as well – structured text, images, video, audio, VR, etc.&lt;br /&gt;As &lt;br /&gt;&lt;ul&gt;&lt;li&gt;multimedia data is large and will affect the storage  , retrival and transmission of multimedia data.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;multimedia data structures are completely different from standard database &lt;/li&gt;&lt;li&gt;In multimedia data structures we want content-based searching &lt;/li&gt;&lt;br /&gt;&lt;li&gt;In case of video and audio databases time to retrive information may be critical ex (Video on demand)&lt;/li&gt; &lt;br /&gt; &lt;/ul&gt;&lt;br /&gt;Multimedia Database Management System. (MMDBMS) must support multimedia data types in. addition to providing facilities for traditional DBMS like database creation, data modeling, data retrieval, data access and organization, and data independence.&lt;br /&gt;&lt;br /&gt;Types of Multimedia datatypes :&lt;br /&gt;   &lt;ul&gt;&lt;li&gt; Text (arbitary long text fields) &lt;/li&gt;&lt;br /&gt;          &lt;li&gt; Still images &lt;/li&gt;&lt;br /&gt;           &lt;li&gt; Graphics objects like CAD/CAM objects&lt;/li&gt;&lt;br /&gt;          &lt;li&gt; Video data &lt;/li&gt;&lt;br /&gt;           &lt;li&gt; Audio data &lt;/li&gt;&lt;br /&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20807398-114123916227677891?l=multimediadb.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://multimediadb.blogspot.com/feeds/114123916227677891/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20807398&amp;postID=114123916227677891' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20807398/posts/default/114123916227677891'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20807398/posts/default/114123916227677891'/><link rel='alternate' type='text/html' href='http://multimediadb.blogspot.com/2006/03/why-need-multimedia-database.html' title='Why need Multimedia  Database'/><author><name>Ajit</name><uri>http://www.blogger.com/profile/14368940898827871315</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://www.cse.iitb.ac.in/~ajitb/me.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20807398.post-114123679011646660</id><published>2006-03-01T10:07:00.000-08:00</published><updated>2006-03-01T10:13:10.116-08:00</updated><title type='text'>Literature Survey on multimedia database</title><content type='html'>As i doing an literature survey on multimedia database for my seminar under &lt;a href="http://www.cse.iitb.ac.in/~nls"&gt;Prof N. L. Sarda&lt;/a&gt;. So as go on with it i will post here what i learn.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20807398-114123679011646660?l=multimediadb.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://multimediadb.blogspot.com/feeds/114123679011646660/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20807398&amp;postID=114123679011646660' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20807398/posts/default/114123679011646660'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20807398/posts/default/114123679011646660'/><link rel='alternate' type='text/html' href='http://multimediadb.blogspot.com/2006/03/literature-survey-on-multimedia.html' title='Literature Survey on multimedia database'/><author><name>Ajit</name><uri>http://www.blogger.com/profile/14368940898827871315</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://www.cse.iitb.ac.in/~ajitb/me.png'/></author><thr:total>0</thr:total></entry></feed>
