עבור לתוכן
View in the app

A better way to browse. Learn more.

HWzone

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

שינוי מימדי תמונה במטלאב

Featured Replies

פורסם

היי,

יש לי תמונה בגודל 990*9216, שאני צריכה להקטין למימדים 39*360 באמצעות IMRESIZE.

כתבתי את הקוד הבא:

X = imread('day 1.jpg');

B = imresize(X, [39 360]);

figure,imshow(B)

התמונה המתקבלת בחלון הFIGURE נראית בסדר גמור, אבל כשאני שומרת אותה ופותחת מחדש במציג התמונות של מטלאב (או אפילו של וינדוס) המימדים הכתובים הם 126*525, משום שלתמונה מתווספים שוליים ענקים.

איך אני מתקנת את זה?

תודה

  • 4 חודשים מאוחר יותר...
פורסם

אם תעלי את כל הקוד, כולל השורות בהן את פותחת מחדש את התמונה ומציגה אותה, אולי אוכל לעזור.

ליאור.

ארכיון

דיון זה הועבר לארכיון ולא ניתן להוסיף בו תגובות חדשות.

דיונים חדשים

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.