Monday, May 1, 2017

Data compression in multimedia databases



Data compression in multimedia databases
Pallavi Mahajan
Assistant Professor, RRMK Arya Mahila Mahavidyalaya,Pathankot                                                                           

Neelam                        
Assistant Professor, RRMK Arya Mahila Mahavidyalaya,Pathankot

ABSTRACT
With the growth of internet technology, it allow user to utilize and spread multimedia data like image and videos. Here in this paper we survey the various research papers which describe about the techniques for processing multimedia data. For embellishing the approach we discuss the architecture of split and merge that are used for video encoding. This technique handles the input size of video file by using dynamic resource provisioning. The conservative approach utilizes the transcoding data and costly hardware because of high definition features. In this paper we purpose a new system that is fusion of various techniques. The technique will work on images and videos used on internet.
KEYWORDS: Hadoop Distributed File System (HDFS); Singular Value Decomposition (SVD)

INTRODUCTION
In Data compression, we deal with large amount of data requiring large amount of processing, storage and communication resources. In this project study, we design and implement the compression of an data which is based on MapReduce strategy and Hadoop to solve the above mentioned problems.
The intention to use MapReduce framework here is that it provides a specific programming model and a run time system for processing and creating large data sets amenable to various real-world task. MapReduce programming model is executed in two main steps called as mapping and reducing. Mapping and reducing are defined by mapper and reducer whereas mapping step receives input data sets and feeds each data element to mapper in the form of key and value pairs. In reducing step, all outputs from the mapper are processed and final result is generated by reducer using the merging process. HDFS (Hadoop Distributed File System) is used by Hadoop application which creates the replicas of blocks, distributes them on computed nodes throughout a cluster. This implementation is divided into two parts:
In first part we store the large amount of data into HDFS and second part deals with processing of data which is stored in HDFS using MapReduce and JAI (Java Advanced imaging) for compression data into target formats. In order to support these methods  Imple-mentation of this work starts with taking multimedia data as input by using record Reader method of the class inputFormat. InputFormat transforms the data into sets of keys and values and further they are passed to mapper.
Mapper processes video data using JAI and compression module which compression the video data into specific formats suitable for smart-phones, pads and personal computers. After completing video data
compression, mapper send the result to outputFormat then RecordWriter method of outputFormat class writes the result as a file to HDFS.

RELATED WORK
[1] Authors used Singular Value Decomposition expresses image data in terms of number of eigen vectors depending upon the dimension of an image. The psycho visual redundancies in an image are used for compression.
Thus an image can be compressed without affecting the image quality. [2] Authors used The MSE and compression ratio as thresholding, parameters for reconstruction. SVD is applied on variety of images for experimentation. The work is concentrated to reduce the number of eigen values required to reconstruct an image. [3] Authors used we an algorithm for data compression, called jbit encoding (JBE). This algorithm manipulates each bit of data inside file to minimize the size without losing any data after decoding which is classified to lossless compression. This basic algorithm is intended to be combining with other data compression algorithms to optimize the compression ratio. The performance of this algorithm is measured by comparing combination of different data compression algorithms. [4]
Authors used Run-length encoding (RLE) is one of basic technique for data compression. The idea behind this approach is this: If a data item d occurs n consecutive times in the input stream, replace the n occurrences with the single pair nd RLE is mainly used to compress runs of the same byte. This approach is useful when repetition often occurs inside data.

PROPOSED ALGORITHM
• Design Considerations:
• Image/video file is uploaded.
• Distribution of Frames among different parallel systems properly.
• SVD algorithm is used for compression.
• Merge all the frame sequentially.
• If it is video file then Combine video and audio file in proper way.
• Final compressed file obtained as a result.
• Description of the Proposed Algorithm:
Aim of the proposed algorithm is to design a system which will compress high definition videos and images using Hadoop distributed file system and map-reduce. The proposed algorithm is consists of four main steps.

