Showing posts with label C VS JAVA Common Sense Questions. Show all posts
Showing posts with label C VS JAVA Common Sense Questions. Show all posts

Thursday, August 2, 2012

Saina Nehwal through to semis

Saina Nehwal through to semis

Saina Nehwal plays against Denmark's Tine Baun, unseen, at a women's singles badminton quarterfinal match of the 2012 Summer Olympics in London on Thursday. Photo AP 

Saina Nehwal on Thursday created history as she became the first Indian shuttler to reach the semifinals of the Olympics after notching up a hard-fought straight-game victory over Tine Baun of Denmark in the women’s singles quarterfinals at the London Games. 

Fourth seeded Saina edged past fifth seed Tine 21-15, 22-20 in a 39-minute match at the Wembley Areana to set up a clash with the current world No 1 and World champion Yihan Wang of China in the semifinals, whom she hasn’t beaten once in her last five encounters. 

With this win, Saina bettered her quarterfinal finish at the Beijing Games four years ago and also excorcised the demons of that painful defeat to Maria Kristin Yulianti of Indonesia. 

The world No 5 Indian had to toil hard against the two-time All England Champion Tine, who matched her strokes but was a tad erratic, which proved to be her bane in the quarterfinal match.
Saina was very precise with her strokes, while Tine was erratic initially and it allowed the Indian to lead 11-7 at the break. 

After the breather, Saina slowly mixed her strokes to move into the game point at 20-12 with a short smash but she committed some unforced errors and a few judgemental mistakes on her part allowed the Dane to save three game points. Saina finally pocketed the first game with a smash which Tine netted.
In the second game, Tine opened up a slender 3—0 lead and extended it to 10—7 but Saina reeled off four straight points to lead 11—10 at the break once again. 

Saina tried to exploit the length of the court and started combining lifts and clears with drops and net-shots but Tine was up for the job as she caught up with Saina at 15-15 and even managed to earn three game points at 20-17. 

But Super Saina was not the one to take it lying low as she executed a cross court smash to move to 18-20. 

She also pocketed the next point when her stroke was judged ‘in’ by the line-umpire, much to chagrin of Tine, who thought it was out and was celebrating her comeback by pumping her fists. 

After that, Tine committed to three unforced errors as Saina burst into celebration. 

Keywords: badminton, Saina Nehwal

 

IMMAGE PROCESSING AVI MEDICAL IMAGE CONTROL


IMMAGE PROCESSING AVI MEDICAL IMAGE CONTROL

ABSTRACT

The various Medical images acquired directly from various instruments are in the AVI format, which reduces the easy control of image display without conversion to medical image standard, that is the DICOM format. The purpose of this project is to develop software to handle online data acquisition from medical equipments like Ultra Sound machine, control the display rate, convert the AVI image acquired from the Medical equipment directly to DICOM image with patient’s detail’s got from the user, freeze the AVI image frame of interest, convert the freezed AVI frame to Bitmap image, convert this Bitmap image to DICOM image with patient’s details. This software is highly reliable, efficiently handles memory and very user friendly.

Medical equipments like Ultra Sound, CT etc… have images at their output in the AVI file format, which are acquired with the respective probes. These AVI images acquired are stored. The software captures this AVI image, displays them frame-by-frame in succession and converts them to DICOM image with required patient’s details obtained from the Specialist during conversion. The frame of interest can be freezed and converted to Bitmap image, which can also be viewed on a separate window with options to brighten, darken, change the color combination, invert the image and restore the image.  The converted DICOM image can be viewed on any Standard DICOM viewer. Mostly all the DICOM viewer will have provision to view the patient’s details entered during conversion.

OBJECTIVE



To help the doctor view a particular frame of interest captured from a medical equipment which is usually an AVI image and to enable the doctor to manipulate the frame for correct diagnosis and  provide efficient treatment.
                                    
MEDICAL IMAGING

From Ophthalmology and radiology to orthodontics, image processing touches the medical field in many ways. The ability to visualize and interactively manipulate three-dimensional objects derived from sets of two-dimensional MRI and CAT scan (now shortened to CT scan) slices has changed the way we deal with medicine. MRI stands for nuclear magnetic resonance imaging.

     DISADVANTAGE OF EXISTING SYSTEM



      There is no AVI viewer that facilitates the doctors to manipulate the medical image captured from the equipment. All AVI viewers available just displays the frames in predetermined time intervals and time of display of each frame cannot be controls as per the physicians requirement. Frame at a particular given time can be displayed but, it wont help the doctor capture the exact frame that is required to find out the exact defect.

    PROPOSED SYSTEM



