Anyone know of a hue sort stack?

17 messages Options
Embed this post
Permalink
planix

Anyone know of a hue sort stack?

Reply Threaded More More options
Print post
Permalink
Hi,

I am looking at turning this hue sort test;

http://www.spectralcolor.com/game/huetest_kiosk

into a standalone using runrev. The concept is pretty simple, so I don't think it is programmatically challenging. But, I would be interested in whether anyone has a stack, or knows of a stack, that does some or all (that'd be nice) of the types of actions demonstrated in the hue_test java code.

My interest in this is it's use as a neuropsychological evaluation for acquired achromatosis. I have a patient who reports the symptoms so I will probably use the online test- since getting the Munsell hue sort is not possible in the time frame that I have. But, I would also be interested in using a standalone, or my own web version, to do some research.

cheers

A Campbell
Mark Schonewille-3

Re: Anyone know of a hue sort stack?

Reply Threaded More More options
Print post
Permalink
A Campbell,

You might use the Preucil Hue as described at <http://en.wikipedia.org/wiki/Hue 
 >. This should be easier than the Munsell hue.

Then again, if you want to do exactly the same as the Java applet, all  
you need to do is sort the objects by their respective RGB-values --
unless the actual hue plays a role in your diagnosis.

I did a few things with colour for Color Converter <http://www.color-converter.com 
 > and for a few clients of mine. If you write me off-list, perhaps I  
might be of service.

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer

Download Strõm Flow Chart Software
http://flowproject.economy-x-talk.com

On 5 nov 2009, at 00:54, planix wrote:

