perception

Using perceptually uniform colormaps in Mayavi volumetric visualization

懵懂的女人 提交于 2020-01-23 12:47:11
问题 AFAIK Mayavi does not come with any perceptually uniform colormaps. I tried naively to just pass it one of Matplotlib's colormaps but it failed: from mayavi import mlab import multiprocessing import matplotlib.pyplot as plt plasma = plt.get_cmap('plasma') ... mlab.pipeline.volume(..., colormap=plasma) TraitError: Cannot set the undefined 'colormap' attribute of a 'VolumeFactory' object. Edit: I found a guide to convert Matplotlib colormaps to Mayavi colormaps. However, it unfortunately doesn

Perceptual Hash Algorithms in Python or PHP? [closed]

六眼飞鱼酱① 提交于 2019-12-21 05:13:33
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 7 years ago . I've been exposed via StackOverflow to pHash, a C++ perceptual hash library for audio, video, images, and text fingerprinting -

What is the shortest perceivable application response delay?

那年仲夏 提交于 2019-12-17 07:05:38
问题 A delay will always occur between a user action and an application response. It is well known that the lower the response delay, the greater the feeling of the application responding instantaneously. It is also commonly known that a delay of up to 100ms is generally not perceivable. But what about a delay of 110ms? What is the shortest application response delay that can be perceived? I'm interested in any solid evidence, general thoughts and opinions. 回答1: What I remember learning was that

Perceptual Hash Algorithms in Python or PHP? [closed]

安稳与你 提交于 2019-12-03 16:13:17
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 7 years ago . I've been exposed via StackOverflow to pHash , a C++ perceptual hash library for audio, video, images, and text fingerprinting - recently with preliminary bindings for PHP, C# and Java. I'm interested in studying these algorithms and I'm

How to generate n different colors for any natural number n? [duplicate]

≡放荡痞女 提交于 2019-11-29 19:37:40
This question already has an answer here: How to automatically generate N “distinct” colors? 13 answers Say n = 100; How do I generate 100 visually distinct colors? Is this mathematically possible? 100 is a lot of colours, but you might be able to do it by distributing them as sparsely as possible in the HSB or HSL space; doing it in RGB is probably difficult. For example, you might decide to use 10 different hues, 4 different saturation levels, and 3 different brightness settings, that would give you up to 120 colours. You'll need to pick the saturation and brightness values carefully; human

How to generate n different colors for any natural number n? [duplicate]

天涯浪子 提交于 2019-11-28 15:19:18
问题 This question already has answers here : How to automatically generate N “distinct” colors? (13 answers) Closed 4 years ago . Say n = 100; How do I generate 100 visually distinct colors? Is this mathematically possible? 回答1: 100 is a lot of colours, but you might be able to do it by distributing them as sparsely as possible in the HSB or HSL space; doing it in RGB is probably difficult. For example, you might decide to use 10 different hues, 4 different saturation levels, and 3 different

What is the shortest perceivable application response delay?

Deadly 提交于 2019-11-27 02:55:51
A delay will always occur between a user action and an application response. It is well known that the lower the response delay, the greater the feeling of the application responding instantaneously. It is also commonly known that a delay of up to 100ms is generally not perceivable. But what about a delay of 110ms? What is the shortest application response delay that can be perceived? I'm interested in any solid evidence, general thoughts and opinions. What I remember learning was that any latency of more than 1/10th of a second (100ms) for the appearance of letters after typing them begins to