Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Code Samples & Tips > Additional Libraries
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Additional Libraries Users contributed libraries.
This sub-forum is only available to licensed users.

Image processing library

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-24-2008, 05:15 PM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 6,072
Awards Showcase
Innovator medal Beta Tester Forum Contributer 
Total Awards: 3
Default Image processing library

First stab at an image processing library as requested by LineCutter in the dzImage library thread. Does contrast, brightness, B&W and colour invert. Have a play.

EDIT :- Version 1.2 including help file. Too much added to list here, have a look!

EDIT :- Hasty update to version 1.3 including help file. I found a subtle bug (typo) when a filter function didn't behave as I expected. The example filters in the example are tidied up a bit too.

EDIT : - Final(?) version 1.4 posted
Attached Files
File Type: zip ImageEdit1.4.zip (65.4 KB, 464 views)

Last edited by agraham : 01-27-2008 at 12:42 PM.
Reply With Quote
  #2 (permalink)  
Old 01-25-2008, 10:16 PM
LineCutter's Avatar
Senior Member
 
Join Date: May 2007
Location: Daarsit
Posts: 161
Awards Showcase
Beta Tester 
Total Awards: 1
Default

I'd like to make a complaint I can't keep up with the development of this library as it offers the options for more & more eye candy.

Thanks again
Reply With Quote
  #3 (permalink)  
Old 01-26-2008, 02:55 AM
alfcen's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: Okinawa, Ryukyu Islands
Posts: 810
Send a message via Skype™ to alfcen
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Hi agraham,

You're a bloody legend

Weather is bad enough to challenge gamma, brightness, contrast, etc.
control with a slider. Your idea of using filter matrices for manipulation
offers total freedom (and fun).

Not familiar with the inner life of a dll. Could yours and dzt's dzImage be
merged into the most powerful library the compact .NET world has ever seen?

I faintly recall that you are using VS while dzt is in to #Develop (?)
Reply With Quote
  #4 (permalink)  
Old 01-26-2008, 08:24 AM
klaus's Avatar
Basic4ppc Expert
 
Join Date: Oct 2007
Location: Fully, Switzerland
Posts: 4,459
Awards Showcase
Forum Contributer Beta Tester Competition Winner 
Total Awards: 3
Default

Hi agraham, dzt and Erel
I aggree with alfcen and would even dream of a merge of agraham's, dzt's libraries (including agraham's FloodFillLib) with the ImageLib and the Form drawing functions to have all the image processing and drawing functions in THE ImageLib or whatever name. I am sure that this would make programming easier for the alpha programmers like me and a lot of others.

I don't remember who said:
'Human beeing is working like crazy to have less to do'
Unfortunately the 'hard work' is for you and the less to do for us others.

Thanks in advand to have a thought on this, dreams become sometimes reality.

Best regards
Klaus
Switzerland
Reply With Quote
  #5 (permalink)  
Old 01-26-2008, 08:54 AM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 6,072
Awards Showcase
Innovator medal Beta Tester Forum Contributer 
Total Awards: 3
Default

Quote:
Originally Posted by klaus View Post
a merge of agraham's, dzt's libraries (including agraham's FloodFillLib) with the ImageLib and the Form drawing functions to have all the image processing and drawing functions in THE ImageLib
I'm not sure that this is necessarily a good idea. ImageLib, FloodFill and dzImage are really drawing libraries. ImageEdit is really for photo manipulation. I feel that these are two quite distinct activities. The drawing libraries work internally directly with 8 bit unsigned gamma corrected colour values, my ImageEdit works internally with 15 bit signed linear colour values - conceptually the two don't really mix.

I'll be adding a few more things appropriate to photo work - Undo, Crop, Rotate and possibly Resize. I might possibly add some colour/hue manipulation but I need to experiment with how to present that. Any other suggestions welcome.
Reply With Quote
  #6 (permalink)  
Old 01-26-2008, 09:27 AM
klaus's Avatar
Basic4ppc Expert
 
Join Date: Oct 2007
Location: Fully, Switzerland
Posts: 4,459
Awards Showcase
Forum Contributer Beta Tester Competition Winner 
Total Awards: 3
Default

Hi agraham,
I understand that from the pricilple point of view it is not reasonable to merge ImageEdit with the other libraries, but at least the 3 drawing libraries ImageLib, FloodFill and dzImage could be merged together.

Best regards
Klaus
Switzerland
Reply With Quote
  #7 (permalink)  
Old 01-26-2008, 01:58 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,689
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

Probably in the next version most libraries will be compiled during the compilation and into the executable file.
Reply With Quote
  #8 (permalink)  
Old 01-26-2008, 02:08 PM
Senior Member
 
Join Date: Jul 2007
Location: Michigan Usa
Posts: 176
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Erel am I correct in thinking that then the whole library woundn't need to then be bundled with the executeable in the cab file therefore make a smaller foot print on the consumers system?

dennishea
__________________
Using 6.90
dennishea
Reply With Quote
  #9 (permalink)  
Old 01-26-2008, 03:12 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,689
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

Most libraries will be embedded in the executable file.
The overall size will be similar as the executable file will be larger.
Reply With Quote
  #10 (permalink)  
Old 01-26-2008, 05:44 PM
Senior Member
 
Join Date: Jul 2007
Location: Michigan Usa
Posts: 176
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Erel, does the whole dll get compiled with the exeacuteable or just the parts of the dll that get used? I hope these questions don't seem to dumb, just trying to understand better how everything works together.

dennishea
__________________
Using 6.90
dennishea
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Desktop Videocam image capture library agraham Additional Libraries 22 03-18-2012 10:42 AM
Merging Outlook library and Phone library Erel Official Updates 11 09-15-2010 09:22 AM
Image fade and floodfill library agraham Additional Libraries 10 07-01-2008 04:50 PM
Parallel Processing / Multi-Threading questions TWELVE Questions (Windows Mobile) 6 04-29-2008 11:40 AM
Move an image inside an image control Cableguy Questions (Windows Mobile) 5 05-14-2007 07:40 PM


All times are GMT. The time now is 10:18 PM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0