This system will prove to be user friendly as this captures the medical AVI image, grabs the required header information, converts them to DICOM file format and stores it along with the patient’s details, physicians details, etc… so that any physician can diagnose the patient without any other further details. Moreover there are many DICOM viewer available with many image processing provision.


Steps To Control Image


Ø  Capture the image from an medical equipment which will normally be in AVI (Audio/Video Interleaved) format.

Ø  Analyze the header details of the AVI image.

Ø  Copy the required header details into the DICOM header format.

Ø  If the length of the header is greater than zero it is considered to be valid.

Ø  Find the start of frame in the AVI file, check for its length, if data is valid copy the frame into DICOM file else skip the frame.

Ø  View the DICOM file in appropriate DICOM viewer.



IMAGE FILTERING        

It is used to extract great amounts of information from our images – information to which we don’t have access normally
Ø  Edge
enhancement and sharpening filters will bring out details in objects that we would not otherwise have noticed.

Ø Averaging filters will smoothen the rough and jagged edges in our images, making them more appealing to the eye.

Ø Basic Statistical filter will remove much of the noise found in our CCD scanned images.

Ø Gradient analysis will help us visualize your image in a whole new light, greatly enhancing edges – allowing us to create interesting embossed image effects.

Ø Special filters can help us identify certain objects within an image.

Ø Low Pass filter passes on lower frequency components of an image, while attenuating or rejecting the higher frequency components.
Ø High Pass Filter is used to amplify the high-frequency details found in an image, while the integrity of low-frequency detail of the image remains.





       IMAGE PROCESSING:

            Images are a vital and integral part of every day life. On an individual, or person-to-person basis, images are used to reason, interpret, illustrate, represent, memorize, educate, communicate, evaluate, navigate, survey, entertain, etc. We do this continuously and almost entirely without conscious effort. As man builds machines to facilitate his ever more complex lifestyle, the only reason for NOT providing them with the ability to exploit or transparently convey such images is a weakness of available technology.

            Applied Image Processing, in its broadest and most literal interpretation, aims to address the goal of providing practical, reliable and affordable means to allow machines to cope with images while assisting man in his general endeavors.

By contrast, the term ‘image processing’ itself has become firmly associated with the much more limited objective of modifying images such that they are either:

a.                   Corrected for errors introduced during acquisition or transmission (‘restoration’); or
b.                  Enhanced to overcome the weakness of human visual system (‘enhancement’)




As such, the discipline of ‘pure’ image processing may be succinctly summarized as being concerned with

‘ a process which takes an image input and generates a modified image output ’

Clearly then, other disciplines must be allied to pure image processing in order to allow the stated goal to be achieved. ‘Pattern classification’, which may be defined simply as

‘ a process which takes a feature vector input and generates a class number output’

Confers the ability to identify or recognize objects and perform sorting and some inspection tasks. ‘Artificial intelligence’, which may be defined as

‘ a process which takes primitive data input and generates a description, or understanding or a behavior as an output’

            Confers a wide range of capability from description, in the form of simple measurement of parameters for inspection purpose, to a form of autonomy borne out of an ability to interpret the world through a visual sense.

Theses disciplines have been evolving steadily and independently ever since computer first became available, but only when they are all effectively harnessed together do machines acquire anything like the ability to exploit images in the way that humans do.


In particular, the marriage of one, or both, of the first two disciplines with artificial intelligence has given birth to the new, image specific disciplines, namely ‘image analysis’, ‘scene analysis’ and ‘image understanding’.

Image analysis is normally satisfied with quantifying data about objects which are known to exist within a scene, or determining their orientation, or recognizing them as one of a limited set of possible prototypes. As such it is largely concerned with the development of the 2-D applications, there is an undoubted need to extend this activity to the description of 3-D relationships between objects within a 2-D view of the real-world scene.       

Scene analysis was the original term coined to describe this extension of image analysis into the third dimension. Such work flourished in the 1960s and was concerned with the rigorous visual analysis of three-dimensional polyhedra (the so-called ‘blocks-world’), on the mistaken premise that it would be a trivial matter to extend these concepts to the analysis of natural scenes. The work was finally abandoned in the late 1970s when it was realized that the exploitation of application-dependent constraints was no way to research general-purpose vision systems.

Consequently, the term scene analysis fell into disuse only to be replaced by that of image understanding, which is more fundamentally based upon the physics of image formation and the operation of human visual system. It aims to allow machines to operate with ease in complex natural environments, which feature partially occluded objects or, ultimately, previously unseen objects.



