Finding shapes in digital photos - java

Ads
 

Finding shapes in digital photos - java

Hello,

I need some hints/tips regarding some project I'm doing. The project is about finding shapes in digital photos (JPEG file). Here's what I have to do: A digital photo is a collection of pixels each with a colour attribute. Each pixel apart from the edges of the photo has 4 neighbours (2 vertical pixels, 2 horizontal). The strength of an edge between neighbouring pixels in the graph model of the photo depends on how similar the colour attributes are (edge strength). The problem is to use this information to separate the main different coloured shapes in the photo. For example, it should be possible to pick out a red disk on a white background (Japanese flag). The first problem you will encounter, will be how to get the pixel colour attributes from the JPEG file. If you think you can solve this, then there are many choices for the next step (getting the shapes). One I am particularly interested in is using short random walks, moving from pixel to pixel randomly, but depending on the edge strength.

I'm thinking about using the PixelGrabber class in Java, but any other ideas are more than welcomed.

Thank you very much.

View Answers

Ads









Related Tutorials/Questions & Answers:
display shapes
display shapes  Hi, I would like to see geometric shapes like square, triangle, circle, rectangle as my outputs. Also, those figures shouldn't overlap while they get displayed. Please help me
shapes
Advertisements
digital diary
digital diary  please post the code for a simple digital diary... with contacts storing facility, passwords , notes, alarm clock and calender
digital diary
digital diary  please post the code for a simple digital diary... with contacts storing facility, passwords , notes, alarm clock and calender
digital diary
digital diary  please post the code for a simple digital diary... with contacts storing facility, passwords , notes, alarm clock and calender
ModuleNotFoundError: No module named 'shapes'
ModuleNotFoundError: No module named 'shapes'  Hi, My Python... 'shapes' How to remove the ModuleNotFoundError: No module named 'shapes'... to install padas library. You can install shapes python with following command
Finding A Date
Finding A Date  My Frequency Start Date is 24-08-2012 My frequency end date - not defined Calculation Frequency is Weekly(Sunday) My calculation will be from 24-08-2012 to the following sunday My question is how to find
ModuleNotFoundError: No module named 'digital'
ModuleNotFoundError: No module named 'digital'  Hi, My Python... 'digital' How to remove the ModuleNotFoundError: No module named 'digital... to install padas library. You can install digital python with following command
convert voice to digital
convert voice to digital  convert voice to digital How to convert human voice to the digital signal(binary) that can stored in notepad. Then, this notepad can be used
ModuleNotFoundError: No module named 'django-shapes'
ModuleNotFoundError: No module named 'django-shapes'  Hi, My... 'django-shapes' How to remove the ModuleNotFoundError: No module named 'django-shapes' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'django-shapes'
ModuleNotFoundError: No module named 'django-shapes'  Hi, My... 'django-shapes' How to remove the ModuleNotFoundError: No module named 'django-shapes' error? Thanks   Hi, In your python
digital communication system
digital communication system  A digital communication system capable of interconnecting, a large number of computers, terminals and other peripheral devices within a limited geographical area is called- a) LAN, B) WAN, C
ModuleNotFoundError: No module named 'django-photos'
ModuleNotFoundError: No module named 'django-photos'  Hi, My... 'django-photos' How to remove the ModuleNotFoundError: No module named 'django-photos' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'feincms-photos'
ModuleNotFoundError: No module named 'feincms-photos'  Hi, My... named 'feincms-photos' How to remove the ModuleNotFoundError: No module named 'feincms-photos' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'photos-picker'
ModuleNotFoundError: No module named 'photos-picker'  Hi, My... 'photos-picker' How to remove the ModuleNotFoundError: No module named 'photos-picker' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'tango-photos'
ModuleNotFoundError: No module named 'tango-photos'  Hi, My Python... 'tango-photos' How to remove the ModuleNotFoundError: No module named 'tango-photos' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'tgapp-photos'
ModuleNotFoundError: No module named 'tgapp-photos'  Hi, My Python... 'tgapp-photos' How to remove the ModuleNotFoundError: No module named 'tgapp-photos' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'twitter-photos'
ModuleNotFoundError: No module named 'twitter-photos'  Hi, My... named 'twitter-photos' How to remove the ModuleNotFoundError: No module named 'twitter-photos' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'twitter-photos'
ModuleNotFoundError: No module named 'twitter-photos'  Hi, My... named 'twitter-photos' How to remove the ModuleNotFoundError: No module named 'twitter-photos' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'weibo-photos'
ModuleNotFoundError: No module named 'weibo-photos'  Hi, My Python... 'weibo-photos' How to remove the ModuleNotFoundError: No module named 'weibo-photos' error? Thanks   Hi, In your python
digital marketing data science
digital marketing data science  Hi, I am beginner in Data Science and machine learning field. I am searching for the tutorials to learn: digital... that I can learn the topic "digital marketing data science". Also tell
ModuleNotFoundError: No module named 'digital-comms'
ModuleNotFoundError: No module named 'digital-comms'  Hi, My... 'digital-comms' How to remove the ModuleNotFoundError: No module named 'digital-comms' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'digital-rf'
ModuleNotFoundError: No module named 'digital-rf'  Hi, My Python... 'digital-rf' How to remove the ModuleNotFoundError: No module named 'digital-rf' error? Thanks   Hi, In your python environment you
ModuleNotFoundError: No module named 'digital-root'
ModuleNotFoundError: No module named 'digital-root'  Hi, My Python... 'digital-root' How to remove the ModuleNotFoundError: No module named 'digital-root' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'digital-stopwatch'
ModuleNotFoundError: No module named 'digital-stopwatch'  Hi, My... named 'digital-stopwatch' How to remove the ModuleNotFoundError: No module named 'digital-stopwatch' error? Thanks   Hi, In your
ModuleNotFoundError: No module named 'digital-twin'
ModuleNotFoundError: No module named 'digital-twin'  Hi, My Python... 'digital-twin' How to remove the ModuleNotFoundError: No module named 'digital-twin' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'adafruit-circuitpython-display-shapes'
ModuleNotFoundError: No module named 'adafruit-circuitpython-display-shapes...: ModuleNotFoundError: No module named 'adafruit-circuitpython-display-shapes' How...-shapes' error? Thanks   Hi, In your python environment you
ModuleNotFoundError: No module named 'word-finding'
ModuleNotFoundError: No module named 'word-finding'  Hi, My Python... 'word-finding' How to remove the ModuleNotFoundError: No module named 'word-finding' error? Thanks   Hi, In your python
Finding duplicates using array in for loop
Finding duplicates using array in for loop  how to find the duplicates in array using for loop
ModuleNotFoundError: No module named 'delete-all-google-photos'
ModuleNotFoundError: No module named 'delete-all-google-photos'  Hi...: No module named 'delete-all-google-photos' How to remove the ModuleNotFoundError: No module named 'delete-all-google-photos' error? Thanks  
ModuleNotFoundError: No module named 'django-facebook-photos'
ModuleNotFoundError: No module named 'django-facebook-photos'  Hi...: No module named 'django-facebook-photos' How to remove the ModuleNotFoundError: No module named 'django-facebook-photos' error? Thanks   Hi

Ads