Archive for April, 2013

Hi evereyone I’m back with a new post, here I had a requirement for displaying digital clock on my WPF application so have done some development with that respect.

The code for the same is written below:

Samsung has launched its flagship smartphone — Galaxy S4 – in India. The launch is part of the global rollout of the device, which will go on sale in 50 countries by end of this month. The device comes with a host of new features and competes against the likes of Apple iPhone 5, HTC One, Sony Xperia Z and Nokia Lumia 920, among others. The flagship smartphone will be available online as well as in retail stores at a price of Rs 41,500.

Samsung Galaxy S4


Dynamically Creating Tabs in WPF

Posted: April 22, 2013 by Sagar Wasule in Asp.Net, Programming Concepts, WPF
Tags: ,

In one of my recent project which I undertook I had to create tabs dynamically in WPF.  The idea is that the user selects a menu item and a tab is created and populated with a user control.  Like so many things, WPF makes this easy.  The thing I struggled with the most was getting the user control to display when the first tab was created.  Below is a function that takes a user control and tab name, creates a tab, and shows it to the user.


Converting Numbers to Words in C#

Posted: April 9, 2013 by Sagar Wasule in C-Sharp, Programming Concepts

A question which is often asked to programmers in interviews or comes up as in any of their development needs is – how do I convert a number to words?
In this article, I’d therefore like to present a simple program which is written to deal with this question for integers in the range of an Int32 (about plus or minus 2 billion) which I believe is the most useful case.
The program supports both the US and UK numbering systems. For example the number 620 would be expressed as follows:
    Six Hundred Twenty   (in the US system)
    Six Hundred and Twenty  (in the UK system)

Source Code


Image processing has certainly brought visual world closer to programming world. In imaging science, image processing is form of signal processing for which the input is an image, such as a photograph or video; the output of image processing may be either an image or a set of characteristics or parameters related to the image. Most image-processing techniques involve treating the image as a two-dimensional signal and applying standard signal-processing techniques to it.

Image processing usually refers to digital image processing, but optical and analog image processing also are possible. The acquisition of images (producing the input image in the first place) is referred to as imaging. Here we will be particulary interested in Digital Image Processing. Digital image processing is the use of computer algorithms to perform image processing on digital images. As a subcategory or field of digital signal processing, digital image processing has many advantages over analog image processing. It allows a much wider range of algorithms to be applied to the input data and can avoid problems such as the build-up of noise and signal distortion during processing.

So we have selected this particualar project to detect salient object in a static image. On future scope the project can be extended to detect salient object on video as well. The abstract for the project is mentioned below to provide you with some input regarding the project.