• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Greenhorn
Posts: 18
Eclipse IDE Oracle Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Marshal
Posts: 79239
377
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 Oracle Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 Oracle Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ? :-)
 
Bartender
Posts: 3323
86
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It's the same link ie this thread exists in both forums.
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Would anybody like some fudge? I made it an hour ago. And it goes well with a tiny ad ...
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic