# Stefan Karlsson

### Halmstad University

Followers: 0 Following: 0

Post doc in Image analysis/computer vision/biometrics Professional Interests: signal processing, biometrics, image analysis, computer vision

**Statistics**

RANK**5.513**

of 294.507

REPUTATION**8**

CONTRIBUTIONS

**2** Questions

**12** Answers

ANSWER ACCEPTANCE **
0.0%
**

VOTES RECEIVED**3**

RANK**244** of 20.119

REPUTATION**5.787**

AVERAGE RATING**4.90**

CONTRIBUTIONS**8** Files

DOWNLOADS **21**

ALL TIME DOWNLOADS**55777**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Feeds**

Submitted

Tutorial and Toolbox on real-time optical flow

Code with visualization and excercises. Camera supported

bijna 4 jaar ago | 6 downloads |

[DEPRECATED] What frustrates you about MATLAB?

I miss the ability to define your own workspace. When doing event driven programming in Matlab, there are 3 ways to share your o...

bijna 8 jaar ago | 0

Submitted

FancyFlowPlayer

Video Player with visualization and interactive reading.

meer dan 8 jaar ago | 3 downloads |

Submitted

Interactive Incompressible Fluids (Karlsson version)

An interactive demo of Navier-Stokes equations for incompressible fluids.

meer dan 8 jaar ago | 1 download |

Global workspace usage for efficiency?

Walters good points above are not an answer to my question. Let me try to give my point of view on this, and then anyone can fee...

meer dan 8 jaar ago | 0

Question

Global workspace usage for efficiency?

*Are there cases when using global variables is the most efficient implementation?* I hate using the global workspace, but I ...

meer dan 8 jaar ago | 2 answers | 0

### 2

answersCan I use PCA effectively on a greyscale image?

... I guess one can also give another piece of advice to anyone who stumbles onto this looking for info on PCA. Read the posts b...

bijna 9 jaar ago | 0

Can I use PCA effectively on a greyscale image?

I think the answer by Walter, while technically correct, confounds a VERY simple topic. Being technically correct here amounts t...

bijna 9 jaar ago | 0

Scale a mask in an image

use imresize. If you use it with interpolation 'nearest', you have your functionality in a single line. If you use another inter...

bijna 9 jaar ago | 1

Submitted

Real time optical flow, and video processing

Real time optical flow, and video processing, with support for camera input in Matlab.

bijna 9 jaar ago | 1 download |

timer and Interruptible=Off button callback priority/preemption?

Sometimes I get into the problem that I am in a function that is not interuptible. An ugly work-around that seems to work (o...

ongeveer 9 jaar ago | 0

Save data X over Y

Poorly asked question. Do you get 2 new X and Y matrices by regular intervals, or is time-dependency something represented by t...

ongeveer 9 jaar ago | 0

Which way is correct of defining function...I am getting two differnt surfaces if I specify same equation differently...?

There are 2 interpretations of your shared code (i.e. two ways i see that you would be able to run it without error). 1. you ...

ongeveer 9 jaar ago | 0

| accepted

GUI figure focus

Seems this is still an issue, here is my solution quick fix: %takes any active uiobject as input, and returns keyboard fo...

meer dan 9 jaar ago | 0

Submitted

Visual Studio Toolbar for mex interface with video tutorial

Seamless interface, VS 2010 and 2012 and Matlab for MEX. Video linked to step you through.

ongeveer 10 jaar ago | 2 downloads |

[DEPRECATED] What frustrates you about MATLAB?

topping the wish-list: 1. A "beep off" that actually works, stops Matlab completely from making the OS beep sound. 2. A sh...

ongeveer 10 jaar ago | 0

Solved

Swap the first and last columns

Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

meer dan 10 jaar ago

Submitted

Optical Flow with Matlabs Computer vision toolbox

optical flow on camera, synthetic video and video files

meer dan 10 jaar ago | 2 downloads |

Solved

Make a checkerboard matrix

Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Example...

meer dan 10 jaar ago

Solved

Find all elements less than 0 or greater than 10 and replace them with NaN

Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

bijna 11 jaar ago

Solved

Triangle Numbers

Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

bijna 11 jaar ago

Solved

Determine if input is odd

Given the input n, return true if n is odd or false if n is even.

bijna 11 jaar ago

Solved

Column Removal

Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; and ...

bijna 11 jaar ago

Solved

Select every other element of a vector

Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

bijna 11 jaar ago

Solved

Find the sum of all the numbers of the input vector

Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

bijna 11 jaar ago

Solved

Make the vector [1 2 3 4 5 6 7 8 9 10]

In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

bijna 11 jaar ago

Solved

Times 2 - START HERE

Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

bijna 11 jaar ago

Submitted

VideoResize

A MUCH faster version of "imresize", specifically for videoprocessing

bijna 11 jaar ago | 1 download |