JuliaImages / JuliaImages/ImageView.jl

Refresh display

Open
#178 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Julia
Stars
138
Forks
33
PR merge metrics
No merged PRs in 30d

Description

How to cause images to be drawn in the midst of computations? (To show the evolving images as computations progress.) Where's a Matlab-style drawnow? The only way I've found to do this is inserting a sleep after imshow (or the sam after a push! into a Signal—not very “reactive” those signals). The sleep of course slows down computations and does not do anything in a Distributed thread (that would run on another CPU core and thus not significantly affect the computations) to have the drawing process in the background. It seems that the only way to force a redraw is to make Julia completely idle.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue with imshow and a Signal updated via push!, comparing the behavior with and without sleep. Read the image refresh path and the Distributed-thread behavior; done means computations can show evolving images without making Julia idle or relying on sleep.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.