Login  Register

Re: Need technical help

Posted by Nathaniel Ryckman on Jun 21, 2011; 4:21pm
URL: http://imagej.273.s1.nabble.com/Need-technical-help-tp3684168p3684171.html

The .NET framework and the Java framework are significantly different.

Here are some options for you:

1) You could convert the Java from imageJ into J#.

Note that there are still some huge differences between J# and Java:
http://en.wikipedia.org/wiki/J_Sharp#Fundamental_differences_between_J.23_and_Java

2) Find a way to run a Java applet from a .NET project.

http://rsb.info.nih.gov/ij/applets.html
http://social.msdn.microsoft.com/Forums/en-US/visualjsharpgeneral/thread/4258ba42-0e27-42c2-a1dc-ef6d25eba789

3) Download a .NET library and use the imageJ source code as just a guideline.

http://freeimage.sourceforge.net/documentation.html
http://rsb.info.nih.gov/ij/download/src/

4) Don't use imageJ at all.

I recommend option 4. Trying to convert code from imageJ to .NET isn't worth the hassle in my opinion since your project seems relatively small. The reason is because imageJ is a large project that potentially could take a lot of time to sift through in order to understand. If you find a good .NET library and Google for a few tutorials, those tasks shouldn't be too hard to accomplish.

Naresh Muniganti wrote
Hi All,I am working on my class project where I need to develop a .Net application which can read an image, extract the attributes of the input image and generate different image resolutions along with the thumbnails. I have come across imageJ plugin in my search. I would like to know if this would be of any help if I am using VS 2010(.Net framework 4.0). If this is possibility please let me know from where I need to download the dlls, which dlls I have to use and any sample code would be greatly appreciated. Please suggest.Thanks in advance.Muniganti.