Question


App designer - resizing axes to image size
Hi folks, I'm displaying a JPEG image in my app and currently, the axes stretch the image when the window is maximised. Is ther...

7 months ago | 1 answer | 0

1

answer

Question


App Designer - help with syntax for referring to an array's indices
Hi folks, I'm trying to initialise the table values on the app designer to zero, then increment the relevant cell based on spec...

7 months ago | 1 answer | 0

1

answer

Question


App designer - display multiple ROI on the same image
Hi, I want to display a crosshair and a circle right in the middle of my image. I wanted to do this by defining a function, as ...

7 months ago | 1 answer | 0

1

answer

Question


looping throwing errors, how can I avoid them?
Hi folks, I have a couple of questions about the following code. I get an error when doing the k-loop which states "Reference t...

9 months ago | 1 answer | 0

1

answer

Question


Question about accessing data in a nested struct
Hi all, I am trying to get data from an xml file using xml2struct. Calling the struct using dot notation such as Settings.CAF...

9 months ago | 1 answer | 0

1

answer

Question


Error using imwrite to convert .tif files to .jpeg
Hi, I'm using the following code to convert .tif images to .jpeg folder = 'D:\CAF\TR coke run Jan 21\'; imageFiles = dir([fol...

9 months ago | 1 answer | 0

1

answer

Question


Help with an error when calling a function
Hi All, I have the following function, but every time I call it I get this error message. function [C] = SquareCentroids( Temp...

9 months ago | 1 answer | 0

1

answer

Question


error converting chars to string
Hi folks, I keep getting an error when running the following line of code: Names = xml2struct([TestFolder '\captureSettings.x...

9 months ago | 2 answers | 0

2

answers

Question


How to make this code more efficient, and also how to output results to single excel file with multiple sheets?
Hi there, I have the following code, which admittedly might be horridly inefficient due to my lack of experience with coding an...

9 months ago | 1 answer | 0

1

answer

Question


xlswrite error; not working entirely or throwing up an error
Hi All, I'm getting the following error when using xlswrite: Error using xlswrite (line 224) Invoke Error, Dispatch Exceptio...

9 months ago | 1 answer | 0

1

answer

Question


How can I display only one channel of an HSV image?
Hi folks, is there a way to threshold out a single channel from an image in the HSV colour space? I am trying to mask it over th...

1 year ago | 1 answer | 0

1

answer

Question


Is there a way to clean the image such that the smaller pieces are not included?
Hi, I am working on thresholding an image (code included below). The threshold works well but includes several smaller pieces t...

1 year ago | 1 answer | 0

1

answer

Question


Thresholding an image based on part of a histogram's values
Hi folks, I'm trying to get the parts of an image that fall between 2 values of its grayscale histogram, the revert the image ...

1 year ago | 1 answer | 0

1

answer

Question


Is there a way to get the numerical values corresponding to a particular section of a histogram?
Hi folks, I'm trying to threshold an image based on a histogram, but I need to eliminate all but a certain part of the histogra...

1 year ago | 1 answer | 0

1

answer

Question


Thresholding/Segmenting an image based on histogram
Hi folks, I have an image that I have converted to HSV format, and split the image into each channel (H, S and V). I want to fu...

1 year ago | 1 answer | 0

1

answer

Question


Drawing the gradient histogram of a grey image's one
Hi folks, I'm trying to plot the differential/gradient of a gray image's histogram, to highlight the points of interest more re...

1 year ago | 2 answers | 0

2

answers

Question


How can you read a filename but store a specific number within it?
Hi All, I'm trying to analyse a bunch of files that have filenames like "1 crop 1, area - 122637", "1 crop 2, area - 88497" etc...

1 year ago | 1 answer | 0

1

answer

Question


Trying to move images to different folder based on CNN classification, and failing
Hi folks, I'm trying to pass my images for classification to a CNN and then move each image (after being classified) to a folder...

1 year ago | 1 answer | 0

1

answer

Question


Error reading through all images in a directory
Hi folks, I'm trying to loop through all images in a directory but I get an error that my file doesn't exist, despite it defini...

1 year ago | 1 answer | 0

1

answer

Question


CNN seems to be too inaccurate to classify my images. Is there an alternative that I can explore?
Hi folks, I've attached examples of 2 different classifications for images that I'm working with below. My CNN (and a retrained...

1 year ago | 1 answer | 0

1

answer

Question


Trying to classify images with a CNN but getting errors
Hi all, Apologies in advance, I'm new to Matlab. I'm trying to pass some images to a CNN for classification but am stuck in res...

1 year ago | 1 answer | 0

1

answer

Question


How can I centre points of interest in an image before it's cropped and saved?
Hi folks, I've successfully managed to crop segmented elements from an image into several images, but I'm now trying to reduce ...

1 year ago | 1 answer | 0

1

answer

Question


Trying to automatically crop an image into several smaller images based on segmentation
Hi all, Apologies in advance, I'm not well versed in Matlab. I'm trying to crop a segmented image into several smaller pieces...

1 year ago | 1 answer | 0

1

answer

Question


Is there a way to compute the percentage of pixels in this image of a certain colour, whilst ignoring the (dark blue) background in the calculation?
Hi, I'm trying to get the percentages of different coloured pixels in this image, but haven't found a way to either ignore the ...

1 year ago | 1 answer | 0

1

answer

Question


Recognising/classify segmented objects in RGB image
Hi all, After successfully thresholding an image using Otsu's method, is there a way to pass the thresholded objects only with ...

1 year ago | 1 answer | 0

1

answer

Question


Histogram-based RGB segmentation
Hi All, I'm trying to segment an RGB image based on it's histograms; my code is as follows: %Split into RGB Channels ...

1 year ago | 1 answer | 0

1

answer

Question


How to pass images to a cnn for analysis?
Hi folks, I'm not very familiar with matlab so apologies for the obvious question, but how can I pass an image to my cnn to be ...

1 year ago | 1 answer | 0

1

answer

Question


how to pass image to function after k-means?
hi folks, I want to perform a watershed transform on an image after performing a k-means clustering, below is my code. img = ...

1 year ago | 1 answer | 0

1

answer

Question


Counting the number of objects in an image based on colour
I have several images from optical microscopes that contain features of different types of minerals. Is there a way to segment t...

1 year ago | 1 answer | 0

1

answer

Question


Error when trying to create a loop for k-means
Hi all, I'm trying to loop for a given value of k for a k-means segmentation. The following is the documentation code: mask1 ...

1 year ago | 1 answer | 0

1

answer

Load more