04-11-2014 05:11 AM
Assalamu'alaikum.
Master mau tanya,
untuk mengetahui persamaan/metode yang digunakan di suatu sub VI itu gimana caranya ya? Terimakasih.
04-23-2014 08:24 AM
waalaikumsalam wr. wb, Leotohank,
jawabannya tergantung. IMAQ ColorTHreshold VI adalah bagian dari add on LabVIEW, Vision Development Module (VDM). Dan alasan modul ini harus bayar karena meliputi IP (Intellectual Property), kita bisa menggunakan fungsinya, tapi kalau sampai ke dalam coding yang paling low-level, tentu saja tidak bisa, karena ini IP mereka. Kalau ketahuan kan bisa di copy . Makanya bentuk di dalam subVI tersebut adalah DLL (Dynamic Link Libraries), tidak bisa dibuka, tapi bisa digunakan.
Cara menggunakan dan pendekatan yang digunakan oleh fungsi tersebut bisa dicek di dalam Help Files, untuk contoh di atas:
A test is performed with each range (Red or Hue Range, Green or Sat Range, and Blue or Luma or Val or Inten Range) to determine whether the corresponding pixel from the Image Src is set to the value specified in Replace Value. If a pixel from Image Src does not have corresponding pixel values specified in all three ranges, the corresponding pixel in Image Dst Out is set to 0. If the image destination Image Dst is not connected, IMAQ ColorThreshold converts the image source Image Src to an 8-bit image and saves the resulting image in the image source.
Note If a range is not specified for a given plane, the value of the pixel for this color plane is ignored (i.e. the algorithm always considers the pixel value for this plane to be in range). Therefore you easily can apply a threshold to one of the three ranges without having to set the values of the other two ranges. |
Kalau fungsi yang lain, seperti Write Spreadsheet File, karena ini cukup simple dan tidak termasuk IP, jadi bisa saja kita buka subVInya
04-23-2014 06:15 PM
Hi Leotohank,
Apakah sudah terjawab? atau dirimu hanya menanyakan konsep dasar atau konsep enkapsulasi dari suatu subVI?
SR