This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes plot histogram of an buffered image Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "plot histogram of an buffered image " Watch "plot histogram of an buffered image " New topic
Author

plot histogram of an buffered image

ashish donvir
Greenhorn

Joined: Mar 01, 2012
Posts: 25
I had load buffered image and need to plot histogram? please suggest me next steps to to plot RGB histogram. if it can done using jai please suggest me the way to do it.
I hadtried alot and also googled alot but dint found any right solution.
here is how i had load my image please provide me next steps

Tim Moores
Rancher

Joined: Sep 21, 2011
Posts: 2408
If this was my problem I'd use the ImageJ library. It has support for histograms.
ashish donvir
Greenhorn

Joined: Mar 01, 2012
Posts: 25
OK i also want to use it but i don't know how to use it. would you please provide
steps to to use it i really need it to use .
Thanks
Tim Moores
Rancher

Joined: Sep 21, 2011
Posts: 2408
The first step would be to create ij.ImagePlus object from the image. Then you'd somehow have to use the ij.plugin.Histogram class. Not sure if it has the methods that would allow you to use it outside of the ImageJ app, but you could certainly alter its source code to do so.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: plot histogram of an buffered image