Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / First Aid / November 2005

Tip: Looking for answers? Try searching our database.

image morphology

Thread view: 
Huub - 06 Nov 2005 18:17 GMT
Hi,

I'm looking for examples of image morphology, specifically dilation.
I've been looking at several sites with examples, but I can't really
figure out how to exactly fill in the arguments of e.g. the create()
method. Any help will be appreciated.

Thanks

Huub
Rhino - 06 Nov 2005 20:34 GMT
> Hi,
>
> I'm looking for examples of image morphology, specifically dilation.
> I've been looking at several sites with examples, but I can't really
> figure out how to exactly fill in the arguments of e.g. the create()
> method. Any help will be appreciated.

Well, you said "any" help....

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.

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?

Rhino
Huub - 06 Nov 2005 21:09 GMT
> "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
Roedy Green - 06 Nov 2005 23:20 GMT
>I'm looking for examples of image morphology, specifically dilation.
>I've been looking at several sites with examples, but I can't really
>figure out how to exactly fill in the arguments of e.g. the create()
>method. Any help will be appreciated.

http://www.waterlogic.com.sg/
Signature

Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.

Huub - 07 Nov 2005 06:21 GMT
> http://www.waterlogic.com.sg/

Nice site, but I can't find examples of the JAI API here.
Roedy Green - 07 Nov 2005 06:44 GMT
>> http://www.waterlogic.com.sg/
>
>Nice site, but I can't find examples of the JAI API here.

It is not JAI, but a number of special effects.
Signature

Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.

Huub - 07 Nov 2005 08:01 GMT
> It is not JAI, but a number of special effects.

I noticed that, but I'm looking for some code-examples on the use of
JAI. More specific dilation and erosion.
Monique Y. Mudama - 08 Nov 2005 16:34 GMT
>> It is not JAI, but a number of special effects.
>
> I noticed that, but I'm looking for some code-examples on the use of
> JAI. More specific dilation and erosion.

Maybe if you'd mentioned JAI *at all* in your original post, Roedy
would have known that.

Signature

monique

Ask smart questions, get good answers:
http://www.catb.org/~esr/faqs/smart-questions.html



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.