A broad overview of the literature in the field of machine perception of images suggests the existence of two distinct ‘camps’ whose followers, while sharing common roots, set out to achieve fundamentally different objectives. We have chosen to label these camps as ‘computer vision’ and ‘machine vision’, and feel that they are essentially distinguished by their different approaches to the use of artificial intelligence and the degree to which it is employed. (‘Robot vision’ was also a popular alternative at one time, although it appears to be slowly falling into disuse, perhaps because of rather unfortunate science-fiction connotations.)

‘Computer vision’ is ultimately concerned with the goal of enabling machines to understand the world that they see, in real-time and without any form of human assistance. Thus, application-specific constraints are rejected wherever possible as the world is ‘interpreted on-line’. The complexity of this task is easily under-estimated by those who take human vision for granted, but it is fraught with many immensely difficult problems, and seriously hampered by inadequate processing power.

‘Machine vision’ on the other hand, is concerned with utilizing existing technology in the most effective way to endow a degree of autonomy in specific applications. The universal nature of the computer vision approach is sacrificed by deliberately exploiting application-specific constraints. Thus knowledge about the world is ‘pre-complied’, or engineered, into machine vision applications in order to provide cost-effective solutions to real-world problems.




DIGITAL IMAGE ACQUISITION:

            The general goal for image acquisition and processing is to bring pictures into the computer domain of the computer, where they can be displayed and then manipulated and altered for enhancement. Four processes are involved in image acquisition:
Ø    Input
Ø    Display
Ø    Manipulation
Ø    Output

‘The transformation of optical image ata into an array of numerical data which may be manipulation by a computer, so overall aim of machine vision may be achieved’

In order to achieve this aim three major issues must be tackled they are:
Ø    Representation
Ø    Transduction (or sensing)
Ø    Digitizing

ARITHMETIC OPERATIONS ON IMAGES:

            The arithmetic operations are absolutely essential for calibration and flattening of the image in certain applications, particularly in those applications that have a low signal. They are helpful tools for enhancing an image. The basic arithmetic operations on images are:
Ø    Addition
Ø    Subtraction
Ø    Multiplication
Ø    Division

GEOMETRIC TRANSFORMATIONS:

Many times, to combine images taken at different times or by different sources, we have to translate, rescale, and rotate the images. It is usually important that the images match spatially. Without proper registration of images before combination passes, most techniques for image enhancement will actually degrade the images, losing important or interesting information. The basic geometric transformations are:

Ø    Translation
Ø    Scaling/Zooming
Ø    Resampling
Ø    Rotation
Ø    Flipping





ADVANCED GEOMETRIC TRANSFORMATIONS:

            Have you ever wondered how those interesting special effects that you see in movies and commercials were made? How in an image can one person transform into another person or even an animal or another entity? The two advanced geometric transformations are:
Ø    Warping
Ø    Morphing

Warping is a digital technique of distorting an image hence also called geometric distortion. It has been used to create sophisticated special effects I movies and television shows and in recent times in a plethora of television commercials. They all use exotic computers and custom software.

            Morphing is an extension of warping and it is the complete and smooth transformation from one image to another. This technology, which traditionally has been prohibitively expensive, with a little effort, can now be done on the desktop computer very cheaply. Essentially, morphing involves two steps of warping, with a spline interpolation between the initial images and the resultant image. Morphing has you match key features such as the eyes, nose, mouth and other details on both the exact same graphic space. Finally, a weighted average is made of each step of transformation of the two wraps. For instance, to morph a truck into a train, the train is first warped into the same shape as the truck so that certain specific points, the windshields, headlights and grills match as closely as possible.





IMAGE PREPOCESSING:
            Image preprocessing seeks to modify and prepare the pixel values of a digitized image to produce a form that is more suitable for subsequent operations within the generic model. There are two major branches of image preprocessing, namely

Ø    Image Enhancements
Ø    Image Restoration

Image enhancement attempts to improve the quality of image or to emphasize particular aspects within the image. Such an objective usually implies a degree of a degree of subjective judgment about the resulting quality and will depend on the operation and the application in question. The results may produce an image, which is quite different from the original, and some aspects may have to be deliberately sacrificed in order to improve others.

The aim of image restoration is to recover the original image after ‘known’ effects such as geometric distortion within a camera system have degraded it or blur caused by poor optics or movement. In all cases a mathematical or statistical model of the degradation is required so that restorative action can be taken.

