Login  Register

Re: macro help please

Posted by Larry Nolan on Dec 30, 2009; 5:08pm
URL: http://imagej.273.s1.nabble.com/macro-help-please-tp3689867p3689882.html

G.
  thanks very much for the suggestion; I will try out what you  
suggest.  I do want the canopy pixels to be black and the sky area to  
be white.

All the pictures were taken with the same camera.  How would I tell if  
there is an inverted LUT with a particular image?

best wishes,

Larry
On Dec 30, 2009, at 5:46 AM, Gabriel Landini wrote:

> On Tuesday 29 December 2009, you wrote:
>> My macro is to process a set of forest canopy images and calculate  
>> the %
>> of canopy area:
>
> Not sure if this will solve it, but you could try.
> If you just want to compute the % of area thresholded, you do *not*  
> need to do
> this:
>>       run("Convert to Mask");
>>       run("Invert");
>
> Try the macro without those. If you want to threshold the other-than-
> default
> phase with the default method use:
>
> setAutoThreshold("Default dark");
>
> There seems to be no way to record this with the macro recorder.
> And by the way, are you sure that your third image hasn't got an  
> inverted LUT?
>
> Cheers
> G.