 |
|
|
 |
|
 |
Hi, great job! From your samples I see that it repeats the image that best fits the colour of a certain block. Is there any way one can make sure images are not repeated? By that I mean each small image appears only once. Let's assume I have access to a library of images which is much larger than the final number of images in the collage, so finding multiple images that match the required colour should be possible. Thanks so much!
|
|
|
|
 |
|
 |
Hi ckannan,
Ya.. its very much possible and should be easy if you have a boolean value attached to each element of the source image array and use it to indicate if the image has been already used... Looks like you are a programmer... Try to intro that boolean array and manipulate it in MatchImagesWithBlocks() method where the matching source image is chosen... that is, is the boolean value for a element means "its already used", then go to next iteration looking for next element.. when u find a matching source image, set the boolean of that source image to "its already used"...
I am a little busy... If you can't do it, please reply me... I can do it when I am free...
Thanks,
Balaji
|
|
|
|
 |
|
 |
hi balaji,
thanks for the quick reply. your method does make sense, i will see if i can implement it. i am a bit of a programmer, but i am much more familiar with C/C++ and am just picking up a bit of Java now. i will try if i can do this, and keep you updated. thanks a lot!
cheers,
kannan
|
|
|
|
 |
|
 |
Hi,
I was hoping I may be able to use this code to generate a collage from a directory of images but without it referring to a source image. So all I want it to do is read a directory and then stitch all these together to make a collage, would you be kind enough to show me what parts of the code can be cut or modified to achieve this? I sadly do not know much Java and as such, am a bit lost with what I can do with your source code.
Many thanks,
Matt
|
|
|
|
 |
|
 |
Modification of this code for the purpose you have asked for, would be complicated.. Also, Picasa 3.6 provides the collage function exactly as you have asked.. Try it.. http://picasa.google.com/[^]
If this is not what you are looking for, please let me know
-Balaji
|
|
|
|
 |
|
|
 |
|
 |
Hi.. Can you reason out? I have run it and posted the image results I have got..
|
|
|
|
 |
|
 |
Hi.. Can you reason out? I have run it and posted the image results I have got.. I use to do this for my friends too..
|
|
|
|
 |
|
 |
Thank you for your share!
|
|
|
|
 |
|
|
 |
|
 |
I need help. i am trying to make my best friend a collage for her birthday, but i don't know how to start the program. i don't even know how to open it with the right program. please respond, this is very important to me. thank you for all your help.
|
|
|
|
 |
|
|
 |
|
 |
Where is the code? I'm kinda lost.
|
|
|
|
 |
|
|
 |
|
 |
i get this error when i run the code to create a collage. Any ideas how to fix it? I read online that i may have to increase the size of the heap for my application. Not sure how to go about this.
-thx-
|
|
|
|
 |
|
 |
Hi,
If you using eclipse, set memory for eclipse as explained here.
http://wiki.eclipse.org/FAQ_How_do_I_increase_the_heap_size_available_to_Eclipse%3F[^]
If that doesn't help, you can reduce the size/quality of the output collage and run it successfully. To decrease the resolution of output collage, change the variable enlargeSize to 2 (instead of 4) in the program. That should solve your problem. If not, reduce it to 1.
Second way is to increase the following variable values
private static int XpixelsPerBlock = 16;
private static int YpixelsPerBlock = 12;
Thanks,
Balaji
|
|
|
|
 |
|
 |
what is the purpose or significance of such collage?
|
|
|
|
 |
|
 |
i really liked ur way of making a collage.i really need your help. my email id is aman.rulz@yahoo.com
i am a student doing comp engg,and i m making a project on collage making.kindly reply me. i will be really thankful to u.
with regards
aman.
|
|
|
|
 |
|
 |
hello i kind awant to see and run this program but you didnt write the main method so how is it suppose to work
|
|
|
|
 |
|
|
 |
|
 |
You can find out more about this type of technology here[^]. It's not too surprising that you don't find much in terms of libraries to do this type of thing on the internet - it's patented.
Cheers,
Drew.
|
|
|
|
 |