maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Multimedia (https://talk.maemo.org/forumdisplay.php?f=32)
-   -   Retro camera app - Need image processing advice (https://talk.maemo.org/showthread.php?t=53516)

das_schlumpfie 2010-06-09 13:47

Re: Retro camera app - Need image processing advice
 
hi, cheers for the hard work, when should i be expecting this amazing app?

fieldofcows 2010-06-10 14:23

Re: Retro camera app - Need image processing advice
 
It won't be long. Maybe tonight if I get time. I'm still just finishing some of the untidy bits and making it faster. It now takes just under a minute for a full resolution photo to process which I think is acceptable for now.

I'm currently trying to package it up to submit to extras-devel but, not having done it before, I'm trying to be careful to make sure I get it right. I also haven't got permission to upload to extras-devel yet. I've requested permission a couple of times but as yet received no response.

Failing that, I'll put a link on the project's garage site when it's ready.

snookh 2010-06-10 15:16

Re: Retro camera app - Need image processing advice
 
Good news, can't wait to try it out =)

magullo 2010-06-10 15:34

Re: Retro camera app - Need image processing advice
 
Everybody here should say a big thank to you. It was one of the app I'd like to see on N900, as I wrote months ago.
I tryed to start creating it myself, but my devel capabilities are cheap.
Thanks.

rebuilder 2010-06-10 17:07

Re: Retro camera app - Need image processing advice
 
This looks really nice. I've been experimenting with rolling my own filters using imagemagick, although I ended up piping my photos to a server I run via pixelpipe and dropbox, running the filters remotely and pushing the photos back to the phone, due to the amount of processing power some operations require.

A few tips for effects:

You can make curve presets in any app with curves and apply those curves to a grayscale gradient to create a look-up table that is easily applied to images.

For a basic technicolor two-strip look, simply copy the green channel of a photo to the blue channel and do some curve adjustments.

One effect I've found quite nice is the bleach-pass look: take a grayscale version of your photo with increased contrast and composite with the original (or, for better results. a colour-corrected version of the original) with the soft-light or hard-light blending mode.

Here's the result of one filter I cooked up, combining a technicolor-esque colour scheme with the bleach pass look and a grain+vignette layer on top:
http://img815.imageshack.us/img815/4...echnicolor.jpg

das_schlumpfie 2010-06-10 17:24

Re: Retro camera app - Need image processing advice
 
YES!!! i can show it off to my girlfriend tmr LOL (its midnight in hong kong)

Alex Korova 2010-06-10 20:48

Re: Retro camera app - Need image processing advice
 
Quote:

Originally Posted by fieldofcows (Post 708835)
It won't be long. Maybe tonight if I get time. I'm still just finishing some of the untidy bits and making it faster. It now takes just under a minute for a full resolution photo to process which I think is acceptable for now.

I'm currently trying to package it up to submit to extras-devel but, not having done it before, I'm trying to be careful to make sure I get it right. I also haven't got permission to upload to extras-devel yet. I've requested permission a couple of times but as yet received no response.

Failing that, I'll put a link on the project's garage site when it's ready.

That's really cool - looking forward to testing it.
Thanks a lot for creating this.

maxximuscool 2010-06-10 21:03

Re: Retro camera app - Need image processing advice
 
awesome job buddy. Thank you.

DaSilva 2010-06-10 21:20

Re: Retro camera app - Need image processing advice
 
Maybe you can merge your project with BlessN900?

fieldofcows 2010-06-10 23:16

Re: Retro camera app - Need image processing advice
 
Thanks for the kind words everyone. Sorry to dissapoint but I didn't manage to get a package ready for download tonight. I didn't get much time to work on it this evening.

I have successfully made a package but it's got a couple of small problems which I need to fix. I also want to do a bit of testing before letting people loose on it to make sure it doesn't do anything bad.

@rebuilder - that was a very useful first post! Some of my effects are similar to what you describe and I am already using a level lookup table (in fact multiple tables) but I'm quite keen to try some of your other tips. Maybe in the next version...

justmeinit 2010-06-10 23:21

Re: Retro camera app - Need image processing advice
 
Really love your work this looks a brilliant little app having just downloaded blessn900 app and now your fantastic app im loving my n900 that little bit more.

fieldofcows 2010-06-11 23:13

Re: Retro camera app - Need image processing advice
 
For those of you who want to try this app, you can now download a package from https://garage.maemo.org/projects/classicprint/. It's not in extras-devel yet as I still haven't received an invitation to upload.

I haven't had much time over the last couple of days so I have only performed very limited testing on the installation. This is also my first maemo package so please be warned that although I think it is ok, you might encounter some problems. It's up to you if you want to risk it. Please don't blame me if anything goes wrong! The package is fully optified.

I'll leave you all to work out how to use it but if you have any questions or suggestions then I'm happy to hear then.

Have fun!

das_schlumpfie 2010-06-12 05:16

Re: Retro camera app - Need image processing advice
 
cheers!!! gonna download it now,

Dousan 2010-06-12 08:18

Re: Retro camera app - Need image processing advice
 
Couldn't wait for the devel release so downloaded it from the garage site ;)

Must say it looks very slick and easy to work with :D

Have just played with it for a short moment, checked out the different filters and so ;)

Really nice going here fieldofcows :D

This phone just keep on getting more and more awesome :D

saveas 2010-06-12 11:31

Re: Retro camera app - Need image processing advice
 
Wow, the application is brilliant, and it works flawlessly! Great work mate, keep it going, there is potential for a must have app here ;-)
thanks!

