Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7640715
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T08:44:23+00:00 2026-05-31T08:44:23+00:00

I’m looking for a Java library that is Comerically Opensource that has the following

  • 0

I’m looking for a Java library that is Comerically Opensource that has the following features:

Converts to Grayscale

Convolution

Hough Transform

Most important: Easily convert RGB pixel data into an int/char/short [][][3] (1 2D array for each value of RGB)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T08:44:24+00:00Added an answer on May 31, 2026 at 8:44 am

    — Edited in response to comments —

    While you may understand signal processing, the application of signal processing to images, or image processing is something you should pay attention to if you intend to leverage your signal processing to images in a non-wasteful (reinvent the wheel) manner.

    “Writing it from scratch”, using the 2D API performs grayscale color space translation in about 4 lines. Not too heavy price to pay. From page 175.

    public static Color coverToGrayscale(Color color) {
      ColorSpace graySpace = ColorSpace.getInstance(ColorSpace.CS_GRAY);
      float[] gray = color.getColorComponents(graySpace, null);
      return new Color(graySpace, gray, 1.0f);
    }
    

    Convolutions are handled in chapter 10. The convolution exercise demonstrates a 3×3 blur kernel on pages 206-208. The framework can be used for any kind of convolution.

    Hugh Transforms are not to be found in a typical image-processing library. Look to an edge detection / object detection library. If you port / modify a Fernandes / Oliveira styled algorithm, you can even leverage the kernel engine of the 2D API to render an image representing the findings of the transform.

    Getting the pixel data as an array is an odd requirement. It’s already in array format.

    Again, I recommend the book, and a week to read it. It will literally save you weeks of programming time, if you attempt a “try to learn it as you go” approach using the lower level concepts of signal processing. That said, when you get to the kernel engine particulars, your signal processing knowledge is going to pay off in spades.

    — Original post follows —

    It seems that there are two sides to this question. One is specifically about an open source Java API for low level image manipulation, the other is for more general documentation concerning low level image manipulation (color models, etc.).

    I would recommend that you obtain a copy of “Java 2D Graphics” by Jonathan Knudsen. It is a bit out-of-date when it talks about non Java 2D constructs (the examples chain into the drawing subsystem the outdated way, and they don’t launch the windows in a thread-safe manner); however, it is a good learning reference for the actual 2D graphics system, which hasn’t changed.

    In this book, it goes into color models in detail, and other low level pixel related items (font hints, antialiasing, transformation, etc). As such it can be a very valuable tool.

    The 2D API is part of the Java standard libraries. There is no need for a “lower” image processing library, but depending on your needs, you might want a library to lie above it (and simplify common image processing tasks). Once you have a grasp of the primitives, perhaps you can find one of the previously reviewed libraries to have sufficient documentation to achieve your needs.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I've got a string that has curly quotes in it. I'd like to replace
I have a jquery bug and I've been looking for hours now, I can't
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I want to count how many characters a certain string has in PHP, but
Basically, what I'm trying to create is a page of div tags, each has
I have a French site that I want to parse, but am running into
I'm using v2.0 of ClassTextile.php, with the following call: $testimonial_text = $textile->TextileRestricted($_POST['testimonial']); ... and
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.