Login  Register

Re: Different results with duplicate or re-open the image

Posted by Karel Jansseune-2 on Aug 27, 2009; 6:53am
URL: http://imagej.273.s1.nabble.com/Different-results-with-duplicate-or-re-open-the-image-tp3691380p3691384.html

I browsed through the macro, but this is not the case.
At the moment of duplication, nothing is selected.

I'm currently trying to find out what exactely happens, but so far I can't
really find any reason why the two would give different results



On Wed, 26 Aug 2009 09:18:53 -0500, Will Ashby
<[hidden email]> wrote:

>I've noticed that the duplicate command will only duplicate the region of
>interest if you have selected a portion of the image.  That might cause
your
>problem.
>
>-Will Ashby
>
>
>On 8/26/09 9:06 AM, "Karel Jansseune"
<[hidden email]>

>wrote:
>
>> Hello imageJ users,
>>
>> I have a strange problem with my macro.
>> The macro is used to measure a certain part of the image that contains
>> plant parts.
>>
>> The macro is creating a mask of the image, this mask is then renamed
>> as "mask", and this is used to filter out the parts that I need in the
>> next measuring step by subtracting it from the original image.
>>
>> In the first version I used to re-open the original image and to apply
the
>> mask to that image.
>> I have now discovered that if I duplicate the image in stead of re-
opening

>> it, I get different results when I measure the area of the plant parts.
>> (up to 15% difference!).
>>
>> Is there a differnce between the original image and a duplicate in terms
>> of resolution? or should I look for the error in another place?
>>
>> kind regards,
>>
>> Karel Jansseune
>=========================================================================