optimistprime 2010-06-12 12:37

Re: Retro camera app - Need image processing advice
 
im having problems installing it. anyone else?

saveas 2010-06-12 12:44

Re: Retro camera app - Need image processing advice
 
and here is a sample :
http://farm5.static.flickr.com/4040/...e21150c7_b.jpg

saveas 2010-06-12 12:52

Re: Retro camera app - Need image processing advice
 
Quote:

Originally Posted by optimistprime (Post 711901)
im having problems installing it. anyone else?

use dpkg -i classicprint_0.1-1_armel.deb in a terminal window, as root

DaSilva 2010-06-12 13:51

Re: Retro camera app - Need image processing advice
 
Quote:

Originally Posted by DaSilva (Post 709476)
Maybe you can merge your project with BlessN900?

What do you think about that?

qwerty12 2010-06-12 14:00

Re: Retro camera app - Need image processing advice
 
Quote:

Originally Posted by DaSilva (Post 711973)
What do you think about that?

It's closed source: http://repository.maemo.org/extras-d...e/b/blessn900/

Thank you for the program, fieldofcows.

optimistprime 2010-06-12 14:07

Re: Retro camera app - Need image processing advice
 
got "cannot access archive" no such file or directory.


i have the deb file downloaded in my docs

saveas 2010-06-12 14:14

Re: Retro camera app - Need image processing advice
 
Quote:

Originally Posted by optimistprime (Post 711988)
got "cannot access archive" no such file or directory.
i have the deb file downloaded in my docs

open a x-term window, type the following (case sensitive) commands:
sudo gainroot
cd /home/user/MyDocs
dpkg -i classicprint_0.1-1_armel.deb

Nipperoid 2010-06-12 14:32

Re: Retro camera app - Need image processing advice
 
Wow, impressive, i took a 5mp photo, added the effect and saved at original size

only took about 30 seconds to save (1.15ghz overclock help?)

http://i990.photobucket.com/albums/a...100331_008.jpg

http://i990.photobucket.com/albums/a...08_classic.jpg

quipper8 2010-06-12 14:36

Re: Retro camera app - Need image processing advice
 
app works great. you could easily charge for this once meego comes out. thanks again

Soulaxe 2010-06-12 14:39

Re: Retro camera app - Need image processing advice
 
Quote:

Originally Posted by fieldofcows (Post 674136)
Hi,

I'm developing a camera app called "Classic Cam" which automatically processes the photos you take to give them that "retro" look with faded colours, print borders, etc, much like Hipstamatic on the iPhone.

The software development is going fine, I've managed to get the camera part all working with flash, autofocus, etc. The bit I am having a problem with is getting that authentic old photo look.

