Skip to main content

All Questions

Filter by
Sorted by
Tagged with
2 votes
1 answer
139 views

MATLAB Coder friendly code for local maximum over 2d array

I am after a MATLAB code which marks each point in a 2d array (image) if it is a local maximum over a 3x3 neighborhood. The MATLAB code will be used to generate a c code using MATLAB Coder. A vanilla ...
Avi T's user avatar
  • 165
1 vote
0 answers
242 views

bwboundaries() C++ code Generation Error?

I have enabled dynamic memory allocation in Simulation Target>Advanced with default threshold as 0. Then I attempt to run this code: B={{nan}}; %%Defining so that it can be set as size variable. ...
space_monkey's user avatar
5 votes
2 answers
936 views

Adjacent and non-adjacent superpixels for an superpixel in an image

After segmenting an image into N superpixels, I need to specify the superpixels that are adjacent or non-adjacent to one superpixel and determine this relationship for all superpixels. [L,NumLabels] =...
dtr43's user avatar
  • 165
0 votes
0 answers
339 views

How can I modify this code so that canny edge detector can detect this red mark line?

I take an image using Microsoft Kinect. But all time canny edge detector missed that line. I don't know why? how can I detect this line? I attached here raw depth image & output of canny. Don't ...
sufian ahmed's user avatar
0 votes
1 answer
293 views

How can I draw a vertical line upon the horizontal lines in matlab?

I want to draw a vertical line in Matlab upon the concurrent horizontal lines and show the coordinates where the vertical line intersects the horizontal lines.I give a figure here, I want to write a ...
Mohammad Yakub's user avatar
0 votes
0 answers
263 views

ordfilt2: Find requires variable sizing

I want to generate c++ code from the following Matlab function (Harris corner detection) that detects corners from an image.My constraint is that I have to generate a static library in C++ without ...
userXktape's user avatar
1 vote
0 answers
560 views

MATLAB Coder Error: The function 'bwboundaries' is not supported for standalone code generation

I want to run MATLAB 2015b algorithm on Android device through NDK. So I need a standalone c code from algorithm. I used Matlab Coder for this, But I get this error: The function 'bwboundaries' is ...
Mneckoee's user avatar
  • 3,124
0 votes
0 answers
707 views

Hand written word recognition using Matlab

I am working on a hand written word recognition project. With this project, I have collected sample hand written scripts from several different writers. Hence I have obtained different writing styles....
Sahan Priyanga's user avatar
2 votes
1 answer
400 views

Does Matlab Coder produces single threaded C applications only?

Is Matlab Coder only able to produce single threaded applications? I attempted to convert some Matlab scripts, used for image analysis, and found that the code produced by Matlab Coder was much ...
mpyne's user avatar
  • 241
2 votes
1 answer
1k views

Alternatives to extrinsic functions such as imread and other functions during code generation in MATLAB

As you may know, extrinsic functions are not outputted during the code generation process. Are there alternatives to these functions and/or solutions to this problem? My code generation error report ...
SDG's user avatar
  • 2,342
1 vote
1 answer
894 views

Problems with using mxarrays with the step function in MATLAB Coder

I'm trying to convert my image processing code on MATLAB into C by using MATLAB coder. using imread needs a coder.entrinsic declaration. However, this means that the output to imread will be an ...
SDG's user avatar
  • 2,342
0 votes
1 answer
612 views

Function/s equivalent to "bwareaopen" and "bwconhull" supported for C / C++ code generation (MATLAB)

This is with reference to a code suggested by Image Analyst given here. I am trying to generate C code for the algorithm. According to the document "Functions and Objects Supported for C and C++ Code ...
Saania's user avatar
  • 625
1 vote
0 answers
444 views

Can one white balance an image in YCbCr?

I am currently making an attempt at gesture recognition on a Beagleboard, using Simulink. I have skin segmentation working, but there are some objects that are being segmented along with the skin ...
Jon.H's user avatar
  • 842