Skip to main content
[![Build Status](https://travis-ci.org/mjirik/sed3.svg?branch=master)](https://travis-ci.org/mjirik/sed3)
[![Coverage Status](https://coveralls.io/repos/mjirik/sed3/badge.svg)](https://coveralls.io/r/mjirik/sed3)
[![PyPI version](https://badge.fury.io/py/sed3.svg)](http://badge.fury.io/py/sed3)

sed3
====

3D viewer and seed editor

Example 1 - get seeds
=======

import sed3
import numpy as np

img = np.random.random([10, 12, 15])
img[6:9, 2:7, 1:5] += 2
img[7:9, 3:9, 8:14] += 3

ed = sed3.sed3(img)
ed.show()
print ed.seeds

![sed_screenshot](http://147.228.240.61/queetech/www/sed3_screenshot.png)


Example 2 - static figure
=======

import sed3
import numpy as np

img = np.random.random([10, 12, 15])
img[6:9, 2:7, 1:5] += 2
img[7:9, 3:9, 8:14] += 3

sed3.show_slices(img)

![sed_screenshot](http://147.228.240.61/queetech/www/sed3_screenshot3.png)

Example 3 - more options
=======

import sed3
import numpy as np

img = np.random.random([10, 12, 15])
img[6:9, 2:7, 1:5] += 2
img[7:9, 3:9, 8:14] += 3


seeds = np.zeros(img.shape)
seeds[6:8, 4, 3:10] = 1
seeds[6:8, 6:11, 9:11] = 2
ed = sed3.sed3(img, seeds=seeds)

contour = np.zeros(img.shape)
contour[6:8, 3:10, 2:10] = 1
contour[6:8, 5:8, 4:7] = 2
ed = sed3.sed3(img, seeds=seeds, contour=contour, windowW=3.5, windowC=1.5)

seeds = ed.show()

![sed_screenshot](http://147.228.240.61/queetech/www/sed3_screenshot2.png)

Example 4 - PyQt version
=======

import sed3qt
import numpy as np

from PyQt4.QtGui import QApplication

img = np.random.random([10, 12, 15])
img[6:9, 2:7, 1:5] += 2
img[7:9, 3:9, 8:14] += 3


app = QApplication([])
ed = sed3.sed3qt(img)
ed.exec_()
print ed.seeds

Install notes
=============

sudo apt-get install python-matplotlib

pip install sed3

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sed3-1.1.21.tar.gz (15.9 kB view details)

Uploaded Source

File details

Details for the file sed3-1.1.21.tar.gz.

File metadata

  • Download URL: sed3-1.1.21.tar.gz
  • Upload date:
  • Size: 15.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for sed3-1.1.21.tar.gz
Algorithm Hash digest
SHA256 d458a52dcfd9355f12b25a15f0133998f8e147c89273fd2f44a021cf58b41aae
MD5 9dee95e11263d7ab1ce0ed40a74ad3fd
BLAKE2b-256 2f04f7bd5b1bbc16ed6deb80aabe48975cf7208399a64210bfbfb431c11a2ec6

See more details on using hashes here.

Release history Release notifications | RSS feed

1.4.3

1 file

1.4.2

1 file

1.4.1

1 file

1.4.0

1 file

1.3.5

1 file

1.3.4

1 file

1.3.3

1 file

1.3.2

1 file

1.3.1

1 file

1.3.0

1 file

1.2.6

1 file

1.2.5

1 file

1.2.4

1 file

1.2.3

1 file

1.2.2

1 file

1.2.1

1 file

1.2.0

1 file

1.1.41

1 file

1.1.40

1 file

1.1.39

1 file

1.1.38

1 file

1.1.34

1 file

1.1.33

1 file

1.1.32

1 file

1.1.31

1 file

1.1.30

1 file

1.1.29

1 file

1.1.28

1 file

1.1.27

1 file

1.1.26

1 file

1.1.25

1 file

1.1.24

1 file

1.1.23

1 file

1.1.22

1 file

This release

1.1.21 This release

1 file

1.1.20

1 file

1.1.19

1 file

1.1.18

1 file

1.1.17

1 file

1.1.16

1 file

1.1.15

1 file

1.1.14

1 file

1.1.13

1 file

1.1.12

1 file

1.1.11

1 file

1.1.10

1 file

1.1.9

1 file

1.1.8

1 file

1.1.7

1 file

1.1.4

1 file

1.1.3

1 file

1.1.2

1 file

1.1.1

1 file

1.1.0

1 file

1.0.12

1 file

1.0.11

1 file

1.0.10

1 file

1.0.8

1 file

1.0.7

1 file

1.0.6

1 file

1.0.5

1 file

1.0.4

1 file

1.0.3

1 file

1.0.2

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page