I've searched on Google and found some information on how to produce classic prints using photoshop and the like but I wonder if anybody on this forum has any bright ideas or suggestions. Also, if you have any suggestions for features you'd like to see in the app then please let me know.

I've implemented image processing filters for level shifting, vignette and applying a border and I'm using QtImageFilters for various convolution effects (sharpen, defocus, highlight, blur, etc.). Am I missing anything? Do you think it's a good idea to allow the user to edit the filters that will be applied or should I just provide presets?

I look forward to hearing your suggestions!

Thanks,
Roy

Thanks for taking on such a project, I've been waiting for this.

das_schlumpfie 2010-06-12 14:53

Re: Retro camera app - Need image processing advice
 
for some strange reason, the deb file wouldnt show in my file manager, nor any other file managing app....

its definitely there, but its not show...wtf?

das_schlumpfie 2010-06-12 15:06

Re: Retro camera app - Need image processing advice
 
hi, strangly its working now!!! tried it and works just great! thanks!


not to be rude, but i thought its gonna be one of those app where you take a picture and it automatically edits the the pic for you, like those lomo apps on iphone ~

anyhow, thanks for the nice work, hope to see more from this app soon!

Alex Korova 2010-06-12 20:23

Re: Retro camera app - Need image processing advice
 
2 Attachment(s)
Just tried this application, thanks a lot for making it :)

bmac 2010-06-12 21:11

Re: Retro camera app - Need image processing advice
 
Quote:

Originally Posted by saveas (Post 711996)
open a x-term window, type the following (case sensitive) commands:
sudo gainroot
cd /home/user/MyDocs
dpkg -i classicprint_0.1-1_armel.deb

i couldn't get this to work for me. the .deb file is in documents but i still get "cannot access archive: No such file or directory"

any ideas?

Dousan 2010-06-12 21:42

Re: Retro camera app - Need image processing advice
 
Quote:

Originally Posted by das_schlumpfie (Post 712054)
hi, strangly its working now!!! tried it and works just great! thanks!


not to be rude, but i thought its gonna be one of those app where you take a picture and it automatically edits the the pic for you, like those lomo apps on iphone ~

anyhow, thanks for the nice work, hope to see more from this app soon!

I think you're talking about the 'classic cam' app, this is 'classic print' ;)

He hasn't released the 'classic cam' yet :)

Correct me if i'm wrong fieldofcows :confused:

fieldofcows 2010-06-12 21:44

Re: Retro camera app - Need image processing advice
 
It's good to see lots of people having success with this application. I'm not sure why some people are having installation problems but one thing I neglected to mention was that it requires you to be using PR1.2 for the Qt dependencies.

Quote:

Originally Posted by das_schlumpfie (Post 712054)
not to be rude, but i thought its gonna be one of those app where you take a picture and it automatically edits the the pic for you, like those lomo apps on iphone ~

The camera app is on it's way. Originally, Classic Print was developed as a desktop application so I could try out the different photo effects. I thought it might be quite fun for others so I ported it to N900 and tidied it up a bit.

I intend to lift a lot of functionality from Classic Print and put it straight into the camera app, which I've already developed a significant amount of. I plan on making them share settings so if you configure lenses, films and processes in Print then they will work in the camera as well.

Dousan 2010-06-12 21:47

Re: Retro camera app - Need image processing advice
 
Quote:

Originally Posted by bmac (Post 712485)
i couldn't get this to work for me. the .deb file is in documents but i still get "cannot access archive: No such file or directory"

any ideas?

You're trying to install a .deb file from Mydocs that you've stored in documents. Move the file to MyDocs or 'cd' to documents, that should do it ;)

bmac 2010-06-12 22:07

Re: Retro camera app - Need image processing advice
 
Quote:

Originally Posted by Dousan (Post 712541)
You're trying to install a .deb file from Mydocs that you've stored in documents. Move the file to MyDocs or 'cd' to documents, that should do it ;)

isn't MyDocs the same folder that's listed under
Nokia N900/Documents in file manager?

if not how can i download the file to MyDocs? the Documents folder or memory card are the only save to options i can find.