>
> Hi,
>
> I am looking at turning this hue sort test;
>
> http://www.spectralcolor.com/game/huetest_kiosk
>
> into a standalone using runrev. The concept is pretty simple, so I  
> don't
> think it is programmatically challenging. But, I would be interested  
> in
> whether anyone has a stack, or knows of a stack, that does some or all
> (that'd be nice) of the types of actions demonstrated in the  
> hue_test java
> code.
>
> My interest in this is it's use as a neuropsychological evaluation for
> acquired achromatosis. I have a patient who reports the symptoms so  
> I will
> probably use the online test- since getting the Munsell hue sort is  
> not
> possible in the time frame that I have. But, I would also be  
> interested in
> using a standalone, or my own web version, to do some research.
>
> cheers
>
> A Campbell

_______________________________________________
use-revolution mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
Jim Sims

Re: Anyone know of a hue sort stack?

Reply Threaded More More options
Print post
Permalink
In reply to this post by planix
Dr. Campbell,

As you state, the programming involved is not terribly complex.  
Perhaps I'd make use of "grab", "mousedown", checking position of  
objects. The scoring math should be easy to apply unless there is  
something not readily evident in the online example.

I'm sure I could easily produce this for you for a minimal fee.

I've worked on neurological testing applications before. I was the  
sole developer for an upper body orthopedic analysis application,  
featuring 15 video guided, standard medical tests (Apley's,  
Finkelstein's, Phalen's, etc.). The application used the results of  
the tests to assign preventative and rehabilitation exercises out of a  
set of 100 various video guided exercises.

A very short reference on my experience is at:  http://ezpzapps.com/sims/

I'm currently developing an application for a film director in the UK  
but am seeking additional work. Diverse portfolios and interests are  
good to have.

I'm interested in long term business relationships with people who  
present interesting ideas that need to be developed and price my work  
accordingly.

Please get in touch if you would like to discuss this or other projects.


Regards,

sims
-----------

On Nov 5, 2009, at 12:54 AM, planix wrote:

>
> Hi,
>
> I am looking at turning this hue sort test;
>
> http://www.spectralcolor.com/game/huetest_kiosk
>
> into a standalone using runrev. The concept is pretty simple, so I  
> don't
> think it is programmatically challenging. But, I would be interested  
> in
> whether anyone has a stack, or knows of a stack, that does some or all
> (that'd be nice) of the types of actions demonstrated in the  
> hue_test java
> code.
>
> My interest in this is it's use as a neuropsychological evaluation for
> acquired achromatosis. I have a patient who reports the symptoms so  
> I will
> probably use the online test- since getting the Munsell hue sort is  
> not
> possible in the time frame that I have. But, I would also be  
> interested in
> using a standalone, or my own web version, to do some research.
>
> cheers
>
> A Campbell
_______________________________________________
use-revolution mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
planix

Re: Anyone know of a hue sort stack?

Reply Threaded More More options
Print post
Permalink
In reply to this post by Mark Schonewille-3
Mark Schonewille-3 wrote:
Then again, if you want to do exactly the same as the Java applet, all  
you need to do is sort the objects by their respective RGB-values --
unless the actual hue plays a role in your diagnosis.
Thanks Mark,

that's pretty much what I need to do- just provide colour objects to be drag/dropped by the user. The main thing will probably be determining how accurate the user's sort is. As the hue is determined by the RGB values, I guess I just need calculate how far away an individual object is from it's 'true' location by subtracting the object's RGB from the location's expected RGB- something like that. I am thinking to score using a single unit indicator of how many spots away from the 'true' location the object is placed. I'll just need to think about how to find out how many spots away it is given that hue varies across the 3 RGB values.

cheers

AC
planix

Re: Anyone know of a hue sort stack?

Reply Threaded More More options
Print post
Permalink
In reply to this post by Jim Sims

Jim Sims wrote:
I'm sure I could easily produce this for you for a minimal fee.
Thanks for this. I'd like to give it a go, but will keep you in mind.

AC
Scott Rossi

Re: Anyone know of a hue sort stack?

Reply Threaded More More options
Print post
Permalink
In reply to this post by planix
Recently, planix wrote:

> The main thing will probably be determining how
> accurate the user's sort is. As the hue is determined by the RGB values, I
> guess I just need calculate how far away an individual object is from it's
> 'true' location by subtracting the object's RGB from the location's expected
> RGB- something like that. I am thinking to score using a single unit
> indicator of how many spots away from the 'true' location the object is
> placed. I'll just need to think about how to find out how many spots away it
> is given that hue varies across the 3 RGB values.

Perhaps you're overthinking this?  If you create a gradient and divide it
into 20 slices or whatever number you need, you simply need to number the
slices from 1 to 20 and evaluate the slice order at runtime.  The RGB values
are essentially unnecessary.  I may be missing something in your
description, but it seems the app can be built quite simply.

(BTW, I got 0 wrong on the Web test -- does this mean I'm sane or on the
edge?)

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design



_______________________________________________
use-revolution mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
planix

Re: Anyone know of a hue sort stack?

Reply Threaded More More options
Print post
Permalink
Scott Rossi wrote:
Perhaps you're overthinking this?  If you create a gradient and divide it
into 20 slices or whatever number you need, you simply need to number the
slices from 1 to 20 and evaluate the slice order at runtime.  The RGB values
are essentially unnecessary.  I may be missing something in your
description, but it seems the app can be built quite simply.
You're right. I don't change the RBG values once they're set. I can then just assign an 'identity' to each colour patch (probably a button). Randomly distribute them at test start up and then record which position each one ends up in.

BTW, I am wondering how I could set the 'true' location. I am thinking of having a row of button/patches which can be shifted on the horizontal axis only. Each button will detect when another button is over it and shift over to make room (a la the java script). But, do I need a hidden grid into which each patch falls? At score time the patch's number is subtracted from the grid number to accumulate to a score.

No! More overthinking. Essentially this is an ordered list. doh! I just need to check whether 1 is in position 1, 2 in postion 2 and so forth. If any patch is out of position it will be out by it's identified location - the current position in the list. All can be done with properties of the patch/button

(BTW, I got 0 wrong on the Web test -- does this mean I'm sane or on the
edge?)
You have perfect colour vision. Good indication that your rods and cones are working as expected as is your occipital lobe. Want to try a memory test too? :-)

The help this list gives is great. Thanks for listening to the whirring of my rusty cogs.

AC
Richard Miller-5

Creating a real-time magnifier

Reply Threaded More More options
Print post
Permalink
In reply to this post by planix
Any thoughts on how to magnify (by 2x) a 100x100 section of the screen
in real time? I can't see how export snapshot could be used for this....
not in real time. Perhaps it involves manipulating screen/picture data,
but I don't have the experience in doing this. I'd like the user to be
able to move a 100x100 rectangle over the screen and have that section
of the screen magnified to double and displayed in a rectangle in a corner.

Thanks for any suggestions.
Richard Miller
_______________________________________________
use-revolution mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
Richmond Mathewson-2

Re: Creating a real-time magnifier

Reply Threaded More More options
Print post
Permalink
Richard Miller wrote:

> Any thoughts on how to magnify (by 2x) a 100x100 section of the screen
> in real time? I can't see how export snapshot could be used for
> this.... not in real time. Perhaps it involves manipulating
> screen/picture data, but I don't have the experience in doing this.
> I'd like the user to be able to move a 100x100 rectangle over the
> screen and have that section of the screen magnified to double and
> displayed in a rectangle in a corner.
>
> Thanks for any suggestions.
> Richard Miller
> _______________________________________________
> use-revolution mailing list
> [hidden email]
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
As far as I recall, this was done in Hypercard . . .
_______________________________________________
use-revolution mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
Richmond Mathewson-2

Re: Creating a real-time magnifier

Reply Threaded More More options
Print post
Permalink
In reply to this post by Richard Miller-5
Richard Miller wrote:

> Any thoughts on how to magnify (by 2x) a 100x100 section of the screen
> in real time? I can't see how export snapshot could be used for
> this.... not in real time. Perhaps it involves manipulating
> screen/picture data, but I don't have the experience in doing this.
> I'd like the user to be able to move a 100x100 rectangle over the
> screen and have that section of the screen magnified to double and
> displayed in a rectangle in a corner.
>
> Thanks for any suggestions.
> Richard Miller
> _______________________________________________
> use-revolution mailing list
> [hidden email]
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
I hope you can do something with this: I found it lurking in an old
Metacard folder
on my machine:

http://mathewson.110mb.com/FILEZ/Magnify.rev.zip

sincerely, Richmond.
_______________________________________________
use-revolution mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
Richard Miller-5

Re: Creating a real-time magnifier

Reply Threaded More More options
Print post
Permalink
Richmond,

Thanks for sending the stack, but I couldn't find much of anything in
it. Looks like it lost some pieces.

Richard


Richmond Mathewson wrote:

> Richard Miller wrote:
>> Any thoughts on how to magnify (by 2x) a 100x100 section of the
>> screen in real time? I can't see how export snapshot could be used
>> for this.... not in real time. Perhaps it involves manipulating
>> screen/picture data, but I don't have the experience in doing this.
>> I'd like the user to be able to move a 100x100 rectangle over the
>> screen and have that section of the screen magnified to double and
>> displayed in a rectangle in a corner.
>>
>> Thanks for any suggestions.
>> Richard Miller
>> _______________________________________________
>> use-revolution mailing list
>> [hidden email]
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-revolution
>>
> I hope you can do something with this: I found it lurking in an old
> Metacard folder
> on my machine:
>
> http://mathewson.110mb.com/FILEZ/Magnify.rev.zip
>
> sincerely, Richmond.
> _______________________________________________
> use-revolution mailing list
> [hidden email]
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>

_______________________________________________
use-revolution mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
Thierry D.

Re: Creating a real-time magnifier

Reply Threaded More More options
Print post
Permalink

>> Richard Miller wrote:
>>> Any thoughts on how to magnify (by 2x) a 100x100 section of the  
>>> screen in real time?

Hi Richard,


May be you'll find this one interesting :

http://www.sosmartsoftware.com/?r=telecharger&l=fr&arch=tutorials/ 
Magnifying%20images%20only.rev.zip

HTH

Thierry

_______________________________________________
use-revolution mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
René Micout-2

Re: Creating a real-time magnifier

Reply Threaded More More options
Print post
Permalink
Hello,
There is a "Magnify glass" into Rev Guides Picker from http://
www.sosmartsoftware.com
de notre regretté Eric Chatonet
Bons souvenirs de Paris
René

Le 5 nov. 09 à 13:32, Thierry D. a écrit :

>
>>> Richard Miller wrote:
>>>> Any thoughts on how to magnify (by 2x) a 100x100 section of the  
>>>> screen in real time?
>
> Hi Richard,
>
>
> May be you'll find this one interesting :
>
> http://www.sosmartsoftware.com/?r=telecharger&l=fr&arch=tutorials/ 
> Magnifying%20images%20only.rev.zip
>
> HTH
>
> Thierry
>
> _______________________________________________
> use-revolution mailing list
> [hidden email]
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution

_______________________________________________
use-revolution mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
Richard Miller-5

Re: Creating a real-time magnifier

Reply Threaded More More options
Print post
Permalink
In reply to this post by Thierry D.
Hi Thierry,

That'll do it. It uses export snapshot in a mousemove loop, and it
actually works quite fast enough. Rev's excellent performance speed has
surprised me again.

Thanks.
Richard



Thierry D. wrote:

>
>>> Richard Miller wrote:
>>>> Any thoughts on how to magnify (by 2x) a 100x100 section of the
>>>> screen in real time?
>
> Hi Richard,
>
>
> May be you'll find this one interesting :
>
> http://www.sosmartsoftware.com/?r=telecharger&l=fr&arch=tutorials/Magnifying%20images%20only.rev.zip 
>
>
> HTH
>
> Thierry
>
> _______________________________________________
> use-revolution mailing list
> [hidden email]
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>

_______________________________________________
use-revolution mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
J. Landman Gay

Re: Creating a real-time magnifier

Reply Threaded More More options
Print post
Permalink
In reply to this post by Thierry D.
Thierry D. wrote:
>
>>> Richard Miller wrote:
>>>> Any thoughts on how to magnify (by 2x) a 100x100 section of the
>>>> screen in real time?

I got curious about this so gave it a try. I was able to do it in 18
lines of script without the use of any snapshots. The basic idea is just
to scroll a group containing a resized image so that its scroll
corresponds to the location the mouse is over in the original image. I
was surprised at how simple it is and I think it's easier on the engine
than taking repeated snapshots at close intervals.

I uploaded to Rev Online. Look for "Magnifying an image" under my name.

--
Jacqueline Landman Gay         |     [hidden email]
HyperActive Software           |     http://www.hyperactivesw.com
_______________________________________________
use-revolution mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
dunbarx

Re: Creating a real-time magnifier

Reply Threaded More More options
Print post
Permalink
In reply to this post by Richard Miller-5
Jacques.

This blatant blowing of your own horn has to stop. It was only 16 lines.

Craig
_______________________________________________
use-revolution mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
J. Landman Gay

Re: Creating a real-time magnifier

Reply Threaded More More options
Print post
Permalink
[hidden email] wrote:
> Jacques.
>
> This blatant blowing of your own horn has to stop. It was only 16 lines.

And if we don't count the "on" and "end" statements, it's only 12 lines. :)

--
Jacqueline Landman Gay         |     [hidden email]
HyperActive Software           |     http://www.hyperactivesw.com
_______________________________________________
use-revolution mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution