Image Merge
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Image Merge
I want to be able to take 2 different images and merge them into 1 new image? I have went through the lessons on image processing. Could someone get me started in the right direction?
Thanks
Thanks
Re: Image Merge
Hi marcelloe,
maybe this thread will help?
http://forums.runrev.com/phpBB2/viewtop ... 0&start=75
Best
Klaus
maybe this thread will help?
http://forums.runrev.com/phpBB2/viewtop ... 0&start=75
Best
Klaus
Re: Image Merge
I read through the post and it doesn't seem to be what I am looking for. I want to take the features of one image and take the features of another image and combine into one image. For example: I want to take an apple and an orange and combine into a new image. I hope this makes sense.
Mark
Mark
Re: Image Merge
Hi Mark,
hmm, no idea if and how you could do this in Livecode.
BUT, if these images are already in PNG format with alpha channel (= only the apple/orange)
then you could layout these two images, group them, and ex/import a snapshot from that group
including the alpha channels! Know what I mean? I can create little stack if you like
Depends of course on the images you are using...
Best
Klaus
hmm, no idea if and how you could do this in Livecode.
BUT, if these images are already in PNG format with alpha channel (= only the apple/orange)
then you could layout these two images, group them, and ex/import a snapshot from that group
including the alpha channels! Know what I mean? I can create little stack if you like
Depends of course on the images you are using...
Best
Klaus
Re: Image Merge
A sample stack would be great. I just want to take 2 pictures from a camera and combine them to make a new object. Not sure if that is possible.
Re: Image Merge
Hi Mark,
I do not see any way to "extract" specific objects from the complete image!?
Best
Klaus
ah, no, my solution will not work in this case!marcelloe wrote:A sample stack would be great. I just want to take 2 pictures from a camera and combine them to make a new object. Not sure if that is possible.
I do not see any way to "extract" specific objects from the complete image!?
Best
Klaus
Re: Image Merge
I don't think I was clear. I want to take image of an apple and an image of an orange. I want to combine to create a new image. Example: I want to take the roundness of the orange and the stem of the apple to combine into the new image. Also, maybe merge the 2 colors of the fruit together. I hope that is a better explanation.
Re: Image Merge
I understand what you re after, but I have no idea how you could do that.
In any case you would need to parse the complete image data and do a lot
of computing with that.
Good luck
In any case you would need to parse the complete image data and do a lot
of computing with that.
Good luck
-
- VIP Livecode Opensource Backer
- Posts: 4003
- Joined: Sun Jan 07, 2007 9:12 pm
- Location: Bochum, Germany
Re: Image Merge
Hi Marcelloe,
did you download the stack "Photo Room" that Chris Bodell has a link to in his tag line?
That stack has all the elements to do what you want. All possible variaton of image manipulation and the code is open. Just not exactly merging parts of an image.
This thread also has quite some example stacks to see what you can do whith Livecode
http://forums.runrev.com/phpBB2/viewtop ... f=6&t=8918
But I am afraid Photoshop is better suited to what you want to do. The execution time do do complex image manipulation in Livecode gets quite long.
Kind regards
Bernd
did you download the stack "Photo Room" that Chris Bodell has a link to in his tag line?
That stack has all the elements to do what you want. All possible variaton of image manipulation and the code is open. Just not exactly merging parts of an image.
This thread also has quite some example stacks to see what you can do whith Livecode
http://forums.runrev.com/phpBB2/viewtop ... f=6&t=8918
But I am afraid Photoshop is better suited to what you want to do. The execution time do do complex image manipulation in Livecode gets quite long.
Kind regards
Bernd
-
- VIP Livecode Opensource Backer
- Posts: 7239
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: Image Merge
I'm not sure it's possible to do what you want in any coding language. LiveCode can manipulate pixels and images in many ways but it takes a human eye to determine which parts of both images should be changed or merged. How will your script determine whether to use the round part of the orange and the stem of the apple? How will your script even know that it is dealing with an apple and an orange? To the computer, it is just a stream of bytes.
If your images are static and known in advance, then the easiest thing to do is to create the combined images yourself in Photoshop and show those when needed. If the images are not known in advance then I don't think it's possible, or at least, not without some pretty advanced AI.
If your images are static and known in advance, then the easiest thing to do is to create the combined images yourself in Photoshop and show those when needed. If the images are not known in advance then I don't think it's possible, or at least, not without some pretty advanced AI.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
-
- VIP Livecode Opensource Backer
- Posts: 2262
- Joined: Thu Feb 28, 2013 11:52 pm
- Location: Göttingen, DE
Re: Image Merge
..........
Last edited by [-hh] on Wed Aug 13, 2014 1:50 pm, edited 1 time in total.
shiftLock happens
Re: Image Merge
hh:
Can you give me a sample stack of what you just explained, so I can see it visually.
Thanks
Can you give me a sample stack of what you just explained, so I can see it visually.
Thanks