Thursday, July 9, 2015

Introduction-to-parallel-computing-second-edition book

   No comments     
categories: 

Sunday, May 31, 2015

Download Bishop Pattern Recognition and Machine Learning pdf

   No comments     
categories: 
 click the link below.

Download

Download Introduction to Algorithms 3rd Edition pdf

   No comments     
categories: 

Sunday, April 5, 2015

Video Compression as Fast As Possible

   No comments     
categories: 


We need to compress video 

Video compression technologies are about reducing and removing redundant video data so that a digital video file can be effectively sent over a network and stored on computer disks.
Uncompressed video (and audio) data are huge.
The high bit rates that result from the various types of digital video make their transmission through their intended channels very difficult.

Lossy methods have employed since the compression ratio of lossless methods (e.g., Huffman, Arithmetic, LZW) is not high enough for image and video compression, especially when the distribution of pixel values is relatively flat.

The following compression types are commonly used in Video compression:
  • Spatial Redundancy Removal - Intraframe coding (JPEG)
  • Spatial and Temporal Redundancy Removal - Intraframe and Interframe coding (H.261, MPEG)

Monday, March 9, 2015

Download Composite Design-Pattern.ppt

   No comments     

Friday, March 6, 2015

TCPClient.py

   No comments     
categories: 
# Python TCP Socket Client Application
from socket import *
serverName = 'localhost'
serverPort = 12000
clientSocket = socket(AF_INET, SOCK_STREAM)
clientSocket.connect((serverName, serverPort))
sentence = raw_input('Input lowercase sentence:')
clientSocket.send(sentence)
modifiedSentence = clientSocket.recv(1024)
print 'From Server:', modifiedSentence
clientSocket.close()

TCPServer.py

   No comments     
categories: 
# Python TCP Socket Server Application
from socket import *
serverPort = 12000
serverSocket = socket(AF_INET, SOCK_STREAM)
serverSocket.bind(('', serverPort))
serverSocket.listen(1)
print 'The server is ready to receive'
while 1:
connectionSocket, addr = serverSocket.accept()
sentence = connectionSocket.recv(1024)
capitalizedSentence = sentence.upper()
connectionSocket.send(capitalizedSentence)
connectionSocket.close()

UDPClient.py and UDPServer.py

   No comments     
categories: 
UDPClient.py
UDPServer.py

if you copy the code from the book and run then you'll end up with errors
because the text formatting is there in the code

 UDPClient.py code is available here

UDPServer.py code is available here