DATA COMPRESSION VIA SVD
A. Data Matrix
Consider, for example, that measurements from m different meters, taken over t time instants, need to be transmitted through the communications network of a smart distribution system to serve as inputs for a given application. Let this set of measurements be put in the form of a matrix X, with each row of X containing the measurements taken from a given meter at each time instant.
B. Data Compression
Data matrix X can be factorized into three matrices by applying the SVD. In order to simplify the notation, matrix VT is hereafter written as just V
X(m×t) = U(m×m) (m×t)V(t×t)
where diagonal matrix contains the SVs of X, ordered from the highest to the lowest. Data compression can be achieved by taking advantage of the fact that many matrices occurring in practice do exhibit some kind of structure that leads to only a few SVs actually being non-negligible. In such cases, good approximation of matrix X can be obtained by keeping only the SVs found to be significant in matrix . Assume that r SVs are to be retained in and let matrix XR denotes the approximated matrix X.
C. Compression Ratio
The extent of compression achieved by a coding scheme can be measured by a CR. The term CR has been defined in several ways in the literature. In many contexts, the CR is computed by dividing the size of the original data by the size of the compressed data. A CR = 4, for example, means that the data has been compressed with the ratio 4:1.
Alternatively, it can be said that the volume of the compressed data is 25% of the original data. In this paper, the CR is computed, which expresses the ratio between the total number of elements in the original matrix X (measurements) and the total number of elements in the submatrices that are needed to compute matrix XR
CR= m × t
--------------
(m + t + 1) × r
.
D. Loss of Information
As discussed, lossy compression methods can be very effective for data compression, but this comes with a cost, which is the loss of information that will not be retrieved when the original data is reconstructed. Then, data compression should be carried out in a way that a good tradeoff between the CR and loss of information is achieved. In other words, data compression should not result in loss of information that renders the reconstructed matrix of limited use to the applications that would employ it as input data. In this paper, the loss of information is measured in terms of the mean absolute error (MAE) and the mean percentage error (MPE) observed when comparing the reconstructed data matrix with the original one.
 PSEUDO CODE
Step 1: Form data matrix X
Step 2: Perform SVD to obtain matrices U, E, and V.
Step 3: Based on a value of r chosen to achieve a given CR,
Step 4: Reconstruct matrix X by computing XR.
Step 5: Evaluate the loss of information by computing MAE and MPE respectively.
Step 6: End.
CONCLUSION AND FUTURE WORK
In this project, we tend to compress any high definition video uploaded by a user. The video data needs to be stored in a database, so to reduce the storage problem we use Hadoop Distributed File System(HDFS). This project is useful for the compa-nies working with huge amount of multimedia data. This project will be helpful in saving buffering time and providing satisfactory results to the user while watching the video. We use Parallel Distributed environment by establishing the nodes on our laptops. By using this environment, the data is distributed and is processed in parallel manner thus resulting in achieving the end state(compressed video) in less time. The proposed module is based on Hadoop HDFS and the MapReduce framework for distributed parallel processing of large-scale video data. We redesigned and implemented Input Format and Output Format in the MapReduce framework for image data. We used the JAI library for converting the video format and compressing the videos.
REFERENCES
[1] Book Pressman, Tom White, “Hadoop: The Definitive Guide” 4th Edition, year = 2015, isbn = 978-1-491-90163-2, 1491901632, 9781491901632, publisher = McGraw-Hill, Inc., address = New York, NY, USA
[2] A. Ghassemi, S. Bavarian, and L. Lampe, “Cognitive radio for smart grid communications,” in Proc. 1st IEEE Int. Conf. Smart Grid Commun.,Gaithersburg, MD, USA, 2010, pp. 297–302.
[3] G. T. Heydt, “The next generation of power distribution systems,” IEEE Trans. Smart Grid, vol. 1, no. 3, pp. 225–335, Dec. 2010.
[4] G. Artale et al., “Medium voltage smart grid: Experimental analysis of secondary substation narrow band power line communication,”IEEE Trans. Instrum. Meas., vol. 62, no. 9, pp. 2391–2398, Sep. 2013.
[5] K. Shvachko, H. Kuang, S. Radia and R. Chansler, The Hadoop distributed file system, in Proc. 2846 Kim et al.: A Hadoop-based Multimedia Transcoding System for Processing Social Media of 2010 IEEE 26th Symposium on Mass Storage Systems and Technologies, pp.1-10, May. 2010.
[6] A. Ghassemi, S. Bavarian, and L. Lampe, “Cognitive radio for smart grid communications,” in Proc. 1st IEEE Int. Conf. Smart Grid Commun.,Gaithersburg, MD, USA, 2010, pp. 297–302.
[7] Ishfaq Ahmad, Xiaohui Wei, Yu Sun, Student Member, and Ya-Qin Zhang “Video Transcoding: An Overview of Various Techniques and Research Issues” (2005, IEEE).
[8] Myoungjin Kim1, Seungho Han1, Yun Cui1, Hanku Lee1,* and Changsung Jeong2. “A Hadoop-based Multimedia Transcoding System for Processing Social Media in the PaaS Platform of SMCCSE”
* * * * *

