• Downloads
  • ! Read Me !
  • Μαθήματα
  • Φοιτητικά
  • Τεχνικά Θέματα
  • Συζητήσεις
  • Happy Hour!
  • About THMMY.gr
 V  < 
Search:  
Welcome, Guest. Please login or register.
December 14, 2025, 15:07:03 pm

Login with username, password and session length
Links
  Thmmy.gr portal
   Forum
   Downloads
   Ενεργ. Λογαριασμού
   Επικοινωνία
  
  Χρήσιμα links
   Σελίδα τμήματος
   Βιβλιοθήκη Τμήματος
   Elearning
   Φοιτητικά fora
   Πρόγραμμα Λέσχης
   Πρακτική Άσκηση
   Ηλεκτρονική Εξυπηρέτηση Φοιτητών
   Διανομή Συγγραμμάτων
   Ψηφιακό Καταθετήριο Διπλωματικών
   Πληροφορίες Καθηγητών
   Instagram @thmmy.gr
   mTHMMY
  
  Φοιτητικές Ομάδες
   ACM
   Aristurtle
   ART
   ASAT
   BEAM
   BEST Thessaloniki
   EESTEC LC Thessaloniki
   EΜΒ Auth
   IAESTE Thessaloniki
   IEEE φοιτητικό παράρτημα ΑΠΘ
   SpaceDot
   VROOM
   Panther
  
Πίνακας Ελέγχου
Welcome, Guest. Please login or register.
December 14, 2025, 15:07:03 pm

Login with username, password and session length

Αναζήτηση

Google

THMMY.gr Web
Πρόσφατα
Ρώτα κάτι τον επόμενο
by RivenT
[Today at 04:25:25]

Δυσκολία με την Φυσική στ...
by Mr Watson
[December 13, 2025, 22:37:02 pm]

Υποβολή αιτήσεων Erasmus+...
by PolarBear
[December 13, 2025, 21:01:46 pm]

Η μάστιγα των Ρευματοκλοπ...
by chatzikys
[December 13, 2025, 09:53:40 am]

Των συνειρμών το παίγνιο....
by Mr Watson
[December 12, 2025, 22:51:30 pm]

Ανοίξαν οι αιτήσεις για Π...
by Διάλεξις
[December 11, 2025, 15:46:21 pm]

