beefmarbling's Introduction
********************************************* * marbling.m * ********************************************* The main script of meat marbling has some subpart which is separated in the script as dataset and label setting, segmentation methods, feature setting and backpropagation neural network training. Also final trained network is saved as network.mat and it can be used as tranedNet({input}). Dataset images are PNG files which are in Beef Dataset folder.(subfolders are not included) Report and script comments has more detail on segmentation and other implementations. ********************************************* * regionGrowing.m * ********************************************* This script is a copy from https://www.mathworks.com/matlabcentral/fileexchange/19084-region-growing by Dirk-Jan Kroon. Simple but effective "Region Growing" method from a single seed point. The region is iteratively grown by comparing all unallocated neighbouring pixels to the region. The difference between a pixel's intensity value and the region's mean, is used as a measure of similarity. The pixel with the smallest difference measured this way is allocated to the region. This process stops when the intensity difference between region mean and new pixel becomes larger than a certain treshold. It has 4 input and 1 output as: J = regiongrowing(I,x,y,t) I : input image J : logical output image of region x,y : the position of the seedpoint (if not given uses function getpts) t : maximum intensity distance (defaults to 0.2)
beefmarbling's People
beefmarbling's Issues
Consultation on the 'trainedNetwork' of the code
Dear Nerox9
Thanks to your contribution on the BeefMarbling, recently I try the code and find a problem.
In the network, we have one input which is the ratio of fat to meat and one output which is the label(0/1/2). I notice you classify the beef according to the standard of USA: 0 for select, 1 for choice and 2 for prime.
Here is the question: when I set the input from 0 to 0.5, the output of the trainednet is from 2 to 0. And when the input is bigger than 0.5, the output even becomes negative. Shouldn't the output increase with the increasing of the fat ratio? And how could the output be negative?
The above are all my questions about the code, thanks for your reading and your time, look forward to your reply.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.