Finding shapes in digital photos - java

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









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
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 '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 '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 '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 '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
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
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 '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
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
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 '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-odnoklassniki-photos'
ModuleNotFoundError: No module named 'django-odnoklassniki-photos'  ...: No module named 'django-odnoklassniki-photos' How to remove the ModuleNotFoundError: No module named 'django-odnoklassniki-photos' error? Thanks
ModuleNotFoundError: No module named 'Organize-my-photos'
ModuleNotFoundError: No module named 'Organize-my-photos'  Hi, My... named 'Organize-my-photos' How to remove the ModuleNotFoundError: No module named 'Organize-my-photos' error? Thanks   Hi, In your
ModuleNotFoundError: No module named 'pyobjc-framework-Photos'
ModuleNotFoundError: No module named 'pyobjc-framework-Photos'  Hi...: No module named 'pyobjc-framework-Photos' How to remove the ModuleNotFoundError: No module named 'pyobjc-framework-Photos' error? Thanks   
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
ModuleNotFoundError: No module named 'django-odnoklassniki-photos'
ModuleNotFoundError: No module named 'django-odnoklassniki-photos'  ...: No module named 'django-odnoklassniki-photos' How to remove the ModuleNotFoundError: No module named 'django-odnoklassniki-photos' error? Thanks
ModuleNotFoundError: No module named 'django-quick-photos'
ModuleNotFoundError: No module named 'django-quick-photos'  Hi, My... named 'django-quick-photos' How to remove the ModuleNotFoundError: No module named 'django-quick-photos' error? Thanks   Hi
ModuleNotFoundError: No module named 'Facebook-Friend-Photos-Download'
ModuleNotFoundError: No module named 'Facebook-Friend-Photos-Download' ...: ModuleNotFoundError: No module named 'Facebook-Friend-Photos-Download' How to remove the ModuleNotFoundError: No module named 'Facebook-Friend-Photos-Download' error
ModuleNotFoundError: No module named 'django-odnoklassniki-photos'
ModuleNotFoundError: No module named 'django-odnoklassniki-photos'  ...: No module named 'django-odnoklassniki-photos' How to remove the ModuleNotFoundError: No module named 'django-odnoklassniki-photos' error? Thanks
ModuleNotFoundError: No module named 'django-vkontakte-photos'
ModuleNotFoundError: No module named 'django-vkontakte-photos'  Hi...: No module named 'django-vkontakte-photos' How to remove the ModuleNotFoundError: No module named 'django-vkontakte-photos' error? Thanks   
ModuleNotFoundError: No module named 'pyobjc-framework-Photos'
ModuleNotFoundError: No module named 'pyobjc-framework-Photos'  Hi...: No module named 'pyobjc-framework-Photos' How to remove the ModuleNotFoundError: No module named 'pyobjc-framework-Photos' error? Thanks   
ModuleNotFoundError: No module named 'view-my-photos'
ModuleNotFoundError: No module named 'view-my-photos'  Hi, My... named 'view-my-photos' How to remove the ModuleNotFoundError: No module named 'view-my-photos' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'django-vkontakte-photos'
ModuleNotFoundError: No module named 'django-vkontakte-photos'  Hi...: No module named 'django-vkontakte-photos' How to remove the ModuleNotFoundError: No module named 'django-vkontakte-photos' error? Thanks   
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 '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 '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-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 '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-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
finding divisors of a number
finding divisors of a number   write a c program to input a number and print all its divisors using while loop
finding divisors of a number
finding divisors of a number   write a c program to input a number and print all its divisors using while loop
finding divisors of a number
finding divisors of a number   write a c program to input a number and print all its divisors using while loop
Maven Repository/Dependency: io.circe | circe-shapes
Maven Repository/Dependency of Group ID io.circe and Artifact ID circe-shapes. Latest version of io.circe:circe-shapes dependencies. # Version Release Date You can read more at: Maven
What is Digital Relationship?
and expanse of the term digital relationship. But as we are immersed already in the digital age and everything right from the entertainment to information sharing to health care tends to become increasingly digital we cannot think otherwise
ModuleNotFoundError: No module named 'djangocms-scrape-google-photos-album'
ModuleNotFoundError: No module named 'djangocms-scrape-google-photos-album...: ModuleNotFoundError: No module named 'djangocms-scrape-google-photos-album' How to remove the ModuleNotFoundError: No module named 'djangocms-scrape-google-photos
ModuleNotFoundError: No module named 'backup_all_my_flickr_photos'
ModuleNotFoundError: No module named 'backup_all_my_flickr_photos'  ...: No module named 'backup_all_my_flickr_photos' How to remove the ModuleNotFoundError: No module named 'backup_all_my_flickr_photos' error? Thanks
ModuleNotFoundError: No module named 'digital_ocean_api'
ModuleNotFoundError: No module named 'digital_ocean_api'  Hi, My... named 'digital_ocean_api' How to remove the ModuleNotFoundError: No module named 'digital_ocean_api' error? Thanks   Hi, In your
ModuleNotFoundError: No module named 'immaterial-digital-labor'
ModuleNotFoundError: No module named 'immaterial-digital-labor'  Hi...: No module named 'immaterial-digital-labor' How to remove the ModuleNotFoundError: No module named 'immaterial-digital-labor' error? Thanks  

Ads