Official Everybody Edits Forums

Do you think I could just leave this part blank and it'd be okay? We're just going to replace the whole thing with a header image anyway, right?

You are not logged in.

#1 2017-05-04 04:59:58, last edited by Insanity (2017-05-04 05:02:42)

Insanity
Member
From: Douchebag Island
Joined: 2015-03-07
Posts: 1,123

Java Wizards GET TF IN HERE

Anyone know how to create an Edge Detection algorithm in Java? I have to use thresholding to detect coins on an image that has been loaded onto a JFrame. I already have a way to turn a BufferedImage into grayscale, but I have no clue how to go about detecting coins on that BufferedImage.


This isn't EE related, posting here though cuz I figure a bunch of you know how to code


pls help


EDIT:

I'll pay 200 gems to someone who can do this


Maverick: Started up on a 6, when he pulled from the clouds, and then I moved in above him.
Charlie: Well, if you were directly above him, how could you see him?
Maverick: Because I was inverted.

Offline

#2 2017-05-04 06:17:09

Anatoly
Guest

Re: Java Wizards GET TF IN HERE

Give me 200 gems; ill give you the answer in some years after reading tutorials.

#3 2017-05-04 07:38:02

Swarth100
Member
Joined: 2015-07-18
Posts: 305

Re: Java Wizards GET TF IN HERE

Have you already checked this link?

http://stackoverflow.com/questions/2935 … thin-image

Offline

#4 2017-05-04 07:46:00, last edited by LukeM (2017-05-04 07:48:46)

LukeM
Member
From: England
Joined: 2016-06-03
Posts: 3,009
Website

Re: Java Wizards GET TF IN HERE

This is quite a simple explanation but it might help:
https://youtu.be/sRFM5IEqR2
No idea why, but yesterday I had YouTube open and the auto play thing started playing that video XD

It basically says you need to convert the image to grayscale and blur it slightly, then find the size and direction of the gradient of each pixel, then you find the lines of maximum gradient, then you apply a threshold where to start an edge, you need a high ish gradient, but once it's started, you continue until a much lower gradient

Offline

#5 2017-05-06 21:08:20

Zumza
Member
From: root
Joined: 2015-02-17
Posts: 4,641

Re: Java Wizards GET TF IN HERE

I've been banned lately. Contact me on PM if you haven't found a solution yet.


Everybody edits, but some edit more than others

Offline

Zumza1494101300658729

Board footer

Powered by FluxBB

[ Started around 1711653402.5657 - Generated in 0.028 seconds, 10 queries executed - Memory usage: 1.4 MiB (Peak: 1.51 MiB) ]