And, er, that's the code chunk I'm looking at, the MorphologyPrimitive() function... and it's not clicking.
Hopefully, someone else can get it done faster than I can. In the mean time, I appreciate the commentary.
Search found 8 matches
- 2012-04-16T21:09:10-07:00
- Forum: Users
- Topic: Segmenting Shaped by Morphology
- Replies: 8
- Views: 16368
- 2012-04-06T12:05:32-07:00
- Forum: Users
- Topic: Segmenting Shaped by Morphology
- Replies: 8
- Views: 16368
Re: Segmenting Shaped by Morphology
I have read the code for Euclidian Distance... and I think I can sort of follow it. But I'm having a little trouble connecting that code with what you said. Is my psudeocode even close? function segmentMe (Image* input, Image* output, KernelInfo* kernel) create array object_ids // generate object ...
- 2012-04-04T08:16:42-07:00
- Forum: Users
- Topic: Segmenting Shaped by Morphology
- Replies: 8
- Views: 16368
Re: Segmenting Shaped by Morphology
@Fred: Do you use every point because you are trying to get shapes inside one another, or is there something else my algorithm would miss? @Anthony: I see. I am curious about what you have, actually. I have looked at some of the internal code and it seems pretty readable. I might try my hand at ...
- 2012-04-02T15:01:52-07:00
- Forum: Users
- Topic: Segmenting Shaped by Morphology
- Replies: 8
- Views: 16368
Segmenting Shaped by Morphology
Hello all. I looked on the forums and found this old topic about how to segment images: http://imagemagick.org/discourse-server/viewtopic.php?f=1&t=18683 And Anthony said: At this time IM is short on built-in segmentation methods. They are planned but there are just not enough programmers willing to ...
- 2011-04-03T11:38:27-07:00
- Forum: Developers
- Topic: [SOLVED] reading multiple images over standard input
- Replies: 11
- Views: 65433
Re: [SOLVED] reading multiple images over standard input
I'm not sure if you are making a somewhat different point -- I think you are -- but FWIW, the ffmpeg command in my last post actually works. Apparently, standard input is "one source". In fact, I have written a simple shell script to do an arbitrary transformation, if you put it in backslashed quote ...
- 2011-03-20T06:56:08-07:00
- Forum: Developers
- Topic: [SOLVED] reading multiple images over standard input
- Replies: 11
- Views: 65433
Re: reading multiple images over standard input
You have the images in memory, so just save them using Writing a Multi-Image Sequence http://www.imagemagick.org/Usage/files/#adjoin EG: ffmpeg .... -vcodec ppm | convert - frame_%05d.jpg will save each image as frame_00000.jpg frame_00001.jpg .... and so on But the point is, I don't want to save ...
- 2011-03-19T07:54:24-07:00
- Forum: Developers
- Topic: [SOLVED] reading multiple images over standard input
- Replies: 11
- Views: 65433
Re: reading multiple images over standard input
Thanks for your answer! That is very difficult. However some formats are designed to let you pipe multiple images through a pipe. I could use another format. JPEG was just the easiest example. Note that the IM internal file format MIFF also allow this multi-image pipelines, and thus allow you to do ...
- 2011-03-18T05:48:12-07:00
- Forum: Developers
- Topic: [SOLVED] reading multiple images over standard input
- Replies: 11
- Views: 65433
[SOLVED] reading multiple images over standard input
Hello. I would like convert to be able to read more than one file from standard input on Linux. Instead of this: for i in file*; do cat file | convert - -some-transform jpeg:- done I would like the ability to do this: cat file* | convert - -some-transform jpeg:- I want to process a stream one at a ...