Need technical help

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Need technical help

Nikhil123
This post was updated on .
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: Need technical help

Nathaniel Ryckman
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.
Reply | Threaded
Open this post in threaded view
|

Re: Need technical help

Doug S-3
In reply to this post by Nikhil123
On 6/21/2011 7:33 AM, 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.  
ImageJ is Java, I don't think it would work well in Visual Studio
I would recommend using OpenCV, an opensource c based imaging package
that can definitely do what you described.
http://opencv.willowgarage.com/wiki/
OpenCV works well with .NET assuming you can program in c
Here's installation info:
http://opencv.willowgarage.com/wiki/InstallGuide
If you don't like c++ there are python bindings at
http://code.google.com/p/pyopencv/
Reply | Threaded
Open this post in threaded view
|

Re: Need technical help

ctrueden
In reply to this post by Nikhil123
Hi Muniganti,

Are you writing in C#? Why don't you just use the built-in features of C# to
do it?

http://www.switchonthecode.com/tutorials/csharp-tutorial-image-editing-saving-cropping-and-resizing

If you really must integrate ImageJ with .NET, there are two ways. If you
are OK with unmanaged C++ code in your application, you can link to ImageJ
via JNI, but you may face a few technical hurdles. Alternately, you could
look at using IKVM.NET to execute Java code in the .NET framework, but I
have no idea how well ImageJ would run in that environment.

Given that you are a student, I strongly suggest limiting your complexity
and sticking to one language, rather than pursuing a cross-language
integration solution.

HTH,
Curtis

On Tue, Jun 21, 2011 at 6:33 AM, Naresh Muniganti <[hidden email]>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.
>