Matlab

## Image stitching use Harris corner detector in matlab

I want to create a panorama from multiple photos on matlab image. I'm find out about the "Image Stitching". Hope you give me detailed instructions. .

## regionprops vs. findContours

Is there a way to get the same results for cDist=regionprops(bwImg, 'Area'); and openCV's findContours? Here is what I have tried so far: dst.convertTo(dst,CV_8U); ...

## How to read hdf data in Octave

I am doing project in remote sensing. Working with HDF on matlab is very easy. But i want to implement this with grid computing (Ubuntu). So i am trying with octave. I have HDF4 files of chlorophyll. ...

## Matlab and Mathematica : Finding the density function

The pdf of a standard Gamma distribution is $f(x) = \frac{x^{\gamma-1} \exp(-x)}{\Gamma(\gamma)}$. How do I find the pdf of of the random variable Z = X + Y where Y is the Normal distribution? There ...

## Do 1-D convolution along each row of a matrix

Did a quick search and couldn't find much about this. Say I have a 2D matrix and a 1D 'response function'. I want to convolve each row of the 2D matrix with the response function. I can do this by: ...

1 answers | 2 hours ago by Draper on stackoverflow.com

## Quickly and efficiently calculating an eigenvector for known eigenvalue

Short version of my question: What would be the optimal way of calculating an eigenvector for a matrix A, if we already know the eigenvalue belonging to the eigenvector? Longer explanation: I have ...

## Sorting two column vectors into 3D matrix based on position

Using the imfindcircles function in MATLAB to track circles in two images. I start with approximately a grid of circles which deforms. I am trying to sort the two column vector from imfindcircles into ...

1 answers | 2 hours ago by Cryptomnesia on stackoverflow.com

## Mode in each row closest to first index - MATLAB

I have a matrix of numbers and I want to find the mode of each row, however I want to use the item closest to index 1 if there are multiple modes (built in function just uses the smallest value) for ...

1 answers | 2 hours ago by Alex Musk on stackoverflow.com

## Matching images with different orientations and scales in MATLAB

I have two images that are similar but differ in orientation and size. One example can be seen below: Is there a way to match the two images? I have used Procrustes shape analysis, but are there ...

## Absorption Refrigerator evaporator code error

I'm an undergraduate student working on a simulation for an absorption refrigerator. I found this PhD level thesis that had MATLAB code for the evaporator for an absorption refrigeration system, which ...

## Iterative closest point (ICP) for Matlab with Covariance computation

does anybody know an implementation for the Iterative Closest Point (ICP) algorithm in Matlab that computes the covariance matrix? All i have found is the icptoolboxformatlab but it seems to be ...

1 answers | 4 hours ago by Marvin Dietsch on stackoverflow.com

## How to plot data from scope that is used in external mode simulation?

I have a simulink model connected to my hardware and I am able to see the response on my scope when I change the setpoints in my model etc. But I will like to save this data from the scope so that ...

## How to find integral under the noise power spectrum in matlab

I have the 2D noise power spectrum (Matrix). How can I get integral under the noise spectrum in Matlab. Will the sum of the matrix element only give me integral?. I am doing to evaluate a correctness ...

## How to make scrolling up in 2014a Matlab Command Prompt case sensitive?

In the Matlab command prompt, "scrolling" up by the arrow up key or mouse scroll with a starting string already entered will roll back to the last commands with the same starting string. I am using ...

## array contains values of sample wav file in python or matlab

I'm new at python and matlab, I tried to program using both language I couldn't get the right result. I want take a wav file as input and give an array which contains values of samples of the audio ...

## Alternate between Executing a MATLAB file and a Python script

I have a MATLAB file that currently saves its variables into a .mat workspace. The python script uses SciPy.io to read these variables from the workspace. The python script performs some operations ...

1 answers | 5 hours ago by Borat.sagdiyev on stackoverflow.com

## How to eliminate the errors around edge boundaries after cutting out the Image?

I'm making an image processing project which has a 6-step algorithm and I'm stuck in one of these. First off all, the platform I using is MATLAB, so if you can supply some samples it would be great. ...

## Plot a big figure with many subfigures in matlab

I have to print a large poster, containing a matrix of figures, and it would be very practical for me to let MATLAB arrange them. Unluckily, subplots are displayed to fit a certain figure size, so are ...

## openCV and cvBlobs not giving same results as matlab

here is my matlab code: % Calculate each separated object area cDist=regionprops(bwImg, 'Area'); cDist=[cDist.Area]; % Label each object [bwImgLabeled, ~]=bwlabel(bwImg); % ...

## Proper way to add noise to signal

In many areas I have found that while adding noise, we mention some specification like zero mean and variance. I need to add AWGN, colored noise, uniform noise of varying SNR in Db. The following code ...

3 answers | 9 hours ago by SKM on stackoverflow.com

## Error: Undefined function or variable “B” when trying to find zeros of a function

I'm having a little trouble evaluating B in the function bidfn. More specifically, I have been unable to find the zeroes of C from the nested function ptesta. Just for some context, Dmr is the ...

## Implicit Euler method

Consider the initial value problem The formula for the backward Euler method is given by the formula: for a uniform partition of [a,b] with step h=(b-a)/N with ρ=0. At each step we will have to ...

10 hours ago by evinda on stackoverflow.com

## Function name conflict. How to call a MATLAB toolbox function instead an user-defined function

I have a problem that I could solve by changing my function's name. But I want to know if there's an option to call a MATLAB-defined function which has the same name of my user-defined function. By ...

2 answers | 10 hours ago by Vitrion on stackoverflow.com

## Matlab: crop image with a sliding window?

does anybody know how to crop an image with a sliding window in Matlab? e.g. I have an image of 1000x500 pixels, I would like to crop from this image blocks of 50x50 pixels... Of course I have to ...

## Constrained Local Model (CLM) – How can I compute the response map

I try to implement a facial feature detector with a CLM following the paper of Cootes et. al. ('Feature Detection and Tracking with Constrained Local Models' and 'Automatic feature localization with ...

## Custom Matlab chi-square for 50 numbers

Do you know if it is possible to create a custom Matlab chi-square function for 50 numerical values, ordered in a single column? Because I do not need the in-built one and I need to carry out a ...

1 answers | 10 hours ago by Atanas on stackoverflow.com

## Matlab Fspecial Filtering an Image

How can I use fspecial to apply an averaging filter to the image clown? I have loaded the clown image into matlab and I have written h=fspecial('average', 3). Now how do I use h to apply the ...

2 answers | 10 hours ago by jerry2144 on stackoverflow.com

## How can rectangular bounding box from regionprops(Image,'BoundingBox') in Matlab?

I want to make a bounding box around a person in an image, I tried different methods but I couldn't get the solution that I want. Here's the image I am using: Here's the code I have written so ...