Skip to content

Commit

Permalink
Remove redundant metadata setting
Browse files Browse the repository at this point in the history
  • Loading branch information
marktsuchida committed Dec 18, 2024
1 parent c924204 commit b8f089d
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion DeviceAdapters/Aravis/AravisCamera.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,6 @@ void AravisCamera::AcquisitionCallback(ArvStreamCallbackType type, ArvBuffer *cb
md.put(MM::g_Keyword_Metadata_ROI_Y, CDeviceUtils::ConvertToString((long)img_buffer_height));
md.put(MM::g_Keyword_Metadata_ImageNumber, CDeviceUtils::ConvertToString(counter));
md.put(MM::g_Keyword_Metadata_Exposure, exposure_time);
md.put(MM::g_Keyword_Meatdata_Exposure, exposure_time);
md.put(MM::g_Keyword_PixelType, pixel_type);

// Pass data to MM.
Expand Down
1 change: 0 additions & 1 deletion DeviceAdapters/Basler/BaslerPylonCamera.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2132,7 +2132,6 @@ void CircularBufferInserter::OnImageGrabbed(CInstantCamera& /* camera */, const
md.put(MM::g_Keyword_Metadata_ROI_Y, CDeviceUtils::ConvertToString((long)ptrGrabResult->GetHeight()));
md.put(MM::g_Keyword_Metadata_ImageNumber, CDeviceUtils::ConvertToString((long)ptrGrabResult->GetImageNumber()));
md.put(MM::g_Keyword_Metadata_Exposure, dev_->GetExposure());
md.put(MM::g_Keyword_Meatdata_Exposure, dev_->GetExposure());
// Image grabbed successfully?
if (ptrGrabResult->GrabSucceeded())
{
Expand Down
1 change: 0 additions & 1 deletion DeviceAdapters/DahengGalaxy/ClassGalaxy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1864,7 +1864,6 @@ void CircularBufferInserter::DoOnImageCaptured(CImageDataPointer& objImageDataPo
md.put(MM::g_Keyword_Metadata_ROI_Y, CDeviceUtils::ConvertToString((long)objImageDataPointer->GetHeight()));
md.put(MM::g_Keyword_Metadata_ImageNumber, CDeviceUtils::ConvertToString((long)objImageDataPointer->GetFrameID()));
md.put(MM::g_Keyword_Metadata_Exposure, dev_->GetExposure());
md.put(MM::g_Keyword_Meatdata_Exposure, dev_->GetExposure());
// Image grabbed successfully ?
if (objImageDataPointer->GetStatus()== GX_FRAME_STATUS_SUCCESS)
{
Expand Down
1 change: 0 additions & 1 deletion DeviceAdapters/Ximea/XIMEACamera.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -799,7 +799,6 @@ int XimeaCamera::InsertImage()
Metadata md;
double exp_time = (double)image.GetExpTime() / 1000;
md.put(MM::g_Keyword_Metadata_Exposure, CDeviceUtils::ConvertToString(exp_time));
md.put(MM::g_Keyword_Meatdata_Exposure, CDeviceUtils::ConvertToString(exp_time));
md.put(MM::g_Keyword_Elapsed_Time_ms, CDeviceUtils::ConvertToString((timeStamp - sequenceStartTime_).getMsec()));
md.put(MM::g_Keyword_Metadata_ImageNumber, CDeviceUtils::ConvertToString(imageCounter_));
md.put(MM::g_Keyword_Metadata_ROI_X, CDeviceUtils::ConvertToString((long)roiX_));
Expand Down

0 comments on commit b8f089d

Please sign in to comment.