Archive for January, 2011

(FINAL VERSION of XML, XHTML,XSL, XSLT, XSD, Schema, DTD, Validation, Stylesheets (CSS)., RSS, DOM)

The video here is the final version of my #WST assignment. Some improvements were done from the last video assignment(Draft) here.



Multimedia Systems Development (MSD) course project

An Efficient Video Similarity Search Algorithm

This project uses efficient video retrieval technique in a large storage. There are two challenging problems in detecting video similarity from a large storage similarity measurement and search method. This project uses a novel video feature computation of image characteristic code based on spatial-temporal distribution of video frame sequences.

The video similarity is measured based on the calculation of the number of similar video components. This system is on the basis of four types of tables: The first is video CIT (VCIT) containing the number of video components. The second is database CIT (DCIT) recording video ID and the number of video
component of each video. The third is search table (ST) including the corresponding database CIT of each video clip.The forth is video similarity table (VST) recording similar video ID and video similarity measure. In order to improve the query throughput and fast accessing, it uses Cluster indexing mechanism in database.
[1] An Efficient Video Similarity Search Algorithm. Zheng Cao, Ming Zhu. IEEE Transactions
on Consumer Electronics, Vol. 56, No. 2, May 2010.

Name: Chittampally Vasanth Raja
RollNo: 10IT05F

Download as Pdf :Abstract_10IT05F

Resume Updated

Here is my resume updated.  Here is the link to HTML(text) resume.

NITK Youth Program, Swamy Vivekananda Jayanthi

Yesterday was swamy Vivekananda’s birthday which is considered as Youth day. It is so because he always preached about the youth, he knows the very fact that India is having the most youth power than any other country has, and the youth is power, the vigor of which can transform anything and everything.

As a part of this auspicious day, Two swamis from Ramakrishna math visited NITK. Both speeches of them were highly inspiring, but one story was really thought provoking. The story goes on like this

One of the friends of Swami lived in Tokyo of Japan for the training. He used to live in the nearest village due to high cost of living of Tokyo. He used to travel by train, One day it was so happened that in his compartment one old lady had come and sat. Suddenly he noticed something strange, The lady pulled out  needle and string and started sewing torn seat. He thought she might be a worker of railway department, so out of curiosity he asked “Haven’t you retired yet?” She replied “10 years back”. He then asked “How many years have you worked in railway department?” She strangely replied “No” I haven’t t worked for the railway department. He then asked, I noticed you sewing the seat I thought you might be an employee of railway department she told once again “No”. He then went on asking “Why have you sewed the seat? Won’t you feel shy?” She replied with a smile on her face. “This train belongs to Japan and I belong to Japan” Swami went on explaining the moral of the story. The story tells about the belongingness of being a part of a country.

It doesn’t require any other reasons for How Japan become developed country with in a very short span.

We all belong to India but we need to question ourselves how far we have felt. We too should have the belongingness of being part of our country which has great culture of being in harmony of different cultures, great wisdom of existing Vedas, great heart of accepting every religion as its own.

Good resources to work with MPI

The below are good resources to work with MPI. MPI programming is a very interesting as it is having a lot of research opportunities.

1) using MPI, Gopp, lusk, skjellum

2) MPI the complete reference

XML+XSLT=(xHTML,HTML,pdf etc.,)

XSL: XML Style-Sheet Language

XML is mainly used to give a raw XML file to give some shape. By including one stylesheet tag to XML file we can give much nicer look.

<?xml-stylesheet type=”text/xsl” href=”profile.xsl”?>

The above tag adds all the styles defined in the profile.xsl to the xml in which is written.

XSLT: XML Style-Sheet Language Transformation

Basically XML is not much human interactive so it is very much needed to transform xml to human interactive file like HTML or XHTML or pdf etc.,

Why XSLT only?

We can use any programming languages like C, C++, Java or Python etc., to transform XML file content to interactive representation in the form of html, xhtml or pdf etc., but the XSLT was written to be light weight and very easy to do the transformation.  It is a w3 standard.

XSLT Engine:

There are two different ways of transformation one is at the client side and the other is at the server side. When we want to do the transformation at the client side browser(Both xml and xsl files have to sent to the client’s browser). In this method the client  must have the XSLT engine installed but we cannot guarantee that. Hence forth we go for much promising method of transforming the file at the server side itself and sending that file to the client browser.

