Re: MTPR error when I try to apply a mask [message #69896] |
Thu, 25 February 2010 14:56 |
Robert Moss, PhD
Messages: 29 Registered: November 2006
|
Junior Member |
|
|
On Feb 24, 7:54 am, Agustín T. <agustinta...@hotmail.com> wrote:
> Hello,
>
> I am trying to modify Canty’s source code on fuzzy k-means to apply it
> to an image with a mask.
> First I use the key word /MASK in the routine envi_select, and it
> allows me to choose a mask after I have opened an image. But I do not
> know how to apply the mask within the code.
> I am applying the ENVI_MASK_APPLY_DOIT routine and I getting the
> error: “variable MPTR undefined”.
> I can not find any reference to this type of error. I have search in
> this forum and in the references guides, but I have not found
> anything.
> Can anyone help?
It sounds like you are not specifying the M_FID keyword correctly,
either in ENVI_SELECT or ENVI_MASK_APPLY_DOIT. Could that be the case?
R
|
|
|