由买买提看人间百态

topics

全部话题 - 话题: histogram
1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)
a*******e
发帖数: 3021
1
周末照了一批照片,发现通通低爆了,大约1-2个stop不等
拍之前也看了histogram,但是一直没弄明白怎么从histogram上来判断是不是曝光正确
?我所明白的目前就局限于曝光别让histogram溢出而已,但是在不溢出的前提下有很
大的余地过爆或者不足的。
下面给个例子,第一个是拍照的曝光,没溢出
第二个是lr里面加了0.3档,也没溢出,似乎曝光看着比较舒服
第三个是加了0.5档,即将要溢出,似乎曝光也看着不错
从这三个的histogram来判断,哪个应该是正确曝光阿?
谢谢
J*********n
发帖数: 370
2
来自主题: JobHunting版 - histogram问题
http://blog.csdn.net/linulysses/article/details/5594141
这里有对largest rectangle under histogram, maximal subsequence和largest
submatrix几类问题的总结,大家可以看看。但是其中largest rectangle under
histogram的O(n)算法我不太理解其正确性。
比如我有这样一个histogram {2,10, 15, 7, 9, 8, 3},按照其中的代码
i operation stack max u v
[] 0 0 0
1 push 2 [2] 0 0 0
2 push 10 ... 阅读全帖
w**g
发帖数: 8
3
有如下两列数据:
3 2
2 4
9 6
1 8
6 10
第一列为原始数据, 第二为bin。Excel Analysis tools中Histogram可以用来计算第
一列数据的频率(以第二列为bin). 但是Histogram 不能自动执行。
我的问题是:怎样在第三列用Excel function计算出相应bin的频率。我用如下
function但其结果与Histogram所得结果不一样
A3=(countif($A$1:$A$5,"<"&B2)-countif($A$1:$A$5,"<="&B1))/count($A$1:$A$5)。
不知错在那?或有更好的function? Thanks much!
j********r
发帖数: 453
4
来自主题: JobHunting版 - 问个largest rectangle in histogram的问题
受前面一帖影响,看了下largest rectangle in histogram。divide and conquer的方
法很好理解,也很好code。但是linear的那个利用的stack的方法,主要思想是依次拿
array中的数与stack的top比较。但还是有些不太明白的地方,主要是如果histogram是
个倒序的,处理起来,貌似不对,例如,6,5,4,3,2,1。哪位大牛给讲讲,感激不尽
b*********h
发帖数: 103
5
来自主题: JobHunting版 - Maximal Rectangle O(mn) 解法 非 histogram
看讨论里 O(mn) 的解法都转化成了 histogram 下的最大矩形面积
其实如果读过《浅谈用极大化思想解决最大子矩形问题》这篇文章 里面介绍了一种悬
线法的 DP 时间复杂度是 O(mn) 的 原文图文讲解很好 实现起来也比 histogram 那个
容易一些
class Solution {
public:
int maximalRectangle(vector > &matrix) {
if (matrix.empty()) {
return 0;
}
int n = matrix[0].size();
vector H(n);
vector L(n);
vector R(n, n);
int ret = 0;
for (int i = 0; i < matrix.size(); ++i) {
int left = 0, right = n... 阅读全帖
e********0
发帖数: 12
6
On the Tools menu, click Data Analysis.
In the Analysis Tools box, click Histogram, and then click OK.
Under Input in the Input Range box, enter the cell reference for the range
of data you want to analyze.
Under Input in the Bin Range box, enter the cell reference to a range that
contains an optional set of boundary values that define bin ranges.
Note If you omit the bin range, the Histogram tool creates a set of evenly
distributed bins between the data's minimum and maximum values. However,
b
i*****e
发帖数: 159
7
来自主题: Computation版 - [转载] 问一个画histogram的问题
【 以下文字转载自 Statistics 讨论区,原文如下 】
发信人: iamfine (iamfine), 信区: Statistics
标 题: 问一个画histogram的问题
发信站: Unknown Space - 未名空间 (Tue Apr 20 17:12:10 2004) WWW-POST
用matlab可以在一个图里画多个sample的histogram吗?(用同一个x,y坐标轴)
其他软件可以吗?
i*****e
发帖数: 159
8
来自主题: Computation版 - [转载] 问一个画histogram的问题
but how to distinguish different samples?
your way made the histograms mixed. Is there anyway to set the color or other
visual properties of histogram? the only parameters in command hist() is about
# of bins or center of bins? correct?

j***3
发帖数: 142
9
【 以下文字转载自 Mathematics 讨论区 】
发信人: j1123 (2134), 信区: Mathematics
标 题: 请问描述histogram形状特性的参数是什么
发信站: BBS 未名空间站 (Sat Nov 14 15:48:42 2009, 美东)
不用人眼来判断,而是用参数来描述histogram形状特性,
比如说peak的数量,高底等等
谢谢
s*****n
发帖数: 2174
10
histogram 本身就是一种exploratory methods, 没什么量化的概念.
你所说的peak高低, 数量, 那些不是用来描述histogram的, 而是用来描述其背后所代
表的pdf(或离散情况下的pmf).
S******y
发帖数: 1123
11
If you run the following code, you will see the disagreement between PROC
FREQ results and PROC UNIVARIATE (histogram) results on the SAME data.
On uniform data, PROC UNIVARIATE (histogram) generates two-level values --
Why??
Thanks.
w*******9
发帖数: 1433
12
来自主题: Statistics版 - R-histogram 求助
最近做个小问题,花了大把时间解决了主要矛盾。我觉得问题已经解决了,无奈内行看
门道,外行看热闹。外行的老板非得把个histogram弄成附图中的那样。倒来倒去一个
不会。特来求助大家。包子答谢。
1)整个histogram加个框。
2)在median和99-th percentile加个标示。
3)最变态的是,y坐标要是每个小bar的relative frequency。hist()里都是“单位长
度...".
r**m
发帖数: 163
13
http://www.informatik.uni-ulm.de/acm/Locals/2003/html/judge.html
里面最后一道题:largest rectangle in histogram
z*******y
发帖数: 578
w****o
发帖数: 2260
15
到底最大长方形in histogram 的题
和直方图下雨的题
是一回事吗?还是两个完全不同的题?
看了版上贴出的例子,只是给了一个一维的数组,到底这个数组代表了什么?
我觉得要求盛水的多少,是要求一个容积(volume),是要有三个参数:长宽高。
我觉得一个一维的数组,最多提供了两个信息,把index当成横坐标?把数组里的值当成
纵坐标?
可是一个数组里提供的信息,哪些对应的是长?宽?高?
我觉得做题首先要把物理的东西给弄通。谁能给形象的描述一下?
到底"直方图下雨"这个题的确切的定义是什么?
s*********s
发帖数: 140
16
来自主题: JobHunting版 - largest rectangle in histogram
我看到的一种解法是用stack存短的bar,而不是存边界。http://tech-queries.blogspot.com/2011/03/maximum-area-rectangle-in-histogram.html
v***n
发帖数: 562
17
来自主题: JobHunting版 - 求Largest Rectangle in Histogram的DP解法
看到有人提到说DP解法,但是没有想出来。
我看到O(N)的和Divid And Conquer解法
http://www.geeksforgeeks.org/largest-rectangle-under-histogram/
http://www.geeksforgeeks.org/largest-rectangular-area-in-a-hist
mw
发帖数: 525
18
来自主题: JobHunting版 - 怎么样算moving histogram?
今天面试的时候被问到的,以前从没看到过这个题
一个stream,都是这样的pair
要求算最近五分钟之内的stream里面的integer的 histogram
我提了个很笨的,建一个
std::map > ,然后不停的去删那些过期的
这个有什么巧算法吗?
多谢了
a********t
发帖数: 38
19
征求一人可用excel做一份统计资料并绘制histogram。数据不大。简单。费用面谈。
电话: 626-497-8804
x*******i
发帖数: 623
20
把histogram最右边那些空的去掉,在PS里可以在curve或level里都可以调,LR不大清
楚了。
a*******e
发帖数: 3021
21
你的意思是不是说,当片子里有白色的东西的时候就应该让Histogram填充满整个区间
?意思就是曝光让白色达到最亮的程度?
a*******e
发帖数: 3021
22
不接近两边好办阿
但是还有个你想让你的histogram跨多大的问题,或者说离2边多远才好?
一个照片总有个最佳曝光值的
a*******e
发帖数: 3021
23
可能我没说清楚,我关心的是焦点的柱子的曝光
单从histogram里能有办法知道那里的曝光是否准确吗?
G********d
发帖数: 10250
24
来自主题: PhotoGear版 - histogram怎么看?
什么样的histogram算是接近完美?
g*****n
发帖数: 21539
25
来自主题: PhotoGear版 - histogram怎么看?
google luminos landscape histogram
l*****0
发帖数: 299
26
Contrast limited adaptive histogram equalization有什么缺点吗? 处理后的图像
局部都很清晰,不知哪位高人知道CLAHE不适用的例子?
g*********s
发帖数: 1782
27
【 以下文字转载自 JobHunting 讨论区 】
发信人: gandjmitbbs (Nothing), 信区: JobHunting
标 题: O(NlogN) largest rectangle in histogram
发信站: BBS 未名空间站 (Sun Dec 12 18:52:53 2010, 美东)
I'm not talking about the O(N) dp solution, but the O(NlogN) one based on
the order-statistic tree here:
http://blog.csdn.net/arbuckle/archive/2006/05/06/710988.aspx
l*****0
发帖数: 299
28
Contrast limited adaptive histogram equalization有什么缺点吗? 处理后的图像
局部都很清晰,不知哪位高人知道CLAHE不适用的例子?
l*****0
发帖数: 299
29
Contrast limited adaptive histogram equalization有什么缺点吗? 处理后的图像
局部都很清晰,听说CLANE也会有limitation和artifacts. 不知哪位高人知道CLAHE不
适用的例子?
l*****0
发帖数: 299
30
Contrast limited adaptive histogram equalization有什么缺点吗? 处理后的图像
局部都很清晰,不知哪位高人知道CLAHE不适用的例子?
b*******f
发帖数: 75
31
新版本的 office 里面的 excel 产生的 histogram 还是很好看的,有办法输出为 eps
文件么? 找了半天没有找到阿。。
谢谢。
j***3
发帖数: 142
32
不用人眼来判断,而是用参数来描述histogram形状特性,
比如说peak的数量,高底等等
谢谢
o*******6
发帖数: 6113
33
来自主题: Quant版 - S-plus 画histogram如何加边框?
想画一个带边框的histogram。用s-plus中的hist语句,画出来的图都是没有边框的。
怎样能加上边框呢?
h******e
发帖数: 1791
34
要做linear regression model,从histogram和boxplot里能看出什么有用的信息呀?
谢谢。
l*****k
发帖数: 587
35
来自主题: Statistics版 - histogram in R
newbie question:
I read in a dataframe using R
some characteristics are related to sample
some characteristics are related patient, since patients have multiple
samples taken, patient_ID column has duplicates.
I wonder if there is an easy way to plot certain characteristics by
patient_ids, using histogram...
e*n
发帖数: 1511
36
需要一个参照的histogram然后作比较才有意义。
j***3
发帖数: 142
37
来自主题: Statistics版 - [R] R plot histogram question about breaks
When plotting histogram in R, how exactly R is using breaks? can someone
help me if I understand correctly?
e.g.
breaks=c(0,1,2,3)
default is right= TURE, means the following three bins:
(0,1],(1,2],(2,3]
or
???
so if the entries is 0, they will not be counted?
if I want to include the 0 class in the first bin, I use right= FALSE, but
then the 3 is not included?
is there some way I can set a bin as just one point, e.g. 0 ?
thanks!
c**r
发帖数: 108
38
在对核磁共振数据做分析时碰到的一个问题。我没有好的解决方法,特来向各位请教。
问题:给定如图的三个histogram,如何描述其形状?如何描述其分布?还有如何检验
其分布是一致
的?
我现在的解答是:
(1)形状:bell-shaped,short tail
(2)分布:bell-shaped,short tail
(3)检验:直接比较median(mean不太实用),方差,2/sigma outlier的数量。由于这
几个量都非
常接近,结论为分布一致。
谢谢解答。
l*****0
发帖数: 299
39
Contrast limited adaptive histogram equalization有什么缺点吗? 处理后的图像
局部都很清晰,听说CLANE也会有limitation和artifacts. 不知哪位高人知道CLAHE不
适用的例子?
t******q
发帖数: 117
40
【 以下文字转载自 EE 讨论区,原文如下 】
发信人: thomaswq (pighead play linux, 无情, 清恰是风), 信区: EE
标 题: Try this method Re: I tried, it didn't work Re: 关于histogram
发信站: The unknown SPACE (Thu Mar 14 13:46:47 2002) WWW-POST
1
1 ^ 1
1 ^ 1
1 1 ^ 1
1 ^ 1 1 ^ 1
1 1 ^ 1 1 ^ 1
1 1 1 ^ @ ^ 1 1
1 1 ^ ^ ^
h*****y
发帖数: 218
41
来自主题: JobHunting版 - 这个histgram的最大面积问题
在网上发现这个最大直方图求面积的题目的解答,有一个地方没看明白
http://www.sureinterview.com/shwqst/1117001
下面这个代码的stack为什么有一个get的方法?
if (prev.height > stk.get(stk.size() - 2).height) {
======================================================================
public long getMaxArea(int[] histogram) {
long maxArea = 0;
if (histogram == null || histogram.length == 0)
return maxArea;
Stack stk = new Stack();
stk.push(new Item(Integer.MIN_VALUE, -1));
for (int i = 0; i <... 阅读全帖
d*******u
发帖数: 186
42
来自主题: JobHunting版 - Question about Leetcode: Maximum rectangle
Hello,
The following code can pass the Leetcode test, if it ran separately.
But it can not pass the Leetcode online. Any problem? thanks.
class Solution {
public:
int largestAreaunderHistogramv(vector histogram, int size)
{
stack histindexlessthan;
int *area = new int[size];

int left = -1;
//get Li
for(int i=0; i {
while(!histindexlessthan.empty())
{
if(histogram[i] <= histogram[histindexlessthan.top()])
... 阅读全帖
k**********g
发帖数: 989
43
来自主题: CS版 - 请教一个好的算法

I can think of a two-pass approach.
First pass, Find the digits that do not have enough ones (i.e. bit positions
for which less than 50 inputs have a value of one in that bit position).
This first step is optional - even if you skip this step, you still only
need to accumulate ( 30 * 29 / 2 ) = 435 histogram bins.
// initialize
foreach bitIndex
accum [ bitIndex] = 0
// accumulate
foreach inputIndex
foreach bitIndex
accum [ bitIndex ] += input [ inputIndex ] . bit [ bitIndex ]
// Second ... 阅读全帖
e**********i
发帖数: 108
44
来自主题: Biology版 - 用过flowjo的同学看过来
非常感谢版上兄弟分享这个软件,的确很好用。现有一个问题,不知道有没有其他同学
也碰到过。 就是得到histogram以后,选择fill histogram,可以看到histogram填充
了所选的颜色。可是当我点右键,选择copy picture,paste到coreldraw或者
photoshop里头却是unfilled的histogram,不知道是原软件的bug还是破解的bug,再或
者就是我操作不对。如果有同学知道怎么回事,或者知道正确的export filled
histogram的方法,请指点一下。
p****l
发帖数: 3483
45
刚学,请大家不要笑话。这个我完全不懂,
Compare the dotplot to a histogram of the data. (Select all that apply.)
a:Dotplots show the frequency of individual data values.
b:The raw data can be retrieved from the dotplot, but not the histogram.
c:The dotplot and histogram both show a greater density from 280 to 340.
d:Histograms show the frequency of individual data values.
E:The raw data can be retrieved from the histogram, but not the dotplot
bd, abcd, acd, acde, bcd, cde, ace, ce, ade, de我选了都不对,实在不知怎么搞
了,网上搜了也没有说明... 阅读全帖
i**********e
发帖数: 1145
46
来自主题: JobHunting版 - 请教一道单链表问题
刚把这题加进 OJ 里了,解法还挺多的。
brute force 的 O(N^2) 应该是过不了 large tests 的。
"Largest Rectangle in Histogram"
Given n non-negative integers representing the histogram's bar height where
the width of each bar is 1, find the area of largest rectangle in the
histogram.
Above is a histogram where width of each bar is 1, given height = [2,1,5,6,2
,3].
The largest rectangle is shown in the shaded area, which has area = 10 unit.
For example,
Given height = [2,1,5,6,2,3],
return 10.
b******g
发帖数: 3616
47
因为在HDR入门阶段,经常会作出很多效果很夸张的照片,摄影刚起步的时候往往会过
分追求后期,会对这些效果很迷恋。但随着技术和审美的变化,会越来越倾向于自然的
照片,这个时候会发现HDR要能做出别人看不出来用了HDR,但又漂亮的照片,才是真正
难的地方。而如果达不到这样的效果,索性就不用HDR了。
关于滤镜基本只用ND和CPL,还没闲钱买GND这种。但是觉得GND之类的一来后期可以模
仿,另外功能也很受限制。我觉得landscape真的主要还是要选好时间地点,后期都是
些锦上添花的东西。光的效果是后期无论也做不出来的。
当场景的dynamic range超出相机的时候,确实单张暴光是没办法的,只有靠blend.但
是其实很多时候dyanmic range并没有真的这么大。你那张树的就很有机会可以单张搞
定。因为太阳不是直射画面的,而是透过树,类似透过云的那种丁达尔现象。这种情况
最好的办法就是拍的时候依赖histogram而不是LCD显示的照片来检查dynamic range并
调整暴光。很多时候LCD显示的照片很烂,但histogram如果显示细节都在,那么回去稍
微拉下曲线就有想要的... 阅读全帖
r***u
发帖数: 1272
48
转这篇文章的目的有二。一是为了正而八经的写些单反的扫盲给最近一大群朋友开始玩
摄影,二是实在现在入门教材有些太扯淡,便用我的思维来介绍一下摄影。同时每一部
分都有些我认为能帮助的练习提示,大家轻拍。
作为一个扫盲课程,大概所会提到的内容如下:
1.光圈,快门,ISO,白平衡 (光圈优先,快门优先,全手动模式)
2.点测光,区域测光,逆光补偿
3.半按快门的故事,对焦模式的选择
4.什么是APS画幅,镜头基本常识,如何看Histogram(直方图),如何分析EXIF
5*.入门构图技巧
本文中的所有练习,请忽略画面色彩,建议使用黑白色彩模式拍摄。
一、无论如何,在上手照相机前,还是从最基本的开始——光圈,快门,ISO,白平衡
无论怎么简化或者通俗的去讲,作为记录光影的技术,都无法避免去讲到光。其中最重
要的就是曝光铁三角——ISO,光圈,快门。
那么先从ISO开始讲:
ISO通俗理解就是感光度,或者更简单来说就是对光的敏感度,也就是说ISO越高,只需
要越短时间就能正确曝光。听起来很逆天,嗯,不过相应的代价也很明显。(Photos
from dpreview.com)

... 阅读全帖
j***n
发帖数: 301
49
来自主题: JobHunting版 - 总结一道题
有道题目最近频繁出现,特地总结一下常规解法以及它的变体。有个经典变体我还没看
到一个很经典的答案,希望有人补上,呵呵。
1. The largest rectangle under a histogram
http://www.informatik.uni-ulm.de/acm/Locals/2003/html/judge.html
Given: An integer array represents a histogram
Goal: Find the largest rectangle under the histogram.
Key observation: 输入为一个整数数组。如果某元素比它两边的邻居都小(比如Ai),
那么高度大于Ai的矩阵要么在该元素左边,要么在该元素右边,不可能穿过Ai。利用这
个性质,想办法遍历所有的矩形。
Complexity O(N) where N is the size of the given array.
2. Maximum subarray with all 1’s. (Generalization of problem 1)
http:
n******n
发帖数: 49
50
来自主题: JobHunting版 - G面经
在想这题的时候 觉得它的思路跟largest rectangle under histogram的stack解法很
像。只是现在是栈顶元素比当前元素小的时候,弹出栈顶元素;之前histogram那题是
栈顶元素比当前元素大的时候,弹出。
原先那道histogram的题参考这个
http://wansishuang.appspot.com/?p=3002
1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)