Re: Count selected pixcel with Photoscripter
Re: Count selected pixcel with Photoscripter
- Subject: Re: Count selected pixcel with Photoscripter
- From: Takaaki Naganoya <email@hidden>
- Date: Fri, 17 Nov 2000 17:10:38 +0900
At 10:56 PM -0500 00.11.16, email@hidden wrote:
In a message dated 11/16/00 10:27:47 PM, email@hidden writes:
Yes, you are right, but I did not want to mess with the default result.
Note the following:
set kPixelWidthHeight to {width, height}
--returns {pixels 504.0, pixels 360.0}
Interesting. Therefore, why add "as real" at all since that's what you get
anyhow? (BTW-I meant to say that I don't have PhotoScripter yet, not v6.0...)
Hmm....
It is the method to get the size of selected area.
image------------------
****
****
******
******
******
********
********
********
**** *****
**** ****
**** ****
**** *****
**** ****
**** ****
*** ****
**************
**************
**************
**** *****
**** ****
**** ****
**** *****
**** ****
------------------image
I want to count "*". ("191" will be returned)
But It seems difficult....
(1) select
http://www.b-mark.nu/~maro/test_images/scrn1.jpg
(2) Histgram.....
http://www.b-mark.nu/~maro/test_images/scrn2.jpg
(3) Pixels are counted....
http://www.b-mark.nu/~maro/test_images/scrn3.jpg
---
Takaaki Naganoya, email@hidden
Cabaret Graphics