Multimedia: New guide for character development and design for social cause - A case study of character Meena



Multimedia: New guide for character development and design for social cause - A case study of character Meena

Neerja Sharma
Department of Animation and Multimedia, Mesra : Ranchi, Jaipur Campus

Abstract
"Art challenges technology, technology inspires art". This line comes true when we discuss character in context of multimedia. Character design is a vital component of multimedia as this is what drives life into a multimedia project. The design of characters for the film begins during the initial stages of the development of the film. And it develops day by day as new art forms and platforms emerged. Multimedia settled down new guidelines for developing the characters. Multimedia character designers work with the project as their display efficiently and approach must be fast and catchy. In this paper I have focused on recent trends in character designing for multimedia with a case study of character Meena. The first step is to figure out what kinds of characters are workable and the second step to consider changes to be made while designing a character for multimedia.

Keywords: social cause, character design, efficiency, approach.


INTRODUCTION
"Art challenges technology, technology inspires art". John Lasseter
This line comes true when we discuss character in context of multimedia. Multimedia refers to an electronically delivered combination of media including video, still images, audio, and text in such a way that can be accessed interactively. Thus it is evident that Character design is a vital component of multimedia as this is what drives life into a multimedia project. Multimedia settled down new guidelines for developing the characters. Multimedia character designers work with the project as their display efficiently and approach must be fast and catchy. The first step is to figure out what kinds of characters are workable and the second step to consider changes to be made while designing a character for multimedia

A character is a person or other being in a narrative work of art (such as a novel, play, television series or film). The character may be entirely fictional or based on a real-life person, in which case the distinction of a "fictional" versus "real" character may be made. Research has found that animated characters are capable of capturing users’ attention, engaging them in active tasks, and entertaining them.


A BRIEF HISTORY OF CHARACTER DESIGN WITH RESPECT TO MULTIMEDIA

“Think about the meaning of the word 'character'. You're supposed to breathe life into these things, make them appealing and give them the magic that will allow people to imagine what they're like to meet and how they might move.”- Neil McFarland

Winsor McCay's Gertie the Dinosaur (1914) is often considered the first example of true character animation. Later, Otto Messmer imbued Felix the Cat with an instantly recognizable personality during the 1920s.

In the 1930s, Walt Disney made character animation a particular focus of his animation studio, best showcased in productions such as Three Little Pigs, Snow White and the Seven Dwarfs, Pinocchio, and Dumbo. Snow White and the Seven Dwarfs was the "first full length animated and musical feature" in Technicolor. Walt Disney was first to give importance to character design and to make realistic characters which audience of his films could associate with easily. Simplicity of form was always encouraged.  Disney animators such as Bill Tytla, Ub Iwerks, Grim Natwick, Fred Moore, Ward Kimball, Les Clark, John Sibley, Marc Davis, Wolfgang Reitherman, Hal King, Hamilton Luske, Norm Ferguson, Eric Larson, John Lounsbery, Milt Kahl, Joe Ranft, Frank Thomas and Ollie Johnston all became masters of the technique.

 Frank and Ollie, as they were affectionately known by their protégés, taught that the thoughts and emotions behind the character were primary to the creation of every scene. Out of all the Nine Old Men, Frank and Ollie were the most known for their mentor/apprentice relationships, and the sharing of their knowledge about creating characters, most notably as transcribed through Disney Animation: The Illusion of Life. Other notable figures in character animation include the Schlesinger/ Warner Bros. directors (Tex Avery, Chuck Jones, Bob Clampett, Bill Melendez, Frank Tashlin, Robert McKimson, and Friz Freleng), cartoon animators Max Fleischer and Walter Lantz, pioneering animators Hanna-Barbera, former Disney animator Don Bluth, independent animator Richard Williams, John Lasseter at Pixar, and latter-day Disney animators Andreas Deja and Glen Keane. Character animation is not limited to Hollywood studios, however. Some of the finest examples of character animation can be found in the work of Nick Park of Aardman Animations and Russian independent animator Yuri Norstein.

