Lost Password?


Go Back   CodeCall Programming Forum > Software Development > General Programming

General Programming Non language specific, Assembly, Linux/Unix, Mac and anything not covered in other topics. Talk about Programming Theory here.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-13-2007, 12:45 PM
espinchi espinchi is offline
Newbie
 
Join Date: Jul 2007
Posts: 1
Rep Power: 0
espinchi is on a distinguished road
Default Image analysis program: Java or C++ ?

Hi all,

I'd really welcome some suggestions about a decision I have to make, in the beginning of a new little software project for a research project (I'm just an assistant, collaborating as an intern). I hope it's not too boring for you

We have some MatLab code that performs image analysis and classification (ie, recognizing faces, detecting defective concrete pieces...).

Now, I need to translate it into a non-MatLab-dependent program. That is, create a C++/Java/(others) program that performs the tasks.

I guess my two main choices about the language are Java and C++.

What should I use?


Some important facts:

. It needs to be fast (at least faster than the MatLab version).
Some people might immediately say: "Use C++. Period.". However, is Java so slow as it used to be?

. I will need to show many images and graphics, to the user as well as to myself in the development/debugging stages.
I'm not experienced with low-level GUI stuff, but I guess these things might be easier with Java.

. The core algorithms should be easily translated from MatLab to the chosen language, since the development will go on in MatLab.
The point is there are some compilers from MatLab to C/Java, has anyone tried them? Are there free ones?

. It needs to be independent.
That is, it should be able tu run and execute by itself. (If not, why translate it from MatLab?). This excludes the built-in MatLab compiler, since it obliges to include an installer of its libraries, and I've been encouraged to avoid that.

. It would be nice to make it platform-independent.
Obviously, Java beats C++ here.


That is the information I have to make up my mind.

I'd really appreciate any comments about this matter. For those who are still reading so far, also thank you for reading
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
  #2 (permalink)  
Old 07-16-2007, 12:08 PM
WingedPanther's Avatar   
WingedPanther WingedPanther is online now
Super Moderator
 
Join Date: Jul 2006
Age: 35
Posts: 3,278
Last Blog:
wxWidgets is NOT code ...
Rep Power: 36
WingedPanther is a name known to allWingedPanther is a name known to allWingedPanther is a name known to allWingedPanther is a name known to allWingedPanther is a name known to allWingedPanther is a name known to all
Default

Java has more native tools for displaying graphics, but can be slightly slower. wxWidgits can extend C++ to handle graphics display while remaining cross-platform (at the code-base, not executable level).

Since Java and C++ are similar languages, I suspect there is no significant distinction in the translation process.
__________________
CodeCall Blog | CodeCall Wiki | Shareware | Linux Forum
Programming is a branch of mathematics.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 07-17-2007, 07:21 PM
Predictor Predictor is offline
Newbie
 
Join Date: Jul 2007
Posts: 1
Rep Power: 0
Predictor is on a distinguished road
Default

Is the only reason that you're porting off of MATLAB for speed? MATLAB can execute very quickly, depending on the situation. You may be better off tuning your MATLAB code. Can you provide more details about what your software is doing?

-Will
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 10-25-2007, 12:00 PM
mahogny mahogny is offline
Newbie
 
Join Date: Oct 2007
Posts: 10
Rep Power: 0
mahogny is on a distinguished road
Send a message via ICQ to mahogny
Default

you should consider making a plugin for some existing software. this will save you tons of time. there is the old-timer ImageJ but you might want to have a look at Endrov (Main Page - Ev). The version currently on the net does not have filter support (I will make a new release this weekend), but adding new windows and menus for what you need should be simple.

as for face recognition I plan to add an Adaboost plugin as I need it for my own project, but that'll take a while.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Java Facts techni68 Java Help 0 01-17-2007 02:41 PM
John's Java Tutorial Index John Java Tutorials 0 01-11-2007 04:05 PM
I'd like to ask what program. lang. aside fr. C, Java and COBOL is best... bryan General Programming 4 11-28-2006 12:49 PM
First Java Program and ..... Void Java Help 1 10-03-2006 08:27 PM


All times are GMT -5. The time now is 05:53 PM.

Contest Stats

WingedPanther ........ 2753.6
Xav ........ 2704
Brandon W ........ 1702.32
John ........ 1207.73
marwex89 ........ 1175.24
morefood2001 ........ 966.05
dcs ........ 655.75
Steve.L ........ 475.59
orjan ........ 418.58
Aereshaa ........ 383.54

Contest Rules

CodeCall Goal

Goal: 100,000 Posts
Complete: 98%

Ads