Submitted


Line-wrap a string
Break a string into multiple lines

9 years ago | 2 downloads |

5.0 / 5

Answered
The Bilinear Interpolation Embedded Matlab Function Vs Bilinear Interpolation 'Re-Written or Coded' Function
At least one significant difference between your code and imresize is that your code appears to use a different shift in the geo...

9 years ago | 0

Answered
Changes with array operations in 2016a prerelease vs 2016a?
No, you are not going crazy. We were trying some new behavior in the prerelease for some operators and functions. Testing reveal...

10 years ago | 2

| accepted

Answered
Display a struct as a table
Convert the string containing the date and time into a datetime value, and then it will display better in the table. aStruct...

10 years ago | 2

| accepted

Submitted


Image Graphs
Functions to create and visualize graphs based on image pixel neighbor relationships

10 years ago | 9 downloads |

5.0 / 5
Thumbnail

Answered
How to export return value of bwboundaries to DXF file format?
B{1} returns a matrix containing the coordinate values of the first boundary. B{2} returns a matrix containing the coordinate va...

10 years ago | 0

Answered
Bug eps, pdf matlab 2014b surface plot (contourf)
Hi Loïc, Prior to R2014b, the MATLAB graphics system used a different process, with a different set of vector primitives, for...

10 years ago | 0

| accepted

Answered
Serious problem with "createMask" function.
Here is some code illustrating how to use bwboundaries to get X-Y polygon vertices that work better for mask creation via create...

12 years ago | 1

| accepted

Answered
Serious problem with "createMask" function.
If you are clicking on the centers of the border pixels, then half of the border pixels lie inside the polygonal region you sele...

12 years ago | 1

Answered
overlay to image matrix together
Image Analyst's answer to use imfuse is good. To use imfuse, you have to have the Image Processing Toolbox with version R2012a o...

12 years ago | 0

Answered
Matlab 2012a vs. Matlab 2013a
From the <http://www.mathworks.com/help/images/release-notes.html Image Processing Toolbox Release Notes> for R2012b and R2013a:...

12 years ago | 4

| accepted

Answered
What algorithm is behind matlabs bwmorph skel function?
bwmorph 'skel' uses the iterative thinning algorithm described on pages 170-171 of Haralick and Shapiro, _Computer and Robot Vis...

12 years ago | 2

Answered
How to clear objects connected to the lower borederof the image?
% Start by padding the image with 0s on the left, top, and right. bw2 = padarray(bw,[1 0],0,'pre'); bw3 = padarray(bw2,[...

13 years ago | 0

| accepted

Answered
Can I install MATLAB R2006a on a MacBook Pro with Intel Core 2 Duo processor
No. The R2006a Mac version of MATLAB requires a Power PC processor. It won't run on an Intel processor. See the System Requireme...

13 years ago | 1

Answered
Getting warning about IPTCHECKNARGIN when using IMLINE after 2012a upgrade
We did bother to update our own code. imline in R2012a does not contain any calls to iptchecknargin. Perhaps you have an old ...

13 years ago | 0

| accepted

Answered
How can I solve memory leak in fft?
It is not an actual memory leak. MATLAB does cache (save for reuse) tables of trigonometric values for use in subsequent calls t...

13 years ago | 1

Answered
Unexpected behavior of anonymous function
First, I would like to point out that k(1,1,:) is a valid expression for a subscripting operation on a variable called k, but it...

13 years ago | 0

| accepted

Answered
imnoise does not work as expected
imnoise clips the output to the range [0,1]. >> min(b(:)) ans = 0

13 years ago | 0

| accepted

Answered
how to ADD TO IMAGES
I suggest using <http://www.mathworks.com/matlabcentral/fileexchange/10502-image-overlay imoverlay> from the MATLAB Central File...

13 years ago | 0

Solved


Find the list of all open files
In the test suite, I use <http://www.mathworks.com/help/matlab/ref/fopen.html fopen> to create new files. The task is to find th...

13 years ago

Answered
Analysing a few .tiff files
Are the different time slices stored in different TIFF files? Then try something like this: d = dir('myfiles*.tiff'); to...

13 years ago | 1

| accepted

Answered
Is there a way to assign the 'end' value to a variable?
No, you can't assign the indexing value of "end" to a variable. You have to use size, or length, or numel in order to assign the...

13 years ago | 1

| accepted

Answered
Can I get code for contrast limited adaptive histogram equalisation (CLAHE)?
If you have the Image Processing Toolbox, see the function <http://www.mathworks.com/help/toolbox/images/ref/adapthisteq.html ad...

13 years ago | 0

Problem


Eliminate unnecessary polygon vertices
Suppose you have an n-point polygon represented as an n-by-2 matrix of polygon vertices, P. Assume that the polygon is closed; t...

13 years ago | 3 | 25 solvers

Answered
Angle between a vector and the positive X axis
Try this: atan(m) If you need the answer in degrees, then: atan(m) * 180 / pi

13 years ago | 0

Solved


Find the sum of the elements in the "second" diagonal
Find the sum of the elements in the diagonal that starts at the top-right corner and ends at the bottom-left corner.

14 years ago

Solved


Project Euler: Problem 1, Multiples of 3 and 5
If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23...

14 years ago

Problem


Eight Queens Solution Checker
Write a function to verify whether an arrangement of queens on a chessboard is a valid solution to the classic eight queens prob...

14 years ago | 6 | 166 solvers

Load more