Image Processing

Get white pixel count from image

Page 1 of 1

1 Replies - 4430 Views - Last Post: 29 July 2008 - 09:22 AM Rate Topic: -----

#1 amarkadam02  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 29-July 08

Image Processing

Posted 29 July 2008 - 02:10 AM

For i = 0 To imgData.Length - 1				'imgData is a image data in byte 
			If imgData(i) = 255 Then			   ' Here 255 is threshold value
				whitepixel = whitepixel + 1
			End If
		Next

This post has been edited by jayman9: 29 July 2008 - 09:22 AM

Is This A Good Question/Topic? 0
  • +

Replies To: Image Processing

#2 Jayman  Icon User is offline

  • Student of Life
  • member icon

Reputation: 418
  • View blog
  • Posts: 9,532
  • Joined: 26-December 05

Re: Image Processing

Posted 29 July 2008 - 09:22 AM

Did you have a question relating to the code you posted?
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1