Answered
I can acess bit by bit of pixel in an image with Matlab?
See attached demos on steganography/watermarking and text hiding.

21 days ago | 0

| accepted

Answered
Detection of 3D blobs with flat surfaces
Try convhulln() and extract any blob that has points on the convex hull.

25 days ago | 0

| accepted

Answered
Saving multiple cropped images to a different folder
folder = 'c:/wherever'; thisBaseFileName = sprintf('Image %3.3d', k); thisFullFileName = fullfile(folder, thisBaseFileName); ...

25 days ago | 0

| accepted

Answered
Assigned colorbar heights in pcolor subplots
First make up whatever colormap you want. Then look at all your data to find the OVERALL min and max. Then for each axes, use ...

25 days ago | 0

Answered
Make one word in path name a variable
With "names" as your existing variable, try fullfile() to create a new variable with name "thisFolderName": names = {'Jane', 'G...

25 days ago | 0

Answered
I want to smooth the boarder of all white areas in this Binary Image (even the tiny ones). Consider it like smoothing with your hand.
Just blur the image with conv2() like KALYAN showed. blurredImage = conv2(double(binaryImage), ones(3)/9, 'same'); It won't be...

25 days ago | 0

Answered
Making a script file that creates random vectors and include comment at top describing what the file does.
Hint: To concatenate two row vectors into another, single vector, do output = [rowVector1, rowVector2]; It will be easy for y...

25 days ago | 0

| accepted

Answered
How to color some region of plot?
Try this,using patch(): % Plot original data. y = [70, 72, 60, 66, 60, 57, 59, 58, 60, 73, 72, 73, 73, 72, 52, 72, 77, 59, 49,...

25 days ago | 0

| accepted

Answered
why im not able plot graph in 1 sec window of 16 sample
You didn't have anough points to see the sine wave so all you see is a traingle wave. Increase the number of points and use lin...

25 days ago | 0

| accepted

Answered
Always have errors for image acquisition after 4 images acquired.
You're doing vid_colorimage = imadjust(vid_colorimage, [0, 0, ................................... however imadjust only accept...

25 days ago | 0

Answered
how can we find the percentage of similarity between images? and what's the function or algorithms should I used?
Not an easy question to ask at all. It can be as simple or as compilcated as you want to make it. You can subtract the images ...

26 days ago | 0

| accepted

Answered
Sliding window centered at a given point
What are you doing with signal values inside the sliding window? Taking the mean, std, or something custom? If it's some opera...

26 days ago | 1

Answered
Always have errors for image acquisition after 4 images acquired.
Your best bet might be to open a support ticket with the MATLAB tech support. Very few of us have 4 cameras to reproduce your p...

26 days ago | 0

Answered
using textscan to find the rest of the line after the specific expression...
Try this: % Open the file. fileID = fopen(fullFileName, 'rt'); % Read the first line of the file. textLine = fgetl(fileID); ...

29 days ago | 0

Answered
extraction of text region in an image
You can try Automatically Detect and Recognize Text in Natural Images

29 days ago | 0

Answered
How do I deactivate MATLAB?
If you're using Windows, you can use the "Deactivate MATLAB R2019a" link under the "MATLAB 2019a: group under the Start Menu.

30 days ago | 0

Answered
Help! How to convert grey scale image to colour contrast image?
Try a bottom hat filter on the dark hole image filteredImage = imbothat(grayImage, .......................

1 month ago | 0

Answered
Can anyone please help me to calculate average(mean) RGB value from the image in matlab? and also show the image using that average values.....
What does "enhance" mean to you? Increase the saturation? If so, convert to HSV space with rgb2hsv() and multiply the second c...

1 month ago | 0

| accepted

Answered
How to calculate rgb chromaticity value for set of images?
To convert ot grayscale, use rgb2gray(). To change the colors or enhance the colors, try the attached demos.

1 month ago | 0

Answered
how to draw a rectangle on the matlab.ui.control.image object?
If you want to draw a rectangle into the overlay above an image, use rectangle(): hold on; rectangle('Position', [xleft, yTop,...

1 month ago | 0

Answered
how to connect the adjacent lower edges of each bounding box
Use kmeans on the y values to identify boxes in one of the 5 lines that your image has. [classIndexes, classCentroid] = kmeans(...

1 month ago | 0

Answered
Is the gplotmatrix function capable of plotting with more than the 7 built in colors?
Not sure but you might try a strategy similar to the attached emo where I plot more than the standard 7 or 8 colors with line pl...

1 month ago | 0

| accepted

Answered
i need help with bwboundaries function
I presume your foreground is white and background black. So just call imclearborder(). bwboundaries() and regionprops(BW, 'Bou...

1 month ago | 0

Answered
How to close the boundary of a surface already generated by filling the holes
Is the data (circle) expected to be convex? If so the ultra-easy way is to just use bwconvhull() followed by bwboundaries(), po...

1 month ago | 1

| accepted

Answered
Best Way to find density of [x,y] coordinates within set window
James: Attached is how you do it using a rectangular window. Choose the window width to be square if you want. It counts the ...

1 month ago | 2

Answered
how are number of edges differ from one edge detecting method to another?
They use different algorithm so of course they're not going to agree on every single pixel. You can look up the precise algorit...

1 month ago | 0

Answered
I want to add a line of best fit to my plot using the polyfit function.
See attached demo of polyfit where I fit a line and a dubic to some data. Attach your data and show a screenshot of it plotted ...

1 month ago | 0

Answered
Best Way to find density of [x,y] coordinates within set window
Can you supply your x and y in a .mat file save('answers.mat', 'x', 'y'); Use the paper clip icon. I'll probably just scan al...

1 month ago | 1

Answered
Apply a Local Averaging Mask
You can use imfilter() instead of convolution, but it's doing pretty much a similar thing (multiplying a sliding window by the i...

1 month ago | 0

Submitted


Plot audio file waveforms
Plots all the audio waveforms of all the sound files in a folder that you specify.

1 month ago | 9 downloads |

Thumbnail

Load more