08-05-2021 01:06 AM
Hello,
I have an image like the attached file.
I would like to convert this image to the binary values (1, 0). I will use this to compare some similar images.
Can any one help with the availability to apply the thresholding fir this image!
08-05-2021 02:03 AM
Without more details it's impossible to know what kind of threshold you would need and what for.
And i'm not opening a file named image.txt.rar...
08-05-2021 03:46 AM
Simply,
I try to improve this image quality.
I used some numerical processes to do so, Therefore, I get a few outputs of the improved images.
Now, I want to compare between those results.
I read online one of the analysis the images is the thresholder
the link is attached.
I would like to apply this thresholding method for my images.
I am also attached the image again as jpg file.
08-05-2021 08:12 AM
It rather looks like you are trying to fulfill your homework assignment ...
at first, you need to get the data from the textfile to labview
e.g. like this
08-05-2021 09:08 PM
Did you think the problem in how to read the data to the LabVIEW!!!
Did you read the questions before you put your reply!!
08-06-2021 05:54 AM
@Khallod wrote:
Did you think the problem in how to read the data to the LabVIEW!!!
Did you read the questions before you put your reply!!
you want to work iteratively on the image data, so in the first iteration, you have to get your data into labview.
if this is not a problem for you,
why do you bother us with an ill-formatted csv files?
as the file size is considerably small, put the image data in a 2d array constant and upload as .vi
furthermore, the algorithm you propose is using only one threshold.
but as your data is in a range from -0,000140141 to 0,000778049, you need at least 2 thresholds.
can the negative part be ignored?
08-06-2021 06:36 AM - edited 08-06-2021 07:00 AM
Yes, the negative values can be ignored
Simply, I put the data as a constant 2D array as the attached.
08-06-2021 09:50 AM
where have you got stuck?
convert the image to a range 0...255
calculate or choose the initial mean
and use in_range_and_coerce
to calculate the new images.
08-09-2021 05:35 AM