*edit* i figured it out, and to answer my own question no MyDocs and the Documents folder in file manager are not one and the same. I had to connect via usb and copy the file from where it was downloaded (Documents) back into the unnamed directory directory before it which is guess is MyDocs

dqm 2010-06-13 01:21

Re: Retro camera app - Need image processing advice
 
Great app. Cheers

itaychi 2010-06-13 03:52

Re: Retro camera app - Need image processing advice
 
1 Attachment(s)
absolutely awesome!
thanks for the efforts, this is the most fun app i have on my N900 by far :-)

ideas for improvements - NOT demands of you:-)
1. "ok" and "cancel" buttons everywhere, if i go into a menu i might wanna cancel out instead of letting the app redo the picture every time.
2. a button on the mainscreen to load another picture, ofcourse asking you if you want to save or discard changes
3. any way to randomize the light leaks? or for us to prepare our own templates for light leaks?
4. an option to over and under expose the picture, preferably in the film settings
5. option to change tint, not only temperature
6. the file open menu behavior is annoying, when it opens it shows me the newest pics, then a second later it goes to the first pic i ever took. would be nice if it was consistent, preferably starting from the newest pics taken.

now then, how can we help?

Dousan 2010-06-13 06:10

Re: Retro camera app - Need image processing advice
 
@bmac the MyDocs directory is located at /home/user/MyDocs and it's the same as your 'N900' in your file system on the phone :) If you want to move a file to there or anywere just tap and hold on the file and then select move and a popup window wil appear. Then just select the directory/map by navigating through that popup window :) No need to connect to a pc to move a file inside the N900 :D

das_schlumpfie 2010-06-13 08:25

Re: Retro camera app - Need image processing advice
 
Quote:

Originally Posted by fieldofcows (Post 712538)
It's good to see lots of people having success with this application. I'm not sure why some people are having installation problems but one thing I neglected to mention was that it requires you to be using PR1.2 for the Qt dependencies.



The camera app is on it's way. Originally, Classic Print was developed as a desktop application so I could try out the different photo effects. I thought it might be quite fun for others so I ported it to N900 and tidied it up a bit.

I intend to lift a lot of functionality from Classic Print and put it straight into the camera app, which I've already developed a significant amount of. I plan on making them share settings so if you configure lenses, films and processes in Print then they will work in the camera as well.

thanks for your reply, yea i totally forgot about one of your replies earlier on in this post .

really look forward to classic cam now, its is just what i was hoping to get on n900, thanks for your good work and effort

bmac 2010-06-13 17:28

Re: Retro camera app - Need image processing advice
 
Quote:

Originally Posted by Dousan (Post 712808)
@bmac the MyDocs directory is located at /home/user/MyDocs and it's the same as your 'N900' in your file system on the phone :) If you want to move a file to there or anywere just tap and hold on the file and then select move and a popup window wil appear. Then just select the directory/map by navigating through that popup window :) No need to connect to a pc to move a file inside the N900 :D

thanks good to know!

fieldofcows 2010-06-13 22:18

Re: Retro camera app - Need image processing advice
 
@itaychi - thanks for the very useful feedback. To answer your questions:

1. I thought about adding OK/Cancel buttons but due to space limitations decided to leave them off. I'll try squeezing them on if I can because it also annoys me that you can't look at settings without reprocessing.

2. You can load a different image by touching the currently loaded image. I don't think a prompt to save is necessary as the settings are not lost on loading a different image.

3. I intend to put a "random" option in for the light leaks. You can add your own leaks if you want by adding jpg files to /opt/classicprint/config/light_leak. The filename you use will appear in the menu. If you make any good ones then, if you let me have them I'll put them into the package for the next release.

4. Good idea. There's also plenty of room in the "film" settings :)

5. Same as 4.

6. As far as I can tell, this is a Qt bug. It's very annoying and I'll try to find a workaround but I can't promise anything.

Right, time to get working on those changes... :)

das_schlumpfie 2010-06-14 14:40

Re: Retro camera app - Need image processing advice
 
can i also suggest a complete 'random mode'? as in as soon as i load a picture, it automatically edits it in a random manner.

that would be even better when classic cam is developed!


All times are GMT. The time now is 15:58.

vBulletin® Version 3.8.8