CHARACTER USE IN MULTIMEDIA
Initially, characters were designed for entertainment only .This application grew many folds in recent times with growing multimedia usage of characters. Their designers have taken new media considerations. Commercial entities use characters which are designed to embody a brand image or enhance a sales campaign.

Characters are also called Mascot and the term mascot – defined as a term for any person, animal, or object includes anything used to represent a group with a common public identity, such as a brand name.2D characters and 3D characters unique designs are developed as per requirements.

Combining creative and imaginative ideas with a strong understanding of communication brings projects to life. Features that involve visitors to customize designs especially in context to an online apparel website Educational Games and Puzzles Video and audio streaming Making online Flash-based Interactive presentations and  Online Advertising. If we want to share a short film on social welfare issue, it must definitely have a character which may draw attention of masses and has capacity to hold that attention too.

Research has found that animated characters are capable of capturing users’ attention, engaging them in active tasks, and entertaining them. In designing aspect, animated characters have come a long way. From complex to simple form, high poly to low poly etc.

Appealing design can provide way for the audience to identify with and grow to like characters. When animating, good design can augment characters’ performance; a well-designed model will always pose better. Where will the character design be seen and in what medium? This will have a direct bearing on how you go about your character design. For example, if it's for a mobile-phone screen, there's no point designing it to have a lot of intricate details and features.


RECENT TRENDS OF CHARACTER DESIGN

i) Geometric look at character design
 Geometric designs of characters make animation simple and easier .A few social campaigns on multimedia using such designs are:-







ii) Minion Mania




    

iii) Colorful Characters
      
      Eye catching, bright characters are more in use.






iv) Material design, which is also known as realistic design, appeared in early 2013.



v) Flat design is here to stay
   


vi) Kawaii influence







vii)   Primitivism



The field of multimedia is an important field itself. It is a complete method and a complete tool to express your ideas and thoughts to someone in a better way. Multimedia has a significant impact on our society, and the use of multimedia makes it an instrument or a weapon.

A CASE STUDY OF CHARACTER MEENA –DESIGNED FOR SOCIAL CAUSE


The Meena project began in 1990 when UNICEF joined the Czech animation industry and major studios from around the world in Prague to explore ways that animation can "make a difference" in the lives of children in the developing world. Meena is proof that such collaboration can be an important force in changing long-standing traditional attitudes. The cartoon character Meena was created by famous Bangladeshi cartoonist Mustofa Monowar & party .
The Meena series deals with problems that confront girls, in particular, and children, in general: going to school and finding good teachers, poverty, "son preference", health care, childhood diseases, bullies, dowries, early marriage, and learning about HIV/AIDS.
The Meena series features full animation, music, sound effects and dialogue in English and more than 13 other languages. The multi-media initiative includes comic books, posters, stickers and flipcharts for discussion. The BBC continues to broadcast episodes of the popular series on its Urdu, Bengali, Nepali and Hindi radio language services which reach an estimated 57 million people.


Some of the famous movies of Meena for social upliftment are :-
• Say No to Dowry
• Too Young to Marry
• AIDS: A Girl's Story
• Health in your Hands
• School First, Marriage Later
• Let's Go to School Together
• Count Your Chickens

Meena in South Asian Countries
• Bangladesh
• Pakistan
• India
• Nepal
• Bhutan
• SriLanka

Meena episodes have been dubbed into local languages and shown
on TV in Laos, Cambodia and Vietnam as well. 




REFERENCES
1) 20 top character design tips | Creative Bloq, www.creativebloq.com/character-design/tips-5132643, Jul 27, 2015
2) Character animation, From Wikipedia, the free encyclopedia
3) Virtual Character Design for Games and Interactive Media, By Robin James Stuart Sloan
4) Virtual Character Design for Games and Interactive Media, CRC press Taylor and Francis group, A.K.Peters book
5) The Animator’s Survival Kit by Richard Williams
6) Character design and marketing – Designer toys
7) Yen-Fu Chen, Rochester Institute of Technology, RIT Scholar Works
8) IMPACT OF MULTIMEDIA ON SOCIETY, Sheikh Kashif Raffat, Khawaja Fahad Jawed, Muhammad Siddiq and Muhammad Sarim, Department of Computer Science, Federal Urdu University of Arts, Sciences and Technology, Karachi, Pakistan
* * * * *

Popular Posts