How to use JHlabs image filter in spring MVC project

First you have to create image filter class like this

public class ImageFilter {
public void applyFilter(MultipartFile multipartFile){
String destination = “/your/file/destination/folder/”;
try {
GaussianFilter filter = new GaussianFilter();
BufferedImage imBuff =;
filter.filter(imBuff, imBuff);

File outputfile = new File(destination+”image.jpg”);
ImageIO.write(imBuff, “jpg”, outputfile);

} catch (IllegalStateException e) {
// TODO Auto-generated catch block
} catch (IOException e) {
// TODO Auto-generated catch block

And then modify the request mapping method for file upload in your controller like this

@RequestMapping(method = RequestMethod.POST)
public String fileUploaded(Model model, @Validated File file,
BindingResult result) {

String returnVal = “successFile”;
if (result.hasErrors()) {
returnVal = “file”;
} else {
MultipartFile multipartFile = file.getFile();
SaveFileToFolder save = new SaveFileToFolder();
return returnVal;

After running the blurred image will be stored in the location you specified.

OnePlus will reveal its ‘OxygenOS’ February 12th

As Cyanogen moves along a new path (apparently with help from Microsoft) phone maker OnePlus is working on its own flavor of Android, and now it has a name: OxygenOS. Unfortunately, it doesn’t have much else beyond promises of going back to the drawing board with software that is “open, customizable, and free of bloat and unnecessary features.” That’s good to hear though, and matches up with the alpha build seen earlier this month. In classic OnePlus style, the tease just sets up another tease, and we’re told more information is coming on February 12th, so mark your calendars.


Google X Labs made synthetic skin to test a cancer-detecting bracelet

If someone asks you to name a Google X Labs moonshot, you’d probably say Glass, self-driving car or maybe even Project Loon. But as you might remember from the WSJD Live conference last year, it also has a flourishing Life Sciences division that employs 100 doctors and scientists, and one of their main projects is a Fitbit-like bracelet that can detect cancer cells. Now, The Atlantic has taken a peek into the division’s headquarters in Mountain View. The publication’s video (below the fold) also explains why the team has to create synthetic human skin mixed with the real thing to cover disembodied arms.

See, those arms serve as testers for the Labs’ cancer-detecting bracelet project. For that to make sense, though, you need to understand how the system works: first you’ll need to take pills packed with nanoparticles that circulate throughout the body looking for cancer cells. If they find any, they’ll bind to those cells, which then literally light up. After that, the cell-particle combos make their way underneath the bracelet, since it has a magnet that attracts the nanoparticles.

Since the team wants to make sure that an illuminated clump of cancer cells is visible through human skin, they created those practice arms. They’re covered in skin exhibiting different properties (thickness, etc.), as well as skin mimicking those of different ethnicities and skin tones. The bracelet probably won’t be sniffing out cancer in the real world anytime soon, though, so watch the interview for now to see what it’s like inside Google X Labs’ Life Sciences department.

Courtesy – Engadget

YouTube Preview Image

Define and Differentiate Webmaster Tool and Analytics Tool?

Google Webmaster Tool
Webmaster Tool is a free service catered by Google which provide us a complete report for indexing data, crawling errors, backlink information, search queries, website malware errors, CTR and submitting an XML sitemap. Basically, it acts as a mediator between website and server provide a complete overview of data, issues and other queries.

Google Analytics Tool
Google Analytics is a free web analysis tool first rolled out in late 2005 but generally it become available for users in August 2006. This tool acts between website & internet browser/users and offers a complete overview of visitor statistics which exactly says about general website activities like page views, site visits, bounce rates, average time spent on site or pages, sources of traffic, location etc. It is also obvious for tracking Adword queries.

What are basic steps you need follow to optimize a website?

These are following steps to be followed while optimizing a website:

  • First of all we will interview webmaster or website owner to congregate relevant information, goals and website’s purpose.
  • Performing keyword analysis and find out the best search volume keywords that should be incorporated into the website as well as individual pages of the website.
  • Analyzing the content of website in order to ensure usage of content relevant keywords and phrases. This comprises titles, “alt” attributes and META tags (Meta Title, Meta description & Meta Keyword).
  • Target & implementing keywords as H1, H2 & so on relevant to the site and its content.
  • Analyzing website navigation.
  • Ensuring the robots.txt file and sitemap existence as well as check their efficiency.
  • If required, making recommendations for modifications in website as well as its each and every page and so on…..

What are Black Hat SEO techniques?

Black Hat SEO

In order to attain High Ranking in search engine result page, websites go for various methods and techniques which are characterized by two categories.
The methods which are implemented and acceptable according to search engine guidelines are White Hat SEO, on the other hand, the method which are less acceptable or instructed to avoid in search engine guidelines are “Black Hat SEO”.

Some Black Hat SEO techniques are:

  • Keyword Stuffing
  • Cloaking
  • Doorway Pages or Gateway Pages
  • Link Farming
  • Hidden Text, etc.

Explain distinct types of SEO practice ?

Primarily two types of SEO are being sported in practice – Off-Page SEO and On-Page SEO.

Off-page SEO is the method of earning backlinks from other websites in order to enhance the ranking of the site. This method includes various method of SEO including Blog posting, forum, article submission, Press release submission, classified and miscellaneous.

On-Page SEO is the process of optimizing a website which includes on-site work such as writing content, title, description, ALT tag, Meta tags as well as ensuring web-page’s code and design which can be indexed and crawled by search engines properly.

Google is going after tumors with nanoparticles


Not content with organizing all the world’s information, Google is taking its first steps inside the human body.

The company is researching nanoparticles that bind themselves to cancerous cells and other forms of disease, Google revealed on Tuesday at the WSJD Live conference here, adding that the research is part of the Google X program that investigates long-term, pie-in-the-sky technologies.

It isn’t expected to be commercialized for many years. But Andrew Conrad, head of Google’s Life Sciences division, revealed that experiments had already begun around designing and testing tiny intravenous machines taken in pill form.

The particles in question are so small, in fact, that 2,000 could fit inside a single blood cell. The particles in question are so small, in fact, that 2,000 could fit inside a single blood cell.

“Nanoparticles are the nexus between biology and engineering,” Conrad said. “Because the core of these particles is magnetic, you’ll be able to call them somewhere… just by putting a magnet on your wrist, you’ll be able to trap them and ask them what they saw.”

The tiny machines will be able to travel the body and scan for cancerous cells, like for the kind of plaque in arteries that leads to heart attacks or for too much sodium, Conrad said. He compared the nanoparticle approach to mingling with the residents of a new city, rather than taking a “helicopter tour.”

The most at-risk patients will be the first beneficiaries of the technology, according to Google — hopefully within a decade. A company spokesperson pointed out that pancreatic cancer is one of the most difficult kinds of the disease to detect, and can strike unknown even to those who visit the hospital for yearly CT scans. Only 3% of pancreatic cancers are detected in the crucial early stages. Only 3% of pancreatic cancers are detected in the crucial early stages.

Conrad, formerly the cofounder of the National Genetics Institute, repeatedly cautioned that many years of trials lay ahead before a viable technology. But he also wasn’t shy about Google’s long-term goal in the health space.

“Ultimately, death is our foe,” Conrad said, before chuckling at his own grandiose phrasing. “That should be on a T-shirt.”

Courtesy – Mashable