Both types of operation take the acquired image array as input and produce a modified image array as output, and they are thus representative of pure ‘image processing’. Many of the common images processing operations are essentially concerned with the application of linear filtering to the original image ‘signal’.



REFERENCE:

Ø  Anil K. Jain (1989) ‘Fundamentals of Digital Image Processing’, Prentice-Hall, Englewood Cliffs, N.J.

Ø  Awcock G.W. & Thomas R. (1996) ‘Applied Image Processing’.

Ø  Sid Ahmed (1995) ‘Image Processing’.

Ø  William K. Pratt (1978) ‘Digital Image Processing’.

Ø  Christopher Watkins, Alberto Sadun, Stephen Marenka ‘Mordern Image Processing’.

Ø  Maher A. Sid-Ahmed ‘Image Processing’.

Ø  G.W.Awcock, R. Thomas ‘Applied Image Processing’.

Wednesday, August 1, 2012

Deal Journal Australia

Country Road Buys Witchery Group For $180 Million

Australian retailer Country Road is buying Witchery Group from Gresham Private Equity for 172 million Australian dollars (US$180.2 million), looking beyond the nation’s current subdued consumer spending environment.
The Witchery Group is a fashion retailer with Witchery and Mimco stores across Australia, New Zealand, Singapore, South Africa and the United Kingdom.  In fiscal 2011, Witchery Group generated about A$266 million in revenue and about A$34 million in normalized earnings before interest, tax, depreciation and amortization.

News Limited
“The acquisition of Witchery Group creates one of Australia’s largest specialty fashion retailers with complementary brands and a strong position in the mid to upper tier specialist retail sector,” Country Road Chairman Ian Moir said in a statement.
The retailer reckons the acquisition could create significant shareholder value through synergies estimated around A$10 million on an annualized basis over four years.
Country Road will partly fund the purchase through a A$92 million capital raising which will allow shareholders to buy one new share for every two existing shares at an offer price of A$2.66, a 19% discount to the stock’s closing price Tuesday. The deal will also be funded through a new A$92 million five-year senior bank facility.
Rothschild-advised Country Road said its 88%-shareholder South African company Woolworths Holdings will take part in the capital raising and contribute about A$81 million of new equity.
“Woolworths South Africa obviously feel like it’s a good deal if they’re going to fully subscribe,” Country Road’s third-largest shareholder Nestor Hinzack told Deal Journal Australia, adding that he is supporting the equity issue.
“If the synergies stated come through, it’s a good deal and it’ll really broaden Country Road’s presence in the market,” added Mr. Hinzack.

 

Monday, July 30, 2012

JNTU results 2012 out: check here

Hyderabad: The results of B.Tech 1st year (R05,07,09) examination results held by Jawaharlal Nehru Technological University (JNTU), Hyderabad, have been declared for the year 2012. The last date for recounting or revaluation is August 4, 2012.
Students can log on to http://jntuhome.com/jntu-hyd-b-tech-1st-year-regular-supple-r09-r07-r05-results-june-2012/. They can also log on to http://jntuhresults.in/ or http://jntuconnect.net/results/ to get their results.
JNTU results 2012 out: check here

Monday, July 16, 2012

the hot news

'Draft bill against manual scavenging with stricter provisions in monsoon session'



