> "Huub" <"v.niekerk at hccnet.nl"> wrote in message
> Well, you said "any" help....
Ehhh..
> Could you clarify the question? Many newbies use this newsgroup so I'm not
> sure if you're a rank beginner and need to be told to read the Javadoc for
> the API you are using or if this is an advanced question from an imaging
> expert.
Not really a Java newbie, but a bit of an imaging newbie.
> I don't remember seeing anything like this in the J2SE 1.5 API but it's a
> huge API and I could easily have missed it. Is that the API you are using or
> are you using another one altogether?
I'm using both the J2SE API and the JAI API. The problem I'm having is
that I have found Dilation in JAI, but I don't know how to exactly
implement it. After instantiating DilateDescriptor, I can use the
create() method. The API tells this:
public static RenderedOp create(RenderedImage source0,
KernelJAI kernel,
RenderingHints hints)
But when I look futher into RenderedImage and KernelJAI I can't figure
out how to use those. Hence I would like to get some real examples to
see what I have to/can do.
Thank you.
Rhino - 07 Nov 2005 15:15 GMT
> > "Huub" <"v.niekerk at hccnet.nl"> wrote in message
> > Well, you said "any" help....
[quoted text clipped - 26 lines]
>
> Thank you.
Thank you for clarifying that question. Now I have a much better idea what
you want and what your background is.
Unfortunately, I've never used JAI; in fact, I don't recall hearing of it
until this minute.
However, I just did a quick Google on 'JAI tutorial' and got 272,000 hits.
I'll bet that if you look through the first few of those, you'll find
discussions of how to use at least the main parts of the JAI API. You may
not find discussions of the specific method you are trying to use but you'll
almost certainly find links to JAI-specific discussion groups where you can
post questions about this API.
That's not to say that this is an inappropriate place to ask the question,
just that JAI looks like a fairly specialized API that many people
frequenting this newsgroup will not have used. You might get a much larger
concentration of imaging experts in a newsgroup/forum targetted specifically
at JAI users.
One other suggestion: if using an API other than the standard J2SE API, it's
a very good idea to state that in your original question somewhere or, even
better, the subject line of your post, at least within the comp.lang.java.*
newsgroups. That will attract JAI experts - and deter people like me who
know nothing about it from sticking our oars in :-)
Rhino