Mandar,

How are you getting your patches?
If you are doing it on a pixel by pixel basis, then you can simply count the
number of pixels in a patch to estimate the area and you can count the
number of pixels in an outline of the patch to estimate the perimeter.

On Fri, Nov 28, 2008 at 12:55 PM, Roy H. Han <
[EMAIL PROTECTED]> wrote:

> How are you getting your patches?
> If you are doing it on a pixel by pixel basis, then you can simply count
> the number of pixels in a patch to estimate the area and you can count the
> number of pixels in an outline of the patch to estimate the perimeter.
>
> 2008/11/28 Mandar Sarlashkar <[EMAIL PROTECTED]>
>
>>
>> Dear all,
>>
>> I am planning to use PIL in my assignment.
>>
>> One of the tasks is to calculate index such as 'Patch Density' for a
>> classified Land-use Land Cover Image.
>>
>> I am not getting how to handle different class patches in an image.
>>
>> How can I retrieve information for each patch such as area and perimeter?
>>
>> I can use FRAGSTAS for getting such indices but a python script
>> or guidance how it can be done using python and PIL will be more helpful.
>>
>> Thanking you for your time and consideration in advance.
>>
>> Regards,
>>
>> Maddy
>>
>> ------------------------------
>> What's on the ramp today could be on the streets tomorrow. Keep up with
>> trends on MSN Lifestyle Try it! <http://lifestyle.in.msn.com/>
>>
>> _______________________________________________
>> Image-SIG maillist  -  Image-SIG@python.org
>> http://mail.python.org/mailman/listinfo/image-sig
>>
>>
>
_______________________________________________
Image-SIG maillist  -  Image-SIG@python.org
http://mail.python.org/mailman/listinfo/image-sig

Reply via email to