Colour Histogram Crashes

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Colour Histogram Crashes

Mark Loeffen
I am running version 1.38p under Vista and executing the command
Analyze/Tools/Color Histogram. This works fine if I use a rectangular ROI.
However, when I use a circular ROI, the command crashes with an array
index out of bounds exception. Can anyone else reproduce this error and
more importantly, is there a fix? Thanking you in advance.
Reply | Threaded
Open this post in threaded view
|

correction of length measurement method suggested a few weeks ago

Michael Cammer
A few weeks ago in a discussion of calculating lengths of long narrow
objects I suggested skeletonizing and the counting the pixels.  This works
fine for straight objects.  However, as the objects curve more and more,
this becomes inaccurate.  We ran a simulation with a random function of 1
+ a random function of zero to 0.414 multiplied by the pixel counts
compared to measurements of objects by the perimeter method and found that
the perimeter measurement is far more accurate.  For the objects we're
measuring, the difference between perimeter and random function multiplied
by pixel counts for the skeletonized objects never exceeds 5% error with
hand traced measurements falling in between.

_________________________________________
Michael Cammer   http://www.aecom.yu.edu/aif/
Reply | Threaded
Open this post in threaded view
|

Re: Colour Histogram Crashes

Gabriel Landini
In reply to this post by Mark Loeffen
On Thursday 26 April 2007 03:34:30 Mark Loeffen wrote:
> I am running version 1.38p under Vista and executing the command
> Analyze/Tools/Color Histogram. This works fine if I use a rectangular ROI.
> However, when I use a circular ROI, the command crashes with an array
> index out of bounds exception. Can anyone else reproduce this error and
> more importantly, is there a fix? Thanking you in advance.

Yes, it crashes under linux too.
Hopefully Dimiter will see this message. (Hi Dimiter!).

Cheers,

G.
Reply | Threaded
Open this post in threaded view
|

Re: Colour Histogram Crashes

Dimiter Prodanov
In reply to this post by Mark Loeffen
Hi, I reproduced the problem (XP home edition).
I still cannot figure out why it goes wrong.
Hopefully tomorrow you'll have a fix
Dimiter

IMAGEJ automatic digest system wrote:

>
> Date:    Thu, 26 Apr 2007 08:26:25 +0100
> From:    Gabriel Landini <[hidden email]>
> Subject: Re: Colour Histogram Crashes
>
> On Thursday 26 April 2007 03:34:30 Mark Loeffen wrote:
>  
>> I am running version 1.38p under Vista and executing the command
>> Analyze/Tools/Color Histogram. This works fine if I use a rectangular ROI.
>> However, when I use a circular ROI, the command crashes with an array
>> index out of bounds exception. Can anyone else reproduce this error and
>> more importantly, is there a fix? Thanking you in advance.
>>    
>
> Yes, it crashes under linux too.
> Hopefully Dimiter will see this message. (Hi Dimiter!).
>
> Cheers,
>
> G.
>
> ------------------------------
>
> D
Reply | Threaded
Open this post in threaded view
|

Re: Colour Histogram Crashes

Dimiter Prodanov
In reply to this post by Mark Loeffen
Dear All,

I fixed this bug. It was caused by wrong handling of the ROI mask. The
plugin
was update on the web site
Cheers

Dimiter Prodanov