how to retreive pixels of a gray image into an array?
please provide some java code.
.
.
.
.
.
.
.
.
.
.

Recommended Answers

All 2 Replies

It depends on your image format. java.awt library provides classes that deal with image processing -- BufferedImage, BufferedImageOp, ColorModel, etc. (brief answer for brief question)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.