[Τηλεπικοινωνιακά Συστήμα...
by PolarBear
[December 11, 2025, 12:40:04 pm]

Πρακτική Άσκηση ΤΗΜΜΥ 201...
by Διάλεξις
[December 11, 2025, 07:50:35 am]

Έναρξη και Λήξη Χειμερινο...
by PolarBear
[December 10, 2025, 19:50:15 pm]

Δηλώσεις μαθημάτων επί δι...
by Mr Watson
[December 10, 2025, 12:03:25 pm]

[Ευφυή και Προσαρμοστικά ...
by sassi
[December 09, 2025, 12:45:30 pm]

[ΑΣΗΕ] Γενικές απορίες κα...
by Nikos_313
[December 08, 2025, 17:54:39 pm]

Αιτήσεις ορκωμοσίας επανα...
by okan
[December 08, 2025, 17:46:06 pm]

[Σύγχρονα Ενεργειακά Συστ...
by Mr Watson
[December 08, 2025, 17:02:59 pm]

Αστείες Φωτογραφίες!
by Elliot Alderson
[December 05, 2025, 20:35:09 pm]

Οδηγοί ΕΛΕΜΚΟ
by MaGill
[December 05, 2025, 10:52:15 am]

[Ηλεκτρικά Κυκλώματα ΙΙ] ...
by Nikos_313
[December 04, 2025, 19:20:58 pm]

[ΣΦ ΗΛ-ΜΗΧ] Υποστηρίζουμε...
by Aris★
[December 03, 2025, 14:45:45 pm]

Τι ακούτε αυτήν τη στιγμή...
by tartoufos
[December 03, 2025, 14:17:34 pm]

Απορίες σχετικά με την εξ...
by tony stank
[December 03, 2025, 12:56:55 pm]
Στατιστικά
Members
Total Members: 10242
Latest: nimuser123
Stats
Total Posts: 1429528
Total Topics: 31876
Online Today: 530
Online Ever: 2093
(April 17, 2025, 07:47:49 am)
Users Online
Users: 14
Guests: 325
Total: 339
Giannisss
Elliot Alderson
theofr
gpr000
roz
manek
Smaragda
Lmnop
marnikol
dnikoa
ArchieHadCells
christina02
sinakos
Εμφάνιση

Νέα για πρωτοετείς
Είσαι πρωτοετής;... Καλώς ήρθες! Μπορείς να βρεις πληροφορίες εδώ. Βοήθεια για τους καινούργιους μέσω χάρτη.
Κατεβάστε εδώ το Android Application για εύκολη πρόσβαση στο forum.
Ανεβάζετε τα θέματα των εξετάσεων στον τομέα Downloads με προσοχή στα ονόματα των αρχείων!

Νέα!
Πληροφορίες Καθηγητών
THMMY.gr > Forum > Ηλεκτρονικοί Υπολογιστές και Τεχνικά Θέματα > Περί Υπολογιστών... > Software > Προγραμματισμός (C, VB, Delphi, PHP, ASP...) (Moderators: chatzikys, PolarBear) > matlab debug problem
0 Members and 1 Guest are viewing this topic.
Pages: [1] Go Down Print
Author Topic: matlab debug problem  (Read 2072 times)
Fenix
Εθισμένος στο ΤΗΜΜΥ.gr
*****
Gender: Male
Posts: 581


Α μπλου


View Profile
matlab debug problem
« on: September 08, 2006, 12:18:02 pm »

Μπορεί κάποιος να αποσφαλματώσει το παρακάτω πρόγραμμα. Υποτίθεται ότι μετατρέπει μια ακολουθία από jpeg σε avi. Help!!

% JPEG2AVI
%
% create avi-movie from single frames (jpeg-images)

% frames/images:
fpath= 'd:\tmp\';
imglist= dir([fpath 'frame_*.jpg']);            % edit path/filename to match your images' location

% default-parameters:
fps= 25;                                          % frames per second
fname= 'd:\tmp\animation.avi';                  % path/name of movie output file
codec= 'hfyu';                                    % video codec (FOURCC), I use HuffYUV ('hfyu') because it is lossless

% create movie:
for k= 1:length(imglist);
   img= imread([fpath imglist(k).name]);         % get current frame
   m(k)= im2frame(img);
   if rem(k, 100) == 0
      disp([num2str(k) ' frames processed...'])
%      drawnow
   end
end

% create avi:
movie2avi(m, fname, 'compression', codec, 'fps', fps);

% play result:
movie(m, 1, fps)
Logged

TΕΜΠΕΛΑΡΙΑ-ΚΟΠΡΙΤΕΙΣΙΟΝ
Κατάληψη για πάντα!Κατάληψη στα πάνταGood evening London, i would introduse myself but truth to tell, i do not have a  name , you can call me "V". Since mankind's dawn, a handfull of opressors have accepted responsibility over our lives that we should have accepted for ourselves.By doing so they took our power, by doing nothing, we gave it away.We've seen where their way leads, through camps and wars, towards the slaughterhouse.In anarchy there is another way.With anarchy,from rubble comes new life, hope reinstated.They say anarchy's dead, but you see...reports of my death were...exaggerated.Tomorrow Downing Street will be destroyed, tonight you must choose what comes next,lives of our own, or return to chains, choose carefully, and so adieu.
JAs0n-X
Αbsolute ΤΗΜΜΥ.gr
*******
Gender: Male
Posts: 2861


Rhodes [Sattelite image]


View Profile
Απ: matlab debug problem
« Reply #1 on: September 08, 2006, 12:39:44 pm »

Το σφαλμα το βγαζει στην εντολη movie2avi αλλα δεν μπορω τωρα να βρω γιατι. παω για φιλτρα!
Θα το προσπαθησω οταν γυρισω.
κατα τ αλλα μεχρι εκει δουλευει κανονικα δλδ τα frames τα φτιαχνει κανονικα, τα βλεπω που εχουν δημιουργηθει στο workspace.
Logged

J=X
--------------------------------------------
Ο Χριστος πεθανε
Ο Μαρξ πεθανε...
και εγω τελευταια δεν αισθανομαι καλα !
Fenix
Εθισμένος στο ΤΗΜΜΥ.gr
*****
Gender: Male
Posts: 581


Α μπλου


View Profile
Re: matlab debug problem
« Reply #2 on: September 08, 2006, 13:48:23 pm »

Quote
Το σφαλμα το βγαζει στην εντολη movie2avi αλλα δεν μπορω τωρα να βρω γιατι
Ούτε εγώ. :'(
Logged

TΕΜΠΕΛΑΡΙΑ-ΚΟΠΡΙΤΕΙΣΙΟΝ
Κατάληψη για πάντα!Κατάληψη στα πάνταGood evening London, i would introduse myself but truth to tell, i do not have a  name , you can call me "V". Since mankind's dawn, a handfull of opressors have accepted responsibility over our lives that we should have accepted for ourselves.By doing so they took our power, by doing nothing, we gave it away.We've seen where their way leads, through camps and wars, towards the slaughterhouse.In anarchy there is another way.With anarchy,from rubble comes new life, hope reinstated.They say anarchy's dead, but you see...reports of my death were...exaggerated.Tomorrow Downing Street will be destroyed, tonight you must choose what comes next,lives of our own, or return to chains, choose carefully, and so adieu.
fugiFOX
Veteran
Καταστραμμένος
******
Posts: 8962


Fugi+Fox μια νέα μορφή ζωής...


View Profile
Re: matlab debug problem
« Reply #3 on: September 08, 2006, 13:49:45 pm »

Quote from: Fenix on September 08, 2006, 13:48:23 pm
Quote
Το σφαλμα το βγαζει στην εντολη movie2avi αλλα δεν μπορω τωρα να βρω γιατι
Ούτε εγώ. :'(

Επειδή δεν έχω ΜΑΤΛΑΒ μπροστά μου,
τι σφάλμα σου βγάζει;
Logged

http://www.mozilla.org/en-US/firefox/new/
Fenix
Εθισμένος στο ΤΗΜΜΥ.gr
*****
Gender: Male
Posts: 581


Α μπλου


View Profile
Re: matlab debug problem
« Reply #4 on: September 08, 2006, 13:53:16 pm »

??? Error using ==> movie2avi
First input must be a MATLAB movie.

Error in ==> jpeg2av at 27
movie2avi(m, fname, 'compression', codec, 'fps', fps);
Logged

TΕΜΠΕΛΑΡΙΑ-ΚΟΠΡΙΤΕΙΣΙΟΝ
Κατάληψη για πάντα!Κατάληψη στα πάνταGood evening London, i would introduse myself but truth to tell, i do not have a  name , you can call me "V". Since mankind's dawn, a handfull of opressors have accepted responsibility over our lives that we should have accepted for ourselves.By doing so they took our power, by doing nothing, we gave it away.We've seen where their way leads, through camps and wars, towards the slaughterhouse.In anarchy there is another way.With anarchy,from rubble comes new life, hope reinstated.They say anarchy's dead, but you see...reports of my death were...exaggerated.Tomorrow Downing Street will be destroyed, tonight you must choose what comes next,lives of our own, or return to chains, choose carefully, and so adieu.
fugiFOX
Veteran
Καταστραμμένος
******
Posts: 8962


Fugi+Fox μια νέα μορφή ζωής...


View Profile
Re: matlab debug problem
« Reply #5 on: September 08, 2006, 14:04:20 pm »

1. Πες με τις διαστάσεις των πινάκων img,m και τι τύπου είναι.

2. Αυτό τι βγάζει;
movie(m)
Logged

http://www.mozilla.org/en-US/firefox/new/
Pages: [1] Go Up Print
Jump to:  

Powered by SMF | SMF © 2006-2009, Simple Machines LLC
Scribbles2 | TinyPortal © Bloc | XHTML | CSS
Loading...