There are many XSLT engines, among them some I’m mentioning below, you can also download them




I’ve worked with the Saxon which is an open source XSLT engine. We can download the jar file, after downloading the jar file we have to use the below command to apply style to the xml file.

Java –jar saxon9he.jar –s:profile.xml –xsl:profile.xsl –o:profile.xhtml

In the above command you can replace the source files profile.xml and profile.xsl with your own source xml and xsl files. The output profile.xhtml signifies with which name you want to create the output file

Here is an example transformation:

XML File(profile.xml)

<?xml version=”1.0″?>

<?xml-stylesheet type=”text/xsl” href=”profile.xsl”?>


<Name>Chittampally Vasanth Raja</Name>


<PhoneNo>+91 9999999999</PhoneNo>


<CollegeAddress> NITK Surathkal</CollegeAddress>

<PermanentAddress>  Andhrapradesh </PermanentAddress>

<Interests>Learning New Technolgy</Interests>


<AboutMe>hard working, enthusiastic, sociable, cheerful, optimistic and always willing to learn new thing</AboutMe>



XSL File:(Profile.xsl)

<?xml version=”1.0″?>




<xsl:output method=”xml”


doctype-public=”-//W3C//DTD XHTML 1.0 Transitional//EN” indent=”yes”/>

<xsl:template match=”/”>

<html xmlns=””&gt;

<title>Profile Page</title>

<body bgcolor=”#FAFAD2″>

<table align=”center” width=”100%” >

<table border=”1″ align=”center”>


<th colspan=”3″ bgcolor=”#9acd32″>Profile </th>




<td><xsl:value-of select=”Profile/Name”/></td>

<td rowspan=”9″><xsl:text disable-output-escaping=”yes”>&lt;img src=”</xsl:text><xsl:value-of select=”Profile/Image” />” alt=”Vasanth Raja photograph <xsl:text disable-output-escaping=”yes”>” /&gt;</xsl:text>




<td>Roll Number</td>

<td><xsl:value-of select=”Profile/RollNo” /></td>



<td>Phone Number</td>

<td><xsl:value-of select=”Profile/PhoneNo” /></td>




<td><xsl:value-of select=”Profile/Email” /> </td>



<td>College Address</td>




<td><xsl:value-of select=”Profile/CollegeAddress/RoomNo”/></td>



<td><xsl:value-of select=”Profile/CollegeAddress/Hostel”/> </td>



<td><xsl:value-of select=”Profile/CollegeAddress/College”/></td>






<td>Permanent Address</td>



<td>House No:</td>

<td> <xsl:value-of select=”Profile/PermanentAddress/H.No”/></td>




<td><xsl:value-of select=”Profile/PermanentAddress/Town” /></td>




<td><xsl:value-of select=”Profile/PermanentAddress/Dist” /></td>




<td><xsl:value-of select=”Profile/PermanentAddress/State” /></td>



<td>Pin Code:</td>

<td><xsl:value-of select=”Profile/PermanentAddress/Pin” /></td>







<td><xsl:value-of select=”Profile/Interests”/></td>




<td><xsl:value-of select=”Profile/Hobbies”/></td>



<td>About Me</td>

<td><xsl:value-of select=”Profile/AboutMe”/></td>








2010 in review

The stats helper monkeys at mulled over how this blog did in 2010, and here’s a high level summary of its overall blog health:

Healthy blog!

The Blog-Health-o-Meter™ reads Wow.

Crunchy numbers

Featured image

A Boeing 747-400 passenger jet can hold 416 passengers. This blog was viewed about 3,600 times in 2010. That’s about 9 full 747s.

In 2010, there were 63 new posts, not bad for the first year! There were 31 pictures uploaded, taking up a total of 10mb. That’s about 3 pictures per month.

The busiest day of the year was June 14th with 282 views. The most popular post that day was Programming/Coding .

Where did they come from?

The top referring sites in 2010 were,,,, and

Some visitors came searching, mostly for adjacency list java, java magic square, vasanth experiments, magic square table in java, and vasanth raja.

Attractions in 2010

These are the posts and pages that got the most views in 2010.


Programming/Coding June 2010


Java Program to construct the Magic Square October 2010


Adjacency list represention of graph in Java October 2010


About Me June 2010


Reviews June 2010

Categories: Reviews, Technology