New Delhi : Even as actor-activist Aamir Khan Monday met Prime Minister Manmohan Singh to raise the age-old issue of manual scavenging the government said it is taking up the matter as "top priority" and a draft bill with stricter provisions on eradicating the dehumanising practise and rehabilitating the people involved is to be introduced in the monsoon session of parliament. According to Census 2011, there are around 700,000 manual scavengers in the country engaged in the task of removing and transporting night soil. Of these, 586,067 are in the rural areas and 2,08,323 in the urban areas. "Yes, we know it persists, and we are taking up this matter as top priority. The draft for the Prohibition of Employment as Manual Scavengers and Their Rehabilitation Bill, 2012 is under circulation to the concerned ministries and departments. We intend to introduce it in the monsoon session of parliament. Everything is in the process," Social Justice and Empowerment Minister Mukul Wasnik told IANS. "We are working out a survey of the manual scavengers in the country. Data on manual scavengers would be available soon," the minister added. Elaborating on the rehabilitation of scavengers, the minister said: "The rehabilitation scheme is being implemented through state channelizing agencies. Whenever a state government demands funds for rehabilitation programme, the amount will be sanctioned as per its proposal." According to Safai Karmachari Andolan (SKA), a voluntary organisation working for manual scavengers, the funds for rehabilitation have been almost tripled from Rs.1.36 crore (Rs.13.6 million) in 2007-08 to Rs.3.43 crore (Rs.34.3 mn) in 2010-11. Aamir Khan, who highlighted the issue in a recent episode of his popular television programme "Satyameva Jayate", met the prime minister and Wasnik over the issue Monday. Meanwhile, around 200 scavengers from across Maharashtra protested in Mumbai to demand an end to the pernicious practice. The protesters, led by a social group Campaign Against Manual Scavenging in Maharashtra, are demanding alternate and dignified jobs, decent housing and education. Highlighting their plight, Sumitra, a manual scavenger who hails from Nand Nagri, north Delhi, told IANS: "I don't have a choice. I'm at the absolute bottom of the society, the job came as a legacy. But I don't want my children to touch these baskets. During rains it is terrible doing this filthy job." According to the census, 23 lakh of the country's total population use dry or non-flush latrines and over a lakh defecate in open spaces. To government has enacted the Employment of Manual Scavengers and Construction of Dry Latrines (Prohibition) Act in 1993, according to which construction of dry latrines and employment of scavengers to clean it would invite imprisonment up to one year and a fine of Rs.2,000 or both. The Act has not been effectively implemented since its formulation 19 years ago. The National Advisory Council (NAC) headed by Congress president Sonia Gandhi had been stressing for years on the need to come up with a stricter law and Gandhi had also written to the prime minister in October 2010 to take immediate action. Stressing on the need for a stronger law, former NAC member Harsh Mander told IANS: "The 1993 law is weak, it needs to be replaced. The NAC has been stressing for a new law and a stronger bill to eradicate the inhuman practice, which persists in India despite being banned. We need a stronger law, as it is not just a sanitation issue, but a question of fundamental rights and dignity." The Delhi Commission for Safai Karmcharis says the proposed bill which is supposed to include emancipation of manual scavengers should include in its ambit all forms of sanitary workers such as sewage cleaners and septic tank cleaners. "Since sewer workers have to enter manholes filled with fermented faeces and are also at risk, they should be covered by the bill. This practice is still prevalent under official patronage at all levels. The new bill should emancipate sanitary workers of all levels," Harnam Singh, chairman of the Delhi Commission for Safai Karmcharis, told IANS. Accusing the government of not being serious about the issue, D. Raja, national secretary, Communist Party of India (CPI) told IANS: "Despite several legislations and an Act, manual scavenging continues in the country and is a national shame. This indicates the callousness of the government. Around 19 years ago, the government has created an Act and now it is saying they will introduce a bill. This is just a question of passing time." He also said the CPI had suggested that the government call a meeting of chief ministers of those states where manual scavenging is prevalent to work on measures to eradicate it. "A law, a new bill or giving money to the state governments will not eradicate the disgraceful practice. The central government must make sure that state governments have some accountability in eradicating the practise. They should rope in good NGOs and penetrate to the grass-root level," Bindeswar Pathak, founder, Sulabh International told IANS.

Tuesday, September 6, 2011

C VS JAVA Common Sense Questions

Dear Reader, you would already come across C technical questions on CareersValley. However, the below questions are slightly different which requires you to apply your logical skills along with knowledge in concepts.

Question 1

Consider a mobile phone manufacturer who wishes that developers should be able to run JAVA and C programs on his phone. He then instructs his OS team to have a JVM installed to run JAVA applications. Now, on similar lines, is there anything he should do to ensure C programs will run hassle free ?

Answer 1

There is no such thing as JVM for C as C program would be compiled directly to executable that would run directly on the mobile phone's OS. However, he should ensure that a compiler version exists that could covert C programs to executable that can run on his mobile OS.

Question 2

Consider a security expert dealing with JAVA and C programs on a server. He is very much worried about new C programs rather than JAVA programs that are to be executed on the machines he is dealing with. What could be a possible reason for this ?

Answer 2

JAVA programs run on JVM and not directly on OS and hence JVM can take care of many security issues like illegal system calls to OS. However, C programs run directly on OS and hence the detection of illegal system calls becomes more difficult.


Question 3

Which is easier, migrating a JAVA application to a C application or migrating from C to JAVA ? Give Reasons.

Answer 3

On a broad sense, one has to agree that migration from C to JAVA is easier than from JAVA to C. This is partly because of the extra features supported in JAVA like powerful GUI. Also any C program can be migrated to JAVA without much change in algorithm whereas it would take considerable time to change the algorithm when migrating JAVA OOP programs as C does not support OOP.
Enhanced by Zemanta

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | Justin Bieber, Gold Price in India