Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Java Pixel Manipulation - Changing shapes/Morphing Images together/Changing Facial features  RSS feed

 
Caroline Thom
Greenhorn
Posts: 18
Eclipse IDE Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Everyone,

I'm really struggling to find information/research regarding these topics "Java Pixel Manipulation - Changing shapes/Morphing Images together/Changing Facial features ".

I need to write a program where I upload an image. Thats fine I can do that, but then I need to be able to manipulate that image and I don't just mean making it grayscale or blurring or them type of effects.
I mean say making a sad mouth in a picture of a face smile. Making eyes move. A photograph of a face being manipulated so that it's expression can change by user interactivity. I can't find any good code examples of this and I'm struggling to know how to begin with this.

Also anything to do with uploading a picture, morphing it with another picture, saving the resulting picture to file.

Does anyone know any good books about this ? Any good resources where I can really find some good information. I have found tons on image processing but nothing as yet about this apart from one or two ready made programs.

Any help or advice appreciated. It's my final year project for my Degree.

Regards,

Caroline
 
Campbell Ritchie
Sheriff
Posts: 55333
157
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Caroline Thom wrote: . . . It's my final year project for my Degree. . . .
Good grief! That is some feat. Are you supposed to hand it in this term?

Don't know of any books myself. There are some sections in the Java® Tutorials: 1 2, but I think those will only cover the basics of painting.
Are you using half‑tone photos or line drawings? I can imagine you can look for a particular colour and colour adjacent pixels in the same colour in a line drawing. Or you can find out about the xor operator as applied to pixels.
 
Caroline Thom
Greenhorn
Posts: 18
Eclipse IDE Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for your responses, yes it's a tough project alright, due in very soon. I have a fair few books on drawing and processing in Java, really interesting but actually morphing of the images ? Not so much info.

I guess if you can draw something at pixel locations there must be a way to move them shapes. But to move pixels in a photograph ? Darn tricky.

Mind Boggling and I'm not the best at Java as it stands !! haha
 
Caroline Thom
Greenhorn
Posts: 18
Eclipse IDE Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Campbell Ritchie wrote:I'll try duplicating this question in our GUIs forum.


Hello, Thanks for that, have you got a link to the post so I can check for responses ? :-)
 
Tony Docherty
Bartender
Posts: 3264
81
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's the same link ie this thread exists in both forums.
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think I would not start from the image side of the problem - I would look into animation techniques.

Once you can draw features on an image, then you can look into extracting features from an image in a usable form.

Bill
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!