一、CVPR与图像处理领域的国际会议:
1. Computer Vision, Computer Image Analysis (推荐)
http://iris.usc.edu/Information/Iris-Conferences.html
2. IEEE
http://www.ieee.org/conferences_events/index.html
3. CV会议日历,论文索引
http://www.cvpapers.com/index.html
4. 搜索会议
http://www.wikicfp.com/
5. 其他
http://www.iapr.org/conferences/
http://d3s.mff.cuni.cz/links/conferences/
http://lcd.siva.free.fr/siva-conferences.html
http://www.iasted.org/conferences/
http://www.ijcai.org/index.php
http://people.cs.ubc.ca/~little/links/confs.html
http://www.imagescience.org/
http://pi4.informatik.uni-mannheim.de/mailman/listinfo/SIGMM
(有待补充。。。)
二、 计算机类会议与杂志排名查询
http://core.edu.au/
http://core.edu.au/index.php/categories/conference%20rankings
http://kobus.ca/research/resources/index.html
http://www.ntu.edu.sg/home/assourav/crank.htm
http://www.journal-ranking.com/ranking/web/index.html
------------------------------------------
< 转载请注明:http://blog.csdn.net/icvpr >
/*
不一定互质情况,神牛公式解析链接:http://yzmduncan.iteye.com/blog/1323599
把推导过程翻译成代码即可...
*/
#include<iostream>
#include<cstdio>
#include<cmath>
using namespace std;
typedef long long ll;
ll gcd(ll a,ll b){
if(b==0) return a;
return gcd(b,a%b);
}
ll kzgcd(ll a,ll b,ll&x,ll&y){
if(b==0) {
x=1, y=0;
return a;
}
ll d = kzgcd(b,a%b,x,y);
ll k = y;
y = x - a/b*y;
x = k;
return d;
}
ll inv(ll a,ll b){ /// 求 a 的逆元 整数最小x
ll x,y;
ll k = kzgcd(a,b,x,y);
if(k!=1) return -1;
return (x%b+b)%b;
}
bool merge(ll a1,ll n1,ll&a2,ll&n2){
ll d = gcd(n1,n2);
ll c = a2 - a1;
if(c%d) return false;
ll k = inv(n1/d,n2/d);
ll a,n;
n = n1/d*n2;
a = (n1*k+a1)%(n1*n2/d);
a2 = a;
n2 = n;
return true;
}
ll china_reminder(ll k,ll*a,ll*b){
ll n1=b[1],a1=a[1];
for(ll i=2;i<=k;i++){
ll nn,aa;
nn = b[i], aa = a[i];
if(!merge(a1,n1,aa,nn))
return -1;
n1 = nn;
a1 = aa;
}
return (a1%n1+n1)%n1;
}
int main(){
ll t,a[100],b[100];
while(cin>>t){
for(ll i=1;i<=t;i++)
cin>>a[i]>>b[i];
printf("%lld\n",china_reminder(t,a,b));
}
}效果图:
思路很简单,就是对现有控件进行扩充,在验证时加上一个动画效果,然后使用Popup弹出来
核心是一个用户控件(动画效果)HelpTip:
HelpTip.Xaml代码如下:
<UserControl x:Class="HahaMan.SLTools.Controls.HelpTip"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Width="20" Height="20">
<UserControl.Resources>
<Storyboard x:Name="sbProliferation" RepeatBehavior="Forever">
<DoubleAnimationUsingKeyFrames Storyboard.TargetName="haloFrame" Storyboard.TargetProperty="Width">
<LinearDoubleKeyFrame Value="35" KeyTime="0:0:0.7" />
<LinearDoubleKeyFrame Value="35" KeyTime="0:0:1.5" />
</DoubleAnimationUsingKeyFrames>
<DoubleAnimationUsingKeyFrames Storyboard.TargetName="haloFrame" Storyboard.TargetProperty="Height">
<LinearDoubleKeyFrame Value="35" KeyTime="0:0:0.7" />
<LinearDoubleKeyFrame Value="35" KeyTime="0:0:1.5" />
</DoubleAnimationUsingKeyFrames>
<DoubleAnimationUsingKeyFrames Storyboard.TargetName="haloFrame" Storyboard.TargetProperty="Opacity">
<LinearDoubleKeyFrame Value="0" KeyTime="0:0:0.7" />
<LinearDoubleKeyFrame Value="0" KeyTime="0:0:1.5" />
</DoubleAnimationUsingKeyFrames>
<DoubleAnimationUsingKeyFrames Storyboard.TargetName="haloFrame" Storyboard.TargetProperty="StrokeThickness">
<LinearDoubleKeyFrame Value="1" KeyTime="0:0:0.7" />
<LinearDoubleKeyFrame Value="1" KeyTime="0:0:1.5" />
</DoubleAnimationUsingKeyFrames>
</Storyboard>
<Storyboard x:Name="sbLoaded">
<DoubleAnimation
Storyboard.TargetName="buttonTransform"
Storyboard.TargetProperty="ScaleX"
From="2"
To="1"
Duration="0:0:0.5">
<DoubleAnimation.EasingFunction>
<CubicEase EasingMode="EaseIn"/>
</DoubleAnimation.EasingFunction>
</DoubleAnimation>
<DoubleAnimation
Storyboard.TargetName="buttonTransform"
Storyboard.TargetProperty="ScaleY"
From="2"
To="1"
Duration="0:0:0.5">
<DoubleAnimation.EasingFunction>
<CubicEase EasingMode="EaseIn"/>
</DoubleAnimation.EasingFunction>
</DoubleAnimation>
<DoubleAnimation
Storyboard.TargetName="LayoutRoot"
Storyboard.TargetProperty="Opacity"
To="1"
Duration="0:0:0.5">
<DoubleAnimation.EasingFunction>
<CubicEase EasingMode="EaseIn"/>
</DoubleAnimation.EasingFunction>
</DoubleAnimation>
</Storyboard>
<Storyboard x:Name="sbMsg">
<DoubleAnimation
x:Name="aniOpacityMsgBackground"
Storyboard.TargetName="canvasMessage"
Storyboard.TargetProperty="Opacity"
Duration="0:0:0.2" />
<DoubleAnimation
x:Name="aniOpacityBlackLine"
Storyboard.TargetName="blackLine"
Storyboard.TargetProperty="Opacity"
Duration="0:0:0.2" />
</Storyboard>
</UserControl.Resources>
<Canvas x:Name="LayoutRoot">
<Canvas.RenderTransform>
<ScaleTransform ScaleX="1.0" ScaleY="1.0"/>
</Canvas.RenderTransform>
<TextBlock x:Name="txt1" Text="" Margin="20,-10"/>
<TextBlock x:Name="txt2" Text="" Margin="20,5"/>
<TextBlock x:Name="txt3" Text="" Margin="20,20"/>
<Popup x:Name="popup">
<Canvas x:Name="canvasMessage" Opacity="0">
<Border x:Name="borderMessage" Background="#FFFFFF" BorderBrush="#515151" BorderThickness="1" CornerRadius="5">
<Grid x:Name="helpGrid" Margin="22 4 8 4">
<TextBlock x:Name="tbMessage" FontSize="12" LineStackingStrategy="BlockLineHeight" LineHeight="16" TextWrapping="Wrap" TextAlignment="Left" />
</Grid>
<Border.RenderTransform>
<TranslateTransform x:Name="translate" />
</Border.RenderTransform>
</Border>
<Grid Width="12" Height="12" Canvas.Left="5" Canvas.Top="5">
<Ellipse>
<Ellipse.Fill>
<RadialGradientBrush Center="0.5,0" GradientOrigin="0.5,0">
<GradientStop Color="#FFAA73" Offset="0" />
<GradientStop Color="#FF7012" Offset="0.6" />
<GradientStop Color="#F06405" Offset="1" />
</RadialGradientBrush>
</Ellipse.Fill>
<Ellipse.Effect>
<DropShadowEffect Direction="0" ShadowDepth="0" BlurRadius="5" Opacity="0.5" />
</Ellipse.Effect>
</Ellipse>
</Grid>
</Canvas>
</Popup>
<Canvas x:Name="elementContainer">
<Grid Width="35" Height="35" Canvas.Left="-7" Canvas.Top="-7">
<Ellipse x:Name="haloFrame" Width="12" Height="12" Stroke="#F06405" StrokeThickness="3">
<Ellipse.Effect>
<DropShadowEffect Direction="0" ShadowDepth="0" BlurRadius="2" Opacity="0.2" />
</Ellipse.Effect>
</Ellipse>
</Grid>
<Grid x:Name="ellipse" Width="12" Height="12" Canvas.Left="5" Canvas.Top="5">
<Ellipse>
<Ellipse.Fill>
<RadialGradientBrush Center="0.5,0" GradientOrigin="0.5,0">
<GradientStop Color="#FFAA73" Offset="0" />
<GradientStop Color="#FF7012" Offset="0.6" />
<GradientStop Color="#F06405" Offset="1" />
</RadialGradientBrush>
</Ellipse.Fill>
<Ellipse.Effect>
<DropShadowEffect Direction="0" ShadowDepth="0" BlurRadius="5" Opacity="0.5" />
</Ellipse.Effect>
</Ellipse>
<Grid x:Name="blackLine">
<Rectangle Width="6" Height="2" Fill="#000000" />
<Rectangle Width="2" Height="6" Fill="#000000" />
</Grid>
<Grid.RenderTransform>
<ScaleTransform x:Name="buttonTransform" CenterX="6" CenterY="6" />
</Grid.RenderTransform>
</Grid>
</Canvas>
</Canvas>
</UserControl>
HelpTip.cs代码如下:
namespace HahaMan.SLTools.Controls
{
partial class HelpTip : UserControl
{
private TimeSpan _loadDelay;
[Category("HahaData")]
public Thickness Text1Margin
{
get { return txt1.Margin; }
set { txt1.Margin = value; }
}
[Category("HahaData")]
public Thickness Text2Margin
{
get { return txt2.Margin; }
set { txt2.Margin = value; }
}
[Category("HahaData")]
public Thickness Text3Margin
{
get { return txt3.Margin; }
set { txt3.Margin = value