Community Profile

photo

Teshan Rezel


Last seen: 1 month ago
31 total contributions since 2019

Teshan Rezel's Badges

  • Thankful Level 3
  • First Review

View details...

Contributions in
View by

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

12 months 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

Question


rotating and saving images to folder: error during loop
Hi folks, I'm trying to read all files in a folder, rotatet them 90 degrees, then save them to the same folder. I need to do ...

1 year ago | 2 answers | 0

2

answers

Question


Is it possible to use Alexnet to classify multiple objects in a single image?
I'm trying to identify thousands of objects in a mosaic image. I have split this mosaic into several 227x227 images, but I would...

1 year ago | 1 answer | 0

1

answer

Question


Error when remapping BW image to RGB after applying filter
Hi All, I get the following message when trying to turn 3 colour images into RGB after applying a filter. Warning: Error...

1 year ago | 1 answer | 0

1

answer

Load more