Solved

Most nonzero elements in row

Given the matrix a, return the index r of the row with the most nonzero elements. Assume there will always be exactly one row th...

6 years ago

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...

6 years 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 ...

6 years 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:...

6 years ago

Question

MATALB error (java.net.SocketTimeoutException ...)

I have been facing this issue a lot lately. When I run some code and leave the MATLAB window open but minimized for half an hour...

6 years ago | 1 answer | 0

Answered

how can i add my result to sheet 2 in my excel sheet

Use the syntax: |xlswrite(filename,A,sheet)|

how can i add my result to sheet 2 in my excel sheet

Use the syntax: |xlswrite(filename,A,sheet)|

6 years ago | 0

Question

Error after computing 3 coefficients of Radial Distortion for stereo Calibration

When I performed stereo calibration by selecting the radio button _3 Coefficients_ for Radial Distortion, I was not able to vie...

6 years ago | 1 answer | 1

Question

Make all elements of given row numbers equal to NaN.

Given a matrix, if any element has a non-finite value, I want to make all elements of that row equal to NaN. For example: In...

6 years ago | 1 answer | 0

Question

Specify limits to a plane's dimension, depending on data dimensions, so it exactly overlaps data

I am plotting a plane which should overlap with 3D data available. In certain cases (as shown below), the plane's dimension beco...

6 years ago | 1 answer | 0

Question

View plane overlapped with point cloud.

Using the function |pcfitplane|, I get an equation of a plane. In this case, it is [-0.097 -0.055 0.993]. How can I view it such...

6 years ago | 1 answer | 1

Question

Filtering a 3D point cloud

I have attached a 3D point cloud <https://www.dropbox.com/sh/ij5a9ule9nctl3m/AAAib_eKnbx9PKh5yqAsfwvGa?dl=0 here> . You can call...

6 years ago | 1 answer | 1

Question

doubt regarding bwconncomp example.

This is a small doubt.....I'm stuck in the second example given for |bwconncomp| by Mathworks. This example removes the group ...

6 years ago | 2 answers | 0

Question

Dot product of matrix with scalar

This is a trivial question. I have a matrix B = [1 1 1; 5 5 5; 9 9 9; 2 2 2; 6 6 6; 10 10 10; 3 3 3; 7 7 7; 11 11 11...

6 years ago | 1 answer | 0

Question

Aligning 3D stereo co-ordinate system along local vertical and local horizontal

Using stereo vision, I am able to reconstruct the object under inspection. After calibration, I know the co-ordinate system w...

6 years ago | 1 answer | 1

Question

Sources of error to calculate X, Y Z distances using stereo when disparity map seems alright.

This issue is wrt Image scene reconstruction using Stereo Calibration. I have a good (compared to my earlier pointClouds) recon...

6 years ago | 1 answer | 1

Question

Interpolating points of a 3D point cloud

I have two questions: 1. I have a 3D point cloud which isn't continuous. There are a few gaps in it. I want to interpolate th...

6 years ago | 1 answer | 0

Question

Accurate stereo reconstruction of high resolution image

I am doing stereo calibration and scene reconstruction. The disparity map I obtain is much better than what I was initially get...

6 years ago | 2 answers | 0

Question

Calculation of distance (z-axis) to object using CVST

I am facing an issue while using Computer Vision System Toolbox, while calculating the 3D distance to an object from a stereo se...

6 years ago | 1 answer | 0

Question

Improper Disparity map obtained for stereo scene reconstruction

I have done stereo calibration using the Stereo Camera Calibrator App available in MATLAB R2014b. When I obtain the results o...

6 years ago | 1 answer | 0

Question

Angle between two best-fit planes

I have a set of points (as in |Points3D.mat| attached here). I find the equation of best fit plane using |affine_fit| by <http:/...

6 years ago | 1 answer | 0

Question

Function/s equivalent to "bwareaopen" and '''bwconhull' supported for C / C++ code generation

This is with reference to <http://in.mathworks.com/matlabcentral/answers/195933-function-imfindcircles-detects-false-circles cod...

7 years ago | 0 answers | 0

Question

Function: imfindcircles detects false circles.

I have come across this a few times. The function |imfindcircles| detects false circles (like at the corners shown below) even w...

7 years ago | 2 answers | 0

Question

Reconstruction of 3D model using three 2D images (looking at the same object in 3 different views)

I came across a requirement to reconstruct 3 dimensional image of an object using three cameras placed around it such that it (e...

7 years ago | 0 answers | 1

Answered

Help regarding Image Segmentation of B/W Image!!

Try using the Morphological operators dilation and erosion.

Help regarding Image Segmentation of B/W Image!!

Try using the Morphological operators dilation and erosion.

7 years ago | 0

Answered

i want to compare two images on the basis of PSNR

This is about <http://in.mathworks.com/help/images/ref/psnr.html PSNR>.

i want to compare two images on the basis of PSNR

This is about <http://in.mathworks.com/help/images/ref/psnr.html PSNR>.

7 years ago | 0

Answered

i am executing the code given in the matlab documentation and getting the error'Undefined function 'psnr' for input arguments of type 'double'.

As far as I know, only |A| should be of type |double|. Also, check if you have the necessary toolbox and the right version of M...

i am executing the code given in the matlab documentation and getting the error'Undefined function 'psnr' for input arguments of type 'double'.

As far as I know, only |A| should be of type |double|. Also, check if you have the necessary toolbox and the right version of M...

7 years ago | 0

Answered

Fit surface to large data set

Hey, You can see <http://in.mathworks.com/matlabcentral/fileexchange/43305-plane-fit Plane fit by Adrien Leygue>. I have used...

Fit surface to large data set

Hey, You can see <http://in.mathworks.com/matlabcentral/fileexchange/43305-plane-fit Plane fit by Adrien Leygue>. I have used...

7 years ago | 0

Question

Fill a circle enclosed by it's circumference (of type double) with white.

I want to fill a specific region on an image with white (value 255). The specific region forms a circle. (whose co-ordinates of ...

7 years ago | 2 answers | 0

Question

SNR for image (No-Reference)

I have a .bin file (a 12 bit image). How should I caculate the SNR of this? I am aware that SNR computation needs one clean and ...

7 years ago | 2 answers | 0

Question

Template matching not necessarily invariant to rotation and scale, but should detect artifacts (of 3X3 pixels or more)

I want to compare a specific pattern (as on _template_ image) and output "yes"/"no" according to the match. I don't require the ...

7 years ago | 0 answers | 0