image processing


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: image processing

  1. #1
    Join Date
    Oct 2005
    Posts
    1

    image processing

    Hey all,

    I am looking for a way to sample pixels in a binary bufferedimage(black and white) to see if it is black or white.


    any help would be greatly appreciated.

    Thanks a bunch

    Brad.

  2. #2
    Join Date
    Sep 2005
    Location
    istanbul / Turkey
    Posts
    133
    for x,y,image :

    image is BufferedImage,
    0 <= x < image.getWidth() ,
    0 <= y < image.getHeight() ,

    int rgbColor = image.getRGB(x, y);
    ----------------------------------------
    big rgbColor values are brighter.

Similar Threads

  1. Replies: 7
    Last Post: 07-17-2013, 12:47 AM
  2. help regarding image processing
    By laxmi in forum Java
    Replies: 6
    Last Post: 02-03-2006, 01:55 PM
  3. Replies: 0
    Last Post: 07-11-2005, 10:41 PM
  4. Script for scrolling
    By Mark in forum Web
    Replies: 3
    Last Post: 08-30-2001, 12:45 PM
  5. PhotoTrue: New image processing library entering public testing.
    By David Crowell in forum vb.announcements
    Replies: 0
    Last Post: 09-05-2000, 01:20 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center