#Image Processing

#Learner Alma #TezpurUniv

Answered

Length of variable is much shorter during a loop?

This length(DOYfilt) % Note here Not This length('DOYfilt') ^........'..'

Length of variable is much shorter during a loop?

This length(DOYfilt) % Note here Not This length('DOYfilt') ^........'..'

ungefär 24 timmar ago | 0

Answered

Getting Error message 'Array indices must be positive integers or logical values.'

outputArg1 = v(b==1);

Getting Error message 'Array indices must be positive integers or logical values.'

outputArg1 = v(b==1);

en dag ago | 0

| accepted

Answered

Convert image to black white without using gray bands(hint, by using for matrix

One way (Hint): % Decide any data value within the Image/matrix elements data range (Pixel value) , lets say 100 bw_result=Mat...

Convert image to black white without using gray bands(hint, by using for matrix

One way (Hint): % Decide any data value within the Image/matrix elements data range (Pixel value) , lets say 100 bw_result=Mat...

en dag ago | 1

Answered

Index exceeds number of array elements in for loop

Error message providing sufficient reason for error As you are trying to access RTa upto n+12, here n is max length(RTa). Ex...

Index exceeds number of array elements in for loop

Error message providing sufficient reason for error As you are trying to access RTa upto n+12, here n is max length(RTa). Ex...

en dag ago | 0

Answered

loading variables from command window to a workspace

"loading variables from command window to a workspace" Assign any variable name during execution, it's automaticacly load the v...

loading variables from command window to a workspace

"loading variables from command window to a workspace" Assign any variable name during execution, it's automaticacly load the v...

en dag ago | 0

Solved

Most nonzero elements in row

Given the matrix a, return the index r of the row with the most nonzero elements. Assume there will always be exactly one row th...

en dag ago

Solved

Find the longest sequence of 1's in a binary sequence.

Given a string such as s = '011110010000000100010111' find the length of the longest string of consecutive 1's. In this examp...

en dag ago

Solved

Return the largest number that is adjacent to a zero

This example comes from Steve Eddins' blog: <http://blogs.mathworks.com/steve/2009/05/27/learning-lessons-from-a-one-liner/ Lear...

en dag ago

Answered

K-means implementation for matrix A(n x m) that returns a vector of length n with values from 1 to k, depending on which cluster the vector ended in

kmeans MATLAB Function imsegkmeans https://in.mathworks.com/help/images/ref/imsegkmeans.html

K-means implementation for matrix A(n x m) that returns a vector of length n with values from 1 to k, depending on which cluster the vector ended in

kmeans MATLAB Function imsegkmeans https://in.mathworks.com/help/images/ref/imsegkmeans.html

en dag ago | 0

Solved

Vector creation

Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.

en dag ago

Solved

Doubling elements in a vector

Given the vector A, return B in which all numbers in A are doubling. So for: A = [ 1 5 8 ] then B = [ 1 1 5 ...

en dag ago

Solved

Flip the vector from right to left

Flip the vector from right to left. Examples x=[1:5], then y=[5 4 3 2 1] x=[1 4 6], then y=[6 4 1]; Request not ...

en dag ago

Solved

Whether the input is vector?

Given the input x, return 1 if x is vector or else 0.

en dag ago

Solved

Get the length of a given vector

Given a vector x, the output y should equal the length of x.

en dag ago

Answered

How to merge data from different time line?

Is that? merge_t=sort([time_1_x_axes,time_2_x_axes]); new_t=merge_t(1:2:end);

How to merge data from different time line?

Is that? merge_t=sort([time_1_x_axes,time_2_x_axes]); new_t=merge_t(1:2:end);

2 dagar ago | 0

Answered

PSNR CALCULATING MEDIAN FILTER GAUSSIAN FİLTER

"% my aim is to get which filter is successful psnr values on this salt and pepper noise." 2nd One If you check the format of ...

PSNR CALCULATING MEDIAN FILTER GAUSSIAN FİLTER

"% my aim is to get which filter is successful psnr values on this salt and pepper noise." 2nd One If you check the format of ...

2 dagar ago | 0

| accepted

Answered

How to extract highest intensity area from a greyscale spectrogram?

Apply thresholding to cluster the image into two segment, certain higher pixel and lower value pixels. Get the largest blob as ...

How to extract highest intensity area from a greyscale spectrogram?

Apply thresholding to cluster the image into two segment, certain higher pixel and lower value pixels. Get the largest blob as ...

3 dagar ago | 1

Solved

Find all elements less than 0 or greater than 10 and replace them with NaN

Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

3 dagar ago

Solved

Remove any row in which a NaN appears

Given the matrix A, return B in which all the rows that have one or more <http://www.mathworks.com/help/techdoc/ref/nan.html NaN...

3 dagar ago

Solved

Swap the first and last columns

Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

5 dagar ago

Solved

Find common elements in matrix rows

Given a matrix, find all elements that exist in every row. For example, given A = 1 2 3 5 9 2 5 9 3 2 5 9 ...

5 dagar ago

Answered

Delete Cells from Cell Array, when size is less than 50% of biggest cell

Here one way: The given cell data a={[1,2;3,4;5,6;7,8],[9,10;11,12],[13,14;15,16;17,18]} Check data a = 1×3 cell array ...

Delete Cells from Cell Array, when size is less than 50% of biggest cell

Here one way: The given cell data a={[1,2;3,4;5,6;7,8],[9,10;11,12],[13,14;15,16;17,18]} Check data a = 1×3 cell array ...

5 dagar ago | 0

| accepted

Answered

Looping until threshold is met

You have to initialize "error" before the loop. The initial value must be less than a threshold value as defined. Also make sure...

Looping until threshold is met

You have to initialize "error" before the loop. The initial value must be less than a threshold value as defined. Also make sure...

5 dagar ago | 0

Answered

Generating two Random sequences

Hint: One Way, you can do multiple ways data=repmat([1,-1],[1,50]) seq1=data(randperm(100)); seq2=data(randperm(100)); Fore ...

Generating two Random sequences

Hint: One Way, you can do multiple ways data=repmat([1,-1],[1,50]) seq1=data(randperm(100)); seq2=data(randperm(100)); Fore ...

6 dagar ago | 1