Comments (1)
Hi,
You have to be careful that the initial contour is inside the image area. If you crop the image, you have to change the initialization of the contour accordingly.
In your case, you can use
mgac.levelset = circle_levelset(img.shape, (100, 100), 97, scalerow=1.0)
or something similar.
Hope that helps.
from morphsnakes.
Related Issues (20)
- Merging morphological snakes into `scikit-image` HOT 3
- extension on superpixels HOT 1
- NameError: name 'time' is not defined HOT 1
- what's the implementation different between Morphological Snakes and the classic Snakes (Active Contours) in 1988?
- getting black images instead of results HOT 2
- Saving segmentation HOT 1
- What‘s the role of ISoSI HOT 2
- How can ı calculate numbre of pixels in nodule ? HOT 1
- got AttributeError: 'numpy.ndarray' object has no attribute 'clf' for 3d input
- How to draw our circle more smooth ? HOT 3
- interaction of separate contours HOT 3
- getting blank image instead of actual results HOT 5
- a curve with endpoints
- implementing on 1. multiple objects and 2. donuts, and 3. a question about precision HOT 1
- Problem using mcubes. ImportError: DLL load failed: Could not find the specified module.
- Installation with `pip`
- Morphsnake cannot be imported after installation HOT 1
- morphsnakes using a reclangle levelset HOT 1
- Open contours HOT 2
- Buildings Image segmentation
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.
from morphsnakes.