Cell Counter question

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

Cell Counter question

Jared Beck
Hello all,

We are using the Cell Counter plug-in to count scanned objects for a research project. Without modifying the underlying code, is there a way to change the default color for each counter type? We have many volunteers and would like to standardize the colors to minimize errors during counting and use colors that are more easily visible on a black background. Ideally, we would like to use counter types 1, 2, and 3 but be able to specify the colors associated with these counter types.

Thanks!
Jared


--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: Cell Counter question

Jan Eglinger
Hi Jared,

On 04.05.2015 16:03, Jared Beck wrote:
> We are using the Cell Counter plug-in to count scanned objects for a research project. Without modifying the underlying code, is there a way to change the default color for each counter type?

Unfortunately no, because the colors for type 1 to 8 are hardcoded:

https://github.com/fiji/Cell_Counter/blob/master/src/main/java/CellCntrMarkerVector.java#L69-85

Unless you or someone else find the time to make these adjustable via a
'Settings' button, you have to live with the current behavior.

Best,
Jan



> We have many volunteers and would like to standardize the colors to minimize errors during counting and use colors that are more easily visible on a black background. Ideally, we would like to use counter types 1, 2, and 3 but be able to specify the colors associated with these counter types.
>
> Thanks!
> Jared
>

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: Cell Counter question

ctrueden
Hi Jan,

> Unless you or someone else find the time to make these adjustable via
> a 'Settings' button, you have to live with the current behavior.

Just for fun, I added a basic options dialog for configuring the colors. It
uses the ImageJ2 API.

   https://github.com/fiji/Cell_Counter/pull/1

It only sets the colors of future points that are drawn -- it does not
reset the colors of existing points.

Happy to merge if people think this would be useful. That said, last time
this plugin was discussed on the list, Olivier Burri suggested to use the
multipoint tool instead, which I agree is probably better than this old
Cell Counter plugin; see this thread for details:


http://imagej.1557.x6.nabble.com/How-to-add-more-than-38-counter-types-in-Cell-Counter-plugin-tp5011798p5011841.html

Regards,
Curtis


On Mon, May 4, 2015 at 10:55 AM, Jan Eglinger <[hidden email]>
wrote:

> Hi Jared,
>
> On 04.05.2015 16:03, Jared Beck wrote:
>
>> We are using the Cell Counter plug-in to count scanned objects for a
>> research project. Without modifying the underlying code, is there a way to
>> change the default color for each counter type?
>>
>
> Unfortunately no, because the colors for type 1 to 8 are hardcoded:
>
>
> https://github.com/fiji/Cell_Counter/blob/master/src/main/java/CellCntrMarkerVector.java#L69-85
>
> Unless you or someone else find the time to make these adjustable via a
> 'Settings' button, you have to live with the current behavior.
>
> Best,
> Jan
>
>
>
>
>  We have many volunteers and would like to standardize the colors to
>> minimize errors during counting and use colors that are more easily visible
>> on a black background. Ideally, we would like to use counter types 1, 2,
>> and 3 but be able to specify the colors associated with these counter types.
>>
>> Thanks!
>> Jared
>>
>>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: Cell Counter question

Jan Eglinger
Thanks a lot, Curtis, for this great example of using the Scijava
framework! I definitely find it useful for learning in the first place,
and it is certainly also useful for those interested in changing the
marker colors :)

Jan


On 04.05.15 21:16, Curtis Rueden wrote:

> Hi Jan,
>
>> Unless you or someone else find the time to make these adjustable via
>> a 'Settings' button, you have to live with the current behavior.
>
> Just for fun, I added a basic options dialog for configuring the colors. It
> uses the ImageJ2 API.
>
>     https://github.com/fiji/Cell_Counter/pull/1
>
> It only sets the colors of future points that are drawn -- it does not
> reset the colors of existing points.
>
> Happy to merge if people think this would be useful. That said, last time
> this plugin was discussed on the list, Olivier Burri suggested to use the
> multipoint tool instead, which I agree is probably better than this old
> Cell Counter plugin; see this thread for details:
>
>
> http://imagej.1557.x6.nabble.com/How-to-add-more-than-38-counter-types-in-Cell-Counter-plugin-tp5011798p5011841.html
>
> Regards,
> Curtis
>
>
> On Mon, May 4, 2015 at 10:55 AM, Jan Eglinger <[hidden email]>
> wrote:
>
>> Hi Jared,
>>
>> On 04.05.2015 16:03, Jared Beck wrote:
>>
>>> We are using the Cell Counter plug-in to count scanned objects for a
>>> research project. Without modifying the underlying code, is there a way to
>>> change the default color for each counter type?
>>>
>>
>> Unfortunately no, because the colors for type 1 to 8 are hardcoded:
>>
>>
>> https://github.com/fiji/Cell_Counter/blob/master/src/main/java/CellCntrMarkerVector.java#L69-85
>>
>> Unless you or someone else find the time to make these adjustable via a
>> 'Settings' button, you have to live with the current behavior.
>>
>> Best,
>> Jan
>>
>>
>>
>>
>>   We have many volunteers and would like to standardize the colors to
>>> minimize errors during counting and use colors that are more easily visible
>>> on a black background. Ideally, we would like to use counter types 1, 2,
>>> and 3 but be able to specify the colors associated with these counter types.
>>>
>>> Thanks!
>>> Jared
>>>
>>>
>> --
>> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>>
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html