Posted by
Joachim Wesner on
Jul 31, 2009; 9:05am
URL: http://imagej.273.s1.nabble.com/volume-measurement-and-memory-problems-tp3691572p3691581.html
Hi list,
I would like to create a modified FloatProcessor that has uses some special
nonlinear mapping in the Create8BitImage method without touching the
original pixel data.
I´m a little bit confused how to acchieve this, because:
+ Create8BitImage is a "private" method with default/package access rights,
so it cannot be overriden, if the new file is not also a part of the
package "ij.process".
+ I will also likely need to have acces to some other internal data of the
FloatProcessor to do what I plan.
+ Even if I solve this in a brute force way by copying the whole source
code into a new file, the packaging problem remains, which poses a more
general question:
How does one "on the fly" extend a package, if the package itself is still
compressed in a jar? (ij.jar in my case)? Can I keep the new source code in
a private directory
and simply "claim" that it´s part of "ij.process" eg. Or would I need to
(partly) unpack the relevant files? Where exactly would I need to put the
"ij.process" files?
Sorry if these are silly questions, but the docs I find always seem to
assume that I have all the package files ready in the "right" locations.
Mit freundlichen Grüßen / Best regards
Joachim Wesner
Leica Microsystems CMS GmbH | GmbH mit Sitz in Wetzlar | Amtsgericht
Wetzlar HRB 2432
Geschäftsführer: Dr. Stefan Traeger | Dr. Wolf-Otto Reuter | Dr. David Roy
Martyr | Colin Davis
www.leica-microsystems.com
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit
http://www.messagelabs.com